You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.4 KiB
68 lines
3.4 KiB
<!--pages/order/road/index.wxml-->
|
|
<title title="预订选择"></title>
|
|
<view class="date-all-box">
|
|
<view class="month-box">
|
|
<view bindtap="changeMonth" data-index="{{index}}" class="month-item{{monthIndex==index?' active':''}}" wx:for="{{month}}">{{item==0?'12':item}}月</view>
|
|
<!-- <view class="month-item">12月</view> -->
|
|
</view>
|
|
<view class="day-header">
|
|
<view class="day-header-item">日</view>
|
|
<view class="day-header-item">一</view>
|
|
<view class="day-header-item">二</view>
|
|
<view class="day-header-item">三</view>
|
|
<view class="day-header-item">四</view>
|
|
<view class="day-header-item">五</view>
|
|
<view class="day-header-item">六</view>
|
|
</view>
|
|
<view class="day-box">
|
|
<view class="day-item" wx:for="{{monthIndex==0?monthDays1[1]:monthDays2[1]}}">
|
|
<view class="date-item-in">
|
|
<view class="date-num"></view>
|
|
<view class="date-price-place"></view>
|
|
</view>
|
|
</view>
|
|
<view class="day-item{{selectDate.selectMonth==month[monthIndex] && selectDate.selectDate==(index+1)?' active':''}}" wx:for="{{monthIndex==1?monthDays2[0]:monthDays1[0]}}">
|
|
<view class="date-item-in" bindtap="selectDate" data-item="{{item}}">
|
|
<view class="date-num{{prices[month[monthIndex]+'-'+(index+1)] && prices[month[monthIndex]+'-'+(index+1)].product_price!=null?' active':''}}">{{(index+1)>=10?(index+1):("0"+(index+1))}}</view>
|
|
<view class="price" wx:if="{{prices[month[monthIndex]+'-'+(index+1)] && prices[month[monthIndex]+'-'+(index+1)].product_price!==null && prices[month[monthIndex]+'-'+(index+1)].stock!==null}}">¥{{prices[month[monthIndex]+'-'+(index+1)].m_price/100}}</view>
|
|
<view class="date-price-place" wx:elif="{{prices[month[monthIndex]+'-'+(index+1)] && prices[month[monthIndex]+'-'+(index+1)].stock==0}}">售罄</view>
|
|
<view class="date-price-place" wx:else></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="box" wx:for="{{sku}}">
|
|
<view class="box-top">
|
|
<view class="box-title">{{item.sku_name}}</view>
|
|
<view class="box-tip textOver">{{item.sku_type_info}}</view>
|
|
<view class="iconfont icon-sami-select {{nums[index]==0?' disable':''}}" bindtap="minus" data-index="{{index}}"></view>
|
|
<view class="number">{{nums[index]}}</view>
|
|
<view class="iconfont icon-add-select {{nums[index]==selectDate.info[index].stock?' disable':''}}" bindtap="add" data-index="{{index}}"></view>
|
|
</view>
|
|
<view class="single-price" wx:if="{{selectDate}}">{{selectDate.info[index].price/100}}</view>
|
|
</view>
|
|
<view style="height:113rpx"></view>
|
|
<view class="fixed-bottom">
|
|
<text>总额:</text>
|
|
<view class="price">¥{{price/100}}</view>
|
|
<text class="mingxi" bindtap="showInfo">明细</text>
|
|
<navigator url="/pages/user/service/index" class="kefu-box">
|
|
<view class="iconfont icon-kefu"></view>
|
|
<view>客服</view>
|
|
</navigator>
|
|
<view class="btn" bindtap="order">下一步</view>
|
|
</view>
|
|
<view class="mask" wx:if="{{infoFlag}}">
|
|
<view class="mask-bg" bindtap="showInfo"></view>
|
|
<view class="mask-content">
|
|
<view class="mask-tip">
|
|
<text>基本费用</text>
|
|
<text>¥{{price/100}}</text>
|
|
</view>
|
|
<view class="mask-tip mask-tip2" wx:for="{{sku}}" wx:if="{{nums[index]>0}}">
|
|
<text>{{item.sku_name}}</text>
|
|
<text>¥{{selectDate.info[index].price/100}} x {{nums[index]}}</text>
|
|
</view>
|
|
<view class="mask-tip2 mask-price">订单总额(在线支付): <text>¥{{price/100}}</text></view>
|
|
</view>
|
|
</view>
|
|
|