增加协议文件
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
</view>
|
||||
|
||||
</uni-forms>
|
||||
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view class="agreement-policy">
|
||||
<JeepayCheckbox v-model:checked="vdata.isSelectedAgreement" />
|
||||
同意
|
||||
@@ -117,16 +117,18 @@
|
||||
<text>与</text>
|
||||
<text class="policy" @click="toPrivacy">《隐私政策》</text>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
|
||||
|
||||
<!-- <view class="agreement-policy">
|
||||
<!-- #ifndef MP-WEIXIN -->
|
||||
<view class="agreement-policy">
|
||||
<JeepayCheckbox v-model:checked="vdata.isSelectedAgreement" />
|
||||
同意
|
||||
<text class="agreement" @click="go.to('PAGES_STATIC_AGREEMENT')">《用户服务协议》</text>
|
||||
<text>与</text>
|
||||
<text class="policy" @click="toPrivacy">《隐私政策》</text>
|
||||
<text class="policy" @click="go.to('PAGES_STATIC_POLICY')">《隐私政策》</text>
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
|
||||
|
||||
|
||||
<Button @tap="loginFunc">登录</Button>
|
||||
|
||||
@@ -17,9 +17,9 @@ let vdata = reactive({
|
||||
content: '',
|
||||
})
|
||||
onLoad(() => {
|
||||
$getTreaty().then(({ bizData }) => {
|
||||
vdata.content = bizData.privacyPolicy
|
||||
})
|
||||
// $getTreaty().then(({ bizData }) => {
|
||||
// vdata.content = bizData.privacyPolicy
|
||||
// })
|
||||
})
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@@ -1,28 +1,35 @@
|
||||
<template>
|
||||
<!-- #ifdef APP || H5 -->
|
||||
<web-view src="/static/service.html"></web-view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<mp-html :content='vdata.content'/>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP || H5 -->
|
||||
<web-view src="/static/service.html"></web-view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<mp-html :content='vdata.content' />
|
||||
<!-- #endif -->
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive } from 'vue'
|
||||
import { $getTreaty } from '@/http/apiManager.js'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import {
|
||||
ref,
|
||||
reactive
|
||||
} from 'vue'
|
||||
import {
|
||||
$getTreaty
|
||||
} from '@/http/apiManager.js'
|
||||
import {
|
||||
onLoad
|
||||
} from '@dcloudio/uni-app'
|
||||
|
||||
let vdata = reactive({
|
||||
content: '',
|
||||
})
|
||||
onLoad(() => {
|
||||
$getTreaty().then(({ bizData }) => {
|
||||
vdata.content = bizData.serviceAgreement
|
||||
})
|
||||
})
|
||||
let vdata = reactive({
|
||||
content: '',
|
||||
})
|
||||
onLoad(() => {
|
||||
// $getTreaty().then(({ bizData }) => {
|
||||
// vdata.content = bizData.serviceAgreement
|
||||
// })
|
||||
})
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.content-wrapper{
|
||||
padding: 30rpx;
|
||||
}
|
||||
</style>
|
||||
.content-wrapper {
|
||||
padding: 30rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user