<view class="detail-con">
  <view class='d-item'>
    <view class="i-top">客户信息
      <view class="fr edit-icon" bindtap="toEdit"><text class="iconfont iconcus_edit"></text></view>
    </view>
    <view class="i-con">
        <view class="ic-top">
          <view><text class="subtxt">{{agent_user.user_name}}</text>{{agent_user.user_gender==="M"?'男':'女'}}</view>
          <view>
            <text wx:for="{{3}}" class="star iconfont iconcus_star"></text>
          </view>
        </view>
        <view class="ic-middle">
          <view wx:for="{{clientInfo}}" wx:key>
            <text class="subtxt">{{item.key}}：</text>{{agent_user[item.id]||'暂无'}}
          </view>
          <view class="info-status">当天已维护</view>
        </view>
        <view class="ic-middle demand">
          <text class="icm-top">需求</text>
          <view style="width:{{item.short?'50%':'100%'}}" wx:for="{{demand}}" wx:key>
            <text class="subtxt">{{item.key}}：</text>{{agent_user[item.id]||'暂无'}}
          </view>
        </view>
    </view>
    <view class="i-bottom">
      <view class="ib-item">
        <view>备注</view>
        <view wx:if="{{!agent_user.remarks}}" class="subtxt">暂无<text class="iconfont iconmy_list_arrow"></text></view>
      </view>
      <view class="rm_detail" wx:if="{{agent_user.remarks}}">
        {{agent_user.remarks}}
      </view>
        
    </view>

  </view>
  <view class="hover-btn">
    <view class="btn" bindtap="toChat">发消息</view>
    <view bindtap="makePhoneCall" class="btn tocontract">去联系</view>
  </view>
    
</view>

