guhongwei 5 лет назад
Родитель
Сommit
a07d5fac72
2 измененных файлов с 7 добавлено и 6 удалено
  1. 4 3
      src/views/hallList/index.vue
  2. 3 3
      src/views/hallList/parts/list.vue

+ 4 - 3
src/views/hallList/index.vue

@@ -1,16 +1,16 @@
 <template>
   <div id="index">
     <el-col :span="24" class="main">
-      <el-col :span="24" class="info" style="padding:10px">
+      <el-col :span="24" class="info" style="padding:30px">
         <el-tabs>
           <el-tab-pane label="进行中的对接会" name="0">
             <list :list="listNow" :total="nowTotal" status="1" @query="searchList"></list>
           </el-tab-pane>
           <el-tab-pane label="近期对接会" name="1">
-            <list :list="listPre" :total="nowTotal" status="0" @query="searchList"></list>
+            <list :list="listPre" :total="preTotal" status="0" @query="searchList"></list>
           </el-tab-pane>
           <el-tab-pane label="过往对接会" name="2">
-            <list :list="listNow" :total="nowTotal" status="2" @query="searchList"></list>
+            <list :list="listNow" :total="pastTotal" status="2" @query="searchList"></list>
           </el-tab-pane>
         </el-tabs>
       </el-col>
@@ -63,6 +63,7 @@ export default {
       let res = await this.dockQuery({ is_allowed: 1, skip, limit, status, ...info });
       if (res.errcode === 0) {
         if (status == '0') {
+          console.log(res.total);
           this.$set(this, `preTotal`, res.total);
           this.$set(this, `listPre`, res.data);
         } else if (status == '1') {

+ 3 - 3
src/views/hallList/parts/list.vue

@@ -84,9 +84,10 @@ export default {
 }
 .infoRightList {
   float: left;
-  width: 95%;
+  width: 100%;
   padding: 7px 0;
   margin: 0 0 0 5px;
+  border-bottom: 1px dashed #ccc;
 }
 .infoRightList:hover p span:first-child {
   -webkit-transform: translateY(-3px);
@@ -104,12 +105,11 @@ export default {
 }
 .infoRightList p span:first-child {
   display: inline-block;
-  width: 60%;
+  width: 89%;
   margin: 0 20px 0 10px;
 }
 .infoRightList p span:last-child {
   display: inline-block;
-  padding: 0 0 0 149px;
   text-align: center;
   font-size: 16px;
 }