<view class="page">
  <view class="block_1">
    <view class="box_1">
      <view class="text-wrapper_1" wx:if="{{!isLoad}}" bind:tap="logOut">
        <text lines="1" class="text_1">退出登录</text>
      </view>
    </view>
  </view>
  
  <view class="block_3">
    <image src="../../assets/images/my/my-top-bg.png" class="image_3"></image>
    
    <view class="section_2" wx:if="{{!isLoad}}" bind:tap="onNavigateTo">
      <view class="image_5">
        <image src="../../assets/images/my/baby.png" class=""></image>
      </view>
      
      <view class="block_4">
        <view class="text-group_4">
          <text lines="1" class="text_3">{{personalInfo.username}}<text lines="1" decode="true" class="text_5">{{personalInfo.sex == 1 ? '男': '女'}}&nbsp;·&nbsp;{{personalInfo.age}}</text></text>
          <text lines="1" class="text_4">胆道闭锁手术时间：{{personalInfo.operative_date}}</text>
        </view>
        
        <view class="group_1">
          <view class="image-text_4">
            <text class="iconfont icon-gantanhao_icon thumbnail_1"></text>
            <text lines="1" class="text-group_5">PELD评分：{{personalInfo.risk_value}}</text>
          </view>
          <view class="text-wrapper_2 scuess" wx:if="{{personalInfo.risk_type == 1}}">
            <text lines="1" class="text_6">低危</text>
          </view>
          <view class="text-wrapper_2 waring" wx:if="{{personalInfo.risk_type == 2}}">
            <text lines="1" class="text_6">中危</text>
          </view>
          <view class="text-wrapper_2 danger" wx:if="{{personalInfo.risk_type == 3}}">
            <text lines="1" class="text_6">高危</text>
          </view>
        </view>
      </view>
      <text class="iconfont icon-youjiantou label_4"></text>
    </view>
    <view class="section_2" wx:if="{{isLoad}}" bind:tap="onLogin">
      <view class="image_5">
        <image src="../../assets/images/my/baby.png" class=""></image>
      </view>
      
      <view class="block_4">
        <view class="text-group_4">
          <text lines="1" class="text_3 noLogin">请先登录/注册</text>
        </view>
        
        
      </view>
      <text class="iconfont icon-youjiantou label_4"></text>
    </view>
    <view class="section_3">
      <view class="block_5" data-url="/pages/therapeuticRegimen/index" bind:tap="toPath">
        <view class="image-text_5">
          <image src="../../assets/images/my/yyfa.svg" class="thumbnail_2"></image>
          <text lines="1" class="text-group_6">用药方案</text>
        </view>
        <text class="iconfont icon-youjiantou thumbnail_3"></text>
      </view>
      <view class="block_6"></view>
      <view class="block_7" data-url="/pages/articleList/index" bind:tap="toPath">
        <view class="image-text_6">
          <image src="../../assets/images/my/jkjy.svg" class="thumbnail_4"></image>
          <text lines="1" class="text-group_7">健康教育</text>
        </view>
        <text class="iconfont icon-youjiantou thumbnail_3"></text>
      </view>
    </view>
  </view>
</view>