功能完善

This commit is contained in:
2024-04-14 01:05:08 +08:00
parent a270c9be70
commit b676a1acd9
80 changed files with 118 additions and 52 deletions

View File

@@ -11,8 +11,8 @@
</button>
<view class='hint'>
登录代表同意
<text class='link'>
用户协议隐私政策
<text class='link' @click.stop='openPrivacy'>
小程序隐私保护协议
</text>
并授权使用您的账号信息如昵称头像收获地址以便您统一管理
</view>
@@ -32,6 +32,17 @@ function wechatLogin() {
uni.reLaunch({ url: '/pages/home/index' });
});
}
const openPrivacy = () => {
wx.openPrivacyContract({
success: () => {
}, // 打开成功
fail: () => {
}, // 打开失败
complete: () => {
}
});
};
</script>
<style lang='scss' scoped>
@@ -71,7 +82,7 @@ function wechatLogin() {
.hint {
padding: 20rpx 50rpx;
font-size: 20rpx;
font-size: 25rpx;
color: $u-tips-color;
position: absolute;
bottom: 0;