<!--pages/emergency/index.wxml-->
<view class="emergency">

<view>症状自检</view>
<view class="checkbox-group">
<t-checkbox-group icon="rectangle" default-checked value="{{current}}" bind:change="handleGroupChange" options="{{options}}" />
</view>
<t-button bindtap="clockIn" theme="primary" block bindtap="openFlow">提交</t-button>
</view>

<t-popup
  visible="{{visible}}"
  usingCustomNavbar
  bind:visible-change="onVisibleChange"
  placement="center"
>
  <view class="block block--center">
    <view class="waring-icon">
      <t-icon name="error-triangle-filled" size="48rpx" />
    </view>
    <view class="block-tip">高危预警</view>
    <view class="block-desp">您的症状组合提示可能存在胆管炎风险</view>
    <t-button class="block-btn" theme="danger" block>立即联系医生</t-button>
    <t-button block bind:tap="closeFlow">暂不处理</t-button>
  </view>
</t-popup>