CustomerManagement.wxml 2.3 KB
<!--pages/CustomerManagement/CustomerManagement.wxml-->
<view class='search_box'>
  <view class='search_item'>
    <view class='iconfont icon-sousuo1'></view>
    <view class='search_input'>
      <input placeholder='搜索姓名或标签' bindinput='setKeyWord'></input>
    </view>
  </view>
  <view bindtap='getInfo'>搜索</view>
</view>
<view class='line_box'></view>
<view class='content_box'>
  <view class='tab_box'>
    <view class="tab_item  {{currentTab==2?'tab_active':''}}" data-current="2" bindtap='tabCharge'>日志降序排序</view>
    <view class="tab_item  {{currentTab==1?'tab_active':''}}" data-current="1" bindtap='tabCharge'>优先级排序</view>
  </view>
  <view class='item_list' wx:for='{{list}}' wx:key=''>
    <view class='list_left_box'>
      <view class='list_label_box' bindtap='familyData' data-familyid='{{item.family_id}}'>
        <view class='iconfont icon-jiating1'></view>
        <view>跟踪日志</view>
        <text class='iconfont icon-yuan label_icon' wx:if='{{item.warn_status==1}}'></text>
      </view>
      <view class='list_label_item'>
        <view class='label_item' wx:for='{{item.users}}' wx:for-item='user' wx:key='' data-id='{{user.id}}' bindtap='infoDetail'>
          <text>{{user.name}}({{user.family_role}})</text>
          <text class='iconfont icon-yuan' wx:if='{{user.user_family==1}}'></text>
          <text class='iconfont icon-yuan user_point' wx:if='{{user.key_status==1}}'></text>
        </view>
        <!-- <view class='label_item'>
          <text>曹文正(爸爸)</text>
          <text class='iconfont icon-yuan '></text>
        </view>
        <view class='label_item'>
          <text>曹文正(爸爸)</text>
          <text class='iconfont icon-yuan user_point'></text>
        </view> -->
      </view>
    </view>
    <view class='list_right_box'>
      <view class='list_btn_box' bindtap="{{vip_state?'addPerson':'showtotast'}}" data-familyid='{{item.family_id}}'>
        <view class='list_btn'>
          <view class='iconfont icon-shezhi'></view>
        </view>
        <view>管理成员</view>
      </view>
    </view>
  </view>
  <view class='null_box'></view>
  <view class='bottom'>
    <view class='bottom_box' style='100%;' bindtap="{{vip_state?'addFamily':'showInfo'}}">创建新家庭</view>
     <view class='bottom_box' bindtap="goIndex">回到首页</view>
  </view>
</view>