diff --git a/pages/index/index.vue b/pages/index/index.vue
index 8e98173..8aa7296 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -73,10 +73,10 @@
title: '品牌导游',
id: '57'
},
- {
- title: '选项2',
- id: '58'
- }
+ // {
+ // title: '选项2',
+ // id: '58'
+ // }
],
typeIndex: 0,
tourList: [],
diff --git a/subPackages/daoyou/detail.vue b/subPackages/daoyou/detail.vue
index 788d197..be8863c 100644
--- a/subPackages/daoyou/detail.vue
+++ b/subPackages/daoyou/detail.vue
@@ -112,6 +112,7 @@
+ 暂无场次
@@ -136,7 +137,8 @@
skus: [],
type: '',
- id: ''
+ id: '',
+ skuHeight: 0
}
},
onLoad(option) {
@@ -216,6 +218,17 @@
this.selectDay = item
this.selectIndex = index - 1
}
+
+ this.getSkuHeight()
+ },
+ getSkuHeight() {
+ const query = uni.createSelectorQuery().in(this);
+ query
+ .select(".sku-box")
+ .boundingClientRect(res => {
+ this.skuHeight = res.height
+ })
+ .exec();
},
// 根据日期判断库存
getStoreByDate() {
@@ -225,6 +238,10 @@
end_date: this.everyDay[this.everyDay.length - 1].date
},'/api/goods/get_product_sku_price_by_date').then(res => {
this.skus = res.data
+
+ this.$nextTick(() => {
+ this.getSkuHeight()
+ })
})
},
// 播放视频
@@ -648,4 +665,16 @@
border-top: 1rpx solid #D8D8D8;
}
}
+
+ .empty-text {
+ width: 697rpx;
+ line-height: 133rpx;
+ background: #FFFFFF;
+ border-radius: 13rpx 13rpx 0rpx 0rpx;
+ text-align: center;
+ margin-top: 30rpx;
+ font-weight: 500;
+ font-size: 28rpx;
+ color: #999999;
+ }
\ No newline at end of file
diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html
index 486b7cc..ed939b8 100644
--- a/unpackage/dist/build/web/index.html
+++ b/unpackage/dist/build/web/index.html
@@ -1,2 +1,2 @@
daoyous
\ No newline at end of file
+ document.write('')