From 6c3464a01bc991fa6056ac192256726b45d016b4 Mon Sep 17 00:00:00 2001 From: Theo <971366405@qq.com> Date: Fri, 29 Nov 2024 17:40:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E6=88=91=E7=9A=84=E9=A1=B5=E9=9D=A2=E9=83=A8=E5=88=86=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重构我的页面部分内容 --- src/pages/login/index.vue | 68 ++++++++++++++++++++------- src/pages/mine/about/index.vue | 38 +++++++-------- src/pages/mine/index.vue | 14 +++--- src/pages/mine/privacy/index.vue | 81 +++++++++++++++----------------- 4 files changed, 115 insertions(+), 86 deletions(-) diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index 51f2a71..9719344 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -30,10 +30,16 @@ - 登录即同意 - 《用户协议》 - 和 - 《隐私政策》 + + 登录即同意 + 《用户协议》 + + 《隐私政策》 + + + Copyright © {{ getYear() }} 有来开源组织 + All Rights Reserved + @@ -88,6 +94,9 @@ const goToPrivacy = () => { url: "/pages/mine/privacy/index", }); }; +const getYear = () => { + return new Date().getFullYear(); +}; diff --git a/src/pages/mine/about/index.vue b/src/pages/mine/about/index.vue index c812206..1b53ce0 100644 --- a/src/pages/mine/about/index.vue +++ b/src/pages/mine/about/index.vue @@ -4,7 +4,7 @@ vue-uniapp-template - 版本 1.0.0 + 版本 {{ version }} @@ -19,15 +19,6 @@ 优质项目 - - - vue-uniapp-template - - 基于 uni-app + Vue 3 + TypeScript 的项目,集成了 ESLint、Prettier、Stylelint、Husky 和 - Commitlint 等工具,确保代码规范与质量。 - - - vue3-element-admin @@ -37,7 +28,15 @@ - + + + vue-uniapp-template + + 基于 uni-app + Vue 3 + TypeScript 的项目,集成了 ESLint、Prettier、Stylelint、Husky 和 + Commitlint 等工具,确保代码规范与质量。 + + + youlai-boot @@ -57,15 +56,16 @@ -