39 lines
674 B
Vue
39 lines
674 B
Vue
<template>
|
|
<view>
|
|
<view class="contentTitle">
|
|
<rich-text :nodes="content"></rich-text>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { userAgree } from '@/apis/interfaces/vip'
|
|
export default {
|
|
data() {
|
|
return {
|
|
content: ''
|
|
}
|
|
},
|
|
created() {
|
|
userAgree().then(res => {
|
|
this.content = res.content
|
|
}).catch(err =>{
|
|
uni.showToast({
|
|
title: err.message,
|
|
icon : 'none'
|
|
})
|
|
})
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.contentTitle {
|
|
padding: $padding;
|
|
box-sizing: border-box;
|
|
}
|
|
</style>
|