浏览代码

更改票务说明的展示条件

gcz 1 年之前
父节点
当前提交
84689db7a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/ticketlist.vue

+ 1 - 1
pages/ticketlist.vue

@@ -128,7 +128,7 @@
 							<view class="name">{{ date.goodsName }}</view>
 							<view class="name">{{ date.goodsName }}</view>
 						</view>
 						</view>
 					</view>
 					</view>
-					<view class="goodsSnapshot" v-if="goodsSnapshot">
+					<view class="goodsSnapshot" v-if="ticketTypeList.length>0&&goodsSnapshot">
 						票务说明:{{goodsSnapshot}}
 						票务说明:{{goodsSnapshot}}
 					</view>
 					</view>
 					<!-- <view class="type-item" :class="{active:sessionIndex==index}" v-for="(item,index) in  ticketTypeList" :key="index">
 					<!-- <view class="type-item" :class="{active:sessionIndex==index}" v-for="(item,index) in  ticketTypeList" :key="index">