3.26 bug修复

This commit is contained in:
duanliang
2025-03-26 17:58:05 +08:00
parent 1e498f9d9c
commit 1f99161158
6 changed files with 16 additions and 9 deletions

BIN
dist.zip

Binary file not shown.

View File

@@ -35,7 +35,7 @@
color: ['#00B1FF', '#00FFFF', '#FF3737', '#DD5627', '#D3F0FE'], color: ['#00B1FF', '#00FFFF', '#FF3737', '#DD5627', '#D3F0FE'],
legend: { legend: {
orient: 'vertical', orient: 'vertical',
left: '48%', right: 0,
y: 'center', y: 'center',
itemHeight: fitChartSize(8), itemHeight: fitChartSize(8),
itemWidth: fitChartSize(8), itemWidth: fitChartSize(8),

View File

@@ -154,7 +154,7 @@
v-for="(item, index) in homeStore.carShipData?.car?.info" v-for="(item, index) in homeStore.carShipData?.car?.info"
:key="index" :key="index"
> >
<div>{{ item.name }}</div> <div class="small-text">{{ item.name }}</div>
<div>{{ item.started_count }}<span class="unit-1"></span></div> <div>{{ item.started_count }}<span class="unit-1"></span></div>
<div>{{ item.not_started_count }}<span class="unit-1"></span></div> <div>{{ item.not_started_count }}<span class="unit-1"></span></div>
</div> </div>
@@ -192,7 +192,7 @@
v-for="(item, index) in homeStore.carShipData?.ship?.info" v-for="(item, index) in homeStore.carShipData?.ship?.info"
:key="index" :key="index"
> >
<div>{{ item.name }}</div> <div class="small-text">{{ item.name }}</div>
<div>{{ item.started_count }}<span class="unit-1"></span></div> <div>{{ item.started_count }}<span class="unit-1"></span></div>
<div>{{ item.not_started_count }}<span class="unit-1"></span></div> <div>{{ item.not_started_count }}<span class="unit-1"></span></div>
</div> </div>
@@ -275,6 +275,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.small-text{
font-size:vw(12);
}
.box-3 { .box-3 {
margin-top: vh(120); margin-top: vh(120);
width: vw(774); width: vw(774);
@@ -458,8 +461,12 @@
flex: 1; flex: 1;
} }
& > div:nth-child(1) { & > div:nth-child(1) {
overflow: hidden;
text-overflow: ellipsis;
display: block;
white-space: nowrap;
font-weight: 400; font-weight: 400;
font-size: vw(14); font-size: vw(12);
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
} }
& > div:nth-child(2) { & > div:nth-child(2) {

View File

@@ -37,7 +37,7 @@
params = { params = {
legend: { legend: {
x: 'center', x: 'center',
y: '70%', y: 'bottom',
itemHeight: fitChartSize(8), itemHeight: fitChartSize(8),
itemWidth: fitChartSize(8), itemWidth: fitChartSize(8),
itemGap: fitChartSize(14), itemGap: fitChartSize(14),

View File

@@ -112,7 +112,7 @@
</div> </div>
</div> </div>
<div class="box-2"> <div class="box-2">
<Title1 title="安全信息 " /> <Title1 title="异常信息 " />
<div class="count-box flex"> <div class="count-box flex">
<count-item <count-item
v-for="item in scenicStore.secureData.headList" v-for="item in scenicStore.secureData.headList"
@@ -472,8 +472,8 @@
display: flex; display: flex;
align-items: center; align-items: center;
background: #0a4190; background: #0a4190;
border-radius: vw(8); border-radius: vw(4);
font-size:vw(22); font-size:vw(14);
color:#fff; color:#fff;
} }
} }

View File

@@ -77,7 +77,7 @@
color: ['#A665F1', '#0063FF', '#00D0FF', '#01FEFE', '#FC2638', '#FED958'], color: ['#A665F1', '#0063FF', '#00D0FF', '#01FEFE', '#FC2638', '#FED958'],
legend: { legend: {
x: 'left', x: 'left',
y: '74%', y: 'bottom',
itemHeight: fitChartSize(12), itemHeight: fitChartSize(12),
itemWidth: fitChartSize(12), itemWidth: fitChartSize(12),
itemGap: fitChartSize(10), itemGap: fitChartSize(10),