prod.wxml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. <!-- 商品详情 -->
  2. <view class="container ">
  3. <!-- 轮播图 -->
  4. <view class="swiper-con">
  5. <view class="video-container" wx:if="{{video && isPlaying}}">
  6. <video enable-progress-gesture="{{false}}" objectFit="fill" id="myVideo" src="{{video}}" controls bindended="playEnd"></video>
  7. </view>
  8. <view class="play-btn {{isPlaying?'video-index':''}}" bindtap="videoOper" wx:if="{{video}}">
  9. <image class="play-icon" wx:if="{{!isPlaying}}" src="../../images/icon/play-red.png"></image>
  10. <text class="play-text {{isPlaying?'video-stop':'video-play'}}">{{isPlaying?'退出播放': videoDuration}}</text>
  11. </view>
  12. <swiper wx:if="{{!isPlaying}}" circular="{{true}}" indicator-dots="{{indicatorDots}}" indicator-color="{{indicatorColor}}" interval="{{interval}}" duration="{{duration}}" indicator-active-color="{{indicatorActiveColor}}">
  13. <block wx:for="{{imgs}}" wx:key='index'>
  14. <swiper-item>
  15. <image src='{{item}}'></image>
  16. </swiper-item>
  17. </block>
  18. </swiper>
  19. </view>
  20. <!-- 轮播图end -->
  21. <!-- 倒计时栏 -->
  22. <view class="countdown-box clearfix" wx-if="{{groupActivityId}}">
  23. <!-- 拼团 -->
  24. <text class="second-kill">拼团</text>
  25. <view class="countdown-content">
  26. <text class="countdown-tips" wx-if="{{groupActivity.activityStatus === 1}}">距开始仅剩</text>
  27. <text class="countdown-tips" wx-if="{{groupActivity.activityStatus !== 1}}">距结束仅剩</text>
  28. <text class="countdown-time">{{endOfGroupTime.day}} 天 {{endOfGroupTime.hou}} 时 {{endOfGroupTime.min}} 分 {{endOfGroupTime.sec}} 秒
  29. </text>
  30. </view>
  31. </view>
  32. <!-- 商品信息 -->
  33. <view class='prod-info'>
  34. <view class="tit-wrap">
  35. <view class="prod-tit">{{prodName}}</view>
  36. <view class="col" bindtap='addOrCannelCollection'>
  37. <image wx-if="{{!isCollection}}" src="../../images/icon/prod-col.png"></image>
  38. <image wx-if="{{isCollection}}" src="../../images/icon/prod-col-red.png"></image>
  39. 收藏
  40. </view>
  41. </view>
  42. <view class="sales-p">{{brief}}</view>
  43. <!-- 普通商品价格 -->
  44. <view class="prod-price" wx-if="{{!groupActivityId}}">
  45. <text class="price">¥<text class="price-num">{{wxs.parsePrice(defaultSku.price)[0]}}</text> .{{wxs.parsePrice(defaultSku.price)[1]}}</text>
  46. <!-- <text class="sales"></text> -->
  47. </view>
  48. <!-- 拼团商品价格 -->
  49. <view class="goods-price" wx-if="{{groupActivityId}}">
  50. <view class="current-price">
  51. <text class="current-price">
  52. <text class="price">¥<text class="price-num">{{wxs.parsePrice(detaultGroupSku.actPrice)[0]}}</text> .{{wxs.parsePrice(detaultGroupSku.actPrice)[1]}}</text>
  53. <!-- <text class="sub">¥{{detaultGroupSku.actPrice}}</text> -->
  54. </text>
  55. <text class="condition">{{groupActivity.groupNumber}}人拼团价</text>
  56. </view>
  57. <view class="original">
  58. 原价
  59. <text class="original-price">¥{{wxs.toPrice(detaultGroupSku.price)}}</text>
  60. </view>
  61. </view>
  62. <!-- 积分商品价格 -->
  63. <!-- <view class="integral-prod-price" wx-if="">100积分</view> -->
  64. </view>
  65. <!-- 商品信息end -->
  66. <!-- 满减折 -->
  67. <view class="discount border-radius-box" wx:if="{{prodDiscountList.length}}" bindtap="clickDiscount">
  68. <view class="coupon-tit">促销</view>
  69. <view class="coupon-con discount-con">
  70. <block wx:for="{{prodDiscountList}}" wx:key="discountId" wx:if="{{index<1}}">
  71. <view class="discount-item">
  72. <view class="discount-tag">{{wxs.parseDiscount(item.discountRule)}}</view>
  73. <text class="discount-content">
  74. <text wx:if="{{item.discountType}}">每</text> {{item.discountName}},最高减免{{item.maxReduceAmount}}元
  75. </text>
  76. </view>
  77. </block>
  78. </view>
  79. <!-- <view class="num">共{{prodDiscountList.length}}张</view> -->
  80. <view class="more">...</view>
  81. </view>
  82. <!-- 满减折end -->
  83. <!-- 领券 -->
  84. <view class="coupon border-radius-box" bindtap='showPopup' wx:if="{{couponList.length && !groupActivityId}}">
  85. <view class="coupon-tit">领券</view>
  86. <view class="coupon-con">
  87. <text class="item" wx:for="{{couponList}}" wx:if="{{index<2}}" wx:key="couponId">满{{item.cashCondition}}<block wx:if="{{item.couponType == 1}}">减{{item.reduceAmount}}</block><block wx:if="{{item.couponType == 2}}">打{{item.couponDiscount}}折</block></text>
  88. </view>
  89. <view class="num">共{{couponList.length}}张</view>
  90. <view class="more">...</view>
  91. </view>
  92. <!-- 领券end -->
  93. <!-- 拼团信息 -->
  94. <view class="spell-infor" wx-if="{{joinGroupList.length}}">
  95. <view class="spell-infor-title">以下小伙伴正在发起拼团,你可以直接参加</view>
  96. <view class="spell-infor-content" wx:for="{{joinGroupList}}" wx:key='groupTeamId'>
  97. <!-- 头像 -->
  98. <view class="head-img">
  99. <image src="{{item.sharePic}}"></image>
  100. </view>
  101. <!-- 信息 -->
  102. <view class="spell-msg">
  103. <view class="username">{{item.shareNickName}}</view>
  104. <view class="spell-text">
  105. 还差
  106. <text class="red-font">{{item.groupNumber - item.joinNum}}</text> 人成团,剩余 {{item.endOfGroupTime.hou}}时{{item.endOfGroupTime.min}}分{{item.endOfGroupTime.sec}}秒
  107. </view>
  108. </view>
  109. <!-- 凑团按钮 -->
  110. <view class="join-group" bindtap="toSpellGroupDetail" data-groupteamid="{{item.groupTeamId}}">
  111. 去凑团
  112. </view>
  113. </view>
  114. <!-- 详情 -->
  115. <view class="rules clearfix">
  116. <text class="rules-text01">支付开团邀请{{groupActivity.groupNumber}}人参团,人数不足自动退款</text>
  117. </view>
  118. </view>
  119. <!-- 拼团信息end -->
  120. <!-- 已选规格 -->
  121. <view class="sku border-radius-box" bindtap='showSku'>
  122. <view class="sku-tit">已选</view>
  123. <view class="sku-con">{{selectedProp.length>1?selectedProp+',':selectedProp}}{{prodNum}}件</view>
  124. <view class="more">...</view>
  125. </view>
  126. <!-- 已选规格end -->
  127. <!-- 评价 -->
  128. <view class='cmt-wrap border-radius-box'>
  129. <view class="cmt-tit" bindtap='showComment'>
  130. <view class="cmt-t">
  131. 评价
  132. <text class="cmt-good">好评{{prodCommData.positiveRating}}%</text>
  133. </view>
  134. <view class="cmt-count">
  135. 共{{prodCommData.number}}条
  136. <text class="cmt-more"></text>
  137. </view>
  138. </view>
  139. <view class="cmt-cont">
  140. <view class="cmt-tag" bindtap='showComment'>
  141. <text>全部({{prodCommData.number}})</text>
  142. <text>好评({{prodCommData.praiseNumber}})</text>
  143. <text>中评({{prodCommData.secondaryNumber}})</text>
  144. <text>差评({{prodCommData.negativeNumber}})</text>
  145. <text>有图({{prodCommData.picNumber}})</text>
  146. </view>
  147. <view class="cmt-items">
  148. <view class="cmt-item" wx:for="{{littleCommPage}}" wx:key="prodCommId">
  149. <view class="cmt-user">
  150. <text class="date">{{item.recTime}}</text>
  151. <view class="cmt-user-info">
  152. <image class="user-img" src="{{item.pic?item.pic:'../../images/icon/head04.png'}}"></image>
  153. <view class="nickname">{{item.isAnonymous==1?'匿名评价':item.nickName}}</view>
  154. <comm-star value="{{item.score}}"></comm-star>
  155. </view>
  156. </view>
  157. <view class="cmt-cnt">{{item.content}}</view>
  158. <scroll-view class="cmt-attr" scroll-x="true" wx:if="{{item.pics.length}}">
  159. <image src="{{commPic}}" wx:for='{{item.pics}}' wx:for-item="commPic" wx:key='index' data-pics="{{item.pics}}" data-index="{{index}}" bindtap='clickImg'></image>
  160. </scroll-view>
  161. </view>
  162. </view>
  163. <view class="cmt-more-v" wx:if="{{prodCommPage.records.length > 2}}">
  164. <text bindtap='showComment'>查看全部评价</text>
  165. </view>
  166. </view>
  167. </view>
  168. <!-- 评价 end -->
  169. <!-- 店铺 -->
  170. <view class="shop-box border-radius-box">
  171. <!-- top -->
  172. <view class="shopbox-head">
  173. <view class="shop-logo">
  174. <image src="{{shopLogo}}"></image>
  175. </view>
  176. <view class="shop-name">{{shopName}}</view>
  177. <view class="self-operate" wx-if="{{shopId==1}}">自营店铺</view>
  178. </view>
  179. <!-- middle -->
  180. <!-- <view class="shop-situation">
  181. <view class="situation-item">
  182. <view class="situation-item-num">612354</view>
  183. <view class="situation-item-txt">粉丝人数</view>
  184. </view>
  185. <view class="situation-item">
  186. <view class="situation-item-num">309</view>
  187. <view class="situation-item-txt">全部商品</view>
  188. </view>
  189. </view> -->
  190. <!-- bottom -->
  191. <!-- <view class="handle-shop">
  192. <view class="handle-shop-item">
  193. <view class="handle-shop-icon star-icon"><image src="../../images/icon/star-empty.png"></image></view>
  194. <text class="handle-txt">收藏店铺</text>
  195. </view>
  196. <view class="handle-shop-item">
  197. <view class="handle-shop-icon shop-icon"><image src="../../images/icon/shop.png"></image></view>
  198. <text class="handle-txt">进入店铺</text>
  199. </view>
  200. </view> -->
  201. </view>
  202. <!-- 店铺end -->
  203. <!-- 商品详情 -->
  204. <view class="prod-detail">
  205. <rich-text nodes="{{content}}"></rich-text>
  206. </view>
  207. <!-- 商品详情end -->
  208. <!-- 底部按钮 -->
  209. <view class="cart-footer {{totalStocks>0?'':'gray'}}" wx-if="{{!groupActivityId}}">
  210. <view class="btn icon" bindtap='toHomePage'>
  211. <image src="../../images/tabbar/homepage.png"></image>
  212. 首页
  213. </view>
  214. <view class='btn icon contact-btn-box'>
  215. <image src='../../images/icon/shop-customer-service.png'></image>
  216. 客服
  217. <button class="contact-btn" open-type="contact" bindcontact="handleContact" session-from="sessionFrom"></button>
  218. </view>
  219. <view class="btn icon" bindtap='toCartPage'>
  220. <image src="../../images/tabbar/basket.png"></image>
  221. 购物车
  222. <view class='badge badge-1' wx:if="{{totalCartNum>0}}">{{totalCartNum}}</view>
  223. </view>
  224. <view class="btn cart cart-radius" bindtap='addToCart'>
  225. <text>加入购物车</text>
  226. </view>
  227. <view class="btn buy cart-radius" bindtap='buyNow'>
  228. <text>立即购买</text>
  229. </view>
  230. </view>
  231. <!-- 底部按钮 end -->
  232. <!-- 积分 底部按钮 -->
  233. <!-- <view class="ex-integral-foot">
  234. <view class="ex-integral-btn">立即兑换</view>
  235. </view> -->
  236. <!-- 【拼团】底部按钮 -->
  237. <view class="foot-box" wx-if="{{groupActivityId}}">
  238. <view class="footer">
  239. <view class="foot-btn" bindtap='toHomePage'>
  240. <image src="../../images/tabbar/homepage.png"></image>
  241. 首页
  242. </view>
  243. <view catchtap='freeTell' class='foot-btn'>
  244. <image src='../../images/icon/shop-customer-service.png'></image>
  245. 客服
  246. </view>
  247. <view class="foot-btn" bindtap='toCartPage'>
  248. <image src="../../images/tabbar/basket.png"></image>
  249. 购物车
  250. <view class='badge badge-1' wx:if="{{totalCartNum>0}}">{{totalCartNum}}</view>
  251. </view>
  252. <view class="buy-btn alone-buy cart-radius" bindtap='showSku' data-alonebuy="1">
  253. <text>单独购买</text>
  254. </view>
  255. <view class="buy-btn group-buy cart-radius" bindtap='showGroupSku'>
  256. <text>开团</text>
  257. </view>
  258. </view>
  259. </view>
  260. <!-- end 底部按钮 -->
  261. </view>
  262. <!-- 满减折弹窗 -->
  263. <view class="popup-hide" wx:if="{{showDiscountPopup}}">
  264. <view class="popup-box border-radius-t-r">
  265. <view class="popup-tit border-radius-t-r">
  266. <text>促销</text>
  267. <text class="close" bindtap='clickDiscount'></text>
  268. </view>
  269. <view class='popup-cnt popup-discount'>
  270. <view class="coupon-con discount-con">
  271. <block wx:for="{{prodDiscountList}}" wx:key="discountId">
  272. <view class="discount-item">
  273. <view class="discount-tag">{{wxs.parseDiscount(item.discountRule)}}</view>
  274. <text class="discount-content">
  275. <text wx:if="{{item.discountType}}">每</text> {{item.discountName}},最高减免{{item.maxReduceAmount}}元
  276. </text>
  277. </view>
  278. </block>
  279. </view>
  280. </view>
  281. </view>
  282. </view>
  283. <!-- 满减折弹窗 end -->
  284. <!-- 优惠券弹窗 -->
  285. <view class="popup-hide" wx:if="{{popupShow}}">
  286. <view class="popup-box border-radius-t-r">
  287. <view class="popup-tit border-radius-t-r">
  288. <text>优惠券</text>
  289. <text class="close" bindtap='closePopup'></text>
  290. </view>
  291. <view class='popup-cnt'>
  292. <block wx:for="{{couponList}}" wx:key='couponId'>
  293. <coupon showTimeType="{{1}}" canUse="{{true}}" item="{{item}}"></coupon>
  294. </block>
  295. </view>
  296. </view>
  297. </view>
  298. <!-- 优惠券 end -->
  299. <!-- 规格弹窗 -->
  300. <view class="pup-sku" wx:if="{{skuShow}}">
  301. <view class="pup-sku-main border-radius-t-r">
  302. <view class='pup-sku-header border-radius-t-r'>
  303. <view class='close' bindtap='closePopup'></view>
  304. <view class="pup-sku-img">
  305. <image src="{{defaultSku.pic?defaultSku.pic:pic}}"></image>
  306. </view>
  307. <view class="pup-sku-prod">
  308. <!-- <view class="prod-title">{{prodName}}</view> -->
  309. <view class="pup-sku-price" wx:if="{{skuShowType==0 && findSku}}">
  310. ¥<text class="pup-sku-price-int">{{wxs.parsePrice(defaultSku.price)[0]}}</text>.{{wxs.parsePrice(defaultSku.price)[1]}}
  311. </view>
  312. <view class="pup-sku-price group-sku-pri" wx:if="{{skuShowType==1 && findSku}}">
  313. <text>¥<text class="pup-sku-price-int">{{wxs.parsePrice(detaultGroupSku.actPrice)[0]}}</text>.{{wxs.parsePrice(detaultGroupSku.actPrice)[1]}}</text>
  314. <text class="act-price-con">{{groupActivity.groupNumber}}人拼团价</text>
  315. </view>
  316. <view class="pup-sku-price" wx-if="{{totalStocks<0}}">无货</view>
  317. <view class='pup-sku-prop'>
  318. <text>已选</text><text decode="{{true}}">&nbsp;{{selectedProp.length>1?selectedProp+',':selectedProp}}{{prodNum}}&nbsp;件</text>
  319. </view>
  320. </view>
  321. </view>
  322. <view class='pup-sku-body'>
  323. <view class="pup-sku-area">
  324. <block wx:for="{{skuGroup}}" wx:for-index="key" wx:for-item="value" wx:key='*this'>
  325. <view class='sku-kind'>{{key}}</view>
  326. <view class='sku-choose' wx:if="{{item!=null}}">
  327. <block wx:for="{{value}}" wx:key='*this'>
  328. <text class="sku-choose-item {{wxs.array_contain(selectedProp,item)?'active':''}} {{['gray','','dashed'][wxs.props_contain2(allProperties,selectedPropObj,key,item,propKeys)]}}" data-ok="{{wxs.props_contain2(allProperties,selectedPropObj,key,item,propKeys)}}"
  329. bindtap='toChooseItem' data-key="{{key}}" data-val="{{item}}">{{item||''}}</text>
  330. </block>
  331. </view>
  332. </block>
  333. </view>
  334. <view class="pup-sku-count">
  335. <view class="num-wrap">
  336. <view class="minus" bindtap='onCountMinus'>
  337. <text class="row"></text>
  338. </view>
  339. <view class="text-wrap">
  340. <input type="number" value="{{prodNum}}" disabled />
  341. </view>
  342. <view class="plus" bindtap='onCountPlus'>
  343. <text class="row"></text>
  344. <text class="col"></text>
  345. </view>
  346. </view>
  347. <view class="count-name">数量</view>
  348. </view>
  349. </view>
  350. <view class='pup-sku-footer {{totalStocks>0?"":"gray"}}'>
  351. <view class="btn cart" bindtap='addToCart' wx:if="{{skuShowType==0}}">加入购物车</view>
  352. <view class="btn buy" bindtap='buyNow' wx:if="{{skuShowType==0}}">立即购买</view>
  353. <view class="btn buy" bindtap='groupConfirmOrder' data-teamid="0" wx:if="{{skuShowType==1}}">
  354. 开团
  355. </view>
  356. </view>
  357. </view>
  358. </view>
  359. <!-- 规格弹窗 end -->
  360. <!-- 评价弹窗 -->
  361. <view class="cmt-popup" wx:if="{{commentShow}}">
  362. <view class="cmt-tit">
  363. <view class="cmt-t">
  364. 商品评价
  365. <text class="cmt-good">好评度{{prodCommData.positiveRating}}%</text>
  366. </view>
  367. <text class="close" bindtap='closePopup'></text>
  368. </view>
  369. <view class="cmt-cont">
  370. <view class="cmt-tag">
  371. <text bindtap='getProdCommPage' data-evaluate="-1" class="{{evaluate==-1?'selected':''}}">全部({{prodCommData.number}})</text>
  372. <text bindtap='getProdCommPage' data-evaluate="0" class="{{evaluate==0?'selected':''}}">好评({{prodCommData.praiseNumber}})</text>
  373. <text bindtap='getProdCommPage' data-evaluate="1" class="{{evaluate==1?'selected':''}}">中评({{prodCommData.secondaryNumber}})</text>
  374. <text bindtap='getProdCommPage' data-evaluate="2" class="{{evaluate==2?'selected':''}}">差评({{prodCommData.negativeNumber}})</text>
  375. <text bindtap='getProdCommPage' data-evaluate="3" class="{{evaluate==3?'selected':''}}">有图({{prodCommData.picNumber}})</text>
  376. </view>
  377. <view class="cmt-items">
  378. <view class="cmt-item" wx:for="{{prodCommPage.records}}" wx:key="prodCommId">
  379. <view class="cmt-user">
  380. <text class="date">{{item.recTime}}</text>
  381. <view class="cmt-user-info">
  382. <image class="user-img" src="{{item.pic?item.pic:'../../images/icon/head04.png'}}"></image>
  383. <view class="nickname">{{item.isAnonymous==1?'匿名评价':item.nickName}}</view>
  384. <comm-star value="{{item.score}}"></comm-star>
  385. </view>
  386. </view>
  387. <view class="cmt-cnt">{{item.content}}</view>
  388. <scroll-view class="cmt-attr" scroll-x="true" wx:if="{{item.pics.length}}">
  389. <image src="{{commPic}}" wx:for='{{item.pics}}' wx:for-item="commPic" wx:key='index' data-pics="{{item.pics}}" data-index="{{index}}" bindtap='clickImg'></image>
  390. </scroll-view>
  391. <view class="cmt-reply" wx:if="{{item.replyContent}}">
  392. <text class='reply-tit'>店铺回复:</text>
  393. <view class="reply-content">{{item.replyContent}}</view>
  394. </view>
  395. </view>
  396. </view>
  397. <!-- 列表空 -->
  398. <view class="empty" wx:if="{{!prodCommPage.records.length}}">
  399. <view class="empty-icon">
  400. <image src="../../images/icon/empty-com.png"></image>
  401. </view>
  402. <view class="empty-text">还没有商品评价~</view>
  403. </view>
  404. <!-- /列表空 -->
  405. <view class="load-more" wx:if='{{prodCommPage.pages > prodCommPage.current}}'>
  406. <text bindtap='getMoreCommPage'>点击加载更多</text>
  407. </view>
  408. </view>
  409. </view>
  410. <!-- 评价弹窗 end -->
  411. <!-- 悬浮按钮 -->
  412. <view class="suspension-box {{showBacktop?'scroll-top':''}}" wx:if="{{!popupShow && !skuShow && !commentShow && !skuGroupShow}}">
  413. <!-- 赚字浮层 -->
  414. <view class="promo-con" wx:if="{{isDist && isDistProd}}" bindtap='onShowShare' data-type="2">
  415. <view class="earn">赚</view>
  416. </view>
  417. <!-- 分享 -->
  418. <button class="suspension-btn btn-type" open-type='share' wx:if="{{!(isDist && isDistProd)}}">
  419. <!-- / -->
  420. <image src="../../images/icon/share-prod.png"></image>
  421. </button>
  422. <!-- 回到顶部 -->
  423. <view class="suspension-btn" bindtap='backToTop' wx:if="{{showBacktop}}">
  424. <image src="../../images/icon/back-to-top.png"></image>
  425. </view>
  426. </view>
  427. <!-- /悬浮按钮 -->
  428. <!-- 分享弹窗 -->
  429. <view class='promo-share' wx:if="{{shareShow}}">
  430. <view class='promo-main'>
  431. <view class='promo-icons-close' bindtap='closeEarn'>
  432. <image src="../../images/icon/close.png"></image>
  433. </view>
  434. <view class='promo-tit'>
  435. <title>立即分享给好友</title>
  436. </view>
  437. <view class='promo-desc'>
  438. <text>朋友通过你分享的页面成功购买后,你可获得对应的佣金,佣金可“个人中心-分销员中心" 里查看</text>
  439. </view>
  440. <view class='promo-icons'>
  441. <button class='promo-img1' open-type='share'>
  442. <image src="../../images/icon/weixin.png"></image>
  443. 微信
  444. </button>
  445. <view class='promo-img1' bindtap='genWeixinCode'>
  446. <image src="../../images/icon/erweima.png"></image>
  447. 二维码
  448. </view>
  449. </view>
  450. <view class='promo-btn' bindtap='toDistCenterPage'>我的分销员中心</view>
  451. </view>
  452. </view>
  453. <!-- 分享弹窗 end -->
  454. <!-- 二维码弹窗 -->
  455. <view class='code-popup' wx:if="{{wxCodeShow}}">
  456. <view class='code-main'>
  457. <view class="close-v" catchtap='closeCodePopup'>
  458. <image src="../../images/icon/close.png" class="close-png"></image>
  459. </view>
  460. <view class="code-v">
  461. <image src="{{shareWxCode}}" class="wx-code"></image>
  462. </view>
  463. <view class="code-txt" bindtap="downloadImg">保存至相册</view>
  464. </view>
  465. </view>
  466. <!-- 二维码弹窗 end -->
  467. <wxs module="wxs" src="../../wxs/number.wxs" />
  468. <!-- <login-popup bind:onGotUserInfo="onGotUserInfo" isAuthInfo="{{isAuthInfo}}"></login-popup> -->