guhongwei 5 年之前
父节点
当前提交
44c223f2d5
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/views/direct.vue

+ 6 - 2
src/views/direct.vue

@@ -45,7 +45,7 @@
         <el-col :span="24" class="livemain">
         <el-col :span="24" class="livemain">
           <el-col :span="24" class="livevideo">
           <el-col :span="24" class="livevideo">
             <el-col :span="24" class="left">
             <el-col :span="24" class="left">
-              <el-col :span="24" class="title">
+              <el-col :span="24" class="title" @click.native="btnDirectDetail">
                 <span style="color: rgb(255, 132, 0);">现场</span>
                 <span style="color: rgb(255, 132, 0);">现场</span>
                 <span>直播</span>
                 <span>直播</span>
               </el-col>
               </el-col>
@@ -496,7 +496,6 @@ export default {
       console.log(res);
       console.log(res);
       if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
       if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
     },
     },
-
     onclickjs(item) {
     onclickjs(item) {
       console.log(item);
       console.log(item);
       this.$set(this, `policyInfo`, item);
       this.$set(this, `policyInfo`, item);
@@ -536,6 +535,11 @@ export default {
         })
         })
         .catch(_ => {});
         .catch(_ => {});
     },
     },
+    // 直播详情
+    btnDirectDetail() {
+      console.log('你好');
+      this.$router.push({ path: '/live/hallDetail', query: { id: this.$route.query.id } });
+    },
   },
   },
   computed: {
   computed: {
     pageTitle() {
     pageTitle() {