index.wxml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <!-- <navbar parameter='{{parameter}}'></navbar> -->
  2. <view class='navbar {{parameter.class}}' style='height:{{navH}}rpx;opacity:{{opacity}}'>
  3. <view class='navbarH' style='height:{{navH}}rpx;'>
  4. <view class='navbarCon acea-row row-center-wrapper'>
  5. <view class="header acea-row row-center-wrapper">
  6. <view class="item {{navActive === index ? 'on' : ''}}" wx:for="{{navList}}" wx:key='index' bindtap="tap" data-index="{{index}}" data-id='past{{index}}'>
  7. {{ item }}
  8. </view>
  9. </view>
  10. </view>
  11. </view>
  12. </view>
  13. <view class='iconfont icon-xiangzuo' style="top:{{navH/2}}rpx" bindtap='returns'></view>
  14. <!-- <view style="height:{{navH+20}}rpx;" wx:if="{{scrollY>200}}"></view> -->
  15. <view class='product-con'>
  16. <scroll-view scroll-top="{{scrollTop}}" scroll-y='true' scroll-with-animation="true" style='height:{{height}}px;' bindscroll="scroll">
  17. <view id="past0">
  18. <productConSwiper imgUrls="{{imgUrls}}"></productConSwiper>
  19. <view class='wrapper'>
  20. <view class='share acea-row row-between row-bottom'>
  21. <view class='money font-color'>
  22. ¥<text class='num'>{{storeInfo.price}}</text><text class='y-money'>¥{{storeInfo.product_price}}</text>
  23. </view>
  24. <button class='iconfont icon-fenxiang' open-type="share"></button>
  25. </view>
  26. <view class='introduce'>{{storeInfo.title}}</view>
  27. <view class='label acea-row row-between-wrapper'>
  28. <view class='stock'>类型:{{storeInfo.people}}人团</view>
  29. <view>累计销量:{{storeInfo.total?storeInfo.total:0}}件</view>
  30. <view>限购: {{ storeInfo.quota ? storeInfo.quota : 0 }} 件</view>
  31. </view>
  32. </view>
  33. <view class='attribute acea-row row-between-wrapper' bindtap='selecAttr' wx:if='{{productAttr.length}}'>
  34. <view>{{attr}}:<text class='atterTxt'>{{attrValue}}</text></view>
  35. <view class='iconfont icon-jiantou'></view>
  36. </view>
  37. <view class='notice acea-row row-middle'>
  38. <view class='num font-color'>
  39. <text class='iconfont icon-laba'></text>
  40. 已拼{{pink_ok_sum}}件<text class='line'>|</text>
  41. </view>
  42. <view class='swiper'>
  43. <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="2500" duration="500" vertical="true" circular="true">
  44. <block wx:for="{{itemNew}}" wx:key='index'>
  45. <swiper-item>
  46. <view class='line1'>{{item}}</view>
  47. </swiper-item>
  48. </block>
  49. </swiper>
  50. </view>
  51. </view>
  52. <view class='assemble'>
  53. <view class='item acea-row row-between-wrapper' wx:for='{{pink}}' wx:key='index' wx:if="{{index < AllIndex}}">
  54. <view class='pictxt acea-row row-between-wrapper'>
  55. <view class='pictrue'><image src='{{item.avatar}}'></image></view>
  56. <view class='text line1'>{{item.nickname}}</view>
  57. </view>
  58. <view class='right acea-row row-middle'>
  59. <view>
  60. <view class='lack'>还差<text class='font-color'>{{item.count}}</text>人成团</view>
  61. <view class='time'>剩余 {{item.time.hou}}:{{item.time.min}}:{{item.time.sec}}</view>
  62. </view>
  63. <navigator hover-class='none' url='/pages/activity/goods_combination_status/index?id={{item.id}}' class='spellBnt'>去拼单<text class='iconfont icon-jiantou'></text></navigator>
  64. </view>
  65. </view>
  66. <view class='more' bindtap='showAll' wx:if="{{pink.length >= AllIndex}}">查看更多<text class='iconfont icon-xiangxia'></text></view>
  67. <view class='more' bindtap='hideAll' wx:elif="{{pink.length >= AllIndex && !pink.length}}">收起<text class='iconfont icon-xiangxia'></text></view>
  68. </view>
  69. <view class='playWay'>
  70. <view class='title acea-row row-between-wrapper'>
  71. <view>拼团玩法</view>
  72. <!-- <navigator hover-class='none' class='font-color' url='/pages/activity/goods_combination_rule/index'>查看规则<text class="iconfont icon-jiantou"></text></navigator> -->
  73. </view>
  74. <view class='way acea-row row-middle'>
  75. <view class='item'><text class='num'>①</text>开团/参团</view>
  76. <view class='iconfont icon-arrow'></view>
  77. <view class='item'><text class='num'>②</text>邀请好友</view>
  78. <view class='iconfont icon-arrow'></view>
  79. <view class='item'>
  80. <view><text class='num'>③</text>满员发货</view>
  81. <!-- <view class='tip'>不满自动退款</view> -->
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <view class='userEvaluation' id="past1">
  87. <view class='title acea-row row-between-wrapper'>
  88. <view>用户评价({{replyCount}})</view>
  89. <navigator class='praise' hover-class='none' url='/pages/goods_comment_list/index?product_id={{storeInfo.product_id}}'><text class='font-color'>{{replyChance}}%</text>好评率<text class='iconfont icon-jiantou'></text></navigator>
  90. </view>
  91. <userEvaluation reply="{{reply}}"></userEvaluation>
  92. </view>
  93. <view class='product-intro' id="past2">
  94. <view class='title'>产品介绍</view>
  95. <view class='conter'>
  96. <template is="wxParse" data="{{wxParseData:description.nodes}}"/>
  97. </view>
  98. </view>
  99. <view style='height:120rpx;'></view>
  100. </scroll-view>
  101. <view class='footer acea-row row-between-wrapper'>
  102. <button open-type="contact" hover-class='none' class='item' send-message-title="{{storeInfo.store_name}}" send-message-img="{{storeInfo.image}}" send-message-path="/pages/goods_combination_details/index?id={{storeInfo.id}}" show-message-card>
  103. <view class='iconfont icon-kefu'></view>
  104. <view>客服</view>
  105. </button>
  106. <view bindtap='setCollect' class='item'>
  107. <view class='iconfont icon-shoucang1' wx:if="{{storeInfo.userCollect}}"></view>
  108. <view class='iconfont icon-shoucang' wx:else></view>
  109. <view>收藏</view>
  110. </view>
  111. <view class="bnt acea-row">
  112. <view class="joinCart bnts" bindtap="goProduct">单独购买</view>
  113. <view class="buy bnts" bindtap="goCat" wx:if='{{productSelect.product_stock>0&&productSelect.quota>0}}'>立即开团</view>
  114. <view class="buy bnts bg-color-hui" wx:elif='{{productSelect.quota <= 0 || productSelect.product_stock <= 0}}'>已售罄</view>
  115. </view>
  116. <!-- <view class='bnt bg-color' style='width:43%;background-image: linear-gradient(to right,#fea10f 0%,#fa8013 100%);' bindtap='goProduct'>原价购买</view>
  117. <view class='bnt bg-color' style='width:43%' bindtap='goCat'>立即开团</view> -->
  118. </view>
  119. </view>
  120. <product-window
  121. iSplus="{{iSplus}}"
  122. limitNum="{{limitNum}}"
  123. attribute='{{attribute}}'
  124. productAttr="{{productAttr}}"
  125. productSelect="{{productSelect}}"
  126. bind:myevent="onMyEvent"
  127. bind:ChangeAttr="ChangeAttr"
  128. bind:ChangeCartNum="ChangeCartNum"
  129. bind:iptCartNum="iptCartNum"
  130. ></product-window>
  131. <authorize bind:onLoadFun="onLoadFun"></authorize>
  132. <import src="/wxParse/wxParse.wxml"/>
  133. <home></home>