sharingGoods.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!-- 商品组 -->
  2. <view class="diy-sharingGoods" style="background: {{ itemStyle.background }};">
  3. <view class="goods-item" wx:for="{{ dataList }}" wx:key="this" wx:for-item="dataItem">
  4. <form bindsubmit="_onTargetGoods" report-submit="true">
  5. <button formType="submit" class="btn-normal dis-flex" data-id="{{ dataItem.goods_id }}">
  6. <!-- 商品图片 -->
  7. <view class="goods-item_left">
  8. <image class="image" mode="aspectFill" src="{{ dataItem.image }}"></image>
  9. </view>
  10. <view class="goods-item_right">
  11. <!-- 商品名称 -->
  12. <view wx:if="{{ itemStyle.show.goodsName }}" class="goods-item_title twolist-hidden">
  13. <text>{{ dataItem.goods_name }}</text>
  14. </view>
  15. <view class="goods-item_desc">
  16. <!-- 商品卖点 -->
  17. <view wx:if="{{ itemStyle.show.sellingPoint }}" class="desc-selling_point onelist-hidden">
  18. <text>{{ dataItem.selling_point }}</text>
  19. </view>
  20. <!-- 拼团信息 -->
  21. <view class="desc-situation">
  22. <text class="iconfont icon-pintuan_huaban"></text>
  23. <text class="people">{{ dataItem.people }}人团</text>
  24. <text class="col-9">已有{{ dataItem.goods_sales }}人进行拼团</text>
  25. </view>
  26. <!-- 商品价格 -->
  27. <view class="desc_footer">
  28. <text class="price_x" wx:if="{{ itemStyle.show.sharingPrice }}">¥{{ dataItem.sharing_price }}</text>
  29. <text class="price_y col-9" wx:if="{{ itemStyle.show.linePrice && dataItem.line_price > 0 }}">¥{{ dataItem.line_price }}</text>
  30. </view>
  31. </view>
  32. <view class="btn-settlement">去拼团</view>
  33. </view>
  34. </button>
  35. </form>
  36. </view>
  37. </view>