fixbug
This commit is contained in:
@@ -31,8 +31,10 @@ Page({
|
||||
setTimeout(function() {
|
||||
that.setData({canOpen : false});
|
||||
},60000);
|
||||
}else if (res.InitError){
|
||||
venue: res.InitError
|
||||
}else if (res.InitError!=undefined){
|
||||
this.setData({
|
||||
venue: res
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
<!--pages/scanCode/index.wxml-->
|
||||
<header isGoHome="{{isGoHome}}"></header>
|
||||
<view class='container' wx:if="{{venue.name}}">
|
||||
<view class='container' wx:if="{{venue}}">
|
||||
<rich-text wx:if="{{!venue.venueInit}}" class='info' nodes="{{venue.InitError}}"></rich-text>
|
||||
<image class='logo' src='{{venue.listImage}}' mode='widthFix'></image>
|
||||
<rich-text class='info' nodes="[{{venue.name}}] 欢迎您!请在60秒内操作开门!"></rich-text>
|
||||
<rich-text wx:if="{{venue.name}}" class='info' nodes="[{{venue.name}}] 欢迎您!请在60秒内操作开门!"></rich-text>
|
||||
<view wx:if="{{canOpen==true}}" class='footer-btn' bindtap='enterClick'>开门</view>
|
||||
<view wx:if="{{canOpen==false}}" class='footer-btn' bindtap='backClick'>返回</view>
|
||||
</view>
|
||||
<view class='container' wx:if="{{!venue.venueInit}}">
|
||||
<rich-text class='info' nodes="{{venue.InitError}}"></rich-text>
|
||||
</view>
|
||||
<confirm-dialog title="{{'提示'}}" message="{{'确认开门'}}" bindcancelselect="cancelDialog" bindconfirmselect="confirmEnterDialog" wx:if="{{showDeleteDialog}}"></confirm-dialog>
|
||||
Reference in New Issue
Block a user