feat: 场馆详情页去掉商品信息模块,商户优惠改为使用说明(取第三方备注)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
6b1037893e
commit
b33d59aa55
+4
-19
@@ -42,22 +42,11 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 商品信息(内容取商铺门票信息字段) -->
|
<!-- 使用说明(内容取文旅场馆第三方设置里的备注 shop_relation.remark) -->
|
||||||
<view class="discount-section" v-if="ticketInfoList.length">
|
<view class="discount-section" v-if="discountList.length">
|
||||||
<view class="section-title">
|
<view class="section-title">
|
||||||
<image src="https://aliyunoss.hn12301.net/hhrs/hhrs_qysm.png" style="width: 30rpx;height: 30rpx;"></image>
|
<image src="https://aliyunoss.hn12301.net/hhrs/hhrs_qysm.png" style="width: 30rpx;height: 30rpx;"></image>
|
||||||
<text class="discount-title">商品信息</text>
|
<text class="discount-title">使用说明</text>
|
||||||
</view>
|
|
||||||
<view class="discount-list">
|
|
||||||
<text class="discount-item" v-for="(item, index) in ticketInfoList" :key="index">{{ item }}</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<!-- 商户优惠 -->
|
|
||||||
<view class="discount-section">
|
|
||||||
<view class="section-title">
|
|
||||||
<image src="https://aliyunoss.hn12301.net/hhrs/hhrs_qysm.png" style="width: 30rpx;height: 30rpx;"></image>
|
|
||||||
<text class="discount-title">商户优惠</text>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="discount-list">
|
<view class="discount-list">
|
||||||
<text class="discount-item" v-for="(item, index) in discountList" :key="index">{{ item }}</text>
|
<text class="discount-item" v-for="(item, index) in discountList" :key="index">{{ item }}</text>
|
||||||
@@ -88,10 +77,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
ticketInfoList() {
|
|
||||||
if (!this.store || !this.store.ticketInfo) return []
|
|
||||||
return this.store.ticketInfo.split('\n')
|
|
||||||
},
|
|
||||||
discountList() {
|
discountList() {
|
||||||
if (!this.store || !this.store.merchantDiscount) return []
|
if (!this.store || !this.store.merchantDiscount) return []
|
||||||
return this.store.merchantDiscount.split('\n')
|
return this.store.merchantDiscount.split('\n')
|
||||||
@@ -251,7 +236,7 @@ export default {
|
|||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 商户优惠 */
|
/* 使用说明 */
|
||||||
.discount-section {
|
.discount-section {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
|
|||||||
Reference in New Issue
Block a user