From 3e64c6da0247500ce9b46befd8c3ebc759655111 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 18 May 2020 11:32:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A5=BF=E5=AE=89=E4=B8=89=E5=8F=B7=E7=BA=BF?= =?UTF-8?q?=20=E4=BB=BF=E7=9C=9F=E7=B3=BB=E7=BB=9F=E8=BD=A6=E6=AC=A1?= =?UTF-8?q?=E4=B8=8E=E5=AE=9E=E9=99=85=E8=BD=A6=E6=AC=A1=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=8D=E7=AC=A6=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/config/skinCode/xian_01.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jmapNew/config/skinCode/xian_01.js b/src/jmapNew/config/skinCode/xian_01.js index 022134b49..1c97a6556 100644 --- a/src/jmapNew/config/skinCode/xian_01.js +++ b/src/jmapNew/config/skinCode/xian_01.js @@ -558,7 +558,8 @@ class SkinCode extends defaultStyle { lrPadding: 1, // 两边间隔 upPadding: 1, // 上边距离 trainBodyFillColor: '#000000', // 列车车身填充颜色 - trainNameFormat: 'targetCode:serviceNumber:tripNumber'// 列车显示格式 + // targetCode: + trainNameFormat: 'serviceNumber:tripNumber'// 列车显示格式 }, directionArrow: { }, @@ -610,6 +611,7 @@ class SkinCode extends defaultStyle { aspectRatio: 8 / 15, // 字体宽高比例(用以拼接text是计算位置) textOffset: 1, // 字体偏移(用以控制字体据车头的距离) trainWidthMoreText: 2, // 计算列车长度时--列车长比text多出尺寸 + useSelfFormat: true, // 使用配置项的nameFormat displayPosition: 'margin', // 非同通信车在物理区段(有逻辑区段)上显示的位置 margin:行驶方向边缘车次窗 center: 中间位置车次窗 trainTip:true // 鼠标悬停列车状态信息框是否显示 },