|
|
@ -23,9 +23,9 @@ |
|
|
</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="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-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="date-num{{prices[month[monthIndex]+'-'+(index+1)] && prices[month[monthIndex]+'-'+(index+1)].product_price!=null&& prices[month[monthIndex]+'-'+(index+1)].stock>0?' 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="price" wx:if="{{prices[month[monthIndex]+'-'+(index+1)] && prices[month[monthIndex]+'-'+(index+1)].product_price!==null && prices[month[monthIndex]+'-'+(index+1)].stock>0}}">¥{{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" style="font-size: 23rpx;color: #999;" wx:elif="{{prices[month[monthIndex]+'-'+(index+1)] && prices[month[monthIndex]+'-'+(index+1)].stock===0}}">售罄</view> |
|
|
<view class="date-price-place" wx:else></view> |
|
|
<view class="date-price-place" wx:else></view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|