diff --git a/package.json b/package.json
index 2cb98d5..7e912e5 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
+ "animate.css": "^4.1.1",
"axios": "^1.3.4",
"pinia": "^2.0.32",
"swiper": "^9.0.0",
diff --git a/src/assets/img/1.jpg b/src/assets/img/1.jpg
new file mode 100644
index 0000000..5a9e480
Binary files /dev/null and b/src/assets/img/1.jpg differ
diff --git a/src/assets/img/gongyebanner1.png b/src/assets/img/gongyebanner1.png
new file mode 100644
index 0000000..e16a364
Binary files /dev/null and b/src/assets/img/gongyebanner1.png differ
diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png
new file mode 100644
index 0000000..19a001b
Binary files /dev/null and b/src/assets/img/logo.png differ
diff --git a/src/assets/img/logo1.png b/src/assets/img/logo1.png
new file mode 100644
index 0000000..7d39ac8
Binary files /dev/null and b/src/assets/img/logo1.png differ
diff --git a/src/assets/scss/globalVar.scss b/src/assets/scss/globalVar.scss
index 0c994c5..f61b15f 100644
--- a/src/assets/scss/globalVar.scss
+++ b/src/assets/scss/globalVar.scss
@@ -1,3 +1,4 @@
-$theme_color: rgb(255, 194, 0);
+$theme_color: #2e39e6;
+$default_color: #ffffff;
-$header_height: 60px;
+$header_height: 90px;
diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue
index b297a50..81bcc94 100644
--- a/src/components/TopNav/index.vue
+++ b/src/components/TopNav/index.vue
@@ -1,18 +1,21 @@
-
+
diff --git a/src/main.js b/src/main.js
index 98a2ff9..9df993d 100644
--- a/src/main.js
+++ b/src/main.js
@@ -3,6 +3,7 @@ import router from './router'
import store from './store'
import App from './App.vue'
import '@/assets/reset.css'
+import 'animate.css'
import './style.scss'
createApp(App).use(router).use(store).mount('#app')
diff --git a/src/style.scss b/src/style.scss
index e5174d7..792bfce 100644
--- a/src/style.scss
+++ b/src/style.scss
@@ -8,6 +8,31 @@ body {
box-sizing: border-box;
}
+/*去除a标签下划线*/
+a {
+ text-decoration: none;
+}
+/*去除未被访问的a标签的下划线*/
+a:link {
+ text-decoration: none;
+}
+/*去除已经被访问过的a标签的下划线*/
+a:visited {
+ text-decoration: none;
+}
+/*去除鼠标悬停时的a标签的下划线*/
+a:hover {
+ text-decoration: none;
+}
+/*去除正在点击的a标签的下划线(鼠标按下,尚未松开)*/
+a:active {
+ text-decoration: none;
+}
+/*去除获得焦点的a标签的下划线(被鼠标点击过)*/
+a:focus {
+ text-decoration: none;
+}
+
.page_padding_top {
padding-top: $header_height;
width: 100%;
@@ -54,31 +79,46 @@ body {
// 头部轮播 pagination重写样式
.header_swiper {
+ position: relative;
.swiper-pagination {
- display: flex;
- align-items: center;
- justify-content: center;
- border-top: solid 1px #ddd;
+ position: absolute;
+ right: 0 !important;
+ left: 90vw !important;
+ bottom: 40px !important;
+ width: 100px !important;
.swiper-pagination-bullet {
- width: auto;
- white-space: nowrap;
- height: 40px;
- font-size: 16px;
- color: #fff;
- border-radius: 0;
- background: #ddd;
- margin: 0 50px !important;
- opacity: 1;
- display: flex;
- align-items: center;
- box-sizing: border-box;
- justify-content: center;
+ width: 5px;
+ height: 5px;
}
.swiper-pagination-bullet-active {
- color: $theme_color;
- border-top: solid 1px $theme_color;
- background: none;
}
}
}
+
+.autoplay-progress {
+ position: absolute;
+ right: 160px;
+ bottom: 16px;
+ z-index: 10;
+ width: 100px;
+ height: 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-weight: bold;
+}
+
+.autoplay-progress svg {
+ --progress: 0;
+ position: absolute;
+ left: 0;
+ top: 0;
+ z-index: 10;
+ width: 100%;
+ height: 100%;
+ stroke-width: 20px;
+ fill: none;
+ stroke-dashoffset: calc(300 * (1 - var(--progress)));
+ stroke-dasharray: 300;
+}
diff --git a/src/views/Index/components/HeaderSwiper/index.vue b/src/views/Index/components/HeaderSwiper/index.vue
index 8f88976..0cfcf97 100644
--- a/src/views/Index/components/HeaderSwiper/index.vue
+++ b/src/views/Index/components/HeaderSwiper/index.vue
@@ -1,9 +1,28 @@
-
+
+
diff --git a/yarn.lock b/yarn.lock
index 2d46bcc..3365f57 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -217,6 +217,11 @@
resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz"
integrity sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==
+animate.css@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.npmmirror.com/animate.css/-/animate.css-4.1.1.tgz#614ec5a81131d7e4dc362a58143f7406abd68075"
+ integrity sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ==
+
anymatch@~3.1.2:
version "3.1.3"
resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz"