Commit 4ea699c8 authored by 刘阳's avatar 刘阳

fix: 图片引用

parent 6e4df758
import videoPlay from './video_play.png'
import videoBg from './video_bg.png'
import nocontent from './nocontent.png'
import one from './1.PNG'
import two from './2.PNG'
import thr from './3.PNG'
import four from './4.PNG'
import five from './5.PNG'
import six from './6.PNG'
import siven from './7.PNG'
import eight from './8.PNG'
import nine from './9.PNG'
import one from './1.png'
import two from './2.png'
import thr from './3.png'
import four from './4.png'
import five from './5.png'
import six from './6.png'
import siven from './7.png'
import eight from './8.png'
import nine from './9.png'
export {
videoPlay,
......
......@@ -75,9 +75,9 @@ export default {
userId = `${new Date().getTime()}`
}
const routeName = joinObj.path
socket.connect(userId, () => {
this.$router.push({ name: routeName, query: { userId, roomId: this.roomId }})
})
// socket.connect(userId, () => {
this.$router.push({ name: routeName, query: { userId, roomId: this.roomId }})
// })
}
},
mounted() {
......
......@@ -44,7 +44,17 @@
<script>
import { GeekDrawBoard } from '@geek/geekui'
import Vue from 'vue'
import { videoBg, bg } from '@/assets/images/index'
import {
videoBg,one,
two,
thr,
four,
five,
six,
siven,
eight,
nine
} from '@/assets/images/index'
import HWRTC from '@/utils/hwrtc'
import socket from '@/utils/socket'
......@@ -64,7 +74,15 @@ const streamTypes = [
]
const imgs = [
bg, videoBg
one,
two,
thr,
four,
five,
six,
siven,
eight,
nine
]
Vue.use(GeekDrawBoard)
......@@ -188,7 +206,8 @@ export default {
transform: translateY(-50%);
}
.bg {
height: 100vh; width: 100vw;
height: 100vh;
width: 100vw;
}
.draw-board {
position: absolute;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment