Browse Source

活动UI调整

home_hotList^2
ld0104 2 years ago
parent
commit
8651a0220b
  1. 3
      pages/activity/DargainGoodsDetails/index.vue
  2. 3
      pages/activity/GroupDetails/index.vue
  3. 2
      pages/activity/activity/index.vue

3
pages/activity/DargainGoodsDetails/index.vue

@ -107,7 +107,8 @@
<view class="tui-operation-right acea-row">
<view class="btn other-col" @click="openAlone">原价购买</view>
<view class="btn" @click="goDargain">发起砍价</view>
<view v-if="goodsDetail.stock>0" class="btn" @click="goDargain">发起砍价</view>
<view v-else class="btn" style="background: #a0d2d0">已售罄</view>
</view>
</view>

3
pages/activity/GroupDetails/index.vue

@ -235,7 +235,8 @@
<view class="tui-operation-right acea-row">
<view class="btn other-col" @click="openAlone">单独购买</view>
<view class="btn" @click="openTeam">发起拼团</view>
<view v-if="storeInfo.stock>0" class="btn" @click="openTeam">发起拼团</view>
<view v-else class="btn" style="background: #a0d2d0">已售罄</view>
<!-- <view class="tui-flex-1">
<tui-button height="100rpx" :size="26" type="warning" shape="rightAngle" @click="openAlone">
<view class="tui-btn__box">

2
pages/activity/activity/index.vue

@ -81,7 +81,7 @@
<view class="otPrice" v-if="activityType === 0">¥{{item.otPrice}}</view>
</view>
<!-- <view class="btn" @click="goDetail(item)">{{activityType == 0?(timeList[seckillActive].status == 2?'即将开始':'立即秒杀'):'发起' + (activityType == 1?'拼团':'砍价')}}</view> -->
<view :style="[{backgroundColor:tabType==1 && activityType!==0 ? '#EC3A5B':''},{backgroundColor:item.stock==0 &&tabType==0&&activityType==0?'#a0d2d0':''}]" class="btn" @click="goDetail(item)">{{activityType == 0?(timeList[seckillActive].status == 2?'即将开始':(item.stock==0?'待补货':'立即秒杀')):(tabType==0?('发起'+(activityType == 1?'拼团':'砍价')):'参与中')}}</view>
<view :style="[{backgroundColor:tabType==1 && activityType!==0 ? '#EC3A5B':''},{backgroundColor:item.stock==0 &&tabType==0?'#a0d2d0':''}]" class="btn" @click="goDetail(item)">{{activityType == 0?(timeList[seckillActive].status == 2?'即将开始':(item.stock==0?'已售罄':'立即秒杀')):(tabType==0?(item.stock==0?'已售罄':('发起'+(activityType == 1?'拼团':'砍价'))):'参与中')}}</view>
</view>
</view>

Loading…
Cancel
Save