perry-mall/pages/login/agreement.vue

37 lines
692 B
Vue
Raw Normal View History

2022-02-12 11:33:47 +00:00
<template>
<view>
2022-02-23 11:08:25 +00:00
<!-- 状态栏 -->
<status-nav
:ifTitle="true"
:ifReturn="true"
:ifCenter="true"
:navBarTitle="'用户服务协议'"></status-nav>
2022-02-23 11:08:25 +00:00
<!-- 容器 -->
<container-subgroup>
2022-02-24 03:21:51 +00:00
<view slot="content">
<rich-text :nodes="content"></rich-text>
</view>
2022-02-23 11:08:25 +00:00
</container-subgroup>
2022-02-12 11:33:47 +00:00
</view>
</template>
<script>
export default {
data(){
return {
content:'<p>1.用户协议谢谢授权的小姐姐,小哥哥。</p>'
2022-02-12 11:33:47 +00:00
}
},
2022-02-25 09:24:06 +00:00
onLoad(options) {
this.$requst.get('/api/index/agreement').then(res=>{
console.log(res,'用户协议');
this.content = this.$toolAll.tools.escape2Html(res.data.content);
})
2022-02-12 11:33:47 +00:00
}
}
</script>
<style>
</style>