|
|
|
@ -6,11 +6,11 @@ |
|
|
|
</cu-custom> |
|
|
|
|
|
|
|
<view wx:if="{{orderInfo}}"> |
|
|
|
<swiper class="screen-swiper square-dot" style="min-height:400rpx" indicator-dots="true" indicator-color="#FFFFFF" indicator-active-color="#008AFF" bindchange="bindchange"> |
|
|
|
<swiper class="screen-swiper square-dot" style="min-height:{{imageHeight}}rpx" indicator-dots="true" indicator-color="#FFFFFF" indicator-active-color="#008AFF" bindchange="bindchange"> |
|
|
|
<swiper-item wx:for="{{imgList}}" wx:key="index"> |
|
|
|
<view wx:if="{{formate.isVideoUrl(item)}}" bindtap="videoTouch"> |
|
|
|
<view class="video-cnt"> |
|
|
|
<video id="video" src="{{item}}" style="width:100%;min-height:400rpx" bindplay="bindplay" bindpause="bindpause" bindended="bindended" show-center-play-btn="{{false}}" controls="{{false}}" muted /> |
|
|
|
<video id="video" src="{{item}}" style="width:100%;min-height:{{imageHeight}}rpx" bindplay="bindplay" bindpause="bindpause" bindended="bindended" show-center-play-btn="{{false}}" controls="{{false}}" muted /> |
|
|
|
</view> |
|
|
|
<view class="play-btn" style="width:80rpx;height:80rpx" catchtap="videoTap" wx:if="{{controls}}"> |
|
|
|
<image src="{{status == 0 ? '/assets/image/video_play.png' : '/assets/image/video_pause.png'}}"/> |
|
|
|
@ -49,7 +49,7 @@ |
|
|
|
</view> |
|
|
|
<view class="bg-white flex flex-justify" style="height:100rpx;;padding: 0rpx 32rpx"> |
|
|
|
<view class="text-gray" style="font-size:28rpx">购买数量</view> |
|
|
|
<wux-input-number value="{{form.number}}" controlled="{{true}}" disabled="{{false}}" color="stable" min="{{1}}" max="{{form.stockNumber||orderInfo.stockNumber}}" bind:change="onNumChange" /> |
|
|
|
<wux-input-number value="{{form.number}}" controlled="{{true}}" disabled="{{false}}" color="stable" min="{{formate.minNumber(orderInfo, 1)}}" max="{{form.stockNumber||orderInfo.stockNumber}}" bind:change="onNumChange" /> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="bg-white" style="padding:32rpx;margin-top:32rpx"> |
|
|
|
|