协议增加我已知晓

This commit is contained in:
2024-12-16 10:18:09 +08:00
parent 5372daf2a7
commit b4542559ae
2 changed files with 47 additions and 11 deletions

View File

@@ -1,21 +1,27 @@
<template>
<view style="font-size: 14px;line-height: 26px;padding: 32upx;" class="home1">
<view style="font-size: 14px;line-height: 26px;padding: 32upx;" class="home1 ">
<view style="font-size: 28upx;" v-html="content"></view>
<view class="btn-box u-flex u-row-center">
<view class="btn" @click="back">我已知晓</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
content:''
data() {
return {
content: ''
}
},
},
onLoad() {
this.getGuize();
},
methods: {
getGuize(){
methods: {
back(){
uni.navigateBack()
},
getGuize() {
this.$u.get('app/common/type/155').then(res => {
this.content = res.data.value
});
@@ -24,8 +30,20 @@
}
</script>
<style>
<style scoped>
.btn {
width: 100%;
height: 42px;
line-height: 42px;
border-radius: 30px;
background: #ff7581;
color: #ffffff;
text-align: center;
}
.btn-box{
padding: 30rpx 230rpx;
}
page {
/* background: #1c1b20; */
}
</style>
</style>

View File

@@ -1,6 +1,9 @@
<template>
<view style="line-height: 26px;padding: 32upx;" class="home1">
<view style="line-height: 26px;padding: 32upx;" class="home1 ">
<view style="font-size: 28upx;" v-html="content"></view>
<view class="btn-box u-flex u-row-center">
<view class="btn" @click="back">我已知晓</view>
</view>
</view>
</template>
@@ -15,6 +18,9 @@
this.getGuize();
},
methods: {
back(){
uni.navigateBack()
},
getGuize(){
// this.$Request.getT('/agreement/find?id=1').then(res =>{
// if(res.status === 0){
@@ -30,7 +36,19 @@
}
</script>
<style>
<style scoped>
.btn {
width: 100%;
height: 42px;
line-height: 42px;
border-radius: 30px;
background: #ff7581;
color: #ffffff;
text-align: center;
}
.btn-box{
padding: 30rpx 230rpx;
}
page{
/* background: #1c1b20; */
}