Fix: 2662 【非遗文化】非遗详情页无店铺数据时没有相关提示信息
This commit is contained in:
@@ -34,9 +34,17 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="details.pageA.images === 0">
|
||||
<image
|
||||
:src="webUrl + '/orderIcon/wu.png'"
|
||||
mode="scaleToFill"
|
||||
class="img-nodata"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageB" v-if="actived === 2">
|
||||
<view class="v12-d-grid-columns-2 card-wrap v12-mt-3">
|
||||
<!-- -->
|
||||
<view class="card-item v12-white v12-radius-20" v-for="(item, index) in details.pageB.hotels" :key="index" @click="toStore(item)">
|
||||
<image class="card-item-img" :src="item.cover" mode="aspectFit|aspectFill|widthFix" lazy-load="false"></image>
|
||||
<view class="more-t v12-font-28 v12-font-bold v12-px-2" style="height: 76rpx">
|
||||
@@ -47,6 +55,14 @@
|
||||
<view class="v12-font-28 one-t name">{{ item.hotelName }}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view v-if="details.pageB.hotels === 0">
|
||||
<image
|
||||
:src="webUrl + '/orderIcon/wu.png'"
|
||||
mode="scaleToFill"
|
||||
class="img-nodata"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -86,6 +102,15 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.img-nodata {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
width: 352rpx;
|
||||
height: 338rpx;
|
||||
margin-bottom: 60rpx;
|
||||
}
|
||||
.intro-text{
|
||||
text-align: center;
|
||||
margin-top: 20rpx;
|
||||
|
||||
Reference in New Issue
Block a user