pinGoodsInfo.wxml 1.1 KB

123456789101112131415
  1. <view class="goodsBox i-class" bindtap="goDetail">
  2. <i-img defaultImage="../../images/placeholder-refund.png" height="200" width="180" iClass="goodsImg" loadImage="{{goodsInfo.goods_images}}"></i-img>
  3. <text class="identity i-class-identity" wx:if="{{isOrder}}" style="background:{{skin.color}}">我是{{(goodsInfo.me_is_head==1||me_is_head)?'团长':'团员'}}</text>
  4. <view class="goodsInfo">
  5. <view class="title">{{goodsInfo.name}}</view>
  6. <block wx:if="{{isOrder}}">
  7. <view class="price">¥<text class="big">{{price}}</text> <text class="num">x{{goodsInfo.quantity}}</text> <text class="tag" style="background:{{skin.color}}">{{goodsInfo.need_count||goodsInfo.pin_count}}人拼团</text></view>
  8. <view class="marked-price" wx:if="{{goodsInfo.orign_price}}">¥{{goodsInfo.orign_price}}</view>
  9. </block>
  10. <block wx:else>
  11. <text class="tag" style="background:{{skin.color}}">{{goodsInfo.pin_count}}人拼团</text>
  12. <view class="price">¥<text class="big">{{goodsInfo.pinprice}}</text> <text class="marked-price">¥{{goodsInfo.danprice}}</text></view>
  13. </block>
  14. </view>
  15. </view>