From 1c65d9c8a3fa7bbbb5dd563322f962f478dfa857 Mon Sep 17 00:00:00 2001 From: xielei Date: Wed, 16 Oct 2024 18:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=90=AD=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.vue | 6 +- pages/xcrw/detail/dbForm.vue | 338 ++++++++++++++++++++++++++++++++++ pages/xcrw/detail/formZdy.vue | 147 +++++++++++++++ pages/xcrw/detail/index.vue | 38 +--- 4 files changed, 493 insertions(+), 36 deletions(-) create mode 100644 pages/xcrw/detail/dbForm.vue create mode 100644 pages/xcrw/detail/formZdy.vue diff --git a/pages/login/login.vue b/pages/login/login.vue index 0a7dcee..ff36a67 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -56,7 +56,7 @@ export default { if (uni.getStorageSync('loginChecked')===true){ this.formData = { - username: uni.getStorageSync('loginName'), + username: uni.getStorageSync('username'), password: uni.getStorageSync('password'), checked: true, } @@ -100,12 +100,12 @@ export default { //记住密码功能 if (formData.checked === true) { uni.setStorageSync('loginChecked', true) - uni.setStorageSync('loginName', postForm.loginName) + uni.setStorageSync('username', postForm.username) uni.setStorageSync('password',formData.password) uni.setStorageSync('secretKey', postForm.secretKey) } else { uni.setStorageSync('loginChecked', false) - uni.removeStorageSync('loginName') + uni.removeStorageSync('username') uni.removeStorageSync('secretKey') uni.removeStorageSync('password') this.formData.username = '' diff --git a/pages/xcrw/detail/dbForm.vue b/pages/xcrw/detail/dbForm.vue new file mode 100644 index 0000000..68bc3a4 --- /dev/null +++ b/pages/xcrw/detail/dbForm.vue @@ -0,0 +1,338 @@ + + + + + \ No newline at end of file diff --git a/pages/xcrw/detail/formZdy.vue b/pages/xcrw/detail/formZdy.vue new file mode 100644 index 0000000..91575f0 --- /dev/null +++ b/pages/xcrw/detail/formZdy.vue @@ -0,0 +1,147 @@ + + + \ No newline at end of file diff --git a/pages/xcrw/detail/index.vue b/pages/xcrw/detail/index.vue index 6f2f20b..8e6017f 100644 --- a/pages/xcrw/detail/index.vue +++ b/pages/xcrw/detail/index.vue @@ -48,39 +48,7 @@ - - - - - - - {{o.itemDesc}} - - 状态 - - - - - - + @@ -89,7 +57,11 @@