py vor 1 Jahr
Ursprung
Commit
1e3fdfdd04
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 4 1
      pages-takeout/shop-mod/info.vue
  2. 1 1
      pages/index/index.vue

+ 4 - 1
pages-takeout/shop-mod/info.vue

@@ -29,7 +29,10 @@
 			<view class="fs-32 fw-500 mb-32">商家公告</view>
 			<view class="display-flex">
 				<image class="flex-shrink0" src="@/static/img/takeout/info-gg.png" mode=""></image>
-				<view class="fs-28 fw-400">{{shopInfoData.notice}}</view>
+				<view v-if="shopInfoData.notice" class="fs-28 fw-400">{{shopInfoData.notice}}</view>
+				<view class="" v-else>
+					无
+				</view>
 			</view>
 		</view>
 	</view>

+ 1 - 1
pages/index/index.vue

@@ -150,7 +150,7 @@
 				</view>
 			</view>
 			<!-- 全网最低/优质团购 -->
-			<view class="spike-box box-border-box b-rad-20">
+			<view class="spike-box box-border-box b-rad-20" v-if="group_goods_List.length > 0">
 				<view class="yztg-box p-30 box-border-box">
 					<image class="tj-bg" src="@/static/img/index/tj-bg.png" mode=""></image>
 					<image class="qwzd-img z-2" src="@/static/img/index/qwzd.png" mode=""></image>