.
This commit is contained in:
parent
8396d8bf3a
commit
7be7669bc7
@ -88,6 +88,12 @@
|
||||
<view>我的权益</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="list-cell list-cell-arrow" @click="showPop = true">
|
||||
<view class="menu-item-box">
|
||||
<view class="iconfont icon-bianji1 menu-icon"></view>
|
||||
<view>用户协议和隐私协议</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="list-cell list-cell-arrow" @click="toPage('help')">
|
||||
<view class="menu-item-box">
|
||||
<view class="iconfont icon-help menu-icon"></view>
|
||||
@ -121,6 +127,33 @@
|
||||
</view>
|
||||
</view>
|
||||
<custom-app-update ref="appUpdate" />
|
||||
|
||||
<!-- 协议弹窗 -->
|
||||
<u-popup mode="center" :show="showPop" :is-mask-click="false">
|
||||
<view style="background: #f3f3f3;max-width: 70vw;padding: 10px; border-radius: 5px;">
|
||||
<view style="text-align: center;font-weight: bold;margin-bottom: 10px;">
|
||||
<text>用户协议和隐私协议</text>
|
||||
</view>
|
||||
<view style="line-height: 24px; font-size: 14px; color: #555;">
|
||||
我们依据相关法律制定了
|
||||
<text class="text-blue" @click="handleUserAgrement">《用户协议》</text>
|
||||
和
|
||||
<text class="text-blue" @click="handlePrivacy">《隐私协议》</text>
|
||||
,请您在点击同意之前仔细阅读并充分理解相关条款。为了便于您理解《隐私政策》,特向您说明如下:
|
||||
<br>
|
||||
1、为了向您提供服务,我们需要收集您的设备信息和操作日志;
|
||||
<br>
|
||||
2、我们会采取业界先进的安全措施保护您的信息安全,未经您同意,我们不会向第三方共享您的信息;
|
||||
<br>
|
||||
3、您可以对上述信息进行查询、更正、删除我们也在政策中提供专门的个人信息保护联系方式。
|
||||
<br>
|
||||
如您同意以上协议内容,请点击"同意"接受并开始使用我们的服务。
|
||||
</view>
|
||||
<view style=" display: flex;margin-top: 10px;grid-gap: 10px;">
|
||||
<u-button type="success" size="large" text="确定" @click="showPop = false" />
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -138,6 +171,7 @@
|
||||
// const version = config.appInfo.version;
|
||||
const version = getApp().version.oldV;
|
||||
const appUpdate = ref(null)
|
||||
const showPop = ref(false)
|
||||
|
||||
uni.$on('refresh', () => {
|
||||
avatar.value = store.state.user.avatar;
|
||||
@ -228,6 +262,22 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
const globalConfig = ref(config);
|
||||
// 隐私协议
|
||||
function handlePrivacy() {
|
||||
let site = globalConfig.value.appInfo.agreements[0];
|
||||
uni.navigateTo({
|
||||
url: `/pages/common/webview/index?title=${site.title}&url=${site.url}`
|
||||
});
|
||||
};
|
||||
// 用户协议
|
||||
function handleUserAgrement() {
|
||||
let site = globalConfig.value.appInfo.agreements[1]
|
||||
uni.navigateTo({
|
||||
url: `/pages/common/webview/index?title=${site.title}&url=${site.url}`
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@ -258,7 +308,9 @@
|
||||
border-radius: 0 0 30px 30px;
|
||||
|
||||
|
||||
.cu-avatar {width: 70px !important;height: 70px !important;
|
||||
.cu-avatar {
|
||||
width: 70px !important;
|
||||
height: 70px !important;
|
||||
border: 2px solid #1cb93a;
|
||||
background-color: #fff;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user