【招生小程序】 优化# 1、登录页logo替换;2、主账号-团队:支持下拉刷新
parent
0c5361e2fa
commit
34f6cf5829
|
@ -3,7 +3,7 @@
|
||||||
<view class="z-10">
|
<view class="z-10">
|
||||||
<w-navbarComp title="登录" />
|
<w-navbarComp title="登录" />
|
||||||
<view class="flex flex-col items-center justify-between w-full mt-[15%] mb-[40rpx]">
|
<view class="flex flex-col items-center justify-between w-full mt-[15%] mb-[40rpx]">
|
||||||
<u-image :src="logo" mode="widthFix" height="120" width="200" />
|
<u-image :src="logo" mode="widthFix" height="80" width="80" />
|
||||||
<!-- <view class="mt-10 text-[36rpx] font-medium">充电桩维护系统</view> -->
|
<!-- <view class="mt-10 text-[36rpx] font-medium">充电桩维护系统</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ import { navigateTo } from '@/utils/util'
|
||||||
import { AgreementEnum } from '@/enums/agreementEnums'
|
import { AgreementEnum } from '@/enums/agreementEnums'
|
||||||
import { BACK_URL, ROLEINDEX } from '@/enums/cacheEnums'
|
import { BACK_URL, ROLEINDEX } from '@/enums/cacheEnums'
|
||||||
import { ChannelEnum, LoginTypeEnum } from '@/enums/appEnums'
|
import { ChannelEnum, LoginTypeEnum } from '@/enums/appEnums'
|
||||||
import logo from '@/static/images/logo.png'
|
import logo from '@/static/images/logo.jpg'
|
||||||
import { setNextRoute } from '@/hooks/useRoleData'
|
import { setNextRoute } from '@/hooks/useRoleData'
|
||||||
import { getAllDict } from '@/hooks/useDictOptions'
|
import { getAllDict } from '@/hooks/useDictOptions'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="px-[32rpx] min-h-[250rpx] bg-white">
|
<view class="min-h-[250rpx] bg-white mx-[32rpx] rounded-[16rpx]">
|
||||||
<template v-if="loading && !data.length">
|
<template v-if="loading && !data.length">
|
||||||
<view class="min-h-[200rpx] flex justify-center items-center">
|
<view class="min-h-[200rpx] flex justify-center items-center">
|
||||||
<u-loading-icon></u-loading-icon>
|
<u-loading-icon></u-loading-icon>
|
||||||
|
|
|
@ -1,16 +1,26 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="flex flex-col gap-[24rpx] mb-[20rpx]">
|
<view class="flex flex-col gap-[24rpx] mb-[20rpx] h-full">
|
||||||
<dropdownPicker
|
<dropdownPicker
|
||||||
ref="dropdownPickerRef"
|
ref="dropdownPickerRef"
|
||||||
v-model="form"
|
v-model="form"
|
||||||
@refresh-page="refreshPage"
|
@refresh-page="refreshPage"
|
||||||
@confirm="confirm"
|
@confirm="confirm"
|
||||||
/>
|
/>
|
||||||
<filter-value :form="form" :activeTab="activeTab" :organizationList="organizationList" />
|
<view class="flex-1">
|
||||||
<data-overview ref="dataOverviewRef" />
|
<z-paging ref="paging" refresher-only :fixed="false" @onRefresh="onRefresh">
|
||||||
<converted-overview ref="convertedOverviewRef" />
|
<view class="flex flex-col gap-[24rpx] mb-[24rpx]">
|
||||||
<rank ref="rankRef" @refresh="refreshData" />
|
<filter-value
|
||||||
<clue-status ref="clueStatusRef" />
|
:form="form"
|
||||||
|
:activeTab="activeTab"
|
||||||
|
:organizationList="organizationList"
|
||||||
|
/>
|
||||||
|
<data-overview ref="dataOverviewRef" />
|
||||||
|
<converted-overview ref="convertedOverviewRef" />
|
||||||
|
<rank ref="rankRef" @refresh="refreshData" />
|
||||||
|
<clue-status ref="clueStatusRef" />
|
||||||
|
</view>
|
||||||
|
</z-paging>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -41,6 +51,7 @@ defineProps({
|
||||||
default: AdminTabEnum.TEAM
|
default: AdminTabEnum.TEAM
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
const paging = ref()
|
||||||
const dropdownPickerRef = ref<InstanceType<typeof dropdownPicker>>()
|
const dropdownPickerRef = ref<InstanceType<typeof dropdownPicker>>()
|
||||||
const clueStatusRef = ref<InstanceType<typeof clueStatus>>()
|
const clueStatusRef = ref<InstanceType<typeof clueStatus>>()
|
||||||
const rankRef = ref<InstanceType<typeof rank>>()
|
const rankRef = ref<InstanceType<typeof rank>>()
|
||||||
|
@ -75,5 +86,9 @@ const fetchAllData = () => {
|
||||||
rankRef.value?.fetchData(form.value)
|
rankRef.value?.fetchData(form.value)
|
||||||
clueStatusRef.value?.fetchData(form.value)
|
clueStatusRef.value?.fetchData(form.value)
|
||||||
}
|
}
|
||||||
|
const onRefresh = () => {
|
||||||
|
refreshPage()
|
||||||
|
paging.value.complete()
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue