|
@@ -36,8 +36,8 @@
|
|
|
<view class="left">
|
|
|
<view class="currentPrice">
|
|
|
<text class="stuff">¥</text>
|
|
|
- <text class="priceZ">{{ selected.integerPart || 0 }}</text>
|
|
|
- <text class="priceF">.{{ selected.decimalPart || '00' }}</text>
|
|
|
+ <text class="priceZ">{{ smallGoods.integerPart || 0 }}</text>
|
|
|
+ <text class="priceF">.{{ smallGoods.decimalPart || '00' }}</text>
|
|
|
<text class="after">起</text>
|
|
|
</view>
|
|
|
<!-- <view class="originPrice"></view> -->
|
|
@@ -75,8 +75,8 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="bottom-section">
|
|
|
- <view class="orders active" bind:tap="onOrder">
|
|
|
- <image src="./images/icon-order.png" />
|
|
|
+ <view class="orders active">
|
|
|
+ <image src="./images/icon-home-active.png" />
|
|
|
<text>首页</text>
|
|
|
</view>
|
|
|
<view class="orders" bind:tap="onOrder">
|
|
@@ -91,52 +91,59 @@
|
|
|
<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.png" class="iconClose"></image>
|
|
|
-
|
|
|
- <!-- <view class="product-section">
|
|
|
- <view class="product-img">
|
|
|
- <image bind:tap="onPreivewGoods" data-src="{{ selected.pic }}" src="{{ selected.pic }}"></image>
|
|
|
- </view>
|
|
|
- <view class="product-left">
|
|
|
- <view class="currentPrice">
|
|
|
- <text class="stuff">¥</text>
|
|
|
- <text class="priceZ">{{ selected.integerPart }}</text>
|
|
|
- <text class="priceF">.{{ selected.decimalPart }}</text>
|
|
|
+ <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>
|
|
|
- <view class="originPrice">¥{{ selected.originalPrice }}</view>
|
|
|
+ <image src="./images/icon-arrow-right.png" class="arrow-right"></image>
|
|
|
</view>
|
|
|
- </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 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>
|
|
|
|
|
|
- <view class="goodsInfo">
|
|
|
- <view class="desc">乐器搭配<text>(非必选)</text></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 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>
|
|
|
- <text>{{ formatSelectGood.typeName }}</text>
|
|
|
- ,合计:
|
|
|
- <text>¥ {{ formatSelectGood.showSalePrice }}</text>
|
|
|
- <block wx:if="{{ formatSelectGood.originalPrice > formatSelectGood.salePrice }}">
|
|
|
- ,已省
|
|
|
- <text>¥ {{ formatSelectGood.discountPrice }}</text>
|
|
|
- </block>
|
|
|
+ <!-- <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>
|
|
@@ -147,6 +154,8 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- <service popShow="{{ showService }}" bind:changePop="changePop"></service> -->
|
|
|
+
|
|
|
+ <buyerInformation popShow="{{ showBuyer }}" bind:cancel="onCloseBuyer" />
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
</swiper-item>
|