adjust the height of flying company logo list in running status

This commit is contained in:
geekgeekrun
2024-03-10 21:42:12 +08:00
parent e51eae331a
commit 99d763029e
2 changed files with 15 additions and 4 deletions
@@ -66,7 +66,6 @@ onMounted(async () => {
<style lang="scss" scoped> <style lang="scss" scoped>
.flying-company-logo-list-container { .flying-company-logo-list-container {
height: 600px;
perspective: 600px; perspective: 600px;
display: grid; display: grid;
align-items: center; align-items: center;
@@ -1,5 +1,6 @@
<template> <template>
<div class="geek-auto-start-chat-with-boss__running-status"> <div class="geek-auto-start-chat-with-boss__running-status">
<FlyingCompanyLogoList class="flying-company-logo-list" />
<div class="tip"> <div class="tip">
<article> <article>
<h1>👋 BOSS炸弹正在运行</h1> <h1>👋 BOSS炸弹正在运行</h1>
@@ -9,7 +10,6 @@
</article> </article>
<el-button :disabled="isStopping" @click="handleStopButtonClick">停止开聊</el-button> <el-button :disabled="isStopping" @click="handleStopButtonClick">停止开聊</el-button>
</div> </div>
<FlyingCompanyLogoList class="flying-company-logo-list" />
</div> </div>
</template> </template>
@@ -63,12 +63,24 @@ onMounted(async () => {
<style scoped lang="scss"> <style scoped lang="scss">
.geek-auto-start-chat-with-boss__running-status { .geek-auto-start-chat-with-boss__running-status {
max-width: 100%; width: 100%;
max-height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.tip { .tip {
margin: 0 auto; margin: 0 auto;
margin-top: -15vh;
max-width: 640px; max-width: 640px;
} }
.flying-company-logo-list {
position: absolute;
inset: 0;
z-index: -1;
opacity: 0.25;
}
} }
</style> </style>