index.vue 993 Bytes
<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>