二手车小程序

This commit is contained in:
浅念
2025-09-19 09:54:43 +08:00
parent 91e604a6af
commit 507bff6d65
869 changed files with 107160 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
<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>