details.wxml 2.5 KB

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