直播背景新增

master
于肖磊 2025-11-28 18:41:03 +08:00
parent 82af38b7af
commit 2c237c8cc2
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<view :class="theme_view + ' flex-row pr'" :style="'width:' + windowWidth + 'px;height:' + windowHeight + 'px;'">
<view class="flex-1 pr">
<view class="live-bg" :style="'z-index:11;width:' + windowWidth + 'px;height:' + windowHeight + 'px;'"></view>
<view class="live-bg" :style="'z-index:1;width:' + windowWidth + 'px;height:' + windowHeight + 'px;'"></view>
<live-video src="http://live-pull-all.shopxo.vip/68f764013572f9240ca7ce6c/shopxo122.m3u8" @ended="ended"></live-video>
</view>
<view class="live-content" :style="'width:' + windowWidth + 'px;height:' + windowHeight + 'px;'">
@ -46,6 +46,7 @@
width: 100%;
height: 100%;
background-image: linear-gradient(to bottom,#ba623c,#14766a);
pointer-events: none; // 确保背景不会拦截触摸事件
}
.live-content {
position: absolute;