update:隐私&分享

This commit is contained in:
ltx 2026-06-17 09:57:46 +08:00
parent 657be9f436
commit 0f5ad9c638
4 changed files with 15 additions and 5 deletions

View File

@ -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 || ''
};
}
});

View File

@ -2,5 +2,6 @@
"navigationBarTitleText": "赛事详情",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"backgroundColor": "#f7f9fa"
"backgroundColor": "#f7f9fa",
"enableShareAppMessage": true
}

View File

@ -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);
}

View File

@ -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>