From 86181307924d6f1426f1a04aa397888064e5a0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Mon, 15 Jul 2024 15:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=AE=B0=E5=BD=95=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +- pages/login/login.vue | 298 ++++++++++++++++++++++++------------------ utils/loginInfo.js | 13 ++ 3 files changed, 186 insertions(+), 129 deletions(-) create mode 100644 utils/loginInfo.js diff --git a/manifest.json b/manifest.json index 0549eca..30e8b4b 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "干巷仓库APP", "appid" : "__UNI__A67E78B", "description" : "", - "versionName" : "2.2.5", - "versionCode" : 225, + "versionName" : "2.2.6", + "versionCode" : 226, "transformPx" : false, "app-plus" : { "usingComponents" : true, diff --git a/pages/login/login.vue b/pages/login/login.vue index 6054c4a..666cfa0 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -9,20 +9,25 @@ - + - + - + - + @@ -34,131 +39,170 @@ + .bangben { + margin-top: 110px; + margin-left: 35%; + font-size: 0.8rem; + } + + @import url('login.scss'); + \ No newline at end of file diff --git a/utils/loginInfo.js b/utils/loginInfo.js new file mode 100644 index 0000000..2fe7a80 --- /dev/null +++ b/utils/loginInfo.js @@ -0,0 +1,13 @@ +const key = '_LoginInfo' + +export function getLoginInfo() { + return uni.getStorageSync(key) +} + +export function setLoginInfo(data) { + return uni.setStorageSync(key, data) +} + +export function removeLoginInfo() { + return uni.removeStorageSync(key) +} \ No newline at end of file