|
@@ -342,6 +342,19 @@ Page({
|
|
|
},
|
|
|
|
|
|
turnUp(){
|
|
|
+ if(this.data.bgSeasonType=="Transition"){
|
|
|
+ wx.showModal({
|
|
|
+ title: '现在是过渡季不可调节',
|
|
|
+ showCancel: false,
|
|
|
+ confirmText:"我知道了",
|
|
|
+
|
|
|
+ success: function (res) {
|
|
|
+ },
|
|
|
+ fail: function (res) { },
|
|
|
+ complete: function (res) { },
|
|
|
+ })
|
|
|
+ return ;
|
|
|
+ }
|
|
|
if(this.data.havePower.result!=="success"){
|
|
|
Toast.fail(this.data.havePower.message);
|
|
|
return
|