index.wxml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <swiper indicator-dots="{{false}}" vertical="true" class="firstConainer">
  2. <!-- <swiper-item>
  3. <view class="pageContainer firstPageContainer">
  4. <navigation-bar title="器乐数字AI工具" back="{{false}}"></navigation-bar>
  5. <swiper indicator-dots="{{false}}" class="fistSwiperSection" previous-margin="78rpx" next-margin="78rpx" bindchange="onFirstChange">
  6. <swiper-item wx:for="{{firstImgList}}" wx:key="index">
  7. <view class="swiper-item {{ firstCurrent == index ? 'current' : '' }}">
  8. <image data-src="{{ item }}" src="{{ item }}"></image>
  9. </view>
  10. </swiper-item>
  11. </swiper>
  12. <view class="pageDot">
  13. <view wx:for="{{firstImgList}}" wx:key="index" class="dot-item {{ firstCurrent == index ? 'current' : '' }}"></view>
  14. </view>
  15. <image src="./images/up-arrow.png" class="upArrow"></image>
  16. </view>
  17. </swiper-item> -->
  18. <swiper-item>
  19. <view class="pageContainer">
  20. <!--index.wxml-->
  21. <scroll-view class="scrollarea" bounces="false" scroll-y="{{popupShow ? false : true}}" type="list">
  22. <view class="container">
  23. <!-- <view class="topShadow"></view> -->
  24. <view class="slider-count">{{current + 1}}/{{imgList.length}}</view>
  25. <swiper indicator-dots="{{false}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="changeSwiper">
  26. <swiper-item wx:for="{{imgList}}" wx:key="index">
  27. <view class="swiper-item">
  28. <image bind:tap="onPreivewBannerImg" data-src="{{ item }}" src="{{ item }}"></image>
  29. </view>
  30. </swiper-item>
  31. </swiper>
  32. <view class="shop-section">
  33. <view class="showPrice">
  34. <view class="left">
  35. <view class="currentPrice">
  36. <text class="stuff">¥</text>
  37. <text class="priceZ">{{ selected.integerPart || 0 }}</text>
  38. <text class="priceF">.{{ selected.decimalPart || '00' }}</text>
  39. <text class="after">起</text>
  40. </view>
  41. <!-- <view class="originPrice"></view> -->
  42. </view>
  43. <view class="right">
  44. 已售1w+
  45. </view>
  46. </view>
  47. <view class="shopName">
  48. <!-- {{ selected.name }} -->
  49. 器乐数字AI工具会员卡
  50. </view>
  51. <view class="shopInfo">
  52. 一款专为音乐学习者、爱好者设计的音乐学习软件。通过先进的人工智能技术,为您提供全方位的乐理知识、日常练习和智能评分等功能,帮助您在音乐道路上更上一层楼。
  53. </view>
  54. <view class="goods-btn">
  55. <view class="btn-submit">立即享受专属权益</view>
  56. </view>
  57. </view>
  58. <view class="goodsSection">
  59. <view class="goodsIntro">
  60. <view class="title">图文详情</view>
  61. <view class="images">
  62. <block wx:for="{{goodsImgList}}" wx:key="index">
  63. <!-- bind:tap="onPreivewGoodsImg" -->
  64. <image mode="widthFix" data-src="{{item}}" src="{{item}}"></image>
  65. </block>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="bottom-section">
  70. <!-- <view class="orders" bind:tap="onService">
  71. <image src="./images/icon-service.png" />
  72. <text>客服</text>
  73. </view> -->
  74. <view class="orders" bind:tap="onOrder">
  75. <image src="./images/icon-order.png" />
  76. <text>订单</text>
  77. </view>
  78. <view class="btnSection">
  79. <button bind:tap="onBuyShop" type="primary" disabled="{{ isOverSaled }}">立即购买</button>
  80. </view>
  81. </view>
  82. <view class="popup-section" wx:if="{{popupShow}}">
  83. <view class="popup-mask" bind:tap="onClose"></view>
  84. <view class="popup-container">
  85. <image bind:tap="onClose" src="./images/icon-close.png" class="iconClose"></image>
  86. <view class="product-section">
  87. <view class="product-img">
  88. <image bind:tap="onPreivewGoods" data-src="{{ selected.pic }}" src="{{ selected.pic }}"></image>
  89. </view>
  90. <view class="product-left">
  91. <view class="currentPrice">
  92. <text class="stuff">¥</text>
  93. <text class="priceZ">{{ selected.integerPart }}</text>
  94. <text class="priceF">.{{ selected.decimalPart }}</text>
  95. </view>
  96. <view class="originPrice">¥{{ selected.originalPrice }}</view>
  97. </view>
  98. </view>
  99. <view class="goodsInfo">
  100. <view class="desc">规格</view>
  101. <view class="goodsList">
  102. <view wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" bind:tap="onSelectGoods" data-id="{{ item.id }}">{{ item.typeName }}
  103. <image wx:if="{{ item.stockNum <= 0 }}" src="./images/nosale.png"></image>
  104. </view>
  105. </view>
  106. </view>
  107. <button type="primary" bind:tap="onSubmit">立即购买</button>
  108. </view>
  109. </view>
  110. </view>
  111. <!-- <service popShow="{{ showService }}" bind:changePop="changePop"></service> -->
  112. </scroll-view>
  113. </view>
  114. </swiper-item>
  115. </swiper>