diff --git a/package.json b/package.json
index b837fbb..8a5d944 100644
--- a/package.json
+++ b/package.json
@@ -35,6 +35,7 @@
"eslint-plugin-vue": "^6.1.2",
"sass": "^1.25.0",
"sass-loader": "^8.0.2",
+ "videojs-contrib-hls": "^5.15.0",
"vue-awesome-swiper": "^3.1.3",
"vue-template-compiler": "^2.6.11"
},
diff --git a/src/assets/fonts/DingTalk_JinBuTi_Regular.ttf b/src/assets/fonts/DingTalk_JinBuTi_Regular.ttf
new file mode 100644
index 0000000..c4efa55
Binary files /dev/null and b/src/assets/fonts/DingTalk_JinBuTi_Regular.ttf differ
diff --git a/src/assets/fonts/fonts.css b/src/assets/fonts/fonts.css
index 1dffefd..b728aa7 100644
--- a/src/assets/fonts/fonts.css
+++ b/src/assets/fonts/fonts.css
@@ -10,4 +10,11 @@
src: url('YouSheBiaoTiHei.ttf');
font-weight: normal;
font-style: normal;
+}
+
+@font-face {
+ font-family: "DingTalk_JinBuTi_Regular";
+ src: url('DingTalk_JinBuTi_Regular.ttf');
+ font-weight: normal;
+ font-style: normal;
}
\ No newline at end of file
diff --git a/src/assets/images/database-middle.png b/src/assets/images/database-middle.png
new file mode 100644
index 0000000..7448f58
Binary files /dev/null and b/src/assets/images/database-middle.png differ
diff --git a/src/assets/images/header-bg.png b/src/assets/images/header-bg.png
index 57bc167..c3a1798 100644
Binary files a/src/assets/images/header-bg.png and b/src/assets/images/header-bg.png differ
diff --git a/src/assets/images/header-bg2.png b/src/assets/images/header-bg2.png
new file mode 100644
index 0000000..57bc167
Binary files /dev/null and b/src/assets/images/header-bg2.png differ
diff --git a/src/assets/images/header_03.png b/src/assets/images/header_03.png
new file mode 100644
index 0000000..3fda8c6
Binary files /dev/null and b/src/assets/images/header_03.png differ
diff --git a/src/assets/images/header_05.png b/src/assets/images/header_05.png
new file mode 100644
index 0000000..a7f0f81
Binary files /dev/null and b/src/assets/images/header_05.png differ
diff --git a/src/assets/images/header_07.png b/src/assets/images/header_07.png
new file mode 100644
index 0000000..eb8bb9a
Binary files /dev/null and b/src/assets/images/header_07.png differ
diff --git a/src/assets/images/header_13.png b/src/assets/images/header_13.png
new file mode 100644
index 0000000..f960003
Binary files /dev/null and b/src/assets/images/header_13.png differ
diff --git a/src/assets/images/header_13_b.png b/src/assets/images/header_13_b.png
new file mode 100644
index 0000000..6de642f
Binary files /dev/null and b/src/assets/images/header_13_b.png differ
diff --git a/src/assets/images/map-bg.png b/src/assets/images/map-bg.png
deleted file mode 100644
index 9c935e8..0000000
Binary files a/src/assets/images/map-bg.png and /dev/null differ
diff --git a/src/assets/images/page4_02.png b/src/assets/images/page4_02.png
new file mode 100644
index 0000000..3ed2680
Binary files /dev/null and b/src/assets/images/page4_02.png differ
diff --git a/src/assets/images/page4_03.png b/src/assets/images/page4_03.png
new file mode 100644
index 0000000..9798dac
Binary files /dev/null and b/src/assets/images/page4_03.png differ
diff --git a/src/assets/images/page4_06.png b/src/assets/images/page4_06.png
new file mode 100644
index 0000000..bdd2cdb
Binary files /dev/null and b/src/assets/images/page4_06.png differ
diff --git a/src/assets/images/poster.png b/src/assets/images/poster.png
new file mode 100644
index 0000000..c15d10b
Binary files /dev/null and b/src/assets/images/poster.png differ
diff --git a/src/assets/styles/ball-running-animate.css b/src/assets/styles/ball-running-animate.css
deleted file mode 100644
index 55fcb8d..0000000
--- a/src/assets/styles/ball-running-animate.css
+++ /dev/null
@@ -1,116 +0,0 @@
-.ball-running-dots {
- position: absolute;
- top: 0.2rem;
-}
-.left-dots {
- left: 136px;
-}
-.right-dots {
- right: 200px;
-}
-.ball-running-dots > div {
- position: relative;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-.ball-running-dots {
- display: block;
- font-size: 0;
- color: #316fd9;
-}
-.ball-running-dots > div {
- display: inline-block;
- float: none;
- background-color: currentColor;
- border: 0 solid currentColor;
-}
-.ball-running-dots {
- width: 16px;
- height: 16px;
-}
-.ball-running-dots > div {
- position: absolute;
- margin-left: 30px;
- border-radius: 100%;
-}
-.left-dots > div {
- animation: ball-running-dots-animate 2s linear infinite;
-}
-.right-dots > div {
- animation: ball-running-dots-animate2 2s linear infinite;
-}
-.ball-running-dots > div:nth-child(1) {
- animation-delay: 0s;
-}
-.ball-running-dots > div:nth-child(2) {
- animation-delay: -0.8s;
-}
-.ball-running-dots > div:nth-child(3) {
- animation-delay: -1.2s;
-}
-.ball-running-dots > div:nth-child(4) {
- animation-delay: -1.6s;
-}
-@keyframes ball-running-dots-animate {
- 0%{
- width: 100%;
- height: 100%;
- transform: translateY(0) translateX(-500%) scale(-.1);
- opacity: 0.5;
- }
- 80% {
- transform: translateY(0) translateX(0);
- }
- 85% {
- width: 100%;
- height: 100%;
- transform: translateY(-125%) translateX(0);
- }
- 90% {
- width: 200%;
- height: 75%;
- }
- 95% {
- width: 100%;
- height: 100%;
- transform: translateY(-100%) translateX(-500%);
- }
- 100% {
- width: 100%;
- height: 100%;
- transform: translateY(0) translateX(-500%);
- opacity: 1;
- }
-}
-@keyframes ball-running-dots-animate2 {
- 0%{
- width: 100%;
- height: 100%;
- transform: translateY(0) translateX(500%) scale(-.1);
- opacity: 0.5;
- }
- 80% {
- transform: translateY(0) translateX(0);
- }
- 85% {
- width: 100%;
- height: 100%;
- transform: translateY(-125%) translateX(0);
- }
- 90% {
- width: 200%;
- height: 75%;
- }
- 95% {
- width: 100%;
- height: 100%;
- transform: translateY(-100%) translateX(500%);
- }
- 100% {
- width: 100%;
- height: 100%;
- transform: translateY(0) translateX(500%);
- opacity: 1;
- }
-}
diff --git a/src/assets/styles/font-some.css b/src/assets/styles/font-some.css
index a1dc907..ee4589a 100644
--- a/src/assets/styles/font-some.css
+++ b/src/assets/styles/font-some.css
@@ -35,11 +35,11 @@
font-weight: bold;
z-index: 99999;
color: #fff;
- background: -webkit-linear-gradient(90deg, rgba(14,197,236,1) 20%,rgba(239,252,254,1) 70%);
+ /* background: -webkit-linear-gradient(90deg, rgba(14,197,236,1) 20%,rgba(239,252,254,1) 70%);
background: linear-gradient(90deg, rgba(14,197,236,1) 20%,rgba(239,252,254,1) 70%);
-webkit-background-clip: text;
background-clip: text;
- -webkit-text-fill-color: transparent;
+ -webkit-text-fill-color: transparent; */
text-shadow: 0 2px 8px rgba(5,28,55,0.42);
}
.number-item:last-child {
diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss
index 203c476..affecdd 100644
--- a/src/assets/styles/index.scss
+++ b/src/assets/styles/index.scss
@@ -1,3 +1,4 @@
+
#screen-container {
width: 100%;
height: 100vh;
@@ -6,6 +7,7 @@
color: #fff;
overflow: hidden;
background: url('~@/assets/images/bg.png') no-repeat top center #02061a;
+ font-family: 'DingTalk_JinBuTi_Regular';
}
.page-wrapper{
@@ -18,7 +20,9 @@
padding-top: 1.5625rem;
overflow: hidden;
}
-
+.page-four-wrapper{
+ background: #000629;
+}
.loading {
position: fixed;
top: 0;
@@ -35,8 +39,8 @@
.header-container {
position: relative;
width: 100%;
- height: 1.25rem;
- font-size: .375rem;
+ // height: 1.25rem;
+ height: 1.0625rem;
color: #fff;
z-index: 9999;
// &::before,
@@ -57,8 +61,11 @@
// }
.header-title {
position: relative;
- width: 19.5875rem;
- height: 1.25rem;
+ font-family: 'Microsoft YaHei';
+ // width: 19.5875rem;
+ // height: 1.25rem;
+ width: 18.1375rem;
+ height: 1.0625rem;
margin: 0 auto;
background: url('~@/assets/images/header-bg.png') no-repeat top left;
background-size: cover;
@@ -75,14 +82,120 @@
color: transparent;
text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}
+ .header-bottom{
+ position: absolute;
+ left: 50%;
+ bottom: 0;
+ width: 2.45rem;
+ height: .075rem;
+ background: url('~@/assets/images/header_13_b.png') no-repeat top left;
+ background-size: contain;
+ transform: translateX(-47%);
+ overflow: hidden;
+ .bottom-block{
+ position: absolute;
+ // left: 50%;
+ bottom: 0;
+ width: .8rem;
+ height: .0625rem;
+ background: url('~@/assets/images/header_13.png') no-repeat top left;
+ background-size: contain;
+ transform: translateX(-50%) rotate(180deg);
+ animation: runblock 3s infinite;
+ }
+ }
}
+ @keyframes runblock{
+ 0%{
+ left: calc(.375rem);
+ }
+ 50%{
+ left: calc(100% - .375rem);
+ }
+ 100%{
+ left: calc(.375rem);
+ }
+ }
+
+ .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: .1875rem;
- width: 3.125rem;
- right: -.2rem;
+ top: .3125rem;
+ width: 2.5rem;
+ right: 0.25rem;
overflow: hidden;
}
.header-date {
@@ -92,6 +205,7 @@
justify-content: flex-start;
align-items: center;
.time {
+ width: 130px;
font-size: .375rem;
font-weight: bold;
line-height: .375rem;
@@ -170,6 +284,7 @@
justify-content: space-between;
height: 6.25rem;
margin-top: .1875rem;
+ // font-family: 'SourceHanSansSC-Normal';
.database-left,
.database-right {
width: 5.7875rem;
@@ -183,9 +298,6 @@
display: flex;
justify-content: center;
align-items: center;
- & img{
- display: block;
- }
.middle-item{
position: absolute;
width: 1.975rem;
@@ -229,6 +341,178 @@
}
}
+.database-box {
+ position: relative;
+ transform-style: preserve-3d;
+ animation: hovering 2s infinite alternate-reverse ease-in-out;
+}
+
+.logo {
+ display: block;
+ // margin-top: 50px;
+ // margin-left: 50px;
+ width: 5.825rem;
+ height: 6.4125rem;
+ position: relative;
+}
+.logo:after {
+ position: absolute;
+ top: 0;
+ left: 0;
+ content: "";
+ width: 5.825rem;
+ height: 6.4125rem;
+ background: url('~@/assets/images/database-middle.png') no-repeat center center;
+ background-size: contain;
+ // margin-left: -25px;
+ // transform: scale(0.9);
+ transition: 5s ease-out;
+}
+.logo:hover:after {
+ transform: scale(1);
+}
+
+.ring {
+ pointer-events: none;
+ width: 5.825rem;
+ height: 5.825rem;
+ position: absolute;
+ top: 0;
+ left: 0;
+ transform-style: preserve-3d;
+}
+.ring .particle {
+ content: "";
+ position: absolute;
+ top: 0;
+ left: 0;
+ border: 10px solid;
+ width: 5.825rem;
+ height: 5.825rem;
+ border-radius: 50%;
+ border-top: 0;
+ border-left: 0;
+ border-bottom: 0;
+ box-shadow: 0 0 1px 0px currentColor;
+ transform-style: preserve-3d;
+}
+.ring .particle:after {
+ position: absolute;
+ top: 100%;
+ left: 50%;
+ display: block;
+ content: "";
+ width: 5px;
+ height: 5px;
+ background: currentColor;
+ border-radius: 50%;
+ box-shadow: 0 0 5px 0px white;
+}
+
+.ring1 {
+ color: rgba(44, 198, 255,1);
+ animation: rotateAnimate1 16s infinite reverse linear;
+}
+.ring1 .particle {
+ -webkit-animation: rotateAnimate1 6s infinite linear;
+ animation: rotateAnimate1 6s infinite linear;
+}
+
+.ring2 {
+ color: rgba(255, 255, 255,1);
+ animation: rotateAnimate1 16s infinite reverse linear;
+}
+.ring2 .particle {
+ // margin-top: 15px;
+ // margin-left: 15px;
+ width: 5.575rem;
+ height: 5.575rem;
+ -webkit-animation: rotateAnimate2 6s infinite linear;
+ animation: rotateAnimate2 6s infinite linear;
+}
+.ring2 .particle:after {
+ top: 0%;
+}
+
+.ring3 {
+ color: rgba(14, 93, 182, 1);
+ animation: rotateAnimate1 16s infinite reverse linear;
+}
+.ring3 .particle {
+ // margin-top: 30px;
+ // margin-left: 30px;
+ width: 5.575rem;
+ height: 5.575rem;
+ -webkit-animation: rotateAnimate3 6s infinite linear;
+ animation: rotateAnimate3 6s infinite linear;
+}
+
+@-webkit-keyframes rotateAnimate1 {
+ 0% {
+ transform: rotateX(45deg) rotateZ(0deg);
+ }
+ 100% {
+ transform: rotateX(45deg) rotateZ(360deg);
+ }
+}
+
+@keyframes rotateAnimate1 {
+ 0% {
+ transform: rotateX(45deg) rotateZ(0deg);
+ }
+ 100% {
+ transform: rotateX(45deg) rotateZ(360deg);
+ }
+}
+@-webkit-keyframes rotateAnimate2 {
+ 0% {
+ transform: rotateY(45deg) rotateX(-45deg) rotateZ(0deg);
+ }
+ 100% {
+ transform: rotateY(45deg) rotateX(-45deg) rotateZ(-360deg);
+ }
+}
+@keyframes rotateAnimate2 {
+ 0% {
+ transform: rotateY(45deg) rotateX(-45deg) rotateZ(0deg);
+ }
+ 100% {
+ transform: rotateY(45deg) rotateX(-45deg) rotateZ(-360deg);
+ }
+}
+@-webkit-keyframes rotateAnimate3 {
+ 0% {
+ transform: rotateY(-45deg) rotateX(-45deg) rotateZ(180deg);
+ }
+ 100% {
+ transform: rotateY(-45deg) rotateX(-45deg) rotateZ(540deg);
+ }
+}
+@keyframes rotateAnimate3 {
+ 0% {
+ transform: rotateY(-45deg) rotateX(-45deg) rotateZ(180deg);
+ }
+ 100% {
+ transform: rotateY(-45deg) rotateX(-45deg) rotateZ(540deg);
+ }
+}
+@-webkit-keyframes hovering {
+ 0% {
+ transform: translate3d(0, 0, 0);
+ }
+ 100% {
+ transform: translate3d(0, -10px, 0);
+ }
+}
+@keyframes hovering {
+ 0% {
+ transform: translate3d(0, 0, 0);
+ }
+ 100% {
+ transform: translate3d(0, -10px, 0);
+ }
+}
+
.small-module{
height: .4rem;
overflow: hidden;
@@ -251,18 +535,18 @@
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
- padding: .625rem .4rem 0 .125rem;
+ padding: .625rem .275rem 0 .125rem;
.allTotal{
- width: 2.5rem;
+ width: 48%;
height: 1.1rem;
- padding-left: 1.2125rem;
+ padding-left: 1.125rem;
background: url('~@/assets/images/database-icon1.png') no-repeat left top;
background-size: 100% 100%;
}
.currentNum{
- width: 2.5rem;
+ width: 48%;
height: 1.1rem;
- padding-left: 1.2125rem;
+ padding-left: 1.125rem;
background: url('~@/assets/images/database-icon2.png') no-repeat left top;
background-size: 100% 100%;
}
@@ -271,7 +555,7 @@
display: inline-block;
width: .275rem;
height: 100%;
- line-height: .175rem;
+ line-height: 0.15rem;
overflow: hidden;
writing-mode: vertical-lr;
text-orientation: upright;
@@ -280,11 +564,11 @@
text-align: center;
transition: transform 0.6s ease-in-out;
color: #fff;
- background: -webkit-linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
- background: linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
- -webkit-background-clip: text;
- background-clip: text;
- -webkit-text-fill-color: transparent;
+ // background: -webkit-linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
+ // background: linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
+ // -webkit-background-clip: text;
+ // background-clip: text;
+ // -webkit-text-fill-color: transparent;
text-shadow: 0 2px 8px rgba(5,28,55,0.42);
}
}
@@ -301,9 +585,9 @@
justify-content: flex-start;
}
.flop-figure {
- width: .275rem;
+ width: 26px;
i {
- font-size: .275rem;
+ font-size: .3rem;
font-weight: bold;
}
}
@@ -313,11 +597,11 @@
left: 0;
font-size: .275rem;
color: #fff;
- background: -webkit-linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
- background: linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
- -webkit-background-clip: text;
- background-clip: text;
- -webkit-text-fill-color: transparent;
+ // background: -webkit-linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
+ // background: linear-gradient(90deg, rgba(14,197,236,1) 10%,rgba(239,252,254,1) 100%);
+ // -webkit-background-clip: text;
+ // background-clip: text;
+ // -webkit-text-fill-color: transparent;
text-shadow: 0 2px 8px rgba(5,28,55,0.42);
}
}
@@ -330,25 +614,21 @@
}
}
.flop-item-name{
- font-size: .1875rem;
+ font-size: .225rem;
}
}
-
-
-
-
// 左边进度条
.pageOne-left-progress{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
- padding: 0 .475rem 0 .35rem;
+ padding: 0 .375rem 0 .5rem;
li{
position: relative;
width: 2.2rem;
- font-size: .175rem;
- padding-left: .2875rem;
+ font-size: .225rem;
+ padding-left: .1625rem;
margin-top: .7rem;
p{
position: relative;
@@ -367,7 +647,7 @@
position: absolute;
right: 0;
top: 0;
- font-size: .25rem;
+ font-size: .3rem;
font-weight: bold;
color: #fff;
background: -webkit-linear-gradient(to bottom, #fff 40%, #69A4D6 60%);
@@ -420,7 +700,6 @@
}
}
-
// pageOne 底部图书
.pageOne-book{
background-color: #031437;
@@ -475,6 +754,7 @@
left: 0;
top: 0;
background-size: cover;
+ font-family: 'DingTalk_JinBuTi_Regular';
.map-content{
display: flex;
justify-content: space-around;
@@ -544,6 +824,7 @@
line-height: 0.45rem;
span{
display: block;
+
&:last-child{
font-size: .3rem;
color: #fff;
@@ -560,7 +841,7 @@
0 0 90px rgba(18,104,245, 0.24),
0 0 100px rgba(18,104,245, 0.24);
i{
- color: #B5C1D1;
+ color: rgba(154, 197, 255, 0.4);
font-size: .2rem;
font-weight: normal;
padding-left: .075rem;
@@ -601,17 +882,23 @@
}
}
}
- .lib-text{
- width: 100%;
+ .scroll-container{
+ position: relative;
+ width: calc(100%);
height: calc(100vh - 8.625rem);
- font-size: .225rem;
- line-height: .35rem;
background: linear-gradient(-180deg, rgba(40, 74, 142, 0.4),rgba(0,0,0,0));
border-radius: 4px;
- padding: .25rem .2875rem 0 .2875rem;
- color: #ADC7FF;
+ padding: .25rem 0 0 .2875rem;
overflow: hidden;
- overflow-y: scroll;
+ // border: 1px solid red;
+ }
+ .lib-text{
+ position: absolute;
+ // transition: top 1s linear;
+ margin-right: .175rem;
+ font-size: 18px;
+ line-height: .35rem;
+ color: #ADC7FF;
}
}
.map-hx-bg{
@@ -638,10 +925,10 @@
.map-hx-big{
width: 12.5rem;
height: 12.5rem;
- border-radius: 50%;
+ // border-radius: 50%;
overflow: hidden;
background: url('~@/assets/images/map-hx-big2.png') no-repeat center center;
- background-size: cover;
+ background-size: contain;
position: fixed;
left: 50%;
top: 50%;
@@ -659,7 +946,6 @@
.read-num{
width: 5.9375rem;
- // height: 10.45rem;
background-color: rgba(10, 26, 66, .6);
.online{
height: 1.6875rem;
@@ -669,11 +955,11 @@
padding: 0 .15rem 0 2.25rem;
font-size: .25rem;
color: #C8DFFF;
- // line-height: .5rem;
p{
padding-top: .25rem;
}
.num{
+
span{
font-size: .6rem;
font-weight: 500;
@@ -710,7 +996,6 @@
margin-bottom: .25rem;
}
.ranking-cont{
- // height: calc(100vh - 6.875rem);
background: linear-gradient(-90deg, rgba(66,139,221,0.1), rgba(66,139,221,0));
border: 1px solid rgba(83, 196, 255, .2);
padding-bottom: .375rem;
@@ -720,8 +1005,9 @@
justify-content: space-around;
text-align: center;
align-items: center;
- font-size: .15rem;
+ font-size: .225rem;
color: #79B8FF;
+ line-height: .5rem;
background: linear-gradient(90deg, rgba(66,139,221,0.2), rgba(66,139,221,0));
li {
&:last-child{
@@ -733,7 +1019,7 @@
li{
display: flex;
justify-content: space-around;
- font-size: .175rem;
+ font-size: .225rem;
color: #eef6ff;
line-height: .375rem;
padding-top: .125rem;
@@ -772,26 +1058,30 @@
}
}
.tooltip-main{
+ font-family: 'DingTalk_JinBuTi_Regular';
position: relative;
- min-width: 3rem;
+ // min-width: 3rem;
+ width: 4rem;
+ // text-wrap: wrap;
.tooltip-line{
width: .15rem;
height: 0;
background: url('~@/assets/images/line.png') no-repeat top left;
position: absolute;
- left: -0.25rem;
- bottom: -0.625rem;
+ left: -0.225rem;
+ bottom: -0.25rem;
transform-origin: bottom center;
animation: growBar 1s forwards;
}
}
.tooltip-content{
+ height: 1.8125rem;
opacity: 0;
- line-height: .4125rem;
+ line-height: .35rem;
border: 1px solid #D1793D;
background-color: rgba(0,31,87,0.8);
animation: slideInFromLeft 1s forwards;
- animation-delay:1s;
+ animation-delay: 2s;
.title{
width: 100%;
padding: .05rem .1875rem;
@@ -800,9 +1090,10 @@
background: linear-gradient(90deg, rgba(255, 116, 32, 1), rgba(255,255,255,0.22));
}
.place{
+ text-wrap: wrap;
padding: .125rem .1875rem;
font-size: 0.2rem;
- color: rgba(197, 209, 232, 1);
+ color: #fff;
}
}
@keyframes growBar {
@@ -820,6 +1111,7 @@
justify-content: space-between;
flex-wrap: wrap;
padding: 0 .525rem 0 .45rem;
+ font-family: 'DingTalk_JinBuTi_Regular';
.three-item{
width: 11.25rem;
margin-bottom: .575rem;
@@ -833,25 +1125,29 @@
margin-bottom: 0;
}
.database-title{
- width: 6.0375rem;
+ // width: 6.0375rem;
+ height: .6rem;
+ font-weight: bold;
+ background: url('~@/assets/images/title-big.png') no-repeat -0.2rem top;
+ background-size: cover;
}
.three-lending{
display: flex;
justify-content: space-between;
padding: .1875rem .3125rem 0 .4125rem;
h5{
- font-size: .2rem;
+ font-size: .225rem;
color: #47A6FF;
}
.three-lending-left{
.totalItem{
.pageLeft-flop-box{
position: relative;
- height: .9125rem;
+ height: 73px;
margin: .2875rem 0 .4rem 0;
overflow: hidden;
& div:first-child {
- height: .9125rem;
+ height: 70px;
overflow: hidden;
display: flex;
align-items: center;
@@ -860,10 +1156,11 @@
.flop-figure {
position: relative;
display: inline-block;
- width: .675rem;
+ width: 56px;
height: 100%;
- line-height: .625rem;
- padding: .125rem 0;
+ line-height: 44px;
+ letter-spacing: 20px;
+ padding: 8px 0;
overflow: hidden;
writing-mode: vertical-lr;
text-orientation: upright;
@@ -875,7 +1172,7 @@
font-size: .6rem;
font-weight: 600;
position: absolute;
- text-align: center;
+ // text-align: center;
transition: transform 0.6s ease-in-out;
color: #BFE0FF;
}
@@ -910,4 +1207,118 @@
}
}
}
+}
+
+// page4
+.page-four{
+ display: flex;
+ justify-content: space-between;
+ padding: 0 .4rem 0 .55rem;
+ font-family: 'DingTalk_JinBuTi_Regular';
+}
+.four-video{
+ width: 16.625rem;
+ height: 10.875rem;
+ padding: 0 .375rem;
+ background: url('~@/assets/images/page4_03.png') no-repeat top left;
+ background-size: cover;
+ overflow: hidden;
+ h4{
+ height: .9rem;
+ line-height: 1.05rem;
+ font-size: .325rem;
+ font-weight: bold;
+ color: #DFFDFE;
+ background: url('~@/assets/images/page4_02.png') no-repeat bottom left;
+ background-size: 100% .0375rem;
+ }
+}
+.four-right{
+ width: 5.9375rem;
+ display: flex;
+ flex-wrap: wrap;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: center;
+ .database-title{
+ font-weight: bold;
+ }
+}
+.four-notice,
+.four-ranking{
+ width: 5.9375rem;
+ background-color: #011244;
+}
+.four-notice{
+ height: 3rem;
+ .seamless-warp{
+ position: relative;
+ width: calc(100%);
+ height: 2.25rem;
+ margin-top: .125rem;
+ overflow: hidden;
+ .notice-text{
+ position: absolute;
+ padding: .4125rem .375rem;
+ font-size: .225rem;
+ color: #ADC7FF;
+ line-height: .375rem;
+ // height: 1.625rem;
+ text-indent: 2em;
+ font-weight: bold;
+ // animation: myMove 20s linear infinite;
+ // animation-fill-mode: forwards;
+ span{
+ display: block;
+ text-align: right;
+ color: #7D93C2;
+ font-size: .2rem;
+ }
+ }
+
+ @keyframes myMove {
+ 0% {
+ transform: translateY(2rem);
+ }
+ 100% {
+ transform: translateY(-3rem);
+ }
+ }
+ }
+}
+.four-ranking{
+ height: 4.85rem;
+ &.lending-ranking{
+ padding: 0;
+ }
+ .ranking-cont{
+ margin: .25rem .375rem 0 .3125rem;
+ .ranking-list{
+ padding-top: .125rem;
+ }
+ }
+}
+.four-contact{
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ width: 5.9375rem;
+ height: 2.125rem;
+ background: url('~@/assets/images/page4_06.png') no-repeat top left;
+ background-size: contain;
+ .wechat-img{
+ width: 1.35rem;
+ height: 1.35rem;
+ background: url('~@/assets/images/wechat-img2.png') no-repeat left top;
+ background-size: contain;
+ margin-right: .475rem;
+ text-align: center;
+ line-height: 1.35rem;
+ }
+ span{
+ display: block;
+ font-size: .25rem;
+ color: #4DDBFF;
+ text-align: center;
+ }
}
\ No newline at end of file
diff --git a/src/components/echart/barEcharts.vue b/src/components/echart/barEcharts.vue
index 02708db..6c49700 100644
--- a/src/components/echart/barEcharts.vue
+++ b/src/components/echart/barEcharts.vue
@@ -29,7 +29,8 @@ export default {
},
data() {
return {
- chart: null
+ chart: null,
+ option: null
}
},
watch: {
@@ -45,8 +46,22 @@ export default {
},
mounted() {
this.drawChart()
+ this.resetPieChartData()
},
methods: {
+ // 重绘饼图
+ resetPieChartData() {
+ clearInterval(this.timeRePie)
+ this.timeRePie = setInterval(() => {
+ // debugger;
+ if (!this.chart) {
+ return
+ }
+ // 不先清空chart没法重绘
+ this.chart.clear()
+ this.chart.setOption(this.option) // 获取echarts数据的方法
+ }, 8000)
+ },
drawChart() {
const app = {}
const chartDom = document.getElementById('main1')
@@ -176,21 +191,24 @@ export default {
itemHeight: 6,
itemWidth: 11,
textStyle: {
- color: '#fff'
+ color: '#fff',
+ fontSize: 18
},
data: [
{
name: '借出',
icon: 'rect',
textStyle: {
- color: '#41A3FF'
+ color: '#41A3FF',
+ fontFamily: 'DingTalk_JinBuTi_Regular'
}
},
{
name: '归还',
icon: 'rect',
textStyle: {
- color: '#FFD050'
+ color: '#FFD050',
+ fontFamily: 'DingTalk_JinBuTi_Regular'
}
}
]
@@ -214,7 +232,9 @@ export default {
axisLabel: { // x轴文字的配置
show: true,
textStyle: {
- color: '#fff'
+ color: '#79B8FF',
+ fontSize: 16,
+ fontFamily: 'DingTalk_JinBuTi_Regular'
}
},
splitLine: { // 分割线配置
@@ -236,7 +256,9 @@ export default {
axisLabel: { // 轴文字的配置
show: true,
textStyle: {
- color: '#fff'
+ color: '#79B8FF',
+ fontSize: 16,
+ fontFamily: 'DingTalk_JinBuTi_Regular'
}
},
axisTick: { // 刻度线隐藏
@@ -275,6 +297,7 @@ export default {
}
]
}
+ this.option = option
option && this.chart.setOption(option)
}
}
diff --git a/src/components/echart/lineChartService.vue b/src/components/echart/lineChartService.vue
index aac0871..6afcc31 100644
--- a/src/components/echart/lineChartService.vue
+++ b/src/components/echart/lineChartService.vue
@@ -22,12 +22,13 @@ export default {
},
height: {
type: String,
- default: 'calc(100% - 20px)'
+ default: '100%'
}
},
data() {
return {
- chart: null
+ chart: null,
+ option: null
}
},
watch: {
@@ -45,6 +46,7 @@ export default {
this.$nextTick(() => {
this.initChart()
})
+ this.resetPieChartData()
},
beforeDestroy() {
if (!this.chart) {
@@ -54,6 +56,19 @@ export default {
this.chart = null
},
methods: {
+ // 重绘饼图
+ resetPieChartData() {
+ clearInterval(this.timeRePie)
+ this.timeRePie = setInterval(() => {
+ // debugger;
+ if (!this.chart) {
+ return
+ }
+ // 不先清空chart没法重绘
+ this.chart.clear()
+ this.initChart()
+ }, 8000)
+ },
initChart() {
const dom = document.getElementById('main2')
this.chart = echarts.init(dom, 'dark')
@@ -79,22 +94,24 @@ export default {
itemHeight: 6,
itemWidth: 11,
textStyle: {
- fontSize: '16px',
- color: '#339CFF'
+ color: '#339CFF',
+ fontSize: 18
},
data: [
{
name: '借出',
icon: 'rect',
textStyle: {
- color: '#41A3FF'
+ color: '#41A3FF',
+ fontFamily: 'DingTalk_JinBuTi_Regular'
}
},
{
name: '归还',
icon: 'rect',
textStyle: {
- color: '#FFD050'
+ color: '#FFD050',
+ fontFamily: 'DingTalk_JinBuTi_Regular'
}
}
]
@@ -115,7 +132,9 @@ export default {
formatter: function(value, idx) {
return value
},
- color: '#79B8FF'
+ color: '#79B8FF',
+ fontSize: 16,
+ fontFamily: 'DingTalk_JinBuTi_Regular'
},
axisLine: {
show: false,
@@ -145,7 +164,9 @@ export default {
interval: 250,
axisLabel: {
textStyle: {
- color: '#79B8FF'
+ color: '#79B8FF',
+ fontSize: 16,
+ fontFamily: 'DingTalk_JinBuTi_Regular'
}
},
// 轴线
diff --git a/src/router/index.js b/src/router/index.js
index e3b72a1..670a5f8 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -11,14 +11,6 @@ const routes = [
meta: {
title: '智慧大屏'
}
- },
- {
- path: '/map',
- name: 'map',
- component: () => import('../views/map/index.vue'),
- meta: {
- title: '智慧大屏'
- }
}
]
diff --git a/src/views/accessToLibrary/index.vue b/src/views/accessToLibrary/index.vue
deleted file mode 100644
index 59bf6ed..0000000
--- a/src/views/accessToLibrary/index.vue
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
{{ item.author }}
-NO.{{ index + 1 }}
-办证量 - 74本 + 74人
当前在馆人数
+累计办证人数
156人
{{ item.nbAuthor }}
-{{ item.name }}
- {{ item }} -
++ {{ item }} +
+