12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <!--parents//pages/borrow_record/borrow_record.wxml-->
- <import src="../../../templates/nodata/nodata.wxml" />
- <import src="../../../templates/loading/loading.wxml" />
- <import src="../../../templates/footer/footer.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <view class='li-header-search' data-url='president/pages/People_search/People_search' data-paras='{{({type: navIndex})}}' data-zindex='3' bindtap='navigateTo'>
- <image class='li-header-search-icon' src='../../../assets/search.png'></image>
- <text class='li-header-search-text'>搜索</text>
- </view>
- <view class='nav'>
- <view class='nav-item' wx:for='{{navList}}' wx:key='index' data-index='{{index}}' bindtap='selectNavCtl'>
- <view class='nav-item-row {{navIndex == index ? "nav-item-row-active" : ""}}'>
- <view class='nav-item-text {{navIndex == index ? "nav-item-text-active" : ""}}'>{{item.text}}</view>
- <!-- <view class='nav-item-button {{navIndex == index ? "nav-item-button-active" : ""}}' wx:if='{{index == 1}}'>{{navList[index]["list"].length}}本</view> -->
- </view>
- </view>
- <!-- 会员管理 -->
- </view>
- <view class="pickChange" wx:if='{{navIndex == 0}}'>
- <view class="pickChange_text">会员总数:{{pages}}人</view>
- <view class="pickChange_time">今日新增会员数:{{todayAdd}}人</view>
- </view>
- <view class='list' wx:if='{{navIndex == 0}}'>
- <view class='li' wx:for='{{list}}' wx:key='index' data-index='{{index}}' bindtap='toggleSelectLiCtl'>
- <view class="li-box">
- <image class='li-img' mode='aspectFill' src='{{item.imgUrl ? baseImgUrl + item.imgUrl + thumbnail : "../../../assets/default_headicon.png"}}'></image>
- </view>
- <view class="li-col">
- <view class="li-text">
- <view class="li-text-black" >{{item.childName || ''}}</view>
- <view class="li-text-gray">{{item.grade}}-{{item.school}}</view>
- </view>
- <view class="li-text-info" data-url='president/pages/Personnel_details/Personnel_details' data-paras='{{({vipId: item.id})}}' bindtap='navigateTo'>详情
- </view>
- <view class="icon">
- <image class="image" src='../../../assets/arrow_gray.png' />
- </view>
- </view>
- </view>
- <template is='nodata' data='{{...nodataArray}}' wx:if='{{list.length == 0}}'></template>
- </view>
- <!-- 馆内人员管理 -->
- <view class="pickChange" wx:if='{{navIndex == 1}}'>
- <view class="pickChange_text">馆内人员:{{managerpages}}人</view>
- <view class="pickChange_time" data-url='president/pages/People_search/People_search?addNum=1' data-paras='{{({type: 1})}}' data-zindex='3' bindtap='navigateTo'>添加人员+</view>
- </view>
- <view class='list' wx:if='{{navIndex == 1}}'>
- <view class='li' wx:for='{{managerList}}' wx:key='index' data-index='{{index}}' bindtap='toggleSelectLiCtl'>
- <view class="li-box">
- <image class='li-img' mode='aspectFill' src='{{item.imgUrl ? baseImgUrl + item.imgUrl + thumbnail : "../../../assets/default_headicon.png"}}'></image>
- </view>
- <view class="li-col">
- <view class="li-text">
- <view class="li-text-black" >{{item.name || ''}}</view>
- <view class="li-text-gray">{{item.jobs}}</view>
- </view>
- <view class="li-text-info" data-url='president/pages/Personnel_edit/Personnel_edit' data-paras='{{({vipId: item.id})}}' bindtap='navigateTo' >编辑
- </view>
- <view class="icon">
- <image class="image" src='../../../assets/arrow_gray.png' />
- </view>
- </view>
- </view>
- <template is='nodata' data='{{...nodataArray}}' wx:if='{{managerList.length == 0}}'></template>
- </view>
- <view class='load' wx:if='{{isDown}}'>已经到底了~</view>
- <view class='load' wx:if='{{isLoad}}'>
- <image src='../../../assets/zai_jia.png' class='load-img'></image>
- <view>正在玩命加载...</view>
- </view>
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|