guhongwei 4 年之前
父节点
当前提交
21f334186f
共有 1 个文件被更改,包括 37 次插入1 次删除
  1. 37 1
      src/views/halltwo/liveCenter.vue

+ 37 - 1
src/views/halltwo/liveCenter.vue

@@ -42,7 +42,16 @@
             </el-col>
             </el-col>
             <el-col :span="24" class="down">
             <el-col :span="24" class="down">
               <el-col :span="24" class="one">
               <el-col :span="24" class="one">
-                第一部分
+                <el-col :span="4" class="left">
+                  展会动态
+                </el-col>
+                <el-col :span="20" class="right">
+                  <marquee beavior="scroll">
+                    <span class="trainoneList" v-for="(item, index) in trainoneList" :key="index">
+                      {{ item.market_username }}与{{ item.username }} {{ item.status == '0' ? '产生意向' : item.status == '1' ? '达成意向' : '实现对接' }}</span
+                    >
+                  </marquee>
+                </el-col>
               </el-col>
               </el-col>
               <el-col :span="24" class="two">
               <el-col :span="24" class="two">
                 <p>
                 <p>
@@ -80,6 +89,8 @@ export default {
       dockInfo: {},
       dockInfo: {},
       // 统计数
       // 统计数
       statNum: {},
       statNum: {},
+      // 横向滚动
+      trainoneList: [],
     };
     };
   },
   },
   async created() {
   async created() {
@@ -102,6 +113,11 @@ export default {
         // 总人数
         // 总人数
         statNum.zrs = res.data.apply.length;
         statNum.zrs = res.data.apply.length;
 
 
+        // 所有
+        let trans = await this.tquery({ dock_id: this.id });
+        if (this.$checkRes(res)) {
+          this.$set(this, `trainoneList`, trans.data);
+        }
         // 正在洽谈
         // 正在洽谈
         let qthe = await this.tquery({ status: 0, dock_id: this.dock_id });
         let qthe = await this.tquery({ status: 0, dock_id: this.dock_id });
         if (this.$checkRes(qthe)) {
         if (this.$checkRes(qthe)) {
@@ -211,6 +227,26 @@ export default {
       .one {
       .one {
         height: 54px;
         height: 54px;
         border: 1px solid #fdb21e;
         border: 1px solid #fdb21e;
+        .left {
+          width: 120px;
+          background: #fdb21e;
+          border-radius: 5px;
+          font-size: 18px;
+          text-align: center;
+          line-height: 40px;
+          height: 40px;
+          margin: 5px 0 0 5px;
+        }
+        .right {
+          .trainoneList {
+            display: inline-block;
+            height: 54px;
+            line-height: 54px;
+            color: #fff;
+            font-size: 16px;
+            padding: 0 10px;
+          }
+        }
       }
       }
       .two {
       .two {
         p {
         p {