Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CoderOpen/waimai
/ lineColor
Function
lineColor
front/components/amap-wx/js/util.js:51–57 ·
view source on GitHub ↗
* 获取地图颜色
(name)
Source
from the content-addressed store, hash-verified
49
* 获取地图颜色
50
*/
51
lineColor(name) {
52
if
(line[name]) {
53
return
line[name];
54
}
else
{
55
return
'#ccc'
;
56
}
57
},
58
/**
59
* 关键字颜色变化
60
*/
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected