update:隐私&分享
This commit is contained in:
parent
657be9f436
commit
0f5ad9c638
@ -809,5 +809,14 @@ Page({
|
||||
wx.navigateTo({
|
||||
url: `/pages/apply/apply?eventId=${id}`
|
||||
});
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
const { id, eventTitle, heroImage } = this.data;
|
||||
return {
|
||||
title: eventTitle || '赛事详情',
|
||||
path: id ? `/pages/detail/detail?id=${id}` : '/pages/detail/detail',
|
||||
imageUrl: heroImage || ''
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
"navigationBarTitleText": "赛事详情",
|
||||
"navigationBarBackgroundColor": "#ffffff",
|
||||
"navigationBarTextStyle": "black",
|
||||
"backgroundColor": "#f7f9fa"
|
||||
"backgroundColor": "#f7f9fa",
|
||||
"enableShareAppMessage": true
|
||||
}
|
||||
@ -25,10 +25,10 @@ page {
|
||||
.main-sheet {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-top: -48rpx;
|
||||
margin-top: -22rpx;
|
||||
padding: 30rpx 40rpx 40rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 40rpx 40rpx 16rpx 16rpx;
|
||||
border-radius: 30rpx 30rpx 16rpx 16rpx;
|
||||
box-shadow: 0 -12rpx 40rpx rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
|
||||
@ -115,9 +115,9 @@
|
||||
<!-- <text class="check-icon" wx:if="{{agreed}}">✓</text> -->
|
||||
</view>
|
||||
<text class="agreement-text">我同意</text>
|
||||
<text class="agreement-link" bindtap="goToPrivacy"> 用户协议 </text>
|
||||
<text class="agreement-link" catchtap="goToPrivacy"> 用户协议 </text>
|
||||
<text class="agreement-text">与</text>
|
||||
<text class="agreement-link" bindtap="goToPrivacy"> 隐私政策 </text>
|
||||
<text class="agreement-link" catchtap="goToPrivacy"> 隐私政策 </text>
|
||||
</view>
|
||||
<text class="forget-link" bindtap="onForgetPassword">忘记密码?</text>
|
||||
</view>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user