b_add.wxml 1.4 KB
<nav>点餐商户端</nav>
<!--日期-->
<view style="padding-bottom:160rpx;">
    <view class="select-date flex-lr smooth">
         <block wx:for="{{dateList}}">
            <view class="single-date gray-deep-font flex-vc" bindtap="selectdate" data-title="{{item.title}}">
                <view class="font30r {{item.isActive==true ? 'black-font' : ''}}">{{item.title}}</view>
                <view class="font34r date-num flex-cc {{item.isActive==true ? 'select-date-active black-font' : ''}}">{{item.date}}</view>
            </view>
         </block>
         <view class="single-date gray-deep-font flex-vc">
             <view class="font30r">更多</view>
             <view class="date-num flex-vc">
                <image src="../image/more-dot.png" class="more-dot"></image>
             </view>
         </view>
    </view>
    <block wx:for="{{timeList}}">
        <timeDuration item="{{item}}" bind:changelist="changelist"></timeDuration>
    </block>
</view>
<view class="confirm-button white-font flex-vc font34r {{time_dur ? 'confirm-button-active' : ''}}" bindtap="{{time_dur ? 'selectOther' : ''}}">确定</view>


<date-picker
    startTime="{{startTime}}"
    endTime="{{endTime}}"
    unit="{{unit}}"
    reserveUnit="{{reserveUnit}}"
    unreserveTime="{{unreserveTime}}"
    activedConst="{{activedConst}}"
    disabledConst="{{disabledConst}}"
    themeColor="#1f78d1"
    bind:selectTime="onSelectTime"
/>