From 61fe34bb8a1d6cbe0c623c35779af0e4dd402ed0 Mon Sep 17 00:00:00 2001 From: clay <20932067@zju.edu.cn> Date: Mon, 3 Jan 2022 16:06:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- .../{shouye => index}/components/bottom.vue | 0 .../components/news_center.vue | 0 .../components/party_building_activities.vue | 0 .../components/scientific_research_trends.vue | 0 src/views/index/components/slideshow_card.vue | 4 +- .../components/teaching_student.vue | 0 src/views/{shouye => index}/css/comment.css | 0 src/views/index/index.vue | 1252 +---------------- .../shouye/components/slideshow_card.vue | 282 ---- src/views/shouye/index.vue | 73 - 11 files changed, 50 insertions(+), 1563 deletions(-) rename src/views/{shouye => index}/components/bottom.vue (100%) rename src/views/{shouye => index}/components/news_center.vue (100%) rename src/views/{shouye => index}/components/party_building_activities.vue (100%) rename src/views/{shouye => index}/components/scientific_research_trends.vue (100%) rename src/views/{shouye => index}/components/teaching_student.vue (100%) rename src/views/{shouye => index}/css/comment.css (100%) delete mode 100644 src/views/shouye/components/slideshow_card.vue delete mode 100644 src/views/shouye/index.vue diff --git a/src/router/index.js b/src/router/index.js index cf1eca3..caf9943 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,7 +7,7 @@ const routes = [ { path: '/', name: 'index', - component: () => import(/* webpackChunkName: "about" */ '../views/shouye/index') + component: () => import(/* webpackChunkName: "about" */ '../views/index') }, { path: '/sp', diff --git a/src/views/shouye/components/bottom.vue b/src/views/index/components/bottom.vue similarity index 100% rename from src/views/shouye/components/bottom.vue rename to src/views/index/components/bottom.vue diff --git a/src/views/shouye/components/news_center.vue b/src/views/index/components/news_center.vue similarity index 100% rename from src/views/shouye/components/news_center.vue rename to src/views/index/components/news_center.vue diff --git a/src/views/shouye/components/party_building_activities.vue b/src/views/index/components/party_building_activities.vue similarity index 100% rename from src/views/shouye/components/party_building_activities.vue rename to src/views/index/components/party_building_activities.vue diff --git a/src/views/shouye/components/scientific_research_trends.vue b/src/views/index/components/scientific_research_trends.vue similarity index 100% rename from src/views/shouye/components/scientific_research_trends.vue rename to src/views/index/components/scientific_research_trends.vue diff --git a/src/views/index/components/slideshow_card.vue b/src/views/index/components/slideshow_card.vue index 0e92ca8..ce6f7c6 100644 --- a/src/views/index/components/slideshow_card.vue +++ b/src/views/index/components/slideshow_card.vue @@ -177,7 +177,7 @@ export default { position: relative; ul { - width: 90%; + width: 71.5%; height: 100%; margin: 0 auto; text-align: center; @@ -194,7 +194,6 @@ export default { list-style-type: none; transition: 0.3s; cursor: pointer; - border: 1px solid #DA2D2D; background-color: #fff; .card_img { @@ -238,6 +237,7 @@ export default { left: 30rem; z-index: 100; transform: scale(1); + border: 1px solid #DA2D2D; } .four { diff --git a/src/views/shouye/components/teaching_student.vue b/src/views/index/components/teaching_student.vue similarity index 100% rename from src/views/shouye/components/teaching_student.vue rename to src/views/index/components/teaching_student.vue diff --git a/src/views/shouye/css/comment.css b/src/views/index/css/comment.css similarity index 100% rename from src/views/shouye/css/comment.css rename to src/views/index/css/comment.css diff --git a/src/views/index/index.vue b/src/views/index/index.vue index 279a587..8dbed65 100644 --- a/src/views/index/index.vue +++ b/src/views/index/index.vue @@ -1,5 +1,5 @@ diff --git a/src/views/shouye/components/slideshow_card.vue b/src/views/shouye/components/slideshow_card.vue deleted file mode 100644 index ce6f7c6..0000000 --- a/src/views/shouye/components/slideshow_card.vue +++ /dev/null @@ -1,282 +0,0 @@ - - - diff --git a/src/views/shouye/index.vue b/src/views/shouye/index.vue deleted file mode 100644 index 8dbed65..0000000 --- a/src/views/shouye/index.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - -