mall-applet1/pagesB/disclaimers/disclaimers.vue

39 lines
717 B
Vue

<template>
<view>
<status-container titlet="免责声明" :ifCustomer='false'>
<view slot="content">
<rich-text :nodes="disclaimerRich" class="fon24 colpeili line-h46"></rich-text>
</view>
</status-container>
</view>
</template>
<script>
export default {
data() {
return {
disclaimerRich:''
}
},
onLoad() {
this.checkDisclaimerEv();
},
methods: {
// 查询免责声明信息
checkDisclaimerEv(){
this.$requst.post('/api/index/statement').then(res=>{
if(res.code==0){
this.disclaimerRich = this.$toolAll.tools.escape2Html(res.data.content);
} else {
this.$toolAll.tools.showToast(res.msg);
}
})
}
}
}
</script>
<style>
</style>