<view class="search-w">
    <view class="search-w-left">
        <input class="search-input" type="text" 
          bindinput="bindinput"
          placeholder="请输入客户姓名"
          confirm-type="search"/>
    </view>
    <view class="action" bindtap='getMessageList' >
        <text class="iconfont iconhome_search"></text>
        <text>搜索</text>
    </view>
</view>

<view class="coustomer-list">
  <view class="coustomer-item" wx:for="{{clients}}" wx:key="{{index}}" bindtap="confirmInvite" data-index="{{index}}" bindtap="confirmInvite">
    <view class="nickname">{{ item.user_name }}</view>
    <view class="rate">
      <text class="iconfont iconcus_star"></text>
      <text class="iconfont iconcus_star"></text>
    </view>
    <view class="create_time">{{ item.createTime }}</view>
  </view>
</view>
<invite-modal-card 
wx:if="{{cardShowStatus}}" 
house="{{house}}" 
customer="{{selectedCustomer}}"
bind:submit="submit"
bind:cancle="cancle"
/>