调整服务协议与隐私政策

This commit is contained in:
唐明明
2023-01-04 15:26:48 +08:00
parent b29f29f005
commit 5dd934729e
4 changed files with 42 additions and 8 deletions

View File

@@ -1,25 +1,39 @@
<template>
<view>
<view class="richText">
<rich-text :nodes="content"></rich-text>
</view>
</template>
<script>
import { cms } from '@/apis/interfaces/public.js'
export default {
data() {
return {
content: ''
};
},
created() {
console.log(this.$Route.query.id)
uni.setNavigationBarTitle({
title: '服务协议'
})
cms(this.$Route.query.id).then(res => {
let { content, title } = res
this.content = content;
uni.setNavigationBarTitle({
title
})
}).catch(err => {
uni.showToast({
title: err.message,
icon : 'none'
})
})
}
}
</script>
<style lang="scss">
.richText{
padding: 30rpx;
}
</style>