summaryList.wxml 8.6 KB
<!-- 保障方案 -->
<view class='popup_box' wx:if='{{popup_state}}'>
  <view class='iconfont icon-guanbi2' bindtap='cancelCase'></view>
  <!-- wx:for='{{caselist}}' wx:key='' -->
  <view class='popup_item'>
    <view class='left_box'>
      <view class='item_left' bindtap='popupState'>     
        <view class="iconfont icon-fangkuang  {{choose_state?'icon-xuanzhongkuang':''}}"></view>
      </view>
    </view>
    <view class='item_right'>
      <view class='rifght_cell'>
        <view class='popup_name'>产品名称</view>
        <view class='popup_content'>{{item.name}}</view>
      </view>
      <view class='rifght_cell'>
        <view class='popup_name'>保险公司</view>
        <view class='popup_content'>{{item.firm}}</view>
      </view>
      <view class='rifght_cell'>
        <view class='popup_name'>保障内容</view>
        <view class='popup_content'>{{item.text}}</view>
      </view>
    </view>
  </view>
  <view class='null_box'></view>
  <view class='popup_btn' bindtap='confirmCase'>确认</view>
</view>


<block wx:else>
  <!-- 保单报告 -->
  <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='/images/img1.png'></image>
        </view>
        <view>
          <view class='name'>苏菀菁
            <!-- <text class='position'>222</text> -->
          </view>
          <view>电话 1893659824</view>
        </view>
      </view>
      <view class='list_icon_box'>
        <view class='iconfont icon-dianhua2'></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 {{item.member_state?'member_active':' '}}"  wx:for='{{member_list}}' wx:key='' data-index='{{index}}' bindtap='memberCharge'>{{item.name}}</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 '>保单明细(10)</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[dindex].text}} ' maxlength='-1 ' bindinput='report ' data-dindex='{{dindex}} ' focus=' '></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='{{report[dindex].text}} ' maxlength='-1 ' bindinput='report ' data-dindex='{{dindex}} ' focus=' ' ></textarea>
      </view>
    </view>

    <!-- 缺口保障推荐方案 -->
    <view class='plan_box '>
      <view class='plan_title '>缺口保障推荐方案(选填)</view>
      <view class='plan_content '>
        <!-- <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}} ' bindinput='planName ' data-dindex='{{dindex}} ' data-index='{{input_index}} ' focus=' ' disabled='{{selected}} '></input>
          </view>
        </view>
        <view class='plan_list '>
          <view class='plan_name '>保险公司</view>
          <view class='plan_input '>
            <input type='text ' placeholder='重大疾病保 ' value='{{item.firm}} ' bindinput='planFirm ' data-dindex='{{dindex}} ' data-index='{{input_index}} ' focus=' ' disabled='{{selected}} '></input>
          </view>
        </view>
        <view class='plan_list '>
          <view class='plan_name '>保障内容</view>
          <view class='plan_input '>
            <textarea placeholder='请输入保障内容 ' value='{{item.text}} ' class='area_box ' bindinput='planText ' data-dindex='{{dindex}} ' data-index='{{input_index}} ' focus=' ' disabled='{{selected}} '>
            </textarea>
          </view>
        </view>
      </view>
    </view>
    <view class='plan_content '>
      <view class='plan_list '>
        <view class='add_plan '>
          <view>增加推荐方案</view>
          <view class="iconfont {{clickstate==1?'jia ':'icon-wuuiconxiangjifangda '}}" bindtap='recommendCaseList '></view>
        </view>
      </view>
    </view>
  </view>

  <!-- 保额汇总 -->
  <view class='summary_item ' wx:elif='{{tab_state==1}} '>
    <view class='summary_info '>名字</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 '>
          <view class='summary_content '>{{its.name}}</view>
          <view class='summary_content '>{{its.text}}</view>
          <view class='summary_content forehead '>
            <input type='number ' placeholder='请输入 ' value="{{its.plan}}" bindinput='suggestForehead ' data-num='{{its.text}} ' data-index='{{index}} ' data-dindex='{{dindex}} ' focus=' ' disabled='{{selected}} '></input>
          </view>
          <view class='summary_content '>{{its.gap}}</view>
        </view>
      </view>
    </view>
  </view>

  <!-- 保单明细 -->
  <view class=' ' wx:elif='{{tab_state==2}} '>
    <view class='banner_info '>向左滑动查看更多内容</view>
    <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='{{item.infor[0][0].more.in}} ' wx:key=' ' wx:for-item='its '>
          <view class='list_title '>{{its.name}}</view>
        </view>
      </view>
      <scroll-view scroll-x>
        <view class='scroll_content_box '>
          <!-- wx:for='{{item.infor[0]}} ' wx:key=' ' wx:for-item='items ' -->
          <view class='list_content_box '>
            <view class='item_list '>
              <view class='list_title '>{{items.recognizee}}111</view>
            </view>
            <view class='item_list '>
              <view class='list_title ' bindtap='summaryDetail ' data-InId='{{items.id}} '>{{items.in_num}}33</view>
            </view>
            <view class='item_list '>
              <view class='list_title '>{{items.main_risks}}22</view>
            </view>
            <view class='item_list '>
              <view class='list_title '>{{items.firm}}33</view>
            </view>
            <view class='item_list '>
              <view class='list_title '>{{items.compact_time}}44</view>
            </view>
            <view class='item_list ' wx:for='{{items.more.in}} ' wx:key=' ' wx:for-item='its '>
              <view class='list_title '>{{its.num}}{{its.title}}</view>
            </view>
          </view>
        </view>
      </scroll-view>
    </view>
  </view>

  <!-- 底部按钮 -->
  <view class='null_box '></view>
  <view class='bottom_box '>
    <button class='plan_btn ' open-type="share" data-status='{{status}} '>保存</button>
    <button class='plan_btn plan_active ' data-status='{{status}} ' bindtap='sendclient '>发送给客户</button>
  </view>
</block>