张延森 6 år sedan
förälder
incheckning
d01448ee4c
1 ändrade filer med 11 tillägg och 9 borttagningar
  1. 11
    9
      src/pages/page3.vue

+ 11
- 9
src/pages/page3.vue Visa fil

@@ -153,7 +153,7 @@ export default {
153 153
       delay: 10,
154 154
       autoConnect: true
155 155
     })
156
-    this.ws.connect(`ws://192.168.0.11/api/websocket/${this.$route.query.id}`)
156
+    this.ws.connect(`ws://192.168.1.14:8000/api/websocket/${this.$route.query.id}`)
157 157
     this.init()
158 158
     this.pageTimer = window.setInterval(() => {
159 159
       let curMin = new Date().getMinutes() - 0
@@ -338,6 +338,8 @@ export default {
338 338
 <!-- Add "scoped" attribute to limit CSS to this component only -->
339 339
 <style lang="scss" scoped>
340 340
 .projectIndex {
341
+  $mainfontcolor: #000;
342
+
341 343
   width: 100%;
342 344
   height: 100%;
343 345
   position: relative;
@@ -383,7 +385,7 @@ export default {
383 385
           span {
384 386
             line-height: 1.6;
385 387
             font-size: 1.7vw;
386
-            color: #fff;
388
+            color: $mainfontcolor;
387 389
             text-align: center;
388 390
             &:first-child {
389 391
               margin-left: 2.4vw;
@@ -404,7 +406,7 @@ export default {
404 406
             overflow: hidden;
405 407
             span {
406 408
               width: 100%;
407
-              color: #fff;
409
+              color: $mainfontcolor;
408 410
               font-size: 2vw;
409 411
               line-height: 1.5;
410 412
               margin-top: 20px;
@@ -418,7 +420,7 @@ export default {
418 420
               overflow: hidden;
419 421
               > span {
420 422
                 width: 100%;
421
-                color: #fff;
423
+                color: $mainfontcolor;
422 424
                 font-size: 1.2vw;
423 425
                 line-height: 1.8;
424 426
                 white-space: nowrap;
@@ -434,7 +436,7 @@ export default {
434 436
                   span {
435 437
                     display: inline-block;
436 438
                     width: 50%;
437
-                    color: #fff;
439
+                    color: $mainfontcolor;
438 440
                     font-size: 1.3vw;
439 441
                     white-space: nowrap;
440 442
                     line-height: 1.7;
@@ -458,7 +460,7 @@ export default {
458 460
             overflow: hidden;
459 461
             h1 {
460 462
               text-align: center;
461
-              color: #fff;
463
+              color: $mainfontcolor;
462 464
               font-size: 1.9vw;
463 465
               line-height: 1.6;
464 466
               white-space: nowrap;
@@ -469,7 +471,7 @@ export default {
469 471
             > span {
470 472
               width: 100%;
471 473
               display: block;
472
-              color: #fff;
474
+              color: $mainfontcolor;
473 475
               font-size: 1.2vw;
474 476
               line-height: 1.6;
475 477
               text-align: justify;
@@ -481,7 +483,7 @@ export default {
481 483
                 width: 100%;
482 484
                 display: block;
483 485
                 text-align: right;
484
-                color: #fff;
486
+                color: $mainfontcolor;
485 487
                 font-size: 1.2vw;
486 488
                 line-height: 1.6;
487 489
               }
@@ -522,7 +524,7 @@ export default {
522 524
             span {
523 525
               width: 100%;
524 526
               display: block;
525
-              color: #fff;
527
+              color: $mainfontcolor;
526 528
               text-align: center;
527 529
               line-height: 1.45;
528 530
               font-size: 2.6vw;