<view id="appointment_time">
  <calendar bind:select="select" calendarEvents='{{events}}' wx:if="{{events}}"></calendar>
  <view class="main" wx:if="{{timeList.length <= 0}}">
      <view class="tips  p">暂无预约</view>
    </view>
    <view class="main" wx:else>
      <view class="tips p">预约时间</view>
      <view class="times" wx:for="{{timeList}}" wx:key="index" wx:for-item="time">
        <text class="checked span">{{time.start_time}}-{{time.end_time}}<text class="em">已约</text></text>
      </view>
    </view>
</view>