@@ -24,6 +24,7 @@ page {
z-index: 3;
padding: 0 30rpx;
box-sizing: border-box;
+ margin: 30rpx 0;
}
.search-bar .search-box {
@@ -197,3 +198,13 @@ page {
color: #eb2444;
font-family: arial;
+
+.container .empty {
+ margin-top: 100rpx;
+ text-align: center;
+ color: #999;
+ font-size: 26rpx;
+}
+.container .empty.empty-top {
+ margin-top: 300rpx;
@@ -53,6 +53,7 @@
</view>
+ <view v-if="!searchProdList.length" :class="['empty',showType==1? 'empty-top':'']">暂无结果</view>
</template>
@@ -202,4 +203,4 @@ export default {
</script>
<style>
@import "./search-prod-show.css";
-</style>
+</style>