refactor(layouts): 调整默认布局和直播室页面样式
- 移除 default.vue 中的 fullLive 条件判断- 优化 LiveRoom 页面布局- 更新 home store 中的 fullLive 默认值为 true -调整首页 changeLive 扩展样式 - 删除 specialMessage 组件
This commit is contained in:
parent
7026357c09
commit
2f2066f3e5
@ -4,7 +4,7 @@
|
||||
<div class="flex-1 flex flex-col">
|
||||
<slot />
|
||||
</div>
|
||||
<AppFooter v-if="!fullLive" />
|
||||
<AppFooter />
|
||||
</main>
|
||||
</template>
|
||||
<script setup >
|
||||
|
@ -1,13 +0,0 @@
|
||||
<script setup>
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<div></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
@ -4,7 +4,6 @@ import Aliplayer from 'aliyun-aliplayer'
|
||||
import 'aliyun-aliplayer/build/skins/default/aliplayer-min.css'
|
||||
import lock4 from '@/static/images/lock4@2x.png'
|
||||
import lockdfd from '@/static/images/lockdfd@2x.png'
|
||||
import specialMessage from './components/specialMessage/index.vue'
|
||||
const player = ref(null)
|
||||
const quoteStatus = ref(false)
|
||||
const isPlayerReady = ref(false)
|
||||
@ -99,7 +98,6 @@ onBeforeUnmount(() => {
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -263,6 +263,8 @@ const changeLive=()=>{
|
||||
}
|
||||
|
||||
.changeLive.expanded {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
height: calc(100vh - var(--van-nav-bar-height));
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { createGlobalState } from '@vueuse/core'
|
||||
export const homeStore = createGlobalState(() => {
|
||||
const fullLive=ref(false)
|
||||
const fullLive=ref(true)
|
||||
return{
|
||||
fullLive
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user