diff --git a/package.json b/package.json index 6453764..dad1af8 100644 --- a/package.json +++ b/package.json @@ -128,8 +128,7 @@ }, "keywords": [ "vue", - "naive-ui", - "naive-ui-admin", + "element-plus", "vue3", "ts", "tsx", diff --git a/src/components/Cropper/src/CropperImage.vue b/src/components/Cropper/src/CropperImage.vue index c058b5c..e863406 100644 --- a/src/components/Cropper/src/CropperImage.vue +++ b/src/components/Cropper/src/CropperImage.vue @@ -66,7 +66,7 @@ const cropper = ref>(); const isReady = ref(false); - const prefixCls = 'naive-ui-admin'; + const prefixCls = 'cropper'; const debounceRealTimeCroppered = useDebounceFn(realTimeCroppered, 80); const getImageStyle = computed((): CSSProperties => { diff --git a/src/layout/components/Footer/index.vue b/src/layout/components/Footer/index.vue index b985ef9..2aad997 100644 --- a/src/layout/components/Footer/index.vue +++ b/src/layout/components/Footer/index.vue @@ -5,7 +5,7 @@ 社区 交流 - + diff --git a/src/router/index.ts b/src/router/index.ts index 42c8941..c778b3d 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -37,9 +37,7 @@ export const RootRoute: RouteRecordRaw = { export const LoginRoute: RouteRecordRaw = { path: '/login', name: 'Login', - // component: () => import('@/views/login/index.vue'), //v1.x 模板 - // component: () => import('@/views/login/newLogin.vue'), // 2.x新模板 - component: () => import('@/views/login/newLogin2.vue'), // 2.x全新模板 + component: () => import('@/views/login/index.vue'), meta: { title: '登录', }, diff --git a/src/views/login/LoginForm.vue b/src/views/login/LoginForm.vue index 691c0b0..f8aafa5 100644 --- a/src/views/login/LoginForm.vue +++ b/src/views/login/LoginForm.vue @@ -8,39 +8,53 @@ :rules="rules" > - + + -
-
-
- 自动登录 -
- + +
+ + + + +
+
+ +
+
+ 记住密码
+ -
- -
+
+
+ 其他登录方式 + + + + + + +
+
注册账号
+
+ + + diff --git a/src/views/login/LoginForm2 copy.vue b/src/views/login/LoginForm2 copy.vue deleted file mode 100644 index 08f6efa..0000000 --- a/src/views/login/LoginForm2 copy.vue +++ /dev/null @@ -1,201 +0,0 @@ - - - - - diff --git a/src/views/login/LoginForm2.vue b/src/views/login/LoginForm2.vue deleted file mode 100644 index f8aafa5..0000000 --- a/src/views/login/LoginForm2.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - diff --git a/src/views/login/RegisterForm.vue b/src/views/login/RegisterForm.vue index 4ba6bc9..e25c97e 100644 --- a/src/views/login/RegisterForm.vue +++ b/src/views/login/RegisterForm.vue @@ -1,12 +1,6 @@