增加协议文件

This commit is contained in:
2025-05-26 17:01:17 +08:00
parent 213bdcba88
commit dd42743f26
8 changed files with 97 additions and 74 deletions

View File

@@ -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>