Commit 4cdebafe918fa80fe542c859c081f6f8f190246d

Authored by 2c2c2c
1 parent a9909a8b

大屏优化

src/components/FleetContentBox/index.vue
@@ -155,10 +155,11 @@ onMounted(() => { @@ -155,10 +155,11 @@ onMounted(() => {
155 155
156 <style lang="scss" scoped> 156 <style lang="scss" scoped>
157 .fleet-content-box { 157 .fleet-content-box {
158 - height: calc(100% - clamp(0.8rem, -0.907rem + 5.71vw, 1.3rem)); 158 + //height: calc(85%);
  159 + flex: 1;
159 width: auto; 160 width: auto;
160 overflow: hidden; 161 overflow: hidden;
161 - scroll-behavior: smooth; 162 + //scroll-behavior: smooth;
162 163
163 .scrolling { 164 .scrolling {
164 animation: scroll 5s linear infinite; 165 animation: scroll 5s linear infinite;
src/views/home/index.vue
@@ -534,6 +534,8 @@ const handleGlobalInfo = (data, num) =&gt; { @@ -534,6 +534,8 @@ const handleGlobalInfo = (data, num) =&gt; {
534 box-sizing: border-box; 534 box-sizing: border-box;
535 padding: clamp(0.6rem, 0.489rem + 1.05vw, 1rem); 535 padding: clamp(0.6rem, 0.489rem + 1.05vw, 1rem);
536 background-color: white; 536 background-color: white;
  537 + display: flex;
  538 + flex-direction: column;
537 539
538 .fleet-global-content-container { 540 .fleet-global-content-container {
539 display: flex; 541 display: flex;