diff --git a/src/assets/box-bottom.png b/src/assets/box-bottom.png new file mode 100644 index 0000000..4e4b8f7 Binary files /dev/null and b/src/assets/box-bottom.png differ diff --git a/src/assets/box-top.png b/src/assets/box-top.png new file mode 100644 index 0000000..7ad7c82 Binary files /dev/null and b/src/assets/box-top.png differ diff --git a/src/common/index.styl b/src/common/index.styl index 3a54c95..0e19a2f 100644 --- a/src/common/index.styl +++ b/src/common/index.styl @@ -5,8 +5,6 @@ background: url('assets/bg.jpg') no-repeat fixed top; } - - .wrap .bg-left{ position: absolute; pointer-events: auto; @@ -17,37 +15,51 @@ } .wrap .bg-top{ + position: absolute; width: 97%; margin: 0 auto; - height: 116px; + height: 100.64px; + left: 1.5%; + top: 0; } .wrap .bg-top .animation{ - + position: absolute; + top: -1px; + left: 288px; + width: 1346px; + height: 162px; } +// .wrap .bg-top .animation video{ +// width: 1346px; +// height: 162px; +// object-fit: fill; +// mix-blend-mode: screen; +// filter: saturate(200%); +// } + .wrap .bg-top .animation span{ position: absolute; - left: 651px; + left: 33%; top: 1px; - width: 610px; + width: 34%; height: 66px; - perspective: 610px; - font-family: '站酷酷黑体'; + line-height: 60px; font-size: 50px; - font-weight: normal; - color: rgb(255, 255, 255); + color: #fff; text-align: center; - letter-spacing: 0px; overflow: hidden; cursor: pointer; pointer-events: auto; + transform: rotateX(0deg) rotateY(0deg) scaleX(1) scaleY(0.8) translate(0px, 0px); + text-shadow: #0075ff 0px 0px 8px; } .wrap .bg-right{ position: absolute; pointer-events: auto; - left: 1900px; + right: 10px; top: 16px; width: 12px; height: 96%; @@ -63,6 +75,25 @@ } .wrap .pic{ - width: 100%; - height: 100%; + width: 100%; + height: 100%; +} + +.content{ + position: absolute; + top: 9%; + left: 2%; + width: 96%; + height: 87%; +} + +.box-top{ + width:100%; + height: 10px; + background: url('assets/box-top.png') repeat fixed center; +} + +.box-bottom{ + width:100%; + background: url('assets/box-bottom.png') repeat fixed top; } diff --git a/src/common/portrait.styl b/src/common/portrait.styl index bcb97b0..996dfd4 100644 --- a/src/common/portrait.styl +++ b/src/common/portrait.styl @@ -20,6 +20,10 @@ } // margin +.ma-2 { + margin: 8px; +} + .ma-3 { margin: 12px; } @@ -175,6 +179,10 @@ flex: 1; } +.flex-2{ + display: flex; + flex: 2; +} // other .pointer{ cursor:pointer; @@ -242,3 +250,11 @@ h2{ .ant-btn-link:hover, .ant-btn-link:focus{ color: #13ACC4; } + +.fill-width{ + width:100%; +} + +.fill-height{ + height:100%; +} diff --git a/src/components/Duration/Duration.vue b/src/components/Duration/Duration.vue index 56ebdd6..97e7ea1 100644 --- a/src/components/Duration/Duration.vue +++ b/src/components/Duration/Duration.vue @@ -1,7 +1,7 @@