diff --git a/src/assets/images/bottom-bg.png b/src/assets/images/bottom-bg.png
index af4972f..933848e 100644
Binary files a/src/assets/images/bottom-bg.png and b/src/assets/images/bottom-bg.png differ
diff --git a/src/assets/images/header_09.png b/src/assets/images/header_09.png
new file mode 100644
index 0000000..bc3403a
Binary files /dev/null and b/src/assets/images/header_09.png differ
diff --git a/src/assets/images/header_11.png b/src/assets/images/header_11.png
new file mode 100644
index 0000000..a972743
Binary files /dev/null and b/src/assets/images/header_11.png differ
diff --git a/src/assets/images/header_15.png b/src/assets/images/header_15.png
new file mode 100644
index 0000000..bdacbe0
Binary files /dev/null and b/src/assets/images/header_15.png differ
diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss
index affecdd..e9e128a 100644
--- a/src/assets/styles/index.scss
+++ b/src/assets/styles/index.scss
@@ -34,7 +34,30 @@
background: rgba(0, 0, 0, 0.9);
z-index: 99999999;
}
+.header-page{
+ position: fixed;
+ right: .175rem;
+ top: .175rem;
+ font-size:.175rem;
+ background: rgba(82,146,255,0.2);
+ border: 1px solid #5292FF;
+ padding: 0 .075rem;
+ line-height: .3125rem;
+ z-index: 999999;
+ cursor: pointer;
+}
+.dot-container {
+ display: flex;
+ justify-content: space-around;
+ width: .75rem;
+}
+.dot {
+ width: .1375rem;
+ height: .075rem;
+ margin-right: .075rem;
+ animation: blink 1s infinite;
+}
// 头部主题标题
.header-container {
position: relative;
@@ -43,22 +66,6 @@
height: 1.0625rem;
color: #fff;
z-index: 9999;
- // &::before,
- // &::after{
- // content: "";
- // position: absolute;
- // top: 0;
- // width: 6.2rem;
- // height: 1.05rem;
- // }
- // &::before{
- // left: 0;
- // background: url('~@/assets/images/header-left.png') no-repeat top center;
- // }
- // &::after{
- // right: 0;
- // background: url('~@/assets/images/header-right.png') no-repeat top center;
- // }
.header-title {
position: relative;
font-family: 'Microsoft YaHei';
@@ -90,7 +97,7 @@
height: .075rem;
background: url('~@/assets/images/header_13_b.png') no-repeat top left;
background-size: contain;
- transform: translateX(-47%);
+ margin-left: -1.175rem;
overflow: hidden;
.bottom-block{
position: absolute;
@@ -103,6 +110,47 @@
transform: translateX(-50%) rotate(180deg);
animation: runblock 3s infinite;
}
+ }
+ .left-dots{
+ position: absolute;
+ left: 2.25rem;
+ top: .0625rem;
+ .dot:nth-child(1) {
+ background: url('~@/assets/images/header_03.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(2) {
+ background: url('~@/assets/images/header_05.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(3) {
+ background: url('~@/assets/images/header_07.png') no-repeat top left;
+ background-size: contain;
+ }
+
+ .dot:nth-child(3) {
+ animation-delay: 0.4s;
+ }
+ }
+ .right-dots{
+ position: absolute;
+ right: 2rem;
+ top: .0625rem;
+ .dot:nth-child(1) {
+ background: url('~@/assets/images/header_09.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(2) {
+ background: url('~@/assets/images/header_11.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(3) {
+ background: url('~@/assets/images/header_15.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(1) {
+ animation-delay: 0.4s;
+ }
}
}
@keyframes runblock{
@@ -117,89 +165,17 @@
}
}
- .dot-container {
- display: flex;
- justify-content: space-around;
- width: .75rem;
- }
- .dot {
- width: .1375rem;
- height: .075rem;
- margin-right: .075rem;
- animation: blink 1s infinite;
- }
- .left-dots{
- position: absolute;
- left: 2.25rem;
- top: .0625rem;
- .dot:nth-child(1) {
- background: url('~@/assets/images/header_03.png') no-repeat top left;
- background-size: contain;
- }
- .dot:nth-child(2) {
- background: url('~@/assets/images/header_05.png') no-repeat top left;
- background-size: contain;
- }
- .dot:nth-child(3) {
- background: url('~@/assets/images/header_07.png') no-repeat top left;
- background-size: contain;
- }
-
- .dot:nth-child(3) {
- animation-delay: 0.4s;
- }
- }
- .right-dots{
- position: absolute;
- right: 2rem;
- top: .0625rem;
- .dot:nth-child(1) {
- background: url('~@/assets/images/header_07.png') no-repeat top left;
- background-size: contain;
- }
- .dot:nth-child(2) {
- background: url('~@/assets/images/header_05.png') no-repeat top left;
- background-size: contain;
- }
- .dot:nth-child(3) {
- background: url('~@/assets/images/header_03.png') no-repeat top left;
- background-size: contain;
- }
- .dot:nth-child(1) {
- animation-delay: 0.4s;
- }
- }
-
- .dot:nth-child(2) {
- animation-delay: 0.2s;
- }
-
- @keyframes blink {
- 0% {
- opacity: 0.2;
- }
- 20% {
- opacity: 1;
- }
- 100% {
- opacity: 0.2;
- }
- }
-
-
-
-
.header-text {
position: absolute;
}
.header-weather {
- top: .3125rem;
+ top: .175rem;
width: 2.5rem;
right: 0.25rem;
overflow: hidden;
}
.header-date {
- top: .2125rem;
+ top: .125rem;
left: .2125rem;
display: flex;
justify-content: flex-start;
@@ -223,47 +199,21 @@
}
}
-// // 头部动态效果
-// .line1,
-// .line2{
-// position: absolute;
-// top: 0;
-// }
-
-// .line1{
-// right: 632px;
-// transform: rotateY(-180deg);
-// }
-
-// .line2{
-// left: 632px;
-// }
-
-// .top-line1,
-// .top-line2{
-// display: block;
-// width: 7.925rem;
-// height: 1.075rem;
-// animation: topline 4s linear infinite both;
-// }
-
-// .top-line1{
-// background: url('~@/assets/images/top-line.png') no-repeat;
-// }
-
-// .top-line2{
-// background: url('~@/assets/images/top-line.png') no-repeat;
-// }
-
-// @keyframes topline {
-// from {
-// width: 0;
-// }
-// 50%,
-// to {
-// width: 643px;
-// }
-// }
+.dot:nth-child(2) {
+ animation-delay: 0.2s;
+}
+
+@keyframes blink {
+ 0% {
+ opacity: 0.2;
+ }
+ 20% {
+ opacity: 1;
+ }
+ 100% {
+ opacity: 0.2;
+ }
+}
// 底部底色
.bottom-bg {
@@ -271,11 +221,58 @@
bottom: 0;
left: 50%;
transform: translateX(-50%);
- width: 19.775rem;
- height: .6rem;
+ width: 18.2625rem;
+ height: .725rem;
background: url('~@/assets/images/bottom-bg.png') no-repeat top left;
background-size: cover;
z-index: 999;
+ .bottom-content{
+ position: relative;
+ width: 100%;
+ height: 100%;
+ }
+ .left-dots{
+ position: absolute;
+ left: 4rem;
+ bottom: .1875rem;
+ .dot:nth-child(1) {
+ background: url('~@/assets/images/header_15.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(2) {
+ background: url('~@/assets/images/header_11.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(3) {
+ background: url('~@/assets/images/header_09.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(3) {
+ animation-delay: 0.4s;
+ }
+ }
+ .right-dots{
+ position: absolute;
+ right: 4rem;
+ bottom: .1875rem;
+
+ .dot:nth-child(1) {
+ background: url('~@/assets/images/header_07.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(2) {
+ background: url('~@/assets/images/header_05.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(3) {
+ background: url('~@/assets/images/header_03.png') no-repeat top left;
+ background-size: contain;
+ }
+ .dot:nth-child(1) {
+ animation-delay: 0.4s;
+ }
+ }
+
}
// pageOne
@@ -755,6 +752,7 @@
top: 0;
background-size: cover;
font-family: 'DingTalk_JinBuTi_Regular';
+ overflow: hidden;
.map-content{
display: flex;
justify-content: space-around;
@@ -875,7 +873,7 @@
align-items: center;
span{
&:last-child{
- width: 2.375rem;
+ width: 226px;
text-align: right;
}
}
@@ -888,9 +886,8 @@
height: calc(100vh - 8.625rem);
background: linear-gradient(-180deg, rgba(40, 74, 142, 0.4),rgba(0,0,0,0));
border-radius: 4px;
- padding: .25rem 0 0 .2875rem;
+ padding: .25rem 0 0 .2875rem;
overflow: hidden;
- // border: 1px solid red;
}
.lib-text{
position: absolute;
@@ -899,6 +896,7 @@
font-size: 18px;
line-height: .35rem;
color: #ADC7FF;
+ overflow: hidden;
}
}
.map-hx-bg{
@@ -1022,7 +1020,7 @@
font-size: .225rem;
color: #eef6ff;
line-height: .375rem;
- padding-top: .125rem;
+ padding: .0625rem 0;
text-align: center;
div{
&:last-child{
@@ -1298,6 +1296,21 @@
}
}
}
+
+.ranking-list{
+ li.hovered{
+ background-color: #142B76;
+ border-radius: .05rem;
+ animation: myListScale 1s forwards;
+ }
+}
+
+@keyframes myListScale {
+ to {
+ -webkit-transform: scaleX(1.06) scaleY(1.03);
+ transform: scaleX(1.06) scaleY(1.03);
+ }
+}
.four-contact{
display: flex;
justify-content: center;
diff --git a/src/views/index.vue b/src/views/index.vue
index a06e0a8..0d0020e 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -4,23 +4,29 @@
占地面积 - 40平方米 + 45平方米
@@ -64,7 +64,7 @@