Commit f82b5e89 by zhangxw

样式修改

1 parent fbf8c6c5
......@@ -17,6 +17,7 @@ Page({
currentPage: 1,
allServiceIds: [],
nothing: false,
scrollTop: 0
},
/**
......
......@@ -5,7 +5,7 @@
<glsx-image src="index/apply.png" class="icon" />
<text>创建新员工</text>
</view>
<view class="content-box" wx:if="{{staffList.length}}">
<view class="content-box">
<view class="title-box">
<view class="title">员工数量:<text class="number">{{total}}</text></view>
<view class="select-btn">
......@@ -15,7 +15,8 @@
</view>
</view>
</view>
<scroll-view scroll-y
<block wx:if="{{staffList.length}}">
<scroll-view scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="search"
......@@ -23,32 +24,33 @@
class="list"
style="height:calc(100vh - 148rpx - 110rpx);"
refresher-threshold="104"
scroll-top="{{scrollTop}}"
refresher-triggered="{{triggered}}">
<view class="item-box" wx:for="{{staffList}}" wx:key="index" bindtap="jump" data-info="{{item}}">
<view class="top">
<view class="message">
<glsx-image wx:if="{{!item.avatarUrl}}" src="personal/staff_defalut_avatar.png" class="avatar"/>
<image wx:else src="{{item.avatarUrl}}" class="avatar"></image>
<view class="message-text">
<view class="name">{{item.staffName}}</view>
<view class="mobile">{{format.formatMobile(item.staffPhone)}}</view>
<view class="item-box" wx:for="{{staffList}}" wx:key="index" bindtap="jump" data-info="{{item}}">
<view class="top">
<view class="message">
<glsx-image wx:if="{{!item.weChatAvatarUrl}}" src="personal/staff_defalut_avatar.png" class="avatar"/>
<image wx:else src="{{item.weChatAvatarUrl}}" class="avatar"></image>
<view class="message-text">
<view class="name">{{item.staffName}}</view>
<view class="mobile">{{format.formatMobile(item.staffPhone)}}</view>
</view>
</view>
<glsx-image src="personal/arrow_right.png" class="arrow_right" />
</view>
<glsx-image src="personal/arrow_right.png" class="arrow_right" />
</view>
<view class="bottom">
<view class="service_name">
所属:{{item.merchantName}}
<view class="bottom">
<view class="service_name">
所属:{{item.merchantName}}
</view>
<view class="time">{{item.createdDate}}</view>
</view>
<view class="time">{{item.createdDate}}</view>
</view>
</view>
<view class="bottomTips" wx:if="{{nothing}}">到底啦!</view>
</scroll-view>
<view class="bottomTips" wx:if="{{nothing}}">到底啦!</view>
</scroll-view>
</block>
<block wx:else>
<nothing-tips tips="暂无员工~" bgColor="{{'#F2F3F7'}}" bg="{{bgUrl}}" />
</block>
</view>
<view wx:else>
<nothing-tips tips="暂无员工~" bgColor="{{'#F2F3F7'}}" bg="{{bgUrl}}" />
</view>
</view>
<select-service-popup wx:if="{{popupShow}}" bind:hidePopup="filterTypeFn" bind:getStaffList="getStaffList" selectInfo="{{selectInfo}}" popShow="{{popupShow}}" serviceRange="{{serviceList}}" />
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!