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.

37 lines
734 B

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. <template>
  2. <view class="main padding">
  3. <!-- <web-view :src="url"></web-view> -->
  4. <yszc v-if="type == 1"></yszc>
  5. <yhxy v-else></yhxy>
  6. </view>
  7. </template>
  8. <script setup>
  9. import yhxy from './comp/yhxy.vue'
  10. import yszc from './comp/yszc.vue'
  11. import {
  12. ref
  13. } from 'vue'
  14. import {
  15. onLoad,
  16. } from '@dcloudio/uni-app'
  17. let type = ref(1)
  18. let url = ref('')
  19. onLoad((options) => {
  20. type.value = options.type
  21. if (type.value == 1) {
  22. uni.setNavigationBarTitle({
  23. title: '隐私政策'
  24. })
  25. url.value = 'https://www.jakjgs.com/htmls/yszc.html'
  26. } else {
  27. uni.setNavigationBarTitle({
  28. title: '用户使用协议'
  29. })
  30. url.value = 'https://www.jakjgs.com/htmls/yhxy.html'
  31. }
  32. })
  33. </script>
  34. <style>
  35. </style>