【update】 去掉我的-扫码报名

This commit is contained in:
danshihao
2024-01-17 13:47:54 +08:00
parent 7d09b742df
commit 42b38835be
2 changed files with 0 additions and 31 deletions
-24
View File
@@ -98,30 +98,6 @@ Page({
})
})
},
// 扫码报名
scanCodeApplication () {
wx.scanCode({
onlyFromCamera: false,
scanType: [],
success: (result) => {
console.log(result,'saoma result');
if (result.result.indexOf("signupdraftteamentrance") > -1) { // 证明是签到二维码
let draftId = result.result.split("=")[1] // Id
// 成功扫码的回调result
wx.navigateTo({
url: `../signUpDraftTeamEntrance/signUpDraftTeamEntrance?id=${draftId}`,
})
} else {
wx.showToast({
title: '此二维码不是报名码',
icon: 'none',
duration: 2000
})
return
}
}
})
},
// 我的资料
mineData() {
isLogin(() => {
-7
View File
@@ -46,13 +46,6 @@
</view>
<image src="../../assets/images/more.png"></image>
</view>
<view class="list-item" bindtap="scanCodeApplication">
<view class="item-title">
<image src="../../assets/images/sign.png"></image>
<text>扫码报名</text>
</view>
<image src="../../assets/images/more.png"></image>
</view>
<!-- <view class="list-item" bindtap="mineData">
<view class="item-title">
<image src="../../assets/images/data.png"></image>