Files
crm-uni/pages/login/agreement.vue
T
2025-03-14 16:55:12 +08:00

57 lines
932 B
Vue

<template>
<view>
<uni-nav-bar leftText=" " :fixed="true" :border="false" leftIcon="back" @clickLeft="leftClick" color="#000000"
backgroundColor="#fff" :statusBar="true" title="隐私政策"></uni-nav-bar>
<view class="contents">
<view class="title">
{{title}}
</view>
<view class="" v-html="content">
</view>
</view>
</view>
</template>
<script>
import {
request,
showToast
} from '@/api/apiT.js'
export default {
data() {
return {
content: '',
title: ''
}
},
onLoad() {
this.getcont()
},
methods: {
leftClick() {
uni.navigateBack({})
},
getcont() {
request({
url: 'agreement/privacy',
method: 'get',
}).then(res => {
this.content = res.data.data.content
this.title = res.data.data.title
})
}
}
}
</script>
<style>
.contents {
padding: 10px 12px;
}
.title {
text-align: center;
font-size: 18px;
}
</style>