|
|
|
@ -7,7 +7,28 @@ |
|
|
|
<!-- <view class="time fn-sm">{{detail.created_at}}</view> --> |
|
|
|
<!-- <view class="time fn-sm">{{detail.created_ats | parseTime}}</view> --> |
|
|
|
</view> |
|
|
|
<view class="edit-content m-t-md" v-html="detail.body"></view> |
|
|
|
<!-- <view class="edit-content m-t-md" v-html="detail.body"></view> --> |
|
|
|
<view style="text-align: center;margin: 20px 0px;">{{$t('accountSettings.b7')}}</view> |
|
|
|
<view style="margin-top: 20px;"> |
|
|
|
<view class="py-2"> |
|
|
|
<view style="text-align: center;margin-top:30px"> |
|
|
|
{{$t('accountSettings.b3')}}: |
|
|
|
<view class="">{{contacts.contact}}</view> |
|
|
|
</view> |
|
|
|
<view style="text-align: center;margin-top:30px"> |
|
|
|
<view class="label">{{$t('accountSettings.b4')}}:</view> |
|
|
|
<view class="">{{contacts.email}}</view> |
|
|
|
</view> |
|
|
|
<view style="text-align: center;margin-top:30px"> |
|
|
|
<view class="label">{{$t('accountSettings.b5')}}:</view> |
|
|
|
<view class="">{{contacts.service}}</view> |
|
|
|
</view> |
|
|
|
<view style="text-align: center;margin-top:30px"> |
|
|
|
<view class="label">{{$t('accountSettings.b6')}}:</view> |
|
|
|
<view class="">{{contacts.media}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</main> |
|
|
|
</v-page> |
|
|
|
</template> |
|
|
|
@ -19,6 +40,12 @@ export default { |
|
|
|
return { |
|
|
|
detail: [], |
|
|
|
query: [], |
|
|
|
contacts : { |
|
|
|
contact:"", |
|
|
|
email: "", |
|
|
|
media:"", |
|
|
|
service : "", |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
@ -30,12 +57,17 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
serviceDetail() { |
|
|
|
Member.serviceDetail({ |
|
|
|
id: this.query.id, |
|
|
|
}).then((res) => { |
|
|
|
console.log(res) |
|
|
|
this.detail = res.data; |
|
|
|
}); |
|
|
|
// Member.serviceDetail({ |
|
|
|
// id: this.query.id, |
|
|
|
// }).then((res) => { |
|
|
|
// console.log(res) |
|
|
|
// this.detail = res.data; |
|
|
|
// }); |
|
|
|
|
|
|
|
Member.contact({}).then((res)=>{ |
|
|
|
console.log(res); |
|
|
|
this.contacts = res.data; |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad($ev) { |
|
|
|
|