index.vue
993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<template>
<view>
<view class="p-c">
<view class="p-c-item" @tap="openLink">
<view class="p-c-item-title">{{ t('app.login.privacyAgreement') }}</view>
<view class="p-c-item-desc"></view>
<uv-icon name="arrow-right" size="22rpx" color="#90949D"></uv-icon>
</view>
</view>
</view>
</template>
<script setup>
import {
t
} from '@/plugins/index.js'
import {
onLoad
} from '@dcloudio/uni-app'
onLoad(()=>{
uni.setNavigationBarTitle({
title: t('app.common.aboutUs')
})
})
function openLink() {
uni.navigateTo({
url: `/subPackages/accountGroup/pages/privacy/index`,
})
// // TODO: 需要增加超链接
// let url = 'https://vionvision.com/Privacy.html'
// // #ifdef H5
// window.open(url);
// // #endif
// // #ifndef H5
// plus.runtime.openURL(url);
// // #endif
}
</script>
<style lang="scss" scoped>
@import "@/styles/col.scss";
</style>