Commit 231f4926 by zhangzhen

功能优化

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