Fix:2661 【非遗文化】非遗文化页面搜索无数据时,无相关提示信息,无内容时增加暂无内容图片显示

This commit is contained in:
linxi
2024-11-20 10:11:01 +08:00
parent af0efae84b
commit 8f403fa204
+16
View File
@@ -66,6 +66,13 @@
</view>
</view>
</view>
<view v-if="recommendList === 0">
<image
:src="webUrl + '/orderIcon/wu.png'"
mode="scaleToFill"
class="img-nodata"
/>
</view>
</view>
</template>
@@ -223,4 +230,13 @@ export default {
background: rgba(255,255,255,0.39);
border-radius: 20rpx;
}
.img-nodata {
position: relative;
top: 0;
left: 50%;
transform: translate(-50%, 0);
width: 352rpx;
height: 338rpx;
margin-bottom: 60rpx;
}
</style>