Commit 9e8470a4fa4c20f4dad2667cbbd443daa92c985d
1 parent
a26f7075
促销栏样式调整
Showing
1 changed file
with
23 additions
and
20 deletions
pages/goods/goodsInfo/goodsInfo.wxml
| ... | ... | @@ -548,27 +548,30 @@ |
| 548 | 548 | <!-- 中间显示层 --> |
| 549 | 549 | <block> |
| 550 | 550 | <view class="cx-sizs fs30 pdr20">促销</view> |
| 551 | - <view class="fs28 f1" wx:for="{{prom_goods}}"> | |
| 552 | - <view> | |
| 553 | - <text class="prom_condition"> | |
| 554 | - <text class="fill-box">消费满{{item.condition}}{{item.prom_type==1 ? '件':'元'}}</text>享优惠 | |
| 555 | - <!-- <text wx:if="{{item.prom_type==1}}">件,</text> | |
| 556 | - <text wx:else>元,</text> --> | |
| 557 | - </text> | |
| 558 | - <!-- <text>可享以下优惠:</text> --> | |
| 551 | + <view> | |
| 552 | + <view class="fs28 f1" wx:for="{{prom_goods}}"> | |
| 553 | + <view> | |
| 554 | + <text class="prom_condition"> | |
| 555 | + <text class="fill-box">消费满{{item.condition}}{{item.prom_type==1 ? '件':'元'}}</text>享优惠 | |
| 556 | + <!-- <text wx:if="{{item.prom_type==1}}">件,</text> | |
| 557 | + <text wx:else>元,</text> --> | |
| 558 | + </text> | |
| 559 | + <!-- <text>可享以下优惠:</text> --> | |
| 560 | + </view> | |
| 561 | + | |
| 562 | + <!-- <view class="word {{is_more_cx?'':'ellipsis-1'}}"> --> | |
| 563 | + <view class="word f1 fs26"> | |
| 564 | + <text class="tick lh2 pdr20" wx:if="{{item.money>0}}">减价{{item.money}}元</text> | |
| 565 | + <text class="tick lh2 pdr20" wx:if="{{item.sale>0}}">打{{item.sale}}折</text> | |
| 566 | + <text class="tick lh2 pdr20" wx:if="{{item.past==1}}">包邮</text> | |
| 567 | + <text class="tick lh2 pdr20" wx:if="{{item.intValue>0}}">送{{item.intValue}}积分</text> | |
| 568 | + <view class="tick lh2 pdr20" wx:if="{{item.couponId>0}}">送{{item.couponMoney}}元优惠券</view> | |
| 569 | + <view class="tick ellipsis-1x lh2" wx:if="{{item.gift_id>0}}">送商品{{item.goods_name}}</view> | |
| 570 | + <view class="tick ellipsis-1x lh2 details pdr40" wx:if="{{item.lb_id>0}}" data-id="{{item.lb_id}}" bindtap="viewLbDetails">送{{item.lbtitle}}</view> | |
| 571 | + </view> | |
| 559 | 572 | </view> |
| 560 | - | |
| 561 | - <!-- <view class="word {{is_more_cx?'':'ellipsis-1'}}"> --> | |
| 562 | - <view class="word f1 fs26"> | |
| 563 | - <text class="tick lh2 pdr20" wx:if="{{item.money>0}}">减价{{item.money}}元</text> | |
| 564 | - <text class="tick lh2 pdr20" wx:if="{{item.sale>0}}">打{{item.sale}}折</text> | |
| 565 | - <text class="tick lh2 pdr20" wx:if="{{item.past==1}}">包邮</text> | |
| 566 | - <text class="tick lh2 pdr20" wx:if="{{item.intValue>0}}">送{{item.intValue}}积分</text> | |
| 567 | - <view class="tick lh2 pdr20" wx:if="{{item.couponId>0}}">送{{item.couponMoney}}元优惠券</view> | |
| 568 | - <view class="tick ellipsis-1x lh2" wx:if="{{item.gift_id>0}}">送商品{{item.goods_name}}</view> | |
| 569 | - <view class="tick ellipsis-1x lh2 details pdr40" wx:if="{{item.lb_id>0}}" data-id="{{item.lb_id}}" bindtap="viewLbDetails">送{{item.lbtitle}}</view> | |
| 570 | - </view> | |
| 571 | - </view> | |
| 573 | + </view> | |
| 574 | + | |
| 572 | 575 | </block> |
| 573 | 576 | <!-- <view data-coupon="1" bindtap="show_more_cx" class="cx-obtain-coupon wsize"> |
| 574 | 577 | <text class="bg_jj {{is_more_cx?'down1':''}}"></text> | ... | ... |