Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f82b5e89
authored
Mar 23, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
fbf8c6c5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
packageMine/pages/staffManage/staffList/staffList.js
packageMine/pages/staffManage/staffList/staffList.wxml
packageMine/pages/staffManage/staffList/staffList.js
View file @
f82b5e8
...
@@ -17,6 +17,7 @@ Page({
...
@@ -17,6 +17,7 @@ Page({
currentPage
:
1
,
currentPage
:
1
,
allServiceIds
:
[],
allServiceIds
:
[],
nothing
:
false
,
nothing
:
false
,
scrollTop
:
0
},
},
/**
/**
...
...
packageMine/pages/staffManage/staffList/staffList.wxml
View file @
f82b5e8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<glsx-image src="index/apply.png" class="icon" />
<glsx-image src="index/apply.png" class="icon" />
<text>创建新员工</text>
<text>创建新员工</text>
</view>
</view>
<view class="content-box"
wx:if="{{staffList.length}}"
>
<view class="content-box">
<view class="title-box">
<view class="title-box">
<view class="title">员工数量:<text class="number">{{total}}</text></view>
<view class="title">员工数量:<text class="number">{{total}}</text></view>
<view class="select-btn">
<view class="select-btn">
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<block wx:if="{{staffList.length}}">
<scroll-view scroll-y
<scroll-view scroll-y
enable-back-to-top
enable-back-to-top
refresher-enabled="{{true}}"
refresher-enabled="{{true}}"
...
@@ -23,12 +24,13 @@
...
@@ -23,12 +24,13 @@
class="list"
class="list"
style="height:calc(100vh - 148rpx - 110rpx);"
style="height:calc(100vh - 148rpx - 110rpx);"
refresher-threshold="104"
refresher-threshold="104"
scroll-top="{{scrollTop}}"
refresher-triggered="{{triggered}}">
refresher-triggered="{{triggered}}">
<view class="item-box" wx:for="{{staffList}}" wx:key="index" bindtap="jump" data-info="{{item}}">
<view class="item-box" wx:for="{{staffList}}" wx:key="index" bindtap="jump" data-info="{{item}}">
<view class="top">
<view class="top">
<view class="message">
<view class="message">
<glsx-image wx:if="{{!item.a
vatarUrl}}" src="personal/staff_defalut_avatar.png" class="avatar"/>
<glsx-image wx:if="{{!item.weChatA
vatarUrl}}" src="personal/staff_defalut_avatar.png" class="avatar"/>
<image wx:else src="{{item.a
vatarUrl}}" class="avatar"></image>
<image wx:else src="{{item.weChatA
vatarUrl}}" class="avatar"></image>
<view class="message-text">
<view class="message-text">
<view class="name">{{item.staffName}}</view>
<view class="name">{{item.staffName}}</view>
<view class="mobile">{{format.formatMobile(item.staffPhone)}}</view>
<view class="mobile">{{format.formatMobile(item.staffPhone)}}</view>
...
@@ -45,10 +47,10 @@
...
@@ -45,10 +47,10 @@
</view>
</view>
<view class="bottomTips" wx:if="{{nothing}}">到底啦!</view>
<view class="bottomTips" wx:if="{{nothing}}">到底啦!</view>
</scroll-view>
</scroll-view>
</block>
</view>
<block wx:else>
<view wx:else>
<nothing-tips tips="暂无员工~" bgColor="{{'#F2F3F7'}}" bg="{{bgUrl}}" />
<nothing-tips tips="暂无员工~" bgColor="{{'#F2F3F7'}}" bg="{{bgUrl}}" />
</block>
</view>
</view>
</view>
</view>
<select-service-popup wx:if="{{popupShow}}" bind:hidePopup="filterTypeFn" bind:getStaffList="getStaffList" selectInfo="{{selectInfo}}" popShow="{{popupShow}}" serviceRange="{{serviceList}}" />
<select-service-popup wx:if="{{popupShow}}" bind:hidePopup="filterTypeFn" bind:getStaffList="getStaffList" selectInfo="{{selectInfo}}" popShow="{{popupShow}}" serviceRange="{{serviceList}}" />
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment