123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <swiper indicator-dots="{{false}}" vertical="true" class="firstConainer">
- <!-- <swiper-item>
- <view class="pageContainer firstPageContainer">
- <navigation-bar title="器乐数字AI工具" back="{{false}}"></navigation-bar>
- <swiper indicator-dots="{{false}}" class="fistSwiperSection" previous-margin="78rpx" next-margin="78rpx" bindchange="onFirstChange">
- <swiper-item wx:for="{{firstImgList}}" wx:key="index">
- <view class="swiper-item {{ firstCurrent == index ? 'current' : '' }}">
- <image data-src="{{ item }}" src="{{ item }}"></image>
- </view>
- </swiper-item>
- </swiper>
- <view class="pageDot">
- <view wx:for="{{firstImgList}}" wx:key="index" class="dot-item {{ firstCurrent == index ? 'current' : '' }}"></view>
- </view>
- <image src="./images/up-arrow.png" class="upArrow"></image>
- </view>
- </swiper-item> -->
- <swiper-item>
- <view class="pageContainer">
- <!--index.wxml-->
- <scroll-view class="scrollarea" bounces="false" scroll-y="{{popupShow ? false : true}}" type="list">
- <view class="container">
- <!-- <view class="topShadow"></view> -->
- <view class="slider-count">{{current + 1}}/{{imgList.length}}</view>
- <swiper indicator-dots="{{false}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="changeSwiper">
- <swiper-item wx:for="{{imgList}}" wx:key="index">
- <view class="swiper-item">
- <image bind:tap="onPreivewBannerImg" data-src="{{ item }}" src="{{ item }}"></image>
- </view>
- </swiper-item>
- </swiper>
- <view class="shop-section">
- <view class="showPrice">
- <view class="left">
- <view class="currentPrice">
- <text class="stuff">¥</text>
- <text class="priceZ">{{ smallGoods.integerPart || 0 }}</text>
- <text class="priceF">.{{ smallGoods.decimalPart || '00' }}</text>
- <text class="after">起</text>
- </view>
- <!-- <view class="originPrice"></view> -->
- </view>
- <view class="right">
- 已售1w+
- </view>
- </view>
- <view class="shopName">
- <!-- {{ selected.name }} -->
- 器乐数字AI工具会员卡
- </view>
- <view class="shopInfo">
- 一款专为音乐学习者、爱好者设计的音乐学习软件。通过先进的人工智能技术,为您提供全方位的乐理知识、日常练习和智能评分等功能,帮助您在音乐道路上更上一层楼。
- </view>
- <view class="shop-btn">
- <button bind:tap="onBuyShop" type="primary" disabled="{{ isOverSaled }}">立即享受专属权益</button>
- </view>
- <!-- <view class="btn-submit">立即享受专属权益</view> -->
- </view>
- <view class="goodsSection">
- <view class="goodsIntro">
- <view class="title">图文详情</view>
- <view class="images">
- <block wx:for="{{goodsImgList}}" wx:key="index">
- <!-- bind:tap="onPreivewGoodsImg" -->
- <image mode="widthFix" data-src="{{item}}" src="{{item}}"></image>
- </block>
- </view>
- </view>
- </view>
- <view class="bottom-section">
- <view class="orders active">
- <image src="./images/icon-home-active.png" />
- <text>首页</text>
- </view>
- <view class="orders" bind:tap="onOrder">
- <image src="./images/icon-order.png" />
- <text>订单</text>
- </view>
- <!-- <view class="btnSection">
- <button bind:tap="onBuyShop" type="primary" disabled="{{ isOverSaled }}">立即购买</button>
- </view> -->
- </view>
- <view class="popup-section" wx:if="{{popupShow}}">
- <view class="popup-mask" bind:tap="onClose"></view>
- <view class="popup-container">
- <image bind:tap="onClose" src="./images/icon-close-1.png" class="iconClose"></image>
- <view class="popup-scroll">
- <image src="https://oss.dayaedu.com/ktyq/1739242193106.png" mode="widthFix" class="top-vip-img"></image>
- <!-- 添加权益人 -->
- <view class="addBuyer">
- <view class="addBuyer-left" bind:tap="onSelectBuyer">
- <image src="./images/icon-man.png" class="icon-man"></image>
- <view class="info">
- <view class="users">
- <text>请填写享用者的个人信息</text>
- <!-- <text>15527282726</text> -->
- </view>
- <!-- <view class="address">武汉市洪山区第二十一小学一年级3班</view> -->
- </view>
- </view>
- <image src="./images/icon-arrow-right.png" class="arrow-right"></image>
- </view>
- <view class="goodsInfo">
- <view class="desc">会员有效期</view>
- <view class="goodsList">
- <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 }}
- <image wx:if="{{ item.stockNum <= 0 }}" src="./images/nosale.png"></image>
- </view>
- </view>
- </view>
- <view class="goodsInfo">
- <view class="desc">乐器搭配<text>(非必选)</text></view>
- <view class="goodsList">
- <view wx:for="{{ instrumentList }}" wx:key="index" class="goodsItem {{ item.id == selectInstrumentId ? 'selected' : '' }}" bind:tap="onSelectInstrument" data-id="{{ item.id }}">
- {{ item.name }} <text>¥{{ item.showSalePrice }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="popupBottom">
- <!-- 有选择商品的时候 -->
- <view class="current-item" wx:if="{{!isOverSaled && selected.id}}">
- <!-- <view class="current-item-text">您已选择:</view> -->
- <view class="current-top">
- 共计 <view class="prices"><text class="stuff">¥</text>
- <text class="priceZ">{{ formatSelectGood.integerPart || 0 }}</text>
- <text class="priceF">.{{ formatSelectGood.decimalPart || '00' }}</text>
- </view>
- <text class="line">|</text>原价 ¥ {{ formatSelectGood.originalPrice }}
- <block wx:if="{{ formatSelectGood.originalPrice > formatSelectGood.salePrice }}">
- <text class="line">|</text>
- <text>优惠 ¥ {{ formatSelectGood.discountPrice }}</text>
- </block>
- </view>
- <view class="current-select-text">已选:{{ formatSelectGood.typeName }}</view>
- </view>
- <view class="btnGroup">
- <button type="primary" catch:tap="onSubmit">立即享受专属权益</button>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- <service popShow="{{ showService }}" bind:changePop="changePop"></service> -->
- <buyerInformation popShow="{{ showBuyer }}" bind:cancel="onCloseBuyer" />
- </scroll-view>
- </view>
- </swiper-item>
- </swiper>
|