vr-shopxo-uniapp/pages/plugins/live/pull/pull.vue

56 lines
1.4 KiB
Vue
Raw Normal View History

2025-10-27 10:38:30 +00:00
<template>
2025-11-26 03:14:15 +00:00
<view :class="theme_view + ' bg-0'">
2025-11-25 02:30:43 +00:00
<view class="w h">
<live-video src="http://live-pull-all.shopxo.vip/68f764013572f9240ca7ce6c/shopxo122.m3u8"></live-video>
</view>
2025-11-26 03:14:15 +00:00
<view class="live-content">
<live-content></live-content>
</view>
2025-10-27 10:38:30 +00:00
</view>
</template>
<script>
2025-11-27 09:28:29 +00:00
import liveVideo from './components/video/video.vue';
import liveContent from './components/live-content/live-content.vue';
2025-10-27 13:29:50 +00:00
const app = getApp();
export default {
2025-11-24 07:26:22 +00:00
components: {
2025-11-26 03:14:15 +00:00
liveVideo,
liveContent
2025-11-24 07:26:22 +00:00
},
2025-10-27 13:29:50 +00:00
data() {
return {
}
2025-10-27 10:38:30 +00:00
},
2025-10-30 10:47:31 +00:00
onLoad(params) {
// 调用公共事件方法
app.globalData.page_event_onload_handle(params);
// 设置参数
this.setData({
params: app.globalData.launch_params_handle(params),
});
},
onShow() {
// 调用公共事件方法
app.globalData.page_event_onshow_handle();
// 分享菜单处理
app.globalData.page_share_handle();
},
2025-10-27 13:29:50 +00:00
methods: {
2025-10-30 10:47:31 +00:00
2025-10-27 10:38:30 +00:00
}
}
</script>
2025-11-26 03:14:15 +00:00
<style scoped>
.live-content {
position: absolute;
top: 0;
left: 0;
z-index: 9;
width: 100%;
height: 100%;
}
2025-10-27 10:38:30 +00:00
</style>