EntryInformation.wxml 6.1 KB
<!--pages/EntryInformation/EntryInformation.wxml-->
<form bindsubmit='listVerify'>
  <view class='content_item'>
    <view class='item_list'>
      <view class='list_title'>
        <text class='list_icon'>*</text>
        <text>姓名</text>
      </view>
      <view class='list_input'>
        <input type='text' placeholder='请输入客户姓名' value='{{list.name}}' bindinput='setName'></input>
      </view>
    </view>
    <view class='item_list'>
      <view class='list_title'>
        <text class='list_icon'>*</text>
        <text>性别</text>
      </view>
      <view class='list_input'>
        <picker class='picker' range='{{sexArray}}' value='{{sex_index}}' bindchange='selectSex'>
          <input placeholder='请选择性别' value='{{sexArray[sex_index]}}' disabled='true'></input>
        </picker>
      </view>
    </view>
    <view class='item_list'>
      <view class='list_title'>
        <text class='list_icon'>*</text>
        <text>家庭角色</text>
      </view>
      <view class='list_input'>
        <input type='text' placeholder='请输入家庭角色' value='{{list.family_role}}' bindinput='familyRole'></input>
      </view>
    </view>
    <view class='item_list'>
      <view class='list_title'>个人年收入</view>
      <view class='list_input' style='justify-content:flex-start;'>
        <input type='number' placeholder='请输入' value='{{list.money}}' bindinput='income' style='width:100rpx;'></input>
        <view>万</view>
      </view>
    </view>
    <view class='item_list'>
      <view class='list_title'>
        <!-- <text class='list_icon'>*</text> -->
        <text>手机号</text>
      </view>
      <view class='list_input'>
        <input type='number' placeholder='请输入手机号' value='{{list.mobile}}' bindinput='setMobile'></input>
      </view>
    </view>

    <view class='item_list'>
      <view class='list_title'>
        <text class='list_icon'>*</text>
        <text>出生日期</text>
      </view>
      <view class='list_input'>
        <picker class='picker' mode="date" value='{{list.birthday}}' bindchange='birthDate'>
          <input placeholder='请选择真实出生日期' value='{{list.birthday}}' disabled='true'></input>
        </picker>
      </view>
    </view>
    <view class='item_list'>
      <view class='list_title'>单位名称 </view>
      <view class='list_input'>
        <input type='text' placeholder='请输入单位名称' value='{{list.work}}' bindinput='setWork'></input>
      </view>
    </view>
    <view class='item_list'>
      <view class='list_title'>单位地址 </view>
      <view class='list_input'>
        <input type='text' placeholder='请输入单位地址' value='{{list.work_address}}' bindinput='setworkAddress'></input>
      </view>
    </view>
    <view class='item_list' style='align-items: flex-start;min-height:80rpx;'>
      <view class='list_title'>家庭地址 </view>
      <view class='list_input'>
        <!-- wx:if='{{list.address}}' -->
        <textarea type='text' placeholder='请输入家庭地址' value='{{list.address}}' bindinput='setSddress'></textarea>
      </view>
    </view>

    <view class='item_list'>
      <view class='list_title'>通讯地址 </view>
      <view class='list_input'>
        <view class="address_btn {{addsess_current==1?'unit_address':''}}" data-current='1' bindtap='addressCharge'>家庭地址</view>
        <view class="address_btn {{addsess_current==2?'unit_address':''}}" data-current='2' bindtap='addressCharge'>单位地址</view>
      </view>
    </view>

    <view class='item_list'>
      <view class='list_title'>证件类型</view>
      <view class='list_input'>
        <picker class='picker' range='{{card_Array}}' value='{{card_index}}' bindchange='selectIdCard'>
          <input placeholder='请选择证件类型' value='{{card_Array[card_index]}}' disabled='true'></input>
        </picker>
      </view>
    </view>
    <view class='item_list'>
      <view class='list_title'>证件号 </view>
      <view class='list_input'>
        <input type='text' placeholder='请输入证件号' value='{{list.status_num}}' bindinput='setIdNum'></input>
      </view>
    </view>
  </view>
  <view class='box'>
    <!-- 上传图片  -->
    <view class='upload_box'>
      <view class='popup_img' wx:if='{{hasimg}}' bindtap='chooseImg'>
        <image src='{{list.picurl}}' mode='widthFix'></image>
      </view>
      <view bindtap='chooseImg' wx:else>
        <view class='iconfont icon-add'></view>
        <view style='margin-bottom:25rpx;'>上传客户照片</view>
      </view>
    </view>
  </view>
  <view class='content_item'>
    <view class='item_list'>
      <view class='list_title'>客户描述</view>
    </view>
    <view class='list_textarea'>
      <textarea placeholder='请在此添加对客户的描述' value='{{list.text}}' placeholder-class='font_color' bindinput='descript'></textarea>
    </view>
  </view>
  <view class='content_item'>
    <view class='item_list'>
      <view class='list_title' style='width: 100%;text-align: center;'>客户画像</view>
    </view>
    <view class='item_list item_label_box' wx:for='{{label_list}}' wx:key='' wx:for-index='mindex'>
      <view class='list_label_title'>{{item.label}} </view>
      <view class='list_label'>
        <view class="address_btn {{sub_its.status?'unit_address':''}}" data-id='{{sub_its.id}}' data-status='{{sub_its.status}}' wx:for='{{item.data}}' wx:for-item='sub_its' wx:key='' wx:for-index='sindex' data-sindex='{{sindex}}' data-mindex='{{mindex}}' bindtap='selectLabel'>{{sub_its.name}}</view>
      </view>
    </view>
  </view>
  <!-- 底部按钮 -->
  <view class='null_box'></view>
  <!-- <cover-view class='bottom_box'>
    <button class='bottom_btn' style='width: 100%;height: 80rpx;font-size: 32rpx;color: #fff;background: rgba(2, 134, 255, 1);border-radius: 44rpx;display: flex;align-items: center;justify-content: center;' data-type='complete' formType='submit'>完成</button>
  </cover-view> -->

  <cover-view class='bottom_box'>
    <button data-type='complete' formType='submit' style='font-size:12pt;border:0px;width:100%;background:#0286FF;color:#fff'>完成</button>
  </cover-view>

</form>