mall-applet1/pagesB/login/xiey.vue

40 lines
770 B
Vue

<template>
<view>
<status-container titlet="用户服务协议" :ifCustomer='false'>
<view slot="content">
<rich-text :nodes="richText" class="fon30 line-h50" style="color: #8c8c9b;"></rich-text>
</view>
</status-container>
</view>
</template>
<script>
export default {
data() {
return {
richText:'',
}
},
methods: {
// 查询关于我们信息
checkAboutUs(){
this.$requst.post('/api/index/about').then(res=>{
if(res.code==0){
this.lat = res.data.lat;
this.lng = res.data.lon;
this.richText = this.$toolAll.tools.escape2Html(res.data.content);
this.address = res.data.address;
} else {
this.$toolAll.tools.showToast(res.msg);
}
})
},
}
}
</script>
<style>
</style>