Преглед на файлове

修改一些bug,新增返回顶部功能

柳香萍 преди 5 години
родител
ревизия
d0ea088361

+ 0 - 1
src/pages/main/DialysisArea.vue Целия файл

@@ -20,7 +20,6 @@
20 20
                 <li>{{ schedual_types[schedual_type_selected].text}}<span class="iconfont">&#xe74a;</span></li>
21 21
                </popover>
22 22
 
23
-              
24 23
                <li @click="openPicker()">{{selected_date_str}}<span class="iconfont">&#xe74a;</span></li>
25 24
            </ul>
26 25
        </div>

+ 3 - 2
src/pages/main/add_urgent_schedule.vue Целия файл

@@ -22,7 +22,7 @@
22 22
                     <van-col :span="9">
23 23
                         <span class="title">日期:</span>
24 24
                         <div class="field_panel">
25
-                            <van-field v-model="date" disabled class="field"></van-field>
25
+                            <van-field v-model="date"  class="field"></van-field>
26 26
                         </div>
27 27
                     </van-col>
28 28
                 </van-row>
@@ -58,7 +58,7 @@
58 58
                     <van-col :span="24">
59 59
                         <span class="title">&nbsp;</span>
60 60
                         <div class="field_panel">
61
-                            <van-button type="info" @click="submitAction">立即排班</van-button>
61
+                            <van-button type="info" size="normal" @click="submitAction">立即排班</van-button>
62 62
                         </div>
63 63
                     </van-col>
64 64
                 </van-row>
@@ -365,6 +365,7 @@ export default {
365 365
         background: #fff;
366 366
         min-height: calc(100vh - 2px);
367 367
         padding-top:55px; 
368
+        padding-left: 20px;
368 369
         .row {
369 370
             padding: 5px 0;
370 371
             .title {

+ 1 - 1
src/pages/main/dialysis/AdviceTable.vue Целия файл

@@ -1533,7 +1533,7 @@ export default {
1533 1533
 .AdviceTable{
1534 1534
   padding-top:0; 
1535 1535
   background: #fff;
1536
-  min-height: calc(100vh - 180px);
1536
+  min-height: calc(100vh - 230px);
1537 1537
 }
1538 1538
 }
1539 1539
 

+ 2 - 2
src/pages/main/dialysis/CheckTab.vue Целия файл

@@ -59,9 +59,9 @@ export default {
59 59
     border-bottom: 1px #e5e5e5 solid;
60 60
     background: #fff;
61 61
      position: fixed;
62
-    top: 115px;
62
+    top: 116px;
63 63
     right: 0;
64
-    z-index: 66;
64
+    z-index: 55;
65 65
     left: 1.58rem;
66 66
     background: #fff;
67 67
     ul {

+ 0 - 4
src/pages/main/dialysis/InspectionItemTable.vue Целия файл

@@ -190,14 +190,10 @@ export default {
190 190
 <style style="stylesheet/scss" lang="scss" scoped>
191 191
 .top {
192 192
   padding: 0.28rem 0.3rem;
193
-  // @include display-flex;
194
-  // @include align-items-center;
195 193
   @include text-align;
196
-  // @include justify-content-between;
197 194
   font-size: 0.3rem;
198 195
   border-bottom: 1px #e5e5e5 solid;
199 196
   position: relative;
200
-
201 197
   .title {
202 198
     font-size: 0.3rem;
203 199
     font-weight: bold;

+ 4 - 0
src/pages/main/dialysis/RecordTable.vue Целия файл

@@ -441,5 +441,9 @@ export default {
441 441
   background: #fff;
442 442
   min-height: calc(100vh - 180px);
443 443
 }
444
+.popover-demo-content{
445
+  max-height: 400px;
446
+  overflow-y: scroll;
447
+}
444 448
 </style>
445 449
 

+ 161 - 145
src/pages/main/today/TodayTab.vue Целия файл

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div v-loading="loading">
2
+  <div v-loading="loading" id="today_panel">
3 3
 
4 4
     <div class="grid">
5 5
       <div class="list">
@@ -63,9 +63,6 @@
63 63
     <dialysis-prescription id="prescription" :prescription="prescription" :solution="solution" title="透析处方"
64 64
                            :device_number_map="device_map"></dialysis-prescription>
65 65
 
66
-    <!-- <div class="blueBorder"></div>
67
-    <past-data class="往期数据"></past-data> -->
68
-
69 66
     <div class="blueBorder"></div>
70 67
     <accepts-assessment id="accepts_assessment" :record="receiver_treatment_access" title="接诊评估"></accepts-assessment>
71 68
 
@@ -160,7 +157,7 @@
160 157
                         @close="closeTreatmentOf" ref="treatment_dialog"></treatment-dialog>
161 158
     </van-popup>
162 159
 
163
-    <div class="fixedNav" ref="fixed_nav" v-show="show_fixed_nav">
160
+    <!-- <div class="fixedNav" ref="fixed_nav" v-show="show_fixed_nav">
164 161
       <ul>
165 162
         <li @click="menuClick(1)">透析处方</li>
166 163
         <li @click="menuClick(2)">接诊评估</li>
@@ -173,9 +170,11 @@
173 170
         <li @click="menuClick(8)">透后评估</li>
174 171
         <li @click="menuClick(9)">治疗小结</li>
175 172
       </ul>
176
-    </div>
173
+    </div> -->
174
+ 
175
+   <el-button class="goTop" v-show="goTopShow" @click="goTop"  type="primary" icon="el-icon-arrow-up" circle style="position:fixed;right:20px;bottom:20px;"></el-button>
177 176
 
178
-  </div>
177
+   </div>
179 178
 </template>
180 179
 
181 180
 <script>
@@ -207,7 +206,6 @@ import ComputerDialog from "../dialog/ComputerDialog";
207 206
 
208 207
 import { dialysisGlobalConfig, getDialysisRecord } from "@/api/dialysis";
209 208
 import { parseTime } from "@/utils";
210
-import Vue from 'vue'
211 209
 
212 210
 export default {
213 211
   name: "TodayTab",
@@ -240,7 +238,7 @@ export default {
240 238
   data() {
241 239
     return {
242 240
       loading: true,
243
-      show_fixed_nav: false,
241
+      // show_fixed_nav: false,
244 242
       patient_id: 0,
245 243
       date: 0,
246 244
       menuList: [
@@ -272,7 +270,7 @@ export default {
272 270
       monitor_records: [], // 透析监测
273 271
       last_monitor_record: {
274 272
         id: 0,
275
-        operate_time: (new Date()).getTime(),
273
+        operate_time: new Date().getTime(),
276 274
         sodium_concentration: "",
277 275
         dialysate_temperature: ""
278 276
       }, // 上一次透析的监测记录
@@ -280,10 +278,11 @@ export default {
280 278
       admin_users: [], //系统用户列表
281 279
       devices: [], //设备
282 280
       device_numbers: [], // 床位号
283
-
284 281
       admin_user_map: {}, // {user_id: admin_user object}
285 282
       device_map: {}, // {device_id: device}
286
-      device_number_map: {} // {device_number_id: device_number}
283
+      device_number_map: {}, // {device_number_id: device_number}
284
+      scrollTop: "",
285
+      goTopShow: false
287 286
     };
288 287
   },
289 288
   computed: {
@@ -370,21 +369,20 @@ export default {
370 369
     },
371 370
 
372 371
     $route: "requestDialysisRecord"
373
-
374 372
   },
375 373
   methods: {
376
-    handleScroll: function() {
377
-      var scrollTop =
378
-        window.pageYOffset ||
379
-        document.documentElement.scrollTop ||
380
-        document.body.scrollTop;
381
-      this.show_fixed_nav = scrollTop > 160;
382
-    },
374
+    // handleScroll: function() {
375
+    //   var scrollTop =
376
+    //     window.pageYOffset ||
377
+    //     document.documentElement.scrollTop ||
378
+    //     document.body.scrollTop;
379
+    //   this.show_fixed_nav = scrollTop > 160;
380
+    // },
383 381
 
384 382
     didAddMonitor(monitor) {
385
-      this.monitor_records.push(monitor)
383
+      this.monitor_records.push(monitor);
386 384
 
387
-      this.monitor_records.sort((a,b)=>b.operate_time-a.operate_time)
385
+      this.monitor_records.sort((a, b) => b.operate_time - a.operate_time);
388 386
 
389 387
       // for (let index = 0; index < this.monitor_records.length; index++) {
390 388
       //   const record = this.monitor_records[index];
@@ -394,8 +392,7 @@ export default {
394 392
       //   }
395 393
       // }
396 394
       this.monitor_records.reverse();
397
-      this.last_monitor_record = monitor
398
-
395
+      this.last_monitor_record = monitor;
399 396
     },
400 397
 
401 398
     didEditMonitor(monitor) {
@@ -408,35 +405,49 @@ export default {
408 405
         }
409 406
       }
410 407
 
411
-      console.log(monitor)
412
-      console.log(this.monitor_records[monitor_index])
413
-
414
-
415
-      this.monitor_records[monitor_index].arterial_pressure = monitor.arterial_pressure
416
-      this.monitor_records[monitor_index].blood_flow_volume = monitor.blood_flow_volume
417
-      this.monitor_records[monitor_index].breathing_rate = monitor.breathing_rate
418
-      this.monitor_records[monitor_index].dialysate_temperature = monitor.dialysate_temperature
419
-      this.monitor_records[monitor_index].diastolic_bp = monitor.diastolic_bp
420
-      this.monitor_records[monitor_index].displacement_quantity = monitor.displacement_quantity
421
-      this.monitor_records[monitor_index].dispose = monitor.dispose
422
-      this.monitor_records[monitor_index].ktv = monitor.ktv
423
-      this.monitor_records[monitor_index].monitor_date = monitor.monitor_date
424
-      this.monitor_records[monitor_index].monitoring_nurse = monitor.monitoring_nurse
425
-      this.monitor_records[monitor_index].operate_time = monitor.operate_time
426
-      this.monitor_records[monitor_index].pulse_frequency = monitor.pulse_frequency
427
-      this.monitor_records[monitor_index].replacement_rate = monitor.replacement_rate
428
-      this.monitor_records[monitor_index].result = monitor.result
429
-      this.monitor_records[monitor_index].sodium_concentration = monitor.sodium_concentration
430
-      this.monitor_records[monitor_index].symptom = monitor.symptom
431
-      this.monitor_records[monitor_index].systolic_bp = monitor.systolic_bp
432
-      this.monitor_records[monitor_index].transmembrane_pressure = monitor.transmembrane_pressure
433
-      this.monitor_records[monitor_index].ultrafiltration_rate = monitor.ultrafiltration_rate
434
-      this.monitor_records[monitor_index].ultrafiltration_volume = monitor.ultrafiltration_volume
435
-      this.monitor_records[monitor_index].venous_pressure = monitor.venous_pressure
436
-      this.monitor_records[monitor_index].diastolic_blood_pressure = monitor.diastolic_blood_pressure
437
-      this.monitor_records[monitor_index].systolic_blood_pressure = monitor.systolic_blood_pressure
438
-
439
-      this.monitor_records.sort((a,b)=>b.operate_time-a.operate_time)
408
+      console.log(monitor);
409
+      console.log(this.monitor_records[monitor_index]);
410
+
411
+      this.monitor_records[monitor_index].arterial_pressure =
412
+        monitor.arterial_pressure;
413
+      this.monitor_records[monitor_index].blood_flow_volume =
414
+        monitor.blood_flow_volume;
415
+      this.monitor_records[monitor_index].breathing_rate =
416
+        monitor.breathing_rate;
417
+      this.monitor_records[monitor_index].dialysate_temperature =
418
+        monitor.dialysate_temperature;
419
+      this.monitor_records[monitor_index].diastolic_bp = monitor.diastolic_bp;
420
+      this.monitor_records[monitor_index].displacement_quantity =
421
+        monitor.displacement_quantity;
422
+      this.monitor_records[monitor_index].dispose = monitor.dispose;
423
+      this.monitor_records[monitor_index].ktv = monitor.ktv;
424
+      this.monitor_records[monitor_index].monitor_date = monitor.monitor_date;
425
+      this.monitor_records[monitor_index].monitoring_nurse =
426
+        monitor.monitoring_nurse;
427
+      this.monitor_records[monitor_index].operate_time = monitor.operate_time;
428
+      this.monitor_records[monitor_index].pulse_frequency =
429
+        monitor.pulse_frequency;
430
+      this.monitor_records[monitor_index].replacement_rate =
431
+        monitor.replacement_rate;
432
+      this.monitor_records[monitor_index].result = monitor.result;
433
+      this.monitor_records[monitor_index].sodium_concentration =
434
+        monitor.sodium_concentration;
435
+      this.monitor_records[monitor_index].symptom = monitor.symptom;
436
+      this.monitor_records[monitor_index].systolic_bp = monitor.systolic_bp;
437
+      this.monitor_records[monitor_index].transmembrane_pressure =
438
+        monitor.transmembrane_pressure;
439
+      this.monitor_records[monitor_index].ultrafiltration_rate =
440
+        monitor.ultrafiltration_rate;
441
+      this.monitor_records[monitor_index].ultrafiltration_volume =
442
+        monitor.ultrafiltration_volume;
443
+      this.monitor_records[monitor_index].venous_pressure =
444
+        monitor.venous_pressure;
445
+      this.monitor_records[monitor_index].diastolic_blood_pressure =
446
+        monitor.diastolic_blood_pressure;
447
+      this.monitor_records[monitor_index].systolic_blood_pressure =
448
+        monitor.systolic_blood_pressure;
449
+
450
+      this.monitor_records.sort((a, b) => b.operate_time - a.operate_time);
440 451
 
441 452
       // if (monitor_index >= 0) {
442 453
       //   var record = this.monitor_records[monitor_index]
@@ -519,10 +530,8 @@ export default {
519 530
     closeDialog(index) {
520 531
       this.index = -1;
521 532
       this.menuList[index].showPopup = false;
522
-    },refresh(){
523
-
524
-
525
-
533
+    },
534
+    refresh() {
526 535
       var dateStr = parseTime(this.$route.query.date, "{y}-{m}-{d}");
527 536
       var params = {
528 537
         patient_id: this.$route.query.patient_id,
@@ -569,56 +578,59 @@ export default {
569 578
 
570 579
           this.doctor_advices = doctor_advices == null ? [] : doctor_advices;
571 580
           if (this.doctor_advices.length > 0) {
572
-            var group = this.newAdviceGroupObject()
581
+            var group = this.newAdviceGroupObject();
573 582
             var initGroupBlock = function(group, advice) {
574
-              group.group_no = advice.groupno
583
+              group.group_no = advice.groupno;
575 584
               // group.start_time = advice.start_time
576 585
               // group.advice_doctor = advice.advice_doctor
577 586
               // group.exec_staff = advice.execution_staff
578 587
               // group.exec_time = advice.execution_time
579 588
               // group.checker = advice.checker
580
-            }
589
+            };
581 590
             for (let index = 0; index < this.doctor_advices.length; index++) {
582 591
               const advice = this.doctor_advices[index];
583
-              if (advice.groupno == 0) { // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
592
+              if (advice.groupno == 0) {
593
+                // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
584 594
                 if (advice.parent_id > 0) {
585 595
                   if (this.advice_groups.length > 0) {
586
-                    var parent_group = this.advice_groups[this.advice_groups.length - 1]
596
+                    var parent_group = this.advice_groups[
597
+                      this.advice_groups.length - 1
598
+                    ];
587 599
                     if (parent_group.advices.length > 0) {
588 600
                       if (parent_group.advices[0].id == advice.parent_id) {
589
-                        parent_group.advices.push(advice)
601
+                        parent_group.advices.push(advice);
590 602
                       }
591 603
                     }
592 604
                   }
593
-                  continue
594
-
605
+                  continue;
595 606
                 } else {
596 607
                   if (group.group_no > 0) {
597
-                    this.advice_groups.push(group)
598
-                    group = this.newAdviceGroupObject()
608
+                    this.advice_groups.push(group);
609
+                    group = this.newAdviceGroupObject();
599 610
                   }
600 611
 
601
-                  initGroupBlock(group, advice)
602
-                  group.advices.push(advice)
603
-                  this.advice_groups.push(group)
604
-                  group = this.newAdviceGroupObject()
605
-                  continue
612
+                  initGroupBlock(group, advice);
613
+                  group.advices.push(advice);
614
+                  this.advice_groups.push(group);
615
+                  group = this.newAdviceGroupObject();
616
+                  continue;
606 617
                 }
607 618
               }
608 619
 
609 620
               if (group.group_no > 0 && group.group_no != advice.groupno) {
610
-                this.advice_groups.push(group)
611
-                group = this.newAdviceGroupObject()
621
+                this.advice_groups.push(group);
622
+                group = this.newAdviceGroupObject();
612 623
               }
613 624
               if (group.group_no == 0) {
614
-                initGroupBlock(group, advice)
625
+                initGroupBlock(group, advice);
615 626
               }
616 627
               if (group.group_no == advice.groupno) {
617
-                group.advices.push(advice)
628
+                group.advices.push(advice);
618 629
               }
619 630
             }
620
-            if (group.group_no > 0) { // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
621
-              this.advice_groups.push(group)
631
+            if (group.group_no > 0) {
632
+              // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
633
+              this.advice_groups.push(group);
622 634
             }
623 635
 
624 636
             // console.log(this.advice_groups)
@@ -687,7 +699,6 @@ export default {
687 699
           this.loading = false;
688 700
         }
689 701
       });
690
-
691 702
     },
692 703
 
693 704
     requestDialysisRecord() {
@@ -737,58 +748,61 @@ export default {
737 748
 
738 749
           this.doctor_advices = doctor_advices == null ? [] : doctor_advices;
739 750
           if (this.doctor_advices.length > 0) {
740
-            var group = this.newAdviceGroupObject()
751
+            var group = this.newAdviceGroupObject();
741 752
             var initGroupBlock = function(group, advice) {
742
-              group.group_no = advice.groupno
753
+              group.group_no = advice.groupno;
743 754
               // group.start_time = advice.start_time
744 755
               // group.advice_doctor = advice.advice_doctor
745 756
               // group.exec_staff = advice.execution_staff
746 757
               // group.exec_time = advice.execution_time
747 758
               // group.checker = advice.checker
748
-            }
759
+            };
749 760
             for (let index = 0; index < this.doctor_advices.length; index++) {
750 761
               const advice = this.doctor_advices[index];
751
-              if (advice.groupno == 0) { // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
762
+              if (advice.groupno == 0) {
763
+                // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
752 764
                 if (advice.parent_id > 0) {
753 765
                   if (this.advice_groups.length > 0) {
754
-                    var parent_group = this.advice_groups[this.advice_groups.length - 1]
766
+                    var parent_group = this.advice_groups[
767
+                      this.advice_groups.length - 1
768
+                    ];
755 769
                     if (parent_group.advices.length > 0) {
756 770
                       if (parent_group.advices[0].id == advice.parent_id) {
757
-                        parent_group.advices.push(advice)
771
+                        parent_group.advices.push(advice);
758 772
                       }
759 773
                     }
760 774
                   }
761
-                  continue
762
-
775
+                  continue;
763 776
                 } else {
764 777
                   if (group.group_no > 0) {
765
-                    this.advice_groups.push(group)
766
-                    group = this.newAdviceGroupObject()
778
+                    this.advice_groups.push(group);
779
+                    group = this.newAdviceGroupObject();
767 780
                   }
768
-                    
769
-                  initGroupBlock(group, advice)
770
-                  group.advices.push(advice)
771
-                  this.advice_groups.push(group)
772
-                  group = this.newAdviceGroupObject()
773
-                  continue
781
+
782
+                  initGroupBlock(group, advice);
783
+                  group.advices.push(advice);
784
+                  this.advice_groups.push(group);
785
+                  group = this.newAdviceGroupObject();
786
+                  continue;
774 787
                 }
775 788
               }
776 789
 
777 790
               if (group.group_no > 0 && group.group_no != advice.groupno) {
778
-                this.advice_groups.push(group)
779
-                group = this.newAdviceGroupObject()
791
+                this.advice_groups.push(group);
792
+                group = this.newAdviceGroupObject();
780 793
               }
781 794
               if (group.group_no == 0) {
782
-                initGroupBlock(group, advice)
795
+                initGroupBlock(group, advice);
783 796
               }
784 797
               if (group.group_no == advice.groupno) {
785
-                group.advices.push(advice)
798
+                group.advices.push(advice);
786 799
               }
787 800
             }
788
-            if (group.group_no > 0) { // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
789
-              this.advice_groups.push(group)
801
+            if (group.group_no > 0) {
802
+              // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
803
+              this.advice_groups.push(group);
790 804
             }
791
-            
805
+
792 806
             // console.log(this.advice_groups)
793 807
           }
794 808
 
@@ -857,15 +871,18 @@ export default {
857 871
       });
858 872
     },
859 873
     newAdviceGroupObject: function() {
860
-      return Object.assign({}, {
861
-        group_no: 0,
862
-        // advice_doctor: 0,
863
-        // start_time: 0,
864
-        advices: [],
865
-        // exec_staff: 0,
866
-        // exec_time: 0,
867
-        // checker: 0,
868
-      })
874
+      return Object.assign(
875
+        {},
876
+        {
877
+          group_no: 0,
878
+          // advice_doctor: 0,
879
+          // start_time: 0,
880
+          advices: []
881
+          // exec_staff: 0,
882
+          // exec_time: 0,
883
+          // checker: 0,
884
+        }
885
+      );
869 886
     },
870 887
 
871 888
     closePrescriptionDialog: function() {
@@ -917,17 +934,48 @@ export default {
917 934
         document.querySelector("#" + id).offsetTop - 100;
918 935
       document.documentElement.scrollTop =
919 936
         document.querySelector("#" + id).offsetTop - 100;
937
+    },
938
+    handleScroll() {
939
+      this.scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
940
+      if (this.scrollTop > 50) {
941
+        this.goTopShow = true;
942
+      }else{
943
+        this.goTopShow = false;
944
+      }
945
+    },
946
+    goTop() {
947
+      let timer = null,
948
+        _that = this;
949
+    cancelAnimationFrame(timer);
950
+      timer = requestAnimationFrame(function fn() {
951
+        if (_that.scrollTop > 0) {
952
+          _that.scrollTop -= 50;
953
+          document.body.scrollTop = document.documentElement.scrollTop =
954
+            _that.scrollTop;
955
+          timer = requestAnimationFrame(fn);
956
+        } else {
957
+          cancelAnimationFrame(timer);
958
+          _that.goTopShow = false;
959
+        }
960
+      });
961
+    },
962
+    destroyed() {
963
+      window.removeEventListener("scroll", this.handleScroll);
920 964
     }
921 965
   }
922 966
 };
923 967
 </script>
924 968
 
925 969
 <style style="stylesheet/scss" lang="scss" scoped>
970
+.today_panel {
971
+  height: calc(100% - 63px);
972
+}
973
+
926 974
 .mainContent {
927 975
   position: relative;
928 976
   .grid {
929 977
     padding: 0.1rem 0 0.25rem 0;
930
-    margin: 0.2rem 0.2rem 0 0.2rem;
978
+    margin: 0.2rem 0 0 0;
931 979
     background: #fff;
932 980
     .list {
933 981
       ul {
@@ -938,7 +986,7 @@ export default {
938 986
         li {
939 987
           font-size: 0.24rem;
940 988
           color: #5d6b7a;
941
-          margin-top:0.35rem;
989
+          margin-top: 0.35rem;
942 990
           p {
943 991
             line-height: 0.6rem;
944 992
             color: #34495e;
@@ -952,38 +1000,6 @@ export default {
952 1000
       }
953 1001
     }
954 1002
   }
955
-  .fixedNav {
956
-    position: fixed;
957
-    right: 0;
958
-    top: 0;
959
-    left: 1.58rem;
960
-    background: #f18f68;
961
-    color: #fff;
962
-    font-size: 0.24rem;
963
-    z-index: 99;
964
-    padding: 0 0.1rem;
965
-    margin-top: 1.17rem;
966
-    ul {
967
-      @include display-flex;
968
-      @include align-items-center;
969
-      @include text-align;
970
-      @include box-sizing;
971
-      @include justify-content-between;
972
-      margin: 0.3rem 0;
973
-      li {
974
-        height: 0.6rem;
975
-        line-height: 0.6rem;
976
-        padding: 0 0.2rem;
977
-        border-radius: 30px;
978
-        font-size: 0.32rem;
979
-        cursor: pointer;
980
-        background: #f4aa8c;
981
-        &.active {
982
-          background: #f4aa8c;
983
-        }
984
-      }
985
-    }
986
-  }
987 1003
 }
988 1004
 </style>
989 1005
 

+ 0 - 1
src/pages/main/today/detailsInfo.vue Целия файл

@@ -143,7 +143,6 @@ export default {
143 143
 <style rel="stylesheet/scss" lang="scss" scoped>
144 144
 .info {
145 145
   background: $text-color;
146
-  margin: 0 0.2rem;
147 146
   ul {
148 147
     padding: 0.4rem 0.8rem;
149 148
     li {

+ 3 - 2
src/styles/style.scss Целия файл

@@ -47,7 +47,6 @@
47 47
 .plate-box {
48 48
   background: $text-color;
49 49
   padding: 0 0 0.3rem 0;
50
-  margin:  0 0.2rem;
51 50
   .title {
52 51
     border-bottom: 1px $border-color solid;
53 52
     line-height: 1rem;
@@ -293,7 +292,7 @@
293 292
   box-shadow: 0 0 15px #eee;
294 293
   .popover-demo-content {
295 294
     ul {
296
-      width: 6.4rem;
295
+      // width: 6.4rem;
297 296
       padding: 0.28rem;
298 297
       li {
299 298
         font-size: 0.32rem;
@@ -740,3 +739,5 @@
740 739
   min-height: calc(100vh - 2px);
741 740
   padding-left: 0.45rem;
742 741
 }
742
+
743
+

+ 0 - 5
src/styles/vux.less Целия файл

@@ -297,8 +297,3 @@
297 297
 * loadmore
298 298
 */
299 299
 @load-more-line-color: #E5E5E5;
300
-
301
-作者:yundGo
302
-链接:https://www.jianshu.com/p/936c2a2481f8
303
-來源:简书
304
-简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。