<!--subpages/evaluationIntroduction/evaluationIntroduction.wxml-->
<view>
  <van-nav-bar title="" left-text="" leftArrow custom-class="nav-bar" bind:click-left="leftBack"></van-nav-bar>
  <text class="page-title">{{testTitle}}</text>
  <image class="page-icon" src="/subpages/images/testRes/ic_test_right.png"></image>
  <view class="w-card">
    <view class="test-info-view">
      <view class="test-info-item flex-1">
        <image src="/subpages/images/testRes/ic_test_time.png"></image>
        <text class="test-info-item-title">3分钟</text>
        <text class="test-info-item-desc">测评时间</text>
      </view>
      <view class="test-info-item">
        <image src="/subpages/images/testRes/ic_test_size.png"></image>
        <text class="test-info-item-title">{{testSize}}题</text>
        <text class="test-info-item-desc">测评题数</text>
      </view>
      <view class="test-info-item flex-1">
        <image src="/subpages/images/testRes/ic_test_member.png"></image>
        <text class="test-info-item-title">12万</text>
        <text class="test-info-item-desc">测评人数</text>
      </view>
    </view>
    <view class="base-title-view">
      <view class="base-title-line" />
      <text class="base-title">测评介绍</text>
      <view class="base-title-share-box">
        <image src="/subpages/images/testRes/ic_test_share.png"></image>
        <button open-type="share"></button>
      </view>
    </view>
    <view class="test-desc-box">
      <text class="test-desc">{{testDesc}}</text>
      <image wx:if="{{type == 'sleep'}}" style="height: 480rpx;" src="/subpages/images/testRes/ic_test_desc_bg.png">
      </image>
      <image wx:else style="height: 636rpx;" src="/subpages/images/testRes/ic_test_desc_bg_tz.png"></image>
    </view>
  </view>
  <view class="bottom-btn-view">
    <text wx:if="{{!isHaveRes}}" class="start-test-btn" bindtap="toTest">立即测评</text>
    <view wx:else class="res-test-btn-view">
      <text class="view-res-btn" bindtap="toResult">查看结果</text>
      <text class="restart-test-btn" bindtap="toTest">重新测评</text>
    </view>
  </view>
</view>