张延森 6 years ago
parent
commit
d01448ee4c
1 changed files with 11 additions and 9 deletions
  1. 11
    9
      src/pages/page3.vue

+ 11
- 9
src/pages/page3.vue View File

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