fix: 客户人员审核
This commit is contained in:
@@ -7,7 +7,13 @@
|
||||
<view class="con-body">
|
||||
<view class="con-bg">
|
||||
<!-- 头部 -->
|
||||
<customHeader ref="customHeaderRef" :title="'客户人员审核'" :leftFlag="true" :rightFlag="false">
|
||||
<customHeader ref="customHeaderRef" :title="'客户人员审核'" :leftFlag="true" :rightFlag="list.length > 0">
|
||||
<template #right>
|
||||
<view class="head-right" @click="handleReSort">
|
||||
<uni-icons type="arrow-down" size="20" color="#B7D2FF"></uni-icons>
|
||||
{{iconType==='arrow-up'?'最新':'最早'}}
|
||||
</view>
|
||||
</template>
|
||||
</customHeader>
|
||||
|
||||
<!-- 高度来避免头部遮挡 -->
|
||||
@@ -101,9 +107,13 @@ let handleSearch = () => {
|
||||
watch(searchValue, (newValue, oldValue) => {
|
||||
handleSearch()
|
||||
})
|
||||
let clearSearchValue = () => {
|
||||
searchValue.value = '';
|
||||
// 排序图标
|
||||
const iconType = ref('arrow-up');
|
||||
let handleReSort = () => {
|
||||
iconType.value = iconType.value === 'arrow-down' ? 'arrow-up' : 'arrow-down';
|
||||
list.value = list.value.reverse();
|
||||
}
|
||||
|
||||
// 查询列表
|
||||
let list = ref([]);
|
||||
|
||||
@@ -230,12 +240,7 @@ let handleDetail = (item) => {
|
||||
}
|
||||
|
||||
.scroll-h {
|
||||
/* #ifdef APP-PLUS */
|
||||
height: calc(100vh - 120px);
|
||||
/* #endif */
|
||||
/* #ifndef APP-PLUS */
|
||||
height: calc(100vh - 110px);
|
||||
/* #endif */
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.white-bg {
|
||||
|
||||
Reference in New Issue
Block a user