<view class="container">
      <view class="searchbox2">
                 <view class="inpubox">
                     <input id="keyword" placeholder="输入账号" bindinput='getkeyword' value="{{keyword}}" />
                 </view>
                 <view class="icobox" bindtap="onsearch"><image src="../../images/searchto2.png" /></view>
                 <view class="icobox0" bindtap="zhiding">置顶</view>
                 <view class="icobox0 syc" bindtap="topsyc">上一代</view>
             </view>
             <view class="temlist_box">
             <view class="temlist">
                 
                   <view class="fontbox1">
                         <view class="ico"><view></view></view>
                         <view><text>账号：</text>{{topuser.UserName}}</view>
                         <view><text>昵称：</text>{{topuser.NCName}}</view>
                         <view>
                              <view><text>代数：</text>第{{topuser.ds}}代</view>
                              <view class="right"><text>直推数量：</text>{{topuser.ztsl}}</view>
                        </view>
                         <view><view><text>状态：</text>{{topuser.zt}}</view>
                               <view class="right"><text>总业绩：</text>{{topuser.zyj}}</view>
                         </view> 
                         <view><text>注册日期：</text>{{topuser.zcsj}}</view>
                   </view> 
                   <view class="fontbox2" wx:for="{{musers}}">
                           <view class="icobox">
                                  <view wx:if="{{item.ztsl>0}}" class="inactive" bindtap="onsettop" data-id="{{item.id}}"></view>
                                  <view wx:if="{{item.ztsl==0}}" class="inactives"></view>
                          </view>
                           <view class="fontbox">
                                <view><text>账号：</text>{{item.UserName}}</view>
                                <view><text>昵称：</text>{{item.NCName}}</view>
                                <view>
                                     <view><text>代数：</text>第{{item.ds}}代</view>
                                     <view class="right"><text>直推数量：</text>{{item.ztsl}}</view>
                                </view>
                                <view>
                                     <view><text>状态：</text>{{item.zt}}</view>
                                     <view class="right"><text>总业绩：</text>{{item.zyj}}</view></view>
                                <view><text>注册日期：</text>{{item.zcsj}}</view>
                           </view>
                  </view> 
              </view>
            </view>
</view>

<loading hidden="{{loadingHidden}}">
        加载中...
    </loading> 