<import-sjs name="utils" from="./index.sjs"/>
<wrapper>
  <view class="{{ utils.getAllPageClass(componentData) }}">
    <view class="general-services style-{{ utils.getMode(componentData) }}">
      <!-- 就医指南 -->
      <button
        formClass="service-item"
        class="service-item-contentjiuyi"
        onTap="gotoJiuyi"
      >
        <view class="icon-container icon-container-jiuyi">
          <image
            class="icon"
            src="{{ utils.getUrl('BDD5DBC4A4CF42FA97F28CB4158DEC99',imgSrcPrefix) }}"
          />
        </view>
        <view class="title jiutu-title">
          <text number-of-lines="1">
            就医指南
          </text>
        </view>

      </button>

      <!-- 医院介绍 -->
      <button
        formClass="service-item"
        class="service-item-contentjiuyi"
        onTap="gotoHospitalIntroduce"
      >
        <view class="icon-container icon-container-jiuyi">
          <image
            class="icon"
            src="{{ utils.getUrl('BDD5DBC4A4CF42FA97F28CB4158DEC99',imgSrcPrefix) }}"
          />
        </view>
        <view class="title jiutu-title">
          <text number-of-lines="1">
            医院介绍
          </text>
        </view>

      </button>

      <button-auth
        item="{{ item }}"
        formClass="service-item"
        class="service-item-content"
        a:for="{{ utils.getList(componentData) }}"
      >
        <view class="icon-container">
          <image
            class="icon"
            src="{{ utils.getUrl(item.icon,imgSrcPrefix) }}"
          />
        </view>
        <view class="title">
          <text number-of-lines="1">
            {{ item.name }}
          </text>
        </view>
      </button-auth>
      <view
        onTap="toMorePage"
        class="service-item"
        a:if="{{ utils.geShowAll(componentData) }}"
      >
        <view class="service-item-content">
          <view class="icon-container">
            <image
              class="icon"
              src="https://gw.alipayobjects.com/mdn/rms_373ab8/afts/img/A*mfFHRYXa5ygAAAAAAAAAAAAAARQnAQ"
            />
          </view>
          <view class="title">
            <text number-of-lines="1">更多</text>
          </view>
        </view>
      </view>
    </view>
  </view>
</wrapper>
