s_grade.wxml
2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<nav backgroundColor="#199095" color="#ffffff">员工管理</nav>
<block wx:if="{{identity && identity==1}}">
<view class="bg_green flex-cc fixed-rank" style="height:240rpx;top:{{headerHeight}}px;">
<navigator class="flex-vc" url='../store/s_addmany' hover-class="none" style="width:50%;">
<image style="width:58rpx;height:58rpx;margin-bottom:32rpx;position:relative;top:8rpx;" src="../image/add-many.svg"></image>
<view class="white-font font32r flex-cc" style="height:36rpx;">批量添加</view>
</navigator>
</view>
</block>
<scroll-view class="staff-list" style="height:{{identity && identity==1 ? contentHeight : contentHeight+fixedheight}}px;margin-top:{{identity && identity==1 ? 240 : 0}}rpx;" scroll-y scroll-into-view="{{toView}}">
<block wx:for="{{list}}">
<block wx:if="{{index!='管理员'}}">
<view class="cut"></view>
</block>
<view class="font32r black-font smooth flex-lr" style="border-bottom:1px solid #efeef3;height:110rpx;padding:20rpx 45rpx;box-sizing:border-box;">
<view>{{index}}
<block wx:if="{{index!='管理员'}}">
({{item.length}}人)
</block>
</view>
</view>
<block wx:for="{{item}}" wx:for-item="thisitem" wx:for-index="idx">
<view id="intoview{{thisitem.id}}"></view>
<view class="admin-info flex-lr border-bottom" bindtap="editService" data-id="{{thisitem.id}}" data-role="{{index}}" style="position:relative;">
<view class="flex-ll">
<image src="{{thisitem.headimgurl}}" background-size="cover" class="admin-info-image"></image>
<view class="font30r smooth black-font">{{thisitem.user_name ? thisitem.user_name : thisitem.nick_name }}</view>
</view>
<view class="flex-rr">
<!-- <view class="gray-deep-font font28r smooth" style="margin-right:24rpx;">工号:{{thisitem.account}}</view> -->
<image src="../image/click.png" background-size="cover" class="icon12-22"></image>
</view>
<block wx:if="{{newdata && newdata==thisitem.id}}">
<view class="white-font flex-cc smooth" style="width:32rpx;height:32rpx;background:rgba(216,30,6,.9);position:absolute;left:100rpx;border-radius:50%;top:18rpx;font-size:10px;">N</view>
</block>
</view>
</block>
</block>
<view class="cut" style="height:80rpx;background:#fff;"></view>
</scroll-view>
<netWork bind:netchange="netchange" id="network"></netWork>