1
0

feat(ParkingScene): 更新场景样式和间距配置

- 将场景名称字体大小从16px调整为18px
- 使用dot.png图片替换文本点符号
- 调整场景项之间的间距从8px改为7px
This commit is contained in:
gaohaifeng 2025-08-21 20:23:40 +08:00
parent 151fb269e9
commit a927c80bce
3 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

View File

@ -11,7 +11,7 @@ export const option = {
linkColor: '#00E5FF',
linkText: '查看更多>>',
sceneNameColor: '#ccc',
sceneNameSize: 16,
sceneNameSize: 18,
labelColor: '#ccc',
labelSize: 14,
valueColor: '#DFAB0F',

View File

@ -200,7 +200,7 @@
<div class="content">
<div v-for="(scene, index) in option.dataset" :key="index" class="scene-item">
<div class="scene-header">
<span class="dots">···</span>
<img src="./assets/dot.png" alt="" class="dots"></img>
<span class="scene-name" :style="{ color: option.sceneNameColor, fontSize: option.sceneNameSize + 'px' }">{{
scene.name }}</span>
</div>
@ -255,7 +255,7 @@ const option = computed(() => props.chartConfig.option)
}
.scene-item:nth-child(n+2) {
margin-top: 8px;;
margin-top: 7px;;
}
.scene-header {