<view class="container">
  <view class="backcolor"></view>

  <view class="comments">
    <!-- 个人信息 -->
    <view class="Personal">

      <view class="name fs36 ellipsis-1">{{name}}</view>

      <view class="ellipsis-4" style="width:100%">
        <view style="overflow:hidden;">
          <image class="head" src="{{head_img==''?iurl+defimgurl:head_img}}" data-errorimg="{{head_img}}" binderror="bind_bnerr1" data-img="{{head_img}}" data-src="{{head_img}}"></image>
          <view class="introduce fs26">
            <block wx:if="{{comment!=''}}">
              {{comment}}
            </block>
            <block wx:else>
              暂无介绍
            </block>
          </view>
          <view style="clear:both"></view>
        </view>
      </view>

    </view>

    <view>
      <view class="fs36" style="margin-bottom:35rpx;">服务预约</view>
      <scroll-view class="scroll-h fs26 " scroll-x>
        <view class="rel" wx:for="{{aweeks}}" style="display: inline-block;">
          <block wx:if="{{aweeks[index].val!=''}}">
            <view class="scroll-item-h bd {{index==date_id?'chbd':''}}" bindtap="check_date" data-dateid="{{index}}">
              <view>{{weeks[index]}}</view>
              <view>{{item.time}}</view>
            </view>
          </block>
          <block wx:else>
            <view class="scroll-item-h bd {{index==date_id?'chbd':''}}" bindtap="check_date" data-dateid="{{index}}">
              <view>{{weeks[index]}}(约满)</view>
              <view>{{item.time}}</view>
            </view>
          </block>
        </view>

      </scroll-view>

      <!-- 选择时间 -->
      <view class="Times">

        <view class="flex-center" wx:for="{{time}}" style="display:inline-block;" wx:for-index="key" wx:for-item="it">
          <block wx:if="{{it==time_list[key]}}">
            <view class="Time flex-center {{time_index==key?'chTime':''}}" bindtap="Selection_time" data-index="{{key}}">
              <view>
                <view class="fs26">{{it}}</view>
              </view>
            </view>
          </block>
          <block wx:else>
            <view class="Time flex-center nochTime">
              <view>
                <view class="fs26">{{it}}</view>
              </view>
            </view>
          </block>
        </view>
        <view class="choice flex-center fs32" bindtap="navigateBack">
          <view>确定选择</view>
        </view>

      </view>

    </view>

  </view>

</view>
<warn id="warn"></warn>