diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index d87eb64e..1409cbd8 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -18,7 +18,7 @@
-
首都博物馆门票
+
{{item.ticketName}}
{{item.remainingQuantity===-1?'不限':item.remainingQuantity}}/{{item.issueQuantity===-1?'不限':item.issueQuantity}}
{{item.remainingQuantity===0?'无票':'预约'}}
diff --git a/src/pages/ticket/index.vue b/src/pages/ticket/index.vue index 4ee8d537..25b45b5c 100644 --- a/src/pages/ticket/index.vue +++ b/src/pages/ticket/index.vue @@ -140,11 +140,13 @@ +
- 当前年月:2023年12月 + 当前年月:{{dayjs(currentData).year()}}年{{dayjs(currentData).month()+1}}月
-
-
- 12月02日·周六 -
-
- *不可预约 -
-
-
+
- 12月03日·周日 + {{dayjs(item.day).format('MM月DD日')}}·周{{item.week}}
- *可预约 + {{ dayjs(item.day).isBefore(dayjs(), 'day')?'*不可预约':'*可预约'}}
- 今日 -
-
-
-
- 12月04日·周一 -
-
- *可预约 -
-
- 明日 + {{judgeDate(item.day)}}
@@ -205,21 +188,10 @@ 请选择参观时间
-
-
08:00入场
-
*不可选
-
-
-
10:00入场
-
*可选
-
-
-
12:00入场
-
*可选
-
-
-
10:00入场
-
*可选
+
+
{{item}}入场
+
+ {{isBeforeCurrentTime(`${showDay?.[currentSelectedData]?.day} ${item}`)?'*不可选':'*可选'}}
@@ -235,9 +207,13 @@
-