details.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!--pages/details/details.wxml-->
  2. <scroll-view class="scroll-container" wx:for="{{goodsDetails}}" wx:key="msg" scroll-into-view="{{toView}}" scroll-y="true" scroll-with-animation="true" bindscroll="bindscroll">
  3. <view class="swiper-container" id="swiper-container">
  4. <swiper class="swiper_box" indicator-dots="true" indicator-active-color="#fff" circular="true">
  5. <swiper-item wx:for="{{item.goods_gallery_urls}}" wx:key="imgs" >
  6. <image src=" {{item}}" class="slide-image" mode="aspectFill" lazy-load="false" />
  7. </swiper-item>
  8. </swiper>
  9. </view>
  10. <view class="goods-info">
  11. <view class="goodsTitle">
  12. <l-avatar size="35" shape="square" src="/images/jd.png" />
  13. <text class="goodsName">{{item.goods_name}}</text>
  14. </view>
  15. <view class="goodsPrice">
  16. <text class="jprice">劵后价¥{{(item.min_group_price-item.coupon_discount)/100}}元</text>
  17. <l-button plain="{{true}}" type="error" width="50" height="40" class="fanli" >返利{{item.promotion_rate/100}}元</l-button>
  18. </view>
  19. <view class="goodsbtm">
  20. <text class="yprice">原价¥{{item.min_group_price/100}} </text>
  21. <text class="xiaoliang"> 销量:{{item.sales_tip}}</text>
  22. </view>
  23. <view class="goodsbtm">
  24. <!-- <l-popup show="{{true}}" content-align="center" locked="{{true}}">
  25. <view class='pupop-content'>
  26. <view class='pupop-close' bindtap='onHidePupopTap'>关闭弹出层</view>
  27. </view>
  28. </l-popup> -->
  29. <l-button bg-color="#FF6A6A" size="large" bind:lintap="counponBtn" data-searchId="{{searchId}}" data-goodsSignList="{{item.goods_sign}}">
  30. <text >领取{{item.coupon_discount/100}}元优惠劵</text>
  31. </l-button>
  32. </view>
  33. <view class="goodsbtm">
  34. <text class="dianpu">店铺:{{item.mall_name}}</text>
  35. </view>
  36. </view>
  37. <view class="label-title">
  38. <view class="goodsDetail">商品详情</view>
  39. <view class="goodsDesc">{{item.goods_desc}}</view>
  40. <image src="{{item.goods_image_url}}" class="slide-image" mode="aspectFill" lazy-load="false" />
  41. </view>
  42. <!-- <view class="goodsDetail">商品推荐</view> -->
  43. </scroll-view>
  44. <l-tab-bar list="{{list}}" />