依赖文件

This commit is contained in:
浅念
2025-03-20 17:35:53 +08:00
parent 634fe57349
commit 021ffc6052
1134 changed files with 137518 additions and 132 deletions
+14 -26
View File
@@ -1,53 +1,41 @@
<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>
<web-view src="http://219.157.255.213:9007/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view>
</view>
</template>
<script>
import { request,showToast } from '@/api/apiT.js'
import {
request,
showToast
} from '@/api/apiT.js'
export default {
data() {
return {
content:'',
title:''
content: '',
title: ''
}
},
onLoad() {
this.getcont()
// this.getcont()
},
methods: {
leftClick(){
leftClick() {
uni.navigateBack({})
},
getcont(){
request({
url:'agreement/user',
method:'get',
}).then(res => {
this.content = res.data.data.content
this.title = res.data.data.title
})
getcont() {
}
}
}
</script>
<style>
.contents{
.contents {
padding: 10px 12px;
}
.title{
.title {
text-align: center;
font-size: 18px;
}
</style>
</style>