index.wxml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <view class='swiper_banner'>
  2. <swiper class="swiper-box" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatorActivecolor}}">
  3. <block wx:for="{{SeckillList.images}}">
  4. <swiper-item>
  5. <image src="{{url}}{{item}}" class="slide-image"/>
  6. </swiper-item>
  7. </block>
  8. </swiper>
  9. </view>
  10. <view class='countdown-wrapper flex'>
  11. <view class='price-txt flex'>
  12. <view class='number'><text>¥</text>{{SeckillList.price}}</view>
  13. <view class='old-number'>¥{{SeckillList.ot_price}}</view>
  14. </view>
  15. <view class='right-wrapper flex'>
  16. <view class='title'>距秒杀结束仅剩</view>
  17. <view class='countdown-time'>
  18. <text>{{countDownHour}}</text>:<text>{{countDownMinute}}</text>:<text>{{countDownSecond}}</text>
  19. </view>
  20. </view>
  21. </view>
  22. <view class='pro-wrapper'>
  23. <view class='pro-infos'>
  24. <view class='title'>{{SeckillList.title}}</view>
  25. <view class='count-wrapper flex'>
  26. <view>原价:¥{{SeckillList.ot_price}}</view>
  27. <view>库存:{{SeckillList.stock}}{{SeckillList.unit_name}}</view>
  28. <view>销量:{{SeckillList.sales}}{{SeckillList.unit_name}}</view>
  29. </view>
  30. </view>
  31. <!-- <view class='block-bar' bindtap='goCoupon'>
  32. <text class='title'>领券</text>
  33. <text>领取优惠券 </text>
  34. </view> -->
  35. <!-- <view class='block-bar integral'>
  36. <text class='title'>积分</text>
  37. <text>购买可获得{{SeckillList.give_integral}}积分</text>
  38. </view> -->
  39. </view>
  40. <view class='evaluate-wrapper' wx:if="{{replyCount > 0}}">
  41. <view class='common-title flex'>
  42. <view class='line'></view>
  43. <view class='iconfont icon-pinglun'></view>
  44. <view class='text'>评价</view>
  45. <view class='line'></view>
  46. </view>
  47. <view class='evaluate-hot' >
  48. <view class='hot-title'>宝贝评价({{replyCount}})</view>
  49. <view class='infos-wrapper'>
  50. <view class='user-info flex'>
  51. <image class='avatar' src='{{url}}{{reply.avatar}}'></image>
  52. <text class='name'>{{reply.nickname}}</text>
  53. <view class='start star{{reply.star}}'></view>
  54. </view>
  55. <view class='txt-msg'>{{reply.comment}}</view>
  56. <view class='time-bar'>{{reply.add_time}}</view>
  57. </view>
  58. <navigator wx:if="{{replyCount > 0}}" hover-class="none" url="/pages/comment/comment?productId={{SeckillList.product_id}}">查看全部评价</navigator>
  59. </view>
  60. </view>
  61. <view class='content-wrapper'>
  62. <view class='common-title flex'>
  63. <view class='line'></view>
  64. <view class='iconfont icon-tupian'></view>
  65. <view class='text'>详情</view>
  66. <view class='line'></view>
  67. </view>
  68. <template is="wxParse" data="{{wxParseData:description.nodes}}"/>
  69. </view>
  70. <view style='height:130rpx;'></view>
  71. <view class='foot flex'>
  72. <view class='fn-btns flex'>
  73. <button open-type="contact" class='contact-but'>
  74. <view class='item contact-but'>
  75. <view class='iconfont icon-kefu'></view>
  76. <text>客服</text>
  77. </view>
  78. </button>
  79. <view class='item' bindtap='getCar'>
  80. <view class='iconfont icon-gouwuche'><span class='item-span'>{{CartCount}}</span></view>
  81. <text>购物车</text>
  82. </view>
  83. </view>
  84. <view class='btns-wrapper flex'>
  85. <form class="form-btn" bindsubmit="parameterShow" report-submit='true'>
  86. <button class='payment-btn' form-type='submit'>确认下单</button>
  87. </form>
  88. <!-- <view class='foot-wrapper' bindtap='subBuy'>确定</view> -->
  89. </view>
  90. </view>
  91. <movable-area class='index-con' >
  92. <movable-view class='index-area' direction="all">
  93. <navigator url='/pages/index/index' hover-class='none' open-type = "switchTab" >
  94. <image src='/images/home.png'></image>
  95. </navigator>
  96. </movable-view>
  97. </movable-area>
  98. <include src="/pages/foo-tan/foo-tan.wxml"/>
  99. <import src="/wxParse/wxParse.wxml"/>