Commit efefb3e60c96d94cee8db341cc9ff7e6a19bb5f2
1 parent
bb62d3ea
样式修改,取消亮色
Showing
1 changed file
with
21 additions
and
21 deletions
src/views/home/index.vue
| ... | ... | @@ -364,24 +364,24 @@ const handleUpdateDataRequest = (dateKey) => { |
| 364 | 364 | nextTick(() => { |
| 365 | 365 | const containerElement = fleetNbbmInfoContainer.value; |
| 366 | 366 | if (containerElement != null) { |
| 367 | - containerElement.forEach((el) => { | |
| 368 | - const nbbmHaveSaleInfo = el.firstElementChild.firstElementChild; | |
| 369 | - if ("fleet-nbbm-info-have-sale" == nbbmHaveSaleInfo.className) { | |
| 370 | - const textWidth = nbbmHaveSaleInfo.children[1].firstElementChild.offsetWidth; | |
| 371 | - // 有售票员 | |
| 372 | - for (let index = 0; index < el.children.length; index++) { | |
| 373 | - const element = el.children[index]; | |
| 374 | - element.style.width = `${textWidth}px`; | |
| 375 | - } | |
| 376 | - // 无售票员 | |
| 377 | - } else { | |
| 378 | - const textWidth = nbbmHaveSaleInfo.firstElementChild.offsetWidth; | |
| 379 | - for (let index = 0; index < el.children.length; index++) { | |
| 380 | - const element = el.children[index]; | |
| 381 | - element.style.width = `${textWidth}px`; | |
| 382 | - } | |
| 383 | - } | |
| 384 | - }) | |
| 367 | + // containerElement.forEach((el) => { | |
| 368 | + // const nbbmHaveSaleInfo = el.firstElementChild.firstElementChild; | |
| 369 | + // if ("fleet-nbbm-info-have-sale" == nbbmHaveSaleInfo.className) { | |
| 370 | + // const textWidth = nbbmHaveSaleInfo.children[1].firstElementChild.offsetWidth; | |
| 371 | + // // 有售票员 | |
| 372 | + // for (let index = 0; index < el.children.length; index++) { | |
| 373 | + // const element = el.children[index]; | |
| 374 | + // element.style.width = `${textWidth}px`; | |
| 375 | + // } | |
| 376 | + // // 无售票员 | |
| 377 | + // } else { | |
| 378 | + // const textWidth = nbbmHaveSaleInfo.firstElementChild.offsetWidth; | |
| 379 | + // for (let index = 0; index < el.children.length; index++) { | |
| 380 | + // const element = el.children[index]; | |
| 381 | + // element.style.width = `${textWidth}px`; | |
| 382 | + // } | |
| 383 | + // } | |
| 384 | + // }) | |
| 385 | 385 | loading.value = false; |
| 386 | 386 | } else { |
| 387 | 387 | loading.value = false; |
| ... | ... | @@ -512,7 +512,7 @@ const handleGlobalInfo = (data, num) => { |
| 512 | 512 | |
| 513 | 513 | .global-info-box-container-right-number { |
| 514 | 514 | font-weight: bold; |
| 515 | - color: aqua; | |
| 515 | + color: green; | |
| 516 | 516 | } |
| 517 | 517 | } |
| 518 | 518 | } |
| ... | ... | @@ -610,7 +610,7 @@ const handleGlobalInfo = (data, num) => { |
| 610 | 610 | display: flex; |
| 611 | 611 | justify-content: center; |
| 612 | 612 | align-items: center; |
| 613 | - background-color: aqua; | |
| 613 | + background-color: green; | |
| 614 | 614 | margin-right: clamp(0.4rem, 0.489rem + 1.05vw, 0.7rem); |
| 615 | 615 | } |
| 616 | 616 | |
| ... | ... | @@ -650,7 +650,7 @@ const handleGlobalInfo = (data, num) => { |
| 650 | 650 | font-size: 0.8vw; |
| 651 | 651 | |
| 652 | 652 | .fleet-nbbm-info-item { |
| 653 | - // width: 6vw; | |
| 653 | + width: 6vw; | |
| 654 | 654 | height: 2.4vh; |
| 655 | 655 | margin-right: 0.4vw; |
| 656 | 656 | box-sizing: border-box; | ... | ... |