From 793989f6eb4e39f4b1f47931fdeefb4a12385424 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 30 七月 2025 16:46:32 +0800 Subject: [PATCH] refactor(eims): 优化设备数据定时任务和报告服务 --- eims-ui-mobile/src/pages/login/index.vue | 33 ++++++++++++++++++++++++++------- 1 files changed, 26 insertions(+), 7 deletions(-) diff --git a/eims-ui-mobile/src/pages/login/index.vue b/eims-ui-mobile/src/pages/login/index.vue index 46626e7..5c56190 100644 --- a/eims-ui-mobile/src/pages/login/index.vue +++ b/eims-ui-mobile/src/pages/login/index.vue @@ -32,14 +32,18 @@ /> </wd-cell-group> <view class="footer"> - <view class="w-full text-end"> - <wd-checkbox v-model="rember" shape="square" @change="handleChange"> - 璁颁綇瀵嗙爜 + <view> + <wd-checkbox v-model="rember" @change="handleChange"> + <text class="rember-text">璁颁綇瀵嗙爜</text> </wd-checkbox> </view> <wd-button class="mt-6" type="primary" size="large" @click="handleSubmit" block> 鎻愪氦 </wd-button> + + <view class="copyright-info"> + <text>涓婃捣鍏板疂浼犳劅绉戞妧鑲′唤鏈夐檺鍏徃</text> + </view> </view> </wd-form> </template> @@ -50,11 +54,10 @@ import { useToast } from 'wot-design-uni' import { login, getUserInfo } from '@/service/login' import type { UserInfo } from '@/service/login.d' -import { TestEnum } from '@/typings' +import { tabbarStore } from '@/components/fg-tabbar/tabbar' const userStore = useUserStore() const accessStore = useAccessStore() const configStore = useSystemConfigStore() -const { success: showSuccess } = useToast() const model = reactive<{ username: string @@ -122,12 +125,28 @@ } userStore.setUserInfo(userInfo) const { query } = currRoute() - uni.switchTab({ url: query.redirect }) + uni.switchTab({ url: '/pages/home/index' }) + tabbarStore?.setCurIdx(0) + tabbarStore?.setLastIdx(0) } </script> <style scoped lang="scss"> .footer { - padding: 12px; + padding: 24rpx; +} +.rember-text { + font-size: 24rpx; + color: $uni-text-color-grey; +} + +.copyright-info { + position: absolute; + bottom: 20rpx; + width: 100%; + display: flex; + justify-content: center; + color: $uni-text-color-disable; + font-size: 24rpx; } </style> -- Gitblit v1.9.3