初始化

This commit is contained in:
魏啾
2024-03-21 15:38:10 +08:00
parent e2f200ae7a
commit 81321b648f
479 changed files with 60060 additions and 1 deletions

29
pages/webview/html.vue Normal file
View File

@@ -0,0 +1,29 @@
<template>
<view class="content" v-html="src">
</view>
</template>
<script>
export default {
data() {
return {
src: ''
};
},
async onLoad(options) {
let res = await this.api.useruserpolicy();
if (options.src == 1) {
//用户协议
this.src = res.data.agreement
} else {
this.src = res.data.policy
}
}
};
</script>
<style scoped>
.content {
padding: 20rpx 30rpx;
}
</style>