|
@@ -6,7 +6,7 @@
|
|
|
<view class="active_info">
|
|
|
<view class="active_name">{{activeInfo.name}}</view>
|
|
|
<view class="active_time">活动时间:{{activeInfo.start_date}} ~ {{activeInfo.end_date}}</view>
|
|
|
- <view class="active_citys">活动范围:{{activeInfo.city_ids}}</view>
|
|
|
+ <view class="active_citys" v-if="activeInfo.city_ids">活动范围:{{activeInfo.city_ids}}</view>
|
|
|
</view>
|
|
|
<view class="active_coupon">
|
|
|
<view class="active_subtitle">优惠券</view>
|
|
@@ -26,7 +26,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="active_product">
|
|
|
+ <view class="active_product" v-if="activeInfo.product_list.length" >
|
|
|
<view class="active_subtitle">活动商品</view>
|
|
|
<view class="product_list" :class="show_more_product?'more':''">
|
|
|
<view class="product_item" v-for="(item,index) in activeInfo.product_list" :key="index" >
|
|
@@ -44,7 +44,7 @@
|
|
|
<uni-icons type="down" size="20" ></uni-icons>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="active_rule">
|
|
|
+ <view class="active_rule" v-if="activeInfo.active_rule">
|
|
|
<view class="active_subtitle">活动规则</view>
|
|
|
<view class="active_rule_info">
|
|
|
<rich-text class="rich_text" :nodes="activeInfo.active_rule"></rich-text>
|
|
@@ -263,9 +263,12 @@
|
|
|
.rebate{
|
|
|
color: #E03519;
|
|
|
height: 60rpx;
|
|
|
+ overflow: hidden;
|
|
|
font-size: 36rpx;
|
|
|
line-height: 60rpx;
|
|
|
font-weight: bold;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
}
|
|
|
.std_pay{
|
|
|
color: #666666;
|