EP-WachatApp/eaterplanet_ecommerce/moduleA/components/pinGoodsInfo.wxml

16 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-03-24 11:24:28 +08:00
<view class="goodsBox i-class" bindtap="goDetail">
<i-img defaultImage="../../images/placeholder-refund.png" height="200" width="180" iClass="goodsImg" loadImage="{{goodsInfo.goods_images}}"></i-img>
<text class="identity i-class-identity" wx:if="{{isOrder}}" style="background:{{skin.color}}">我是{{(goodsInfo.me_is_head==1||me_is_head)?'团长':'团员'}}</text>
<view class="goodsInfo">
<view class="title">{{goodsInfo.name}}</view>
<block wx:if="{{isOrder}}">
<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>
<view class="marked-price" wx:if="{{goodsInfo.orign_price}}">¥{{goodsInfo.orign_price}}</view>
</block>
<block wx:else>
<text class="tag" style="background:{{skin.color}}">{{goodsInfo.pin_count}}人拼团</text>
<view class="price">¥<text class="big">{{goodsInfo.pinprice}}</text> <text class="marked-price">¥{{goodsInfo.danprice}}</text></view>
</block>
</view>
</view>