Compare commits
3 Commits
4386ff3652
...
67ddfd36db
| Author | SHA1 | Date | |
|---|---|---|---|
| 67ddfd36db | |||
| 22592a1826 | |||
| c58db3595c |
@@ -81,13 +81,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.danmaku-box {
|
.danmaku-box {
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
height: 420px;
|
height: 420px;
|
||||||
|
|
||||||
|
|
||||||
.danmaku {
|
.danmaku {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
height: 420px;
|
height: 420px;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="relative absolute">
|
<view class="relative">
|
||||||
<!-- 直播区域 -->
|
<!-- 直播区域 -->
|
||||||
|
|
||||||
<view class="danmaku-box">
|
<view class="danmaku-box">
|
||||||
@@ -208,7 +208,9 @@ import wzj from "../../static/wzj.json";
|
|||||||
import zj from "../../static/zj.json";
|
import zj from "../../static/zj.json";
|
||||||
import vueDanmaku from "vue3-danmaku";
|
import vueDanmaku from "vue3-danmaku";
|
||||||
|
|
||||||
onMounted(() => { getWinInfo() });
|
onMounted(() => {
|
||||||
|
getWinInfo()
|
||||||
|
});
|
||||||
|
|
||||||
const danmakuRef = ref();
|
const danmakuRef = ref();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user