|
|
|
@ -31,7 +31,7 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- <u-empty text="暂无活动数据显示哦~" v-else mode="list"></u-empty> --> |
|
|
|
|
<u-empty text="暂无活动数据显示哦~" v-else mode="list"></u-empty> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -89,13 +89,17 @@ |
|
|
|
|
} |
|
|
|
|
Api.detail(pamars) |
|
|
|
|
.then(result => { |
|
|
|
|
result.data.col.forEach(item => { |
|
|
|
|
item.sliceIndex = 6; |
|
|
|
|
item.goods_list.forEach(item1 => { |
|
|
|
|
item1.goods_price_min = Number(item1.goods_price_min); |
|
|
|
|
if (active_id) { |
|
|
|
|
result.data.col.forEach(item => { |
|
|
|
|
item.sliceIndex = 6; |
|
|
|
|
item.goods_list.forEach(item1 => { |
|
|
|
|
item1.goods_price_min = Number(item1.goods_price_min); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
this.shopList = result.data.col.length > 0 ? result.data.col : []; |
|
|
|
|
this.shopList = result.data.col.length > 0 ? result.data.col : []; |
|
|
|
|
} else { |
|
|
|
|
this.shopList = [] |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.finally() |
|
|
|
|
}, |
|
|
|
@ -121,7 +125,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&-bd { |
|
|
|
|
background-color: #f34a40; |
|
|
|
|
// background-color: #f34a40; |
|
|
|
|
padding-bottom: 30rpx; |
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|