Browse Source

fix: 客户管理 - 客户详情 - 订单列表样式

zhengxy 1 year ago
parent
commit
3b25b9093f
1 changed files with 7 additions and 4 deletions
  1. 7 4
      project/src/components/detials/order.vue

+ 7 - 4
project/src/components/detials/order.vue

@@ -1,12 +1,12 @@
1 1
 <template>
2 2
   <div class="con" v-loading="loading">
3 3
     <div class="thead">
4
-      <div class="thead_item" v-for="(t_h,thidx) in theadList" :key="thidx" :style="{width:t_h.width?t_h.width:'20%'}">{{t_h.name}}</div>
4
+      <div class="thead_item" v-for="(t_h,thidx) in theadList" :key="thidx">{{t_h.name}}</div>
5 5
     </div>
6 6
     <template v-if="list&&list.length>0">
7 7
       <div class="tbody">
8 8
         <div class="tbody_item" v-for="l in list" :key="l.order_id">
9
-          <div style="width: 28%;">
9
+          <div>
10 10
             {{l.order_id?l.order_id:'-'}}
11 11
           </div>
12 12
           <div>{{l.playlet_name ? l.playlet_name  : '-'}}</div>
@@ -104,7 +104,8 @@ export default {
104 104
     position: sticky;
105 105
     top: 60px;
106 106
     .thead_item{
107
-      width: 20%;
107
+      // width: 20%;
108
+      flex: 1;
108 109
       padding: 16px;
109 110
       color: #666;
110 111
       background-color: #fbfbfb;
@@ -120,7 +121,9 @@ export default {
120 121
       border: 1px solid #EBEEF5;
121 122
       border-top: none;
122 123
       div{
123
-        width: 20%;
124
+        // width: 20%;
125
+        flex: 1;
126
+        word-break:break-all;
124 127
         border-right: 1px solid #EBEEF5;
125 128
         padding: 16px;
126 129
       }