diff --git a/src/components/display-box/index.vue b/src/components/display-box/index.vue
index 5e6e5a58..b2029643 100644
--- a/src/components/display-box/index.vue
+++ b/src/components/display-box/index.vue
@@ -28,7 +28,6 @@ const result = ref(groupObjectsByNumberKeys(slots))
diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue
index b20934d6..d1e37fd6 100644
--- a/src/pages/home/index.vue
+++ b/src/pages/home/index.vue
@@ -20,8 +20,8 @@
首都博物馆门票
- {{item.remainingQuantity===-1?'不限':item.remainingQuantity}}/{{item.issueQuantity===-1?'不限':item.issueQuantity}}
- 预约
+ {{item.remainingQuantity===-1?'不限':item.remainingQuantity}}/{{item.issueQuantity===-1?'不限':item.issueQuantity}}
+ {{item.remainingQuantity===0?'无票':'预约'}}
@@ -167,6 +167,9 @@ const handleTips = () => {
color: #fff;
justify-content: center;
align-items: center;
+ &.sold_out{
+ background-color: #AFAFAF;
+ }
}
.wrap1_3{
color: #F7963B;
@@ -175,7 +178,9 @@ const handleTips = () => {
justify-content: center;
align-items: center;
width: 224rpx;
-
+ &.sold_out{
+ color: #AFAFAF;
+ }
}
.wrap1_2{
width: 140rpx;