登陆新增链接

This commit is contained in:
2025-03-18 15:10:08 +08:00
parent 7fb54bd61e
commit df3b370421
2 changed files with 6 additions and 1 deletions

View File

@ -75,6 +75,11 @@ Page({
url: `/pages/browser/index?url=${encodeURIComponent(this.data.appConfig.url_user_privacy)}`, url: `/pages/browser/index?url=${encodeURIComponent(this.data.appConfig.url_user_privacy)}`,
}) })
}, },
navToDeliveryContract(){
wx.navigateTo({
url: `/pages/browser/index?url=${encodeURIComponent(this.data.appConfig.url_delivery_contract)}`,
})
},
navToAgreement(){ navToAgreement(){
wx.navigateTo({ wx.navigateTo({
url: `/pages/browser/index?url=${encodeURIComponent(this.data.appConfig.url_user_agreement)}`, url: `/pages/browser/index?url=${encodeURIComponent(this.data.appConfig.url_user_agreement)}`,

View File

@ -16,7 +16,7 @@
<radio class="radio" value="agree"></radio> <radio class="radio" value="agree"></radio>
<label>我已阅读并同意</label> <label>我已阅读并同意</label>
<label class="yellow" capture-catch:tap="navToAgreement">《用户协议》</label>与 <label class="yellow" capture-catch:tap="navToAgreement">《用户协议》</label>与
<label class="yellow" capture-catch:tap="navToPrivacy">《隐私政策》</label> <label class="yellow" capture-catch:tap="navToDeliveryContract">《配送服务协议》</label>
</label> </label>
</radio-group> </radio-group>
</view> </view>