You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
734 B
38 lines
734 B
<template>
|
|
<view class="main padding">
|
|
<!-- <web-view :src="url"></web-view> -->
|
|
<yszc v-if="type == 1"></yszc>
|
|
<yhxy v-else></yhxy>
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import yhxy from './comp/yhxy.vue'
|
|
import yszc from './comp/yszc.vue'
|
|
import {
|
|
ref
|
|
} from 'vue'
|
|
import {
|
|
onLoad,
|
|
} from '@dcloudio/uni-app'
|
|
let type = ref(1)
|
|
let url = ref('')
|
|
onLoad((options) => {
|
|
type.value = options.type
|
|
if (type.value == 1) {
|
|
uni.setNavigationBarTitle({
|
|
title: '隐私政策'
|
|
})
|
|
url.value = 'https://www.jakjgs.com/htmls/yszc.html'
|
|
} else {
|
|
uni.setNavigationBarTitle({
|
|
title: '用户使用协议'
|
|
})
|
|
url.value = 'https://www.jakjgs.com/htmls/yhxy.html'
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|