fixbug
This commit is contained in:
@@ -224,6 +224,7 @@ Page({
|
|||||||
// duration: 5000
|
// duration: 5000
|
||||||
// })qr
|
// })qr
|
||||||
scanVenue = res.result;
|
scanVenue = res.result;
|
||||||
|
console.log(res.result);
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url: '/pages/scanCode/index?venueId=' + scanVenue,
|
url: '/pages/scanCode/index?venueId=' + scanVenue,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -31,8 +31,10 @@ Page({
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
that.setData({canOpen : false});
|
that.setData({canOpen : false});
|
||||||
},60000);
|
},60000);
|
||||||
}else if (res.InitError){
|
}else if (res.InitError!=undefined){
|
||||||
venue: res.InitError
|
this.setData({
|
||||||
|
venue: res
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
<!--pages/scanCode/index.wxml-->
|
<!--pages/scanCode/index.wxml-->
|
||||||
<header isGoHome="{{isGoHome}}"></header>
|
<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>
|
<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==true}}" class='footer-btn' bindtap='enterClick'>开门</view>
|
||||||
<view wx:if="{{canOpen==false}}" class='footer-btn' bindtap='backClick'>返回</view>
|
<view wx:if="{{canOpen==false}}" class='footer-btn' bindtap='backClick'>返回</view>
|
||||||
</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>
|
<confirm-dialog title="{{'提示'}}" message="{{'确认开门'}}" bindcancelselect="cancelDialog" bindconfirmselect="confirmEnterDialog" wx:if="{{showDeleteDialog}}"></confirm-dialog>
|
||||||
@@ -21,14 +21,20 @@
|
|||||||
"checkSiteMap": true,
|
"checkSiteMap": true,
|
||||||
"uploadWithSourceMap": true,
|
"uploadWithSourceMap": true,
|
||||||
"compileHotReLoad": false,
|
"compileHotReLoad": false,
|
||||||
|
"useMultiFrameRuntime": false,
|
||||||
|
"useApiHook": true,
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
|
"enableEngineNative": false,
|
||||||
"useIsolateContext": true,
|
"useIsolateContext": true,
|
||||||
"useCompilerModule": true,
|
"useCompilerModule": false,
|
||||||
"userConfirmedUseCompilerModuleSwitch": false
|
"userConfirmedUseCompilerModuleSwitch": false,
|
||||||
|
"packNpmManually": false,
|
||||||
|
"packNpmRelationList": [],
|
||||||
|
"minifyWXSS": true
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "2.10.2",
|
"libVersion": "2.10.2",
|
||||||
@@ -39,15 +45,12 @@
|
|||||||
"simulatorPluginLibVersion": {},
|
"simulatorPluginLibVersion": {},
|
||||||
"condition": {
|
"condition": {
|
||||||
"search": {
|
"search": {
|
||||||
"current": -1,
|
|
||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"conversation": {
|
"conversation": {
|
||||||
"current": -1,
|
|
||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"plugin": {
|
"plugin": {
|
||||||
"current": -1,
|
|
||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"game": {
|
"game": {
|
||||||
@@ -55,7 +58,6 @@
|
|||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"gamePlugin": {
|
"gamePlugin": {
|
||||||
"current": -1,
|
|
||||||
"list": []
|
"list": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user