Commit 14c73bfb authored by lvtz's avatar lvtz

fix

parent ce00d108
......@@ -2158,6 +2158,7 @@ Page({
},
delallCheck() {
this.setData({
radioname: '',
radioList: []
})
},
......
......@@ -53,7 +53,8 @@ Page({
selectedRadio: "",
maxIndex: 5,
studentMobile: "", //手机号
waitSbumitContent: "" //信息手机提交数据
waitSbumitContent: "", //信息手机提交数据
hadAuthMobile: false,// 授权成功但未加入成功,只为页面记录状态不再重复授权
},
onLoad: function(options) {
const that = this;
......@@ -336,7 +337,8 @@ Page({
that.setData({
sessionCode: that.data.sessionCode,
encryptData: encryptedData,
iv
iv,
hadAuthMobile: true,
});
this.gojoin();
}
......
......@@ -158,7 +158,7 @@
<image src="{{imageRoot}}2c/sharemoretheme/home.png" class="homeicon" alt="Image" />
<view class="classtext">首页</view>
</view>
<button class="jointext" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" wx:if="{{!studentMobile}}">加入打卡<view class="light"></view></button>
<button class="jointext" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" wx:if="{{studentMobile=='' && !hadAuthMobile }}">加入打卡<view class="light"></view></button>
<view class="jointext" bindtap="gojoin" wx:else>{{ moreTheme.is_join == 1 ? '立即闯关' : '加入打卡' }} <view class="light"></view></view>
</view>
<view class="videodialog" wx:if="{{videostatus.videoShow}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment