guhongwei před 4 roky
rodič
revize
296c2cac8b
3 změnil soubory, kde provedl 1 přidání a 54 odebrání
  1. 0 5
      src/router/index.js
  2. 1 1
      src/views/hall/direct.vue
  3. 0 48
      src/views/video.vue

+ 0 - 5
src/router/index.js

@@ -8,11 +8,6 @@ const live = [
     name: 'live',
     component: () => import('../views/index.vue'),
     children: [
-      {
-        path: '/video',
-        meta: { title: '平台登陆' },
-        component: () => import('../views/video.vue'),
-      },
       // 平台登录
       {
         path: '/webLogin',

+ 1 - 1
src/views/hall/direct.vue

@@ -56,7 +56,7 @@
                 </el-col>
                 <el-col :span="24" :class="[dockInfo.room_id == '1006' ? 'leftvideos' : 'leftvideo']">
                   <span v-if="dockInfo.room_id == '1006'">
-                    <iframe src="/videoLive.html" style="width:100%;height:100%"></iframe>
+                    <iframe src="videoLive.html" style="width:100%;height:100%"></iframe>
                   </span>
                   <span v-else>
                     <el-col :span="24" class="videoTop">

+ 0 - 48
src/views/video.vue

@@ -1,48 +0,0 @@
-<template>
-  <div id="video">
-    <el-row>
-      <el-col :span="24" class="main">
-        <div class="w_1200">
-          <el-col :span="24" class="video">
-            <iframe src="videoLive.html" style="width:100%;height:100%"></iframe>
-          </el-col>
-        </div>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import { mapState, createNamespacedHelpers } from 'vuex';
-export default {
-  metaInfo() {
-    return { title: this.$route.meta.title };
-  },
-  name: 'video',
-  props: {},
-  components: {},
-  data: function() {
-    return {};
-  },
-  created() {
-    this.search();
-  },
-  methods: {
-    search() {},
-  },
-  computed: {
-    ...mapState(['user']),
-  },
-  watch: {},
-};
-</script>
-
-<style lang="less" scoped>
-.main {
-  .video {
-    width: 500px;
-    height: 300px;
-    border: 1px solid red;
-  }
-}
-</style>