From 382d9f2df47c0e26b9a86077ad70c1c317f3d52d Mon Sep 17 00:00:00 2001 From: pjb <pjb123456> Date: 星期一, 11 八月 2025 10:07:03 +0800 Subject: [PATCH] 优化界面 --- src/main/webapp/views/index.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html index b39d309..6cced2e 100644 --- a/src/main/webapp/views/index.html +++ b/src/main/webapp/views/index.html @@ -59,7 +59,7 @@ } .station { position: absolute; - width: 20px; + width: 26px; height: 14px; text-align: center; line-height: 1.5; /* 璋冩暣琛岄珮涓庡瓧浣撳ぇ灏忕殑姣斿�� */ @@ -230,7 +230,7 @@ <!-- <div v-for="(item,i) in devpPos3" class="bus-item-left2" :style="'top:' + (100 + i * 10) + 'px'">{{item.dev_no}}</div>--> <!-- </div>--> <!-- Stations on outer ring--> - <div v-for="station in tableDataDev" class="station" :style="{ top: station.valueY + 'px', left: station.valueX + 'px' }">{{ station.index }}</div> + <div v-for="station in tableDataDev" class="station" :style="{ top: station.valueY + 'px', left: station.valueX + 'px' , backgroundColor: station.modeColor}">{{ station.index }}</div> <!-- <div>--> <!-- <el-switch--> <!-- style="display: block"--> -- Gitblit v1.9.1