审查视图

components/timepicker/timepicker.wxml 737 字节
倪静楠 authored
1
倪静楠 authored
2 3 4 5 6 7
<view class="select-date">
  <view class="time-title">自提时间</view>
  <view class="select-day">
    <view class="day" wx:for="{{selfData}}" wx:key="index" class='{{nowDay===index?"day active":"day"}}'
      bindtap="getnowDay" data-index='{{index}}'>{{item.month}}月{{item.day}}号【{{item.week}}】</view>
  </view>
倪静楠 authored
8 9 10 11 12 13 14 15 16
  <view class="select-time" wx:if='{{list.length!==0}}'>
    <view wx:for="{{list}}"
      class='{{ nowDay===selectDay&&index===selectTimeIndex?"select-time-item select":"select-time-item"}}'
      data-id="{{item.id}}" bindtap="clickTime" data-index='{{index}}'>
      {{item.start}}-{{item.end}}
    </view>
  </view>
  <view wx:else class="time-title">对不起,今日暂无自提时间
  </view>
倪静楠 authored
17
倪静楠 authored
18
</view>