guhongwei 5 years ago
parent
commit
0cbf8103b4
2 changed files with 18 additions and 18 deletions
  1. 17 17
      public/static/css/style.css
  2. 1 1
      src/views/home.vue

+ 17 - 17
public/static/css/style.css

@@ -2067,26 +2067,26 @@ th {
 .liveIndex .info {
 .liveIndex .info {
 	/* background-image: url(../images/beijing.jpg); */
 	/* background-image: url(../images/beijing.jpg); */
 	float: left;
 	float: left;
-	width: 400px;
-	height: 780px;
-	background: red;
-	position: relative;
-	left: 32%;
-	top: -145px;
-	box-shadow: 0 0 15px #4b0502;
+  width: 400px;
+  height: 100vh;
+  background: red;
+  position: fixed;
+  left: 32%;
+  top: 0;
+  box-shadow: 0 0 15px #4b0502;
 }
 }
 
 
 .liveIndex .info .infoTwo {
 .liveIndex .info .infoTwo {
-	float: left;
-	width: 500px;
-	background: red;
-	height: 500px;
-	position: absolute;
-	top: 100px;
-	border-radius: 360px;
-	left: -50px;
-	box-shadow: 0 0 30px #4e0000;
-	border: 6px solid #a30d0c5f;
+  float: left;
+  width: 500px;
+  background: red;
+  height: 500px;
+  position: absolute;
+  top: 150px;
+  border-radius: 360px;
+  left: -50px;
+  box-shadow: 0 0 30px #4e0000;
+  border: 6px solid #a30d0c5f;
 }
 }
 
 
 .liveIndex .info .infoThree {
 .liveIndex .info .infoThree {

+ 1 - 1
src/views/home.vue

@@ -12,7 +12,7 @@ export default {
   components: {},
   components: {},
   data: () => ({}),
   data: () => ({}),
   created() {
   created() {
-    window.location.href('/static/home.html');
+    location.href('/static/home.html');
   },
   },
   methods: {},
   methods: {},
   computed: {
   computed: {