功能完善
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user