From 0f1b4a52b670b38802bb01dde926de236a5e802b Mon Sep 17 00:00:00 2001 From: username <2971861643@qq.com> Date: Mon, 8 Apr 2024 20:40:51 +0800 Subject: [PATCH 1/3] 4.8 20:40 --- src/views/index.vue | 36 +++++++++++++++++++++++------------- src/views/login.vue | 11 ++++++++++- 2 files changed, 33 insertions(+), 14 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index d73231a..c90f97c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -7,9 +7,18 @@
@@ -21,12 +30,12 @@
  • - {{ item.title }}
    {{ item.title2 }}
    + {{ item.title }}
    {{ item.title2 }}
    - +
  • @@ -99,12 +108,13 @@ export default { float: right; margin-right: 100px; - .block, .el-button { + .block, + .el-button { display: inline-block; margin-top: 15px; } - span{ + span { float: right; line-height: 80px; margin-left: 10px; @@ -157,18 +167,18 @@ export default { -o-transition: all 0.5s; transition: all 0.5s; animation-duration: 3s; - animation-name: slidein; + animation-name: slidein; } @keyframes slidein { - from { - width: 740px; - } + from { + width: 740px; + } - to { - width: 180px; + to { + width: 180px; + } } -} li img { object-fit: cover; diff --git a/src/views/login.vue b/src/views/login.vue index 63d86b6..ac99a7f 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -21,6 +21,14 @@ show-password > + + +
    @@ -51,7 +59,8 @@ export default { return { form: { password: '', - username: '' + username: '', + affirm: '' }, checked: false, rules: { From f5705c8235d31d477a04dd3b6daf2ef4130f19b2 Mon Sep 17 00:00:00 2001 From: username <2971861643@qq.com> Date: Mon, 8 Apr 2024 20:41:04 +0800 Subject: [PATCH 2/3] 4.8 20:41 --- src/App.vue | 16 +- src/main.js | 4 +- src/router/index.js | 6 +- src/views/environment/journalism/index.vue | 51 +++-- src/views/index.vue | 10 +- src/views/resource/home/index.vue | 237 +++++++++++++++++++++ src/views/resource/index.vue | 13 -- 7 files changed, 294 insertions(+), 43 deletions(-) create mode 100644 src/views/resource/home/index.vue delete mode 100644 src/views/resource/index.vue diff --git a/src/App.vue b/src/App.vue index 34ebd29..5b266c1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,23 @@ diff --git a/src/main.js b/src/main.js index d72f80f..ee5d3c8 100644 --- a/src/main.js +++ b/src/main.js @@ -19,7 +19,8 @@ import { MenuItem, Breadcrumb, BreadcrumbItem, - Avatar + Avatar, + Pagination } from 'element-ui' Vue.use(Avatar) @@ -36,6 +37,7 @@ Vue.use(Menu) Vue.use(MenuItem) Vue.use(Breadcrumb) Vue.use(BreadcrumbItem) +Vue.use(Pagination) Vue.config.productionTip = false diff --git a/src/router/index.js b/src/router/index.js index 1262964..7e25950 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -16,9 +16,9 @@ const routes = [ component: () => import('../views/index.vue') }, { - path: '/resource', - name: 'resource', - component: () => import('../views/resource') + path: '/resourceHome', + name: 'resourceHome', + component: () => import('../views/resource/home/index') }, { path: '/environmental', diff --git a/src/views/environment/journalism/index.vue b/src/views/environment/journalism/index.vue index 4cd8cdf..1c84400 100644 --- a/src/views/environment/journalism/index.vue +++ b/src/views/environment/journalism/index.vue @@ -1,27 +1,27 @@