<view class="contact-w">
  <view class="avatar-w" bindtap="toAgentDetail" style="background-image: url({{agent_user.avatar || 'https://4dkk2.4dage.com/v3/img/apps/vrhouse/avatar_default.jpg?_=246'}})">
    <image class="identify" src="{{agent_user.tag_image}}"></image>
  </view>
  <view class="user-info">
    <view class="username">{{agent_user.name ? agent_user.name : ''}}</view>
    <view class="user-type">{{agent_user.store ? agent_user.store : ''}}</view>
  </view>
  <button class="msg-btn btn" data-action="senMsg" open-type="getUserInfo" bindtap="bindgetuserinfo" wx:if="{{ !loginStatus }}">在线问</button>
  <!-- <button class="msg-btn btn" data-action="senMsg" open-type="getUserInfo" bindtap="bindgetuserinfo" wx:if="{{ !loginStatus }}">在线问</button> -->
  <button class="msg-btn btn" bindtap="senMsg" wx:else>在线问</button>
  <button class="phone-btn btn" bindtap="makePhone">打电话</button>
</view>
