
<view class="loading-w" wx:if="{{ isLoading }}">
  <view class="loading">
    <view class="loading-item loading-item1"></view>
    <view class="loading-item loading-item2"></view>
    <view class="loading-item loading-item3"></view>
  </view>
  <view>名片正在识别中</view>
</view>

<view wx:else>
<view class="detail-header">
  <card info="{{detail}}" />
</view>

<view class="detail-content">
  <view class="info-item">
    <view class="label">姓名</view>
    <view class="value"><input value="{{ detail.name }}" data-key="name" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">职位</view>
    <view class="value"><input value="{{ detail.companyPosition }}" data-key="companyPosition" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">公司全称</view>
    <view class="value"><input value="{{ detail.companyName }}" data-key="companyName" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">手机号码</view>
    <view class="value"><input value="{{ detail.phoneNum }}" data-key="phoneNum" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">邮箱</view>
    <view class="value"><input value="{{ detail.email }}" data-key="email" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">固定电话</view>
    <view class="value"><input value="{{ detail.telNum }}" data-key="telNum" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">公司地址</view>
    <view class="value"><input value="{{ detail.companyAddress }}" data-key="companyAddress" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">传真</view>
    <view class="value"><input value="{{ detail.fox }}" data-key="fox" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">QQ号码</view>
    <view class="value"><input value="{{ detail.qq }}" data-key="qq" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">MSN号码</view>
    <view class="value"><input value="{{ detail.msn }}" data-key="msn" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">微信号</view>
    <view class="value"><input value="{{ detail.wechat }}" data-key="wechat" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">微博昵称</view>
    <view class="value"><input value="{{ detail.microBlog }}" data-key="microBlog" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">邮政编码</view>
    <view class="value"><input value="{{ detail.postalCode }}" data-key="postalCode" bindinput="bindinput" /></view>
  </view>
  <view class="info-item">
    <view class="label">公司账户</view>
    <view class="value"><input value="{{ detail.companyAccount }}" data-key="companyAccount" bindinput="bindinput" /></view>
  </view>
</view>

<view class="action-btn">
  <view bindtap="createCard">保存</view>
</view>
</view>