master
lion 3 years ago
parent 4308b1a79f
commit a95ac9f0ce

@ -53,7 +53,7 @@
</u-icon>
<view v-else>
<text
v-if="item.is_open==1">{{item.remain_count==0?"售罄":"可预约"}}</text>
v-if="item.is_open==1">{{item.remain_count==0?"不可预约":"可预约"}}</text>
<text v-else></text>
</view>
</view>
@ -91,7 +91,7 @@
<view class="book-box-row-timeitem-txt" v-if="item.remain_count>0">
{{item.remain_count}}
</view>
<view class="book-box-row-timeitem-txt" v-else></view>
<view class="book-box-row-timeitem-txt" v-else></view>
</block>
<block v-else>
<view class="book-box-row-timeitem-txt" >不可预约</view>
@ -253,7 +253,7 @@
if (date == m.date) {
if (m.is_open == 1)
if (m.remain_count == 0) {
day.bottomInfo = '售罄'
day.bottomInfo = '不可预约'
} else {
day.bottomInfo = '可预约'
}
@ -279,7 +279,7 @@
if (cdate.remain_count === 0) {
uni.showToast({
icon: "none",
title: "该日期已经售罄"
title: "该日期已不可预约"
})
return;
}
@ -301,7 +301,7 @@
return false
}
if (mod.remain_count == 0) {
this.util.toast("该时段已售罄");
this.util.toast("该时段已不可预约");
return false
}
for (var m of this.currentDate.rules) {

@ -67,6 +67,9 @@
}, {
name: '已取消',
idx: "0"
}, {
name: '已过期',
idx: "3"
}],
current: 0,
isloading: true,

@ -56,6 +56,9 @@
}, {
name: '已完成',
idx: "2"
} {
name: '已过期',
idx: "3"
}],
current: 0,
isloading: true,
@ -63,7 +66,8 @@
statusArr: {
0: "已取消",
1: "待完成",
2: "已完成"
2: "已完成",
3: "已过期"
}
}
},

@ -62,6 +62,9 @@
}, {
name: '已参观',
idx: "2"
},{
name: '已过期',
idx: "3"
}],
current: 0,
isloading: true,

@ -21,7 +21,7 @@
</u-icon>
<view v-else>
<text
v-if="item.is_open==1">{{item.remain_count==0?"售罄":"可预约"}}</text>
v-if="item.is_open==1">{{item.remain_count==0?"不可预约":"可预约"}}</text>
<text v-else></text>
</view>
</view>
@ -57,7 +57,7 @@
<view class="book-box-row-timeitem-txt" v-if="item.remain_count>0">
{{item.remain_count}}
</view>
<view class="book-box-row-timeitem-txt" v-else></view>
<view class="book-box-row-timeitem-txt" v-else></view>
</view>
</view>
</view>
@ -846,7 +846,7 @@
if (date == m.date) {
if (m.is_open == 1) {
if (m.remain_count == 0) {
day.bottomInfo = '售罄'
day.bottomInfo = '不可预约'
} else {
day.bottomInfo = '可预约'
}
@ -875,7 +875,7 @@
if (cdate.remain_count === 0) {
uni.showToast({
icon: "none",
title: "该日期已经售罄"
title: "该日期已不可预约"
})
return;
}
@ -894,7 +894,7 @@
handleSelectTime(index) {
var mod = this.currentDate.rules[index];
if (mod.remain_count == 0) {
this.util.toast("该时段已售罄");
this.util.toast("该时段已不可预约");
return false
}
for (var m of this.currentDate.rules) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Loading…
Cancel
Save