mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
refactor(frontend):调整K线成交量颜色
- 调整了 stock.vue 文件中 dimension 属性的 pieces 数组顺序 - 将下降颜色(downColor)对应的值改为 -1,上升颜色(upColor)对应的值改为 1
This commit is contained in:
parent
2bd63cf2f4
commit
4b0b3c0491
@ -684,11 +684,11 @@ function handleKLine(){
|
||||
dimension: 2,
|
||||
pieces: [
|
||||
{
|
||||
value: 1,
|
||||
value: -1,
|
||||
color: downColor
|
||||
},
|
||||
{
|
||||
value: -1,
|
||||
value: 1,
|
||||
color: upColor
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user