summaryList2.wxml 7.1 KB
<!-- 保单报告 -->
<view class='top_box'>
  <view class='banner_title'>您的家庭保单体检报告</view>
  <view class='banner_content'>致:{{touser}}</view>
</view>
<!-- 保险顾问 -->
<view class='personal_box'>
  <view class='banner_box'>
    <view class='content_title'>
      <text class='line'></text>
      <text class='title'>您的保险顾问</text>
    </view>
  </view>
  <view class='personal_content'>
    <view class='head_box'>
      <view class='head_portrait'>
        <image src='{{userinfo.avatar}}'></image>
      </view>
      <view>
        <view class='name'>{{userinfo.name}}
          <!-- <text class='position'>222</text> -->
        </view>
        <view>电话 {{userinfo.mobile}}</view>
      </view>
    </view>
    <view class='list_icon_box'>
      <view class='iconfont icon-dianhua2' bindtap='makePhoneCall'></view>
    </view>
  </view>
</view>
<!-- 家庭成员 -->
<view class='box'>
  <view class='banner_box'>
    <view class='content_title'>
      <text class='line'></text>
      <text class='title'>家庭成员</text>
    </view>
  </view>
  <view class='member'>
    <view class="member_list member_active" wx:for='{{familymember}}' wx:key='' data-index='{{index}}'>{{item.name}}</view>
  </view>
</view>

<view>
  <!-- 保单选项 -->
  <view class='tab_box'>
    <view class="tab_item {{tab_state==0?'tab_active':''}}" data-index='0' bindtap='tabCharge'>报告与建议</view>
    <view class="tab_item {{tab_state==1?'tab_active':''}}" data-index='1' bindtap='tabCharge'>保额汇总</view>
    <view class="tab_item {{tab_state==2?'tab_active':''}}" data-index='2' bindtap='tabCharge'>保单明细</view>
  </view>

  <!-- 报告与建议 -->
  <view class='report_box' wx:if='{{tab_state==0}}'>
    <view class='medical_report_box'>
      <view class='banner_box'>
        <view class='content_title'>
          <text class='title'>体检报告</text>
        </view>
      </view>
      <view class='report_content'>
        <textarea value='{{report}}' focus='' disabled='true' maxlength='-1'></textarea>
      </view>
    </view>
    <view class='medical_report_box'>
      <view class='banner_box'>
        <view class='content_title'>
          <text class='title'>建议</text>
        </view>
      </view>
      <view class='report_content'>
        <textarea value='{{advise}}' focus='' disabled='true' maxlength='-1'></textarea>
      </view>
    </view>
    <!-- 缺口保障推荐方案 -->
    <view class='plan_box'>
      <view class='plan_title'>缺口保障推荐方案</view>
      <view class='plan_content' wx:for='{{recommend}}' wx:key=''>
        <!-- <view class='iconfont icon-guanbi'></view> -->
        <view class='plan_list'>
          <view class='plan_name'>产品名称</view>
          <view class='plan_input'>
            <input type='text' placeholder='重大疾病保' value='{{item.name}}' disabled='true'></input>
          </view>
        </view>
        <view class='plan_list'>
          <view class='plan_name'>保险公司</view>
          <view class='plan_input'>
            <input type='text' placeholder='重大疾病保' value='{{item.firm}}' disabled='true'></input>
          </view>
        </view>
        <view class='plan_list'>
          <view class='plan_name'>保障内容</view>
          <view class='plan_input'>
            <textarea placeholder='请输入保障内容' value='{{item.text}}' class='area_box' disabled='true'>
            </textarea>
          </view>
        </view>
      </view>
    </view>
  </view>

  <!-- 保额汇总 -->
  <block wx:elif='{{tab_state==1}}'>
    <view class='summary_item' wx:for='{{collect}}' wx:key='' wx:for-index='mindex'>
      <view class='summary_info'>{{item.name}}</view>
      <view class='summary_box'>
        <view class='summary_title_box'>
          <view class='summary_title'>保障类别</view>
          <view class='summary_title'>实际保额</view>
          <view class='summary_title'>建议保额</view>
          <view class='summary_title'>保障缺口</view>
        </view>
        <view class='summary_content_box'>
          <view class='summary_list' wx:for='{{item.list}}' wx:key wx:for-item='its' wx:for-index='sindex'>
            <view class='summary_content'>{{its.name}}</view>
            <view class='summary_content'>
              <text>{{its.text}}</text>
              <text wx:if="{{its.name == '每日住院津贴'}}">元/天</text>
              <text wx:else>万</text>
            </view>
            <view class='summary_content forehead'>
              <input type='number' placeholder='' value="{{its.plan}}" focus='' disabled='true'></input>
            </view>
            <view class='summary_content gap'>{{its.gap!=''?its.gap:'-'}}</view>
          </view>
        </view>
      </view>
    </view>
  </block>
  <!-- 保单明细 -->
  <block class='' wx:elif='{{tab_state==2}}'>
    <view class='banner_info'>向左滑动查看更多内容</view>
    <view class=''>
      <view class='content_item_box'>
        <view class='list_title_box'>
          <view class='item_list'>
            <view class='list_title'>被保险人</view>
          </view>
          <view class='item_list'>
            <view class='list_title'>保单号</view>
          </view>
          <view class='item_list'>
            <view class='list_title'>产品名称</view>
          </view>
          <view class='item_list'>
            <view class='list_title'>保险公司</view>
          </view>
          <view class='item_list'>
            <view class='list_title'>生效日期</view>
          </view>
          <view class='item_list' wx:for='{{guarantee}}' wx:key='' wx:for-item='sit'>
            <view class='list_title'>{{sit.name}}</view>
          </view>
        </view>
        <scroll-view scroll-x>
          <view class='scroll_content_box'>
            <view class='list_content_box' wx:for='{{information}}' wx:key=''>
              <view class='item_list'>
                <view class='list_title'>{{item.recognizee}}</view>
              </view>
              <view class='item_list'>
                <view class='list_title' style='text-decoration:underline;color:#348af0;' bindtap='summaryDetail' data-InId='{{item.id}}'>{{item.in_num}}</view>
              </view>
              <view class='item_list'>
                <view class='list_title'>{{item.main_risks}}</view>
              </view>
              <view class='item_list'>
                <view class='list_title' wx:if='{{item.firm}}'>{{item.firm}}</view>
                <view class='list_title' style='color:#fff' wx:else>无</view>
              </view>
              <view class='item_list'>
                <view class='list_title' wx:if='{{item.compact_time}}'>{{item.compact_time}}</view>
                <view class='list_title' style='color:#fff' wx:else>无</view>
              </view>
              <view class='item_list' wx:for='{{item.more}}' wx:key='' wx:for-item='its'>
                <view class='list_title'>{{its.num}} </view>
              </view>
            </view>
          </view>
        </scroll-view>
      </view>
    </view>
  </block>
</view>
<view class='go_index' bindtap="goIndex" wx:if="{{reportid!=''}}">回到首页</view>