Commit 231f4926 by zhangzhen

功能优化

parent f817742f
......@@ -57,6 +57,11 @@ export const equityDuration=(data)=>{
return http.get(url,data)
}
export const equityDurationList=(data)=>{
let url=`/durationLog/list`
return http.get(url,data)
}
export const monthlyCardConf=(data)=>{
let url=`/monthlyCardConf/query`
......
......@@ -284,6 +284,14 @@
"navigationBarTitleText": "我的卡包",
"enablePullDownRefresh" : false
}
},
{
"path" : "publicize/index",
"style" :
{
"navigationBarTitleText": "邀请好友注册",
"enablePullDownRefresh" : false
}
}
]
}
......
......@@ -47,8 +47,8 @@
</view>
</view>
</view>
<view class="banner2">
<image :src="assetsPath +'/banner4.png'" mode="widthFix"></image>
<view class="banner2" @tap="onNavToPublicize">
<image :src="assetsPath +'/banner5.png'" mode="widthFix"></image>
</view>
<view class="flex-col list-box">
<!-- <view class="title titleStyle">
......@@ -765,6 +765,11 @@
}
})
},
onNavToPublicize(){
uni.navigateTo({
url:'/setting/publicize/index'
})
},
onPreview(val) {
uni.previewImage({
current: 0,
......
......@@ -596,7 +596,8 @@
secondaryCard:{
status: 0,
number: 0
}
},
submitBtnStatus:false
};
},
filters: {
......@@ -1510,6 +1511,7 @@
},
onCancle() {
this.$refs.confirmPop.close();
this.submitBtnStatus = false
},
onOrderConfirmBefore() {
if(this.formatAllData.useStatus){
......@@ -1519,6 +1521,11 @@
})
return;
}
if(this.submitBtnStatus) return
this.submitBtnStatus = true;
wx.requestSubscribeMessage({
tmplIds: [
'UkvsRnZkZB_w3MqXPbRhi4jEk8ML4N9PWT3rnd3Bhxg',
......@@ -1537,6 +1544,7 @@
icon: "none",
title: '当前房间维护中,无法预定,请选择其他房间'
})
this.submitBtnStatus = false;
return;
}
// if(this.roomInfo.isDirtyRoom >=1){
......@@ -1554,6 +1562,7 @@
icon: "none",
title: "当前时间晚于预约开始时间,请重新选择预约时间"
})
this.submitBtnStatus = false;
return
}
......@@ -1562,6 +1571,7 @@
icon: "none",
title: "所选时段已被其他订单占用"
})
this.submitBtnStatus = false;
return
}
......@@ -1646,7 +1656,7 @@
orderCancelPay({
orderNo: res.data.data.orderNo
}).then(res => {
this.submitBtnStatus = false
})
},
"complete": (resp) => {
......@@ -1679,6 +1689,7 @@
// setTimeout(()=>{
// this.onGetSortDistance()
// },2000)
this.submitBtnStatus = false
}
})
}
......
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