|
@@ -6,27 +6,27 @@
|
|
|
<swiper indicator-dots="{{false}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="changeSwiper">
|
|
|
<swiper-item>
|
|
|
<view class="swiper-item ">
|
|
|
- <image src="https://oss.dayaedu.com/ktyq/1731664204915.png"></image>
|
|
|
+ <image src="https://oss.dayaedu.com/ktyq/1732101023155.png"></image>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
<swiper-item>
|
|
|
<view class="swiper-item ">
|
|
|
- <image src="https://oss.dayaedu.com/ktyq/1731664238525.png"></image>
|
|
|
+ <image src="https://oss.dayaedu.com/ktyq/1732101058157.png"></image>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
<swiper-item>
|
|
|
<view class="swiper-item ">
|
|
|
- <image src="https://oss.dayaedu.com/ktyq/1731664250837.png"></image>
|
|
|
+ <image src="https://oss.dayaedu.com/ktyq/1732101072881.png"></image>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
<swiper-item>
|
|
|
<view class="swiper-item ">
|
|
|
- <image src="https://oss.dayaedu.com/ktyq/1731664259087.png"></image>
|
|
|
+ <image src="https://oss.dayaedu.com/ktyq/1732101091093.png"></image>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
<swiper-item>
|
|
|
<view class="swiper-item ">
|
|
|
- <image src="https://oss.dayaedu.com/ktyq/1731664269098.png"></image>
|
|
|
+ <image src="https://oss.dayaedu.com/ktyq/1732101102921.png"></image>
|
|
|
</view>
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
@@ -51,30 +51,42 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="goodsInfo">
|
|
|
- <text class="desc">已选:</text>
|
|
|
+ <!-- <text class="desc">已选:</text> -->
|
|
|
<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 wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" bind:tap="onSelectGoods" data-id="{{ item.id }}">
|
|
|
+ <image class="goods-cover" src="{{item.pic}}"></image>
|
|
|
+ <text class="name">{{ item.typeName }}</text><image class="iconSale" wx:if="{{ item.stockNum <= 0 }}" src="./images/nosale.png"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="goodsSection">
|
|
|
<view class="goodsIntro">
|
|
|
- <view class="title">图文详情</view>
|
|
|
+ <view class="title">
|
|
|
+ <view class="before"></view>
|
|
|
+ <view>商品详情</view>
|
|
|
+ <view class="after"></view>
|
|
|
+ </view>
|
|
|
+ <view class="quick-btn">
|
|
|
+ <view class="active">商品介绍</view>
|
|
|
+ <view>互通案例</view>
|
|
|
+ <view>购买流程</view>
|
|
|
+ </view>
|
|
|
<view class="images">
|
|
|
- <image class="img1" src="https://oss.dayaedu.com/ktyq/1731664304424.png"></image>
|
|
|
- <image class="img2" src="https://oss.dayaedu.com/ktyq/1731664318588.png"></image>
|
|
|
- <image class="img3" src="https://oss.dayaedu.com/ktyq/1731664330981.png"></image>
|
|
|
- <image class="img4" src="https://oss.dayaedu.com/ktyq/1732085582320.png"></image>
|
|
|
+ <image class="img1" src="https://oss.dayaedu.com/ktyq/1732101129195.png"></image>
|
|
|
+ <image class="img2" src="https://oss.dayaedu.com/ktyq/1732101146406.png"></image>
|
|
|
+ <image class="img3" src="https://oss.dayaedu.com/ktyq/1732101158356.png"></image>
|
|
|
+ <image class="img4" src="https://oss.dayaedu.com/ktyq/1732101169900.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="bottom-section">
|
|
|
- <view class="orders" bind:tap="onOrder">
|
|
|
+ <view class="orders" bind:tap="onOrder">
|
|
|
<image src="./images/icon-order.png" />
|
|
|
- <text>订单</text>
|
|
|
+ <!-- <text>订单</text> -->
|
|
|
</view>
|
|
|
+ <view class="bottom-section">
|
|
|
<view class="btnSection">
|
|
|
<button bind:tap="onBuyShop" type="primary" disabled="{{ isOverSaled }}">立即购买</button>
|
|
|
</view>
|
|
@@ -90,19 +102,28 @@
|
|
|
<image 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>
|
|
|
+ <view class="price-s">
|
|
|
+ <view class="currentPrice">
|
|
|
+ <text class="stuff">¥</text>
|
|
|
+ <text class="priceZ">{{ selected.integerPart }}</text>
|
|
|
+ <text class="priceF">.{{ selected.decimalPart }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="originPrice">¥{{ selected.originalPrice }}</view>
|
|
|
+ </view>
|
|
|
+ <view class="current-s">
|
|
|
+ 当前选中:<text>{{ selected.typeName }}</text>
|
|
|
</view>
|
|
|
- <view class="originPrice">¥{{ selected.originalPrice }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="goodsInfo">
|
|
|
- <view class="desc">规格</view>
|
|
|
+ <view class="desc">规格类型({{ list.length }})</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 wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" bind:tap="onSelectGoods" data-id="{{ item.id }}">
|
|
|
+ <image class="goods-cover" src="{{item.pic}}"></image>
|
|
|
+ <text class="name">{{ item.typeName }}</text><image class="iconSale" wx:if="{{ item.stockNum <= 0 }}" src="./images/nosale.png"></image>
|
|
|
+ </view>
|
|
|
+ <!-- <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>
|
|
|
|