<view class="content">
  <view class="head-view">
    <image src="../image/home/home-head.png" mode="aspectFill"></image>
  </view>
  <view class="home-title"><text>瑞莱健康</text></view>
  <view class="banner">
    <swiper indicator-dots="true" autoplay="true" circular="true" interval="2000" duration="400" indicator-color="#fff" indicator-active-color="#FF9A16">
      <view wx:for="{{bannerdata}}" wx:key="id">
        <swiper-item>
        <image src="../image/home/home-banner.png" mode="aspectFill"></image>
        </swiper-item>
      </view>
    </swiper>
  </view>
  <view class="item-view">
    <block wx:for="{{itemView}}" wx:key="id">
      <view class="item-list" bindtap="itemClick" data-id="{{item.title}}">
        <view class="item-image">
          <image src="../image/home/{{item.icon}}.png" mode="aspectFit"></image>
        </view>
        <view class="item-title">
          <text>{{item.title}}</text>
        </view>
      </view>
    </block>
  </view>
  <view>
    <view class="main">
      <view class="main-item">
        <view>
          <image src="../image/home/就医陪诊-back.png" mode="aspectFit"></image>
        </view>
        <view class="title-view">
          <text class="main-title">就医陪诊</text>
          <text class="sub-title">专业陪诊</text>
          <text class="sub-title">全程无忧</text>
        </view>
      </view>
      <view class="main-item">
        <view>
          <image src="../image/home/院内陪护-back.png" mode="aspectFit"></image>
        </view>
        <view class="title-view">
          <text class="main-title">院内护理</text>
          <text class="sub-title">专业陪护</text>
          <text class="sub-title">家人般温暖</text>
        </view>
      </view>
    </view>
  </view>
  <view class="list-hospital">
    <block wx:for="{{hospitalData}}" wx:key="id">
      <view class="list-item" bindtap="listItemTap" data-id="{{item.id}}">
        <view class="img-back">
          <image src="{{item.img}}" mode="aspectFill"></image>
        </view>
        <view class="list-info">
          <view class="name"><text>{{item.name}}</text></view>
          <view class="list-lable">
            <view class="grade"><text>{{item.grade}}</text></view>
            <view class="genre"><text>{{item.genre}}</text></view>
          </view>
          <view class="skiled"><text>{{item.skiled}}</text></view>
          <view class="address"><text>{{item.address}}</text></view>
        </view>
      </view>
    </block>
  </view>
</view>