Browse Source

Merge branch 'zhp' of http://code.qutaovip.com/lihai/pad_spa into feat/lihai

黎海 2 years ago
parent
commit
7448211e47
1 changed files with 13 additions and 10 deletions
  1. 13 10
      src/components/common/layout/layout.vue

+ 13 - 10
src/components/common/layout/layout.vue

@@ -96,8 +96,8 @@
96
                 @click="readMsgToOrderDetails(item)"
96
                 @click="readMsgToOrderDetails(item)"
97
               >
97
               >
98
                 <div class="content-bar flex flex-column">
98
                 <div class="content-bar flex flex-column">
99
-                  <div class="desc-info">{{item.sender_name}}</div>
100
-                  <div class="desc-time">{{item.msg | ellipsis(80)}}</div>
99
+                  <div class="desc-info">{{item.project_name}}</div>
100
+                  <div class="desc-time">{{`${item.device_name} ${item.room}` | ellipsis(80)}}</div>
101
                 </div>
101
                 </div>
102
                 <div class="count flex flex-column items-center">
102
                 <div class="count flex flex-column items-center">
103
                   <div class="time">{{item.create_time}}</div>
103
                   <div class="time">{{item.create_time}}</div>
@@ -134,9 +134,9 @@
134
               @click="readMsgToOrderDetails(item)"
134
               @click="readMsgToOrderDetails(item)"
135
             >
135
             >
136
               <div class="info flex">
136
               <div class="info flex">
137
-                <!-- <div class="name">张三</div>
138
-                <div class="project">121212122</div> -->
139
-                {{item.msg | ellipsis(50)}}
137
+                <div class="name">{{item.nickname}}</div>
138
+                <div class="project">成功预约{{item.order_time}}</div>
139
+                <!-- {{item.nickname | ellipsis(50)}} -->
140
               </div>
140
               </div>
141
               <div class="flex flex-column items-center">
141
               <div class="flex flex-column items-center">
142
                 <div class="time">{{item.create_time}}</div>
142
                 <div class="time">{{item.create_time}}</div>
@@ -173,9 +173,9 @@
173
               @click="readMsgToOrderDetails(item)"
173
               @click="readMsgToOrderDetails(item)"
174
             >
174
             >
175
               <div class="info flex">
175
               <div class="info flex">
176
-                <!-- <div class="name">张三</div>
177
-                <div class="project">121212122</div> -->
178
-                {{item.msg | ellipsis(50)}}
176
+                <div class="name">{{item.nickname}}</div>
177
+                <div class="project">取消预约{{item.order_time}}</div>
178
+                <!-- {{item.msg | ellipsis(50)}} -->
179
               </div>
179
               </div>
180
               <div class="flex flex-column items-center">
180
               <div class="flex flex-column items-center">
181
                 <div class="time">{{item.create_time}}</div>
181
                 <div class="time">{{item.create_time}}</div>
@@ -792,7 +792,8 @@ export default {
792
     }
792
     }
793
   }
793
   }
794
   .msg-bar {
794
   .msg-bar {
795
-    margin-top: 18px;
795
+    // margin-top: 18px;
796
+    height: 55px;
796
     .info {
797
     .info {
797
       width: 400px;
798
       width: 400px;
798
       line-height: 18px;
799
       line-height: 18px;
@@ -800,7 +801,9 @@ export default {
800
         font-weight: 600;
801
         font-weight: 600;
801
         margin-right: 5px;
802
         margin-right: 5px;
802
       }
803
       }
803
-      .project {}
804
+      .project {
805
+        color: #666666;
806
+      }
804
     }
807
     }
805
   }
808
   }
806
 }
809
 }