hqchart 1.1.15138 → 1.1.15147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umychart.vue.js +16 -29
- package/package.json +1 -1
- package/src/jscommon/umychart.DialogDrawTool.js +20 -6
- package/src/jscommon/umychart.DialogSearchIndex.js +4 -46
- package/src/jscommon/umychart.js +7 -38
- package/src/jscommon/umychart.resource/css/tools.css +234 -26
- package/src/jscommon/umychart.style.js +0 -11
- package/src/jscommon/umychart.uniapp.h5/umychart.uniapp.h5.js +8 -50
- package/src/jscommon/umychart.version.js +1 -1
- package/src/jscommon/umychart.vue/umychart.vue.js +32 -102
|
@@ -727,7 +727,7 @@ function JSDialogModifyDraw()
|
|
|
727
727
|
|
|
728
728
|
var spanDom=document.createElement("span");
|
|
729
729
|
spanDom.className="hqchart_drawtool icon-tuodong";
|
|
730
|
-
spanDom.classList.add("
|
|
730
|
+
spanDom.classList.add("UMyChart_Draw_Modify_Dialog_Drag_Span");
|
|
731
731
|
drgDiv.appendChild(spanDom);
|
|
732
732
|
|
|
733
733
|
for(var i=0;i<this.AryButton.length;++i)
|
|
@@ -753,7 +753,7 @@ function JSDialogModifyDraw()
|
|
|
753
753
|
|
|
754
754
|
var spanDom=document.createElement("span");
|
|
755
755
|
spanDom.className=item.ClassName;
|
|
756
|
-
spanDom.classList.add("
|
|
756
|
+
spanDom.classList.add("UMyChart_Draw_Modify_Dialog_Button_Span");
|
|
757
757
|
divItem.appendChild(spanDom);
|
|
758
758
|
|
|
759
759
|
|
|
@@ -782,7 +782,6 @@ function JSDialogModifyDraw()
|
|
|
782
782
|
break;
|
|
783
783
|
case JS_DRAWTOOL_MENU_ID.CMD_LOCK_DRAW_CHART_ID:
|
|
784
784
|
this.LockButton=data;
|
|
785
|
-
this.LockButton.Span.style['color']="rgb(220,220,220)";
|
|
786
785
|
break;
|
|
787
786
|
case JS_DRAWTOOL_MENU_ID.CMD_ZOOM_FONT_ID:
|
|
788
787
|
this.FontZoomButton=data;
|
|
@@ -987,7 +986,23 @@ function JSDialogModifyDraw()
|
|
|
987
986
|
if (!this.ChartPicture || !this.HQChart) return;
|
|
988
987
|
this.ChartPicture.EnableMove=!this.ChartPicture.EnableMove;
|
|
989
988
|
|
|
990
|
-
|
|
989
|
+
return this.UpdateLockButtonStyle();
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
this.UpdateLockButtonStyle=function()
|
|
993
|
+
{
|
|
994
|
+
if (!this.LockButton) return;
|
|
995
|
+
|
|
996
|
+
if (this.ChartPicture.EnableMove)
|
|
997
|
+
{
|
|
998
|
+
this.LockButton.Span.classList.remove("UMyChart_Draw_Modify_Dialog_Button_Span");
|
|
999
|
+
this.LockButton.Span.classList.add("UMyChart_Draw_Modify_Dialog_Unlock_Button_Span");
|
|
1000
|
+
}
|
|
1001
|
+
else
|
|
1002
|
+
{
|
|
1003
|
+
this.LockButton.Span.classList.remove("UMyChart_Draw_Modify_Dialog_Unlock_Button_Span");
|
|
1004
|
+
this.LockButton.Span.classList.add("UMyChart_Draw_Modify_Dialog_Button_Span");
|
|
1005
|
+
}
|
|
991
1006
|
}
|
|
992
1007
|
|
|
993
1008
|
this.ModifyBorderColor=function()
|
|
@@ -1172,8 +1187,7 @@ function JSDialogModifyDraw()
|
|
|
1172
1187
|
|
|
1173
1188
|
if (this.LockButton)
|
|
1174
1189
|
{
|
|
1175
|
-
|
|
1176
|
-
item.Span.style['color']=this.ChartPicture.EnableMove?"rgb(220,220,220)":"rgb(0,0,0)";
|
|
1190
|
+
this.UpdateLockButtonStyle();
|
|
1177
1191
|
}
|
|
1178
1192
|
|
|
1179
1193
|
if (this.FontZoomButton)
|
|
@@ -25,14 +25,6 @@ function JSDialogSearchIndex()
|
|
|
25
25
|
//{ WindowIndex:窗口索引, OpType:1=切换主图指标 2=添加叠加指标 3=新增指标窗口, Title: };
|
|
26
26
|
this.OpData=null;
|
|
27
27
|
|
|
28
|
-
this.TitleColor=g_JSChartResource.DialogSearchIndex.TitleColor;
|
|
29
|
-
this.TitleBGColor=g_JSChartResource.DialogSearchIndex.TitleBGColor;
|
|
30
|
-
this.BGColor=g_JSChartResource.DialogSearchIndex.BGColor;
|
|
31
|
-
this.BorderColor=g_JSChartResource.DialogSearchIndex.BorderColor;
|
|
32
|
-
this.IndexNameColor=g_JSChartResource.DialogSearchIndex.IndexNameColor;
|
|
33
|
-
this.GroupNameColor=g_JSChartResource.DialogSearchIndex.GroupNameColor;
|
|
34
|
-
this.InputTextColor=g_JSChartResource.DialogSearchIndex.InputTextColor;
|
|
35
|
-
|
|
36
28
|
this.MaxRowCount=30; //行
|
|
37
29
|
this.ColCount=3; //列
|
|
38
30
|
this.MaxGroupCount=20; //分类最多个数
|
|
@@ -399,15 +391,7 @@ function JSDialogSearchIndex()
|
|
|
399
391
|
|
|
400
392
|
this.UpdateStyle=function()
|
|
401
393
|
{
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
if (this.BGColor) this.DivDialog.style['background-color']=this.BGColor;
|
|
405
|
-
if (this.BorderColor) this.DivDialog.style['border-color']=this.BorderColor;
|
|
406
|
-
|
|
407
|
-
if (this.TitleBGColor) this.TitleBox.DivTitle.style['background-color']=this.TitleBGColor;
|
|
408
|
-
if (this.TitleColor) this.TitleBox.DivName.style['color']=this.TitleColor;
|
|
409
|
-
|
|
410
|
-
if (this.InputTextColor) this.InputDom.style['color']=this.InputTextColor;
|
|
394
|
+
|
|
411
395
|
};
|
|
412
396
|
|
|
413
397
|
this.ChangeGroup=function(groupID)
|
|
@@ -442,7 +426,6 @@ function JSDialogSearchIndex()
|
|
|
442
426
|
cell.Span.innerText=item.Group.Name;
|
|
443
427
|
cell.Span.dataset.groupid=item.Group.ID;
|
|
444
428
|
cell.Span.dataset.groupname=item.Group.Name;
|
|
445
|
-
cell.Span.style.color=this.GroupNameColor;
|
|
446
429
|
|
|
447
430
|
if (cell.Div.style.display=="none") cell.Div.style.display="";
|
|
448
431
|
}
|
|
@@ -468,7 +451,6 @@ function JSDialogSearchIndex()
|
|
|
468
451
|
{
|
|
469
452
|
var indexItem=data.AryIndex[index];
|
|
470
453
|
cell.Span.innerText=indexItem.Name;
|
|
471
|
-
cell.Span.style.color=this.IndexNameColor;
|
|
472
454
|
if (cell.Td.style.display=="none") cell.Td.style.display="";
|
|
473
455
|
cell.IndexItem=indexItem;
|
|
474
456
|
++index;
|
|
@@ -557,17 +539,7 @@ function JSDialogSearchIndex()
|
|
|
557
539
|
//配色修改
|
|
558
540
|
this.ReloadResource=function(option)
|
|
559
541
|
{
|
|
560
|
-
|
|
561
|
-
this.TitleBGColor=g_JSChartResource.DialogSearchIndex.TitleBGColor;
|
|
562
|
-
this.BGColor=g_JSChartResource.DialogSearchIndex.BGColor;
|
|
563
|
-
this.BorderColor=g_JSChartResource.DialogSearchIndex.BorderColor;
|
|
564
|
-
this.IndexNameColor=g_JSChartResource.DialogSearchIndex.IndexNameColor;
|
|
565
|
-
this.GroupNameColor=g_JSChartResource.DialogSearchIndex.GroupNameColor;
|
|
566
|
-
this.InputTextColor=g_JSChartResource.DialogSearchIndex.InputTextColor;
|
|
567
|
-
|
|
568
|
-
if (!this.DivDialog) return;
|
|
569
|
-
|
|
570
|
-
this.UpdateStyle();
|
|
542
|
+
|
|
571
543
|
}
|
|
572
544
|
|
|
573
545
|
}
|
|
@@ -878,13 +850,6 @@ function JSDialogModifyIndexParam()
|
|
|
878
850
|
this.TitleBox=null; //{ DivTitle, DivName, DivName }
|
|
879
851
|
this.Style=0; //样式 预留
|
|
880
852
|
|
|
881
|
-
this.TitleColor=g_JSChartResource.DialogModifyIndexParam.TitleColor;
|
|
882
|
-
this.TitleBGColor=g_JSChartResource.DialogModifyIndexParam.TitleBGColor;
|
|
883
|
-
this.BGColor=g_JSChartResource.DialogModifyIndexParam.BGColor;
|
|
884
|
-
this.BorderColor=g_JSChartResource.DialogModifyIndexParam.BorderColor;
|
|
885
|
-
this.ParamNameColor=g_JSChartResource.DialogModifyIndexParam.ParamNameColor;
|
|
886
|
-
this.InputTextColor=g_JSChartResource.DialogModifyIndexParam.InputTextColor;
|
|
887
|
-
|
|
888
853
|
this.MaxRowCount=30; //行
|
|
889
854
|
|
|
890
855
|
this.HQChart=null;
|
|
@@ -1142,13 +1107,7 @@ function JSDialogModifyIndexParam()
|
|
|
1142
1107
|
|
|
1143
1108
|
this.UpdateStyle=function()
|
|
1144
1109
|
{
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
if (this.BGColor) this.DivDialog.style['background-color']=this.BGColor;
|
|
1148
|
-
if (this.BorderColor) this.DivDialog.style['border-color']=this.BorderColor;
|
|
1149
|
-
|
|
1150
|
-
if (this.TitleBGColor) this.TitleBox.DivTitle.style['background-color']=this.TitleBGColor;
|
|
1151
|
-
if (this.TitleColor) this.TitleBox.DivName.style['color']=this.TitleColor;
|
|
1110
|
+
|
|
1152
1111
|
};
|
|
1153
1112
|
|
|
1154
1113
|
this.UpdateParamTable=function(aryText)
|
|
@@ -1159,10 +1118,9 @@ function JSDialogModifyIndexParam()
|
|
|
1159
1118
|
var item=aryText[index];
|
|
1160
1119
|
var row=this.AryData[index];
|
|
1161
1120
|
row.SpanName.innerText=`${item.Name}: `;
|
|
1162
|
-
|
|
1121
|
+
|
|
1163
1122
|
|
|
1164
1123
|
row.Input.value=item.Value;
|
|
1165
|
-
row.Input.style.color=this.InputTextColor;
|
|
1166
1124
|
row.Input.dataset.paramid=item.Index;
|
|
1167
1125
|
|
|
1168
1126
|
if (row.Tr.style.display=="none") row.Tr.style.display="";
|
package/src/jscommon/umychart.js
CHANGED
|
@@ -2475,6 +2475,13 @@ JSChart.SetStyle=function(option)
|
|
|
2475
2475
|
if (option) g_JSChartResource.SetStyle(option);
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
|
+
|
|
2479
|
+
//CSS风格
|
|
2480
|
+
JSChart.SetCSSStyle=function(styleID)
|
|
2481
|
+
{
|
|
2482
|
+
document.documentElement.setAttribute('hqchart_style', styleID);
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2478
2485
|
//value { EN:'', CH:'' }
|
|
2479
2486
|
JSChart.SetTextResource=function(key,value)
|
|
2480
2487
|
{
|
|
@@ -77907,30 +77914,6 @@ function JSChartResource()
|
|
|
77907
77914
|
}
|
|
77908
77915
|
};
|
|
77909
77916
|
|
|
77910
|
-
//指标搜索
|
|
77911
|
-
this.DialogSearchIndex=
|
|
77912
|
-
{
|
|
77913
|
-
BGColor:'rgb(250,250,250)', //背景色
|
|
77914
|
-
BorderColor:'rgb(20,20,20)', //边框颜色
|
|
77915
|
-
TitleColor:'rgb(250,250,250)', //标题颜色
|
|
77916
|
-
TitleBGColor:"rgb(200, 66, 69)", //标题背景颜色
|
|
77917
|
-
|
|
77918
|
-
IndexNameColor:"rgb(0,0,0)", //数值名称
|
|
77919
|
-
GroupNameColor:"rgb(0,0,0)",
|
|
77920
|
-
InputTextColor:"rgb(0,0,0)"
|
|
77921
|
-
};
|
|
77922
|
-
|
|
77923
|
-
this.DialogModifyIndexParam=
|
|
77924
|
-
{
|
|
77925
|
-
BGColor:'rgb(250,250,250)', //背景色
|
|
77926
|
-
BorderColor:'rgb(20,20,20)', //边框颜色
|
|
77927
|
-
TitleColor:'rgb(250,250,250)', //标题颜色
|
|
77928
|
-
TitleBGColor:"rgb(200, 66, 69)", //标题背景颜色
|
|
77929
|
-
|
|
77930
|
-
ParamNameColor:"rgb(0,0,0)", //数值名称
|
|
77931
|
-
InputTextColor:"rgb(0,0,0)"
|
|
77932
|
-
};
|
|
77933
|
-
|
|
77934
77917
|
//弹幕
|
|
77935
77918
|
this.Barrage= {
|
|
77936
77919
|
Font:16*GetDevicePixelRatio() +'px 微软雅黑', //字体
|
|
@@ -79155,20 +79138,6 @@ function JSChartResource()
|
|
|
79155
79138
|
}
|
|
79156
79139
|
}
|
|
79157
79140
|
|
|
79158
|
-
if (style.DialogSearchIndex)
|
|
79159
|
-
{
|
|
79160
|
-
var item=style.DialogSearchIndex;
|
|
79161
|
-
|
|
79162
|
-
if (item.BGColor) this.DialogSearchIndex.BGColor=item.BGColor;
|
|
79163
|
-
if (item.BorderColor) this.DialogSearchIndex.BorderColor=item.BorderColor;
|
|
79164
|
-
if (item.TitleColor) this.DialogSearchIndex.TitleColor=item.TitleColor;
|
|
79165
|
-
if (item.TitleBGColor) this.DialogSearchIndex.TitleBGColor=item.TitleBGColor;
|
|
79166
|
-
|
|
79167
|
-
if (item.IndexNameColor) this.DialogSearchIndex.IndexNameColor=item.IndexNameColor;
|
|
79168
|
-
if (item.GroupNameColor) this.DialogSearchIndex.GroupNameColor=item.GroupNameColor;
|
|
79169
|
-
if (item.InputTextColor) this.DialogSearchIndex.InputTextColor=item.InputTextColor;
|
|
79170
|
-
}
|
|
79171
|
-
|
|
79172
79141
|
if (style.MinuteInfo)
|
|
79173
79142
|
{
|
|
79174
79143
|
var item=style.MinuteInfo;
|
|
@@ -1349,15 +1349,16 @@ input[type="color"] {
|
|
|
1349
1349
|
{
|
|
1350
1350
|
font-family: "微软雅黑";
|
|
1351
1351
|
/*display: flex;*/
|
|
1352
|
-
border:
|
|
1352
|
+
border: 1px solid;
|
|
1353
1353
|
width:fit-content;
|
|
1354
|
-
border-color:
|
|
1354
|
+
border-color: var(--HQChart-DialogDrawTool-BorderColor);
|
|
1355
1355
|
visibility:hidden;
|
|
1356
1356
|
position: absolute;
|
|
1357
|
-
background-color:
|
|
1357
|
+
background-color: var(--HQChart-DialogDrawTool-BGColor);
|
|
1358
1358
|
left:1px;
|
|
1359
1359
|
top:1px;
|
|
1360
1360
|
z-index: 99;
|
|
1361
|
+
color:var(--HQChart-DialogDrawTool-Color);
|
|
1361
1362
|
}
|
|
1362
1363
|
|
|
1363
1364
|
.UMyChart_DrawTool_Title_Div
|
|
@@ -1365,11 +1366,12 @@ input[type="color"] {
|
|
|
1365
1366
|
padding-left: 2px;
|
|
1366
1367
|
height:20px;
|
|
1367
1368
|
border-bottom: 1px solid;
|
|
1368
|
-
border-color:
|
|
1369
|
+
border-color: var(--HQChart-DialogDrawTool-BorderColor);
|
|
1369
1370
|
display: flex;
|
|
1370
1371
|
cursor: default;
|
|
1371
1372
|
user-select: none;
|
|
1372
|
-
|
|
1373
|
+
color:var(--HQChart-DialogDrawTool-TitleColor);
|
|
1374
|
+
background-color:var(--HQChart-DialogDrawTool-TitleBGColor);
|
|
1373
1375
|
}
|
|
1374
1376
|
|
|
1375
1377
|
.UMyChart_DrawTool_Close_Div
|
|
@@ -1377,6 +1379,7 @@ input[type="color"] {
|
|
|
1377
1379
|
margin-left: auto;
|
|
1378
1380
|
padding-right: 4px;
|
|
1379
1381
|
cursor:pointer;
|
|
1382
|
+
color:var(--HQChart-DialogDrawTool-CloseColor);
|
|
1380
1383
|
}
|
|
1381
1384
|
|
|
1382
1385
|
.UMyChart_DrawTool_Table
|
|
@@ -1400,9 +1403,9 @@ input[type="color"] {
|
|
|
1400
1403
|
{
|
|
1401
1404
|
font-size:22px;
|
|
1402
1405
|
border: 1px solid;
|
|
1403
|
-
border-color:
|
|
1404
|
-
background:
|
|
1405
|
-
color:
|
|
1406
|
+
border-color: var(--HQChart-DialogDrawTool-Selected_ButtonBorderColor);
|
|
1407
|
+
background: var(--HQChart-DialogDrawTool-Selected_ButtonBGColor);
|
|
1408
|
+
color: var(--HQChart-DialogDrawTool-Selected_ButtonColor);
|
|
1406
1409
|
}
|
|
1407
1410
|
|
|
1408
1411
|
.UMyChart_DrawTool_Td
|
|
@@ -1414,8 +1417,8 @@ input[type="color"] {
|
|
|
1414
1417
|
{
|
|
1415
1418
|
font-size:22px;
|
|
1416
1419
|
border: 1px solid;
|
|
1417
|
-
border-color:
|
|
1418
|
-
color:
|
|
1420
|
+
border-color: var(--HQChart-DialogDrawTool-ButtonBorderColor);
|
|
1421
|
+
color: var(--HQChart-DialogDrawTool-ButtonColor);
|
|
1419
1422
|
}
|
|
1420
1423
|
|
|
1421
1424
|
.UMyChart_DrawTool_Group_Tr
|
|
@@ -1434,7 +1437,7 @@ input[type="color"] {
|
|
|
1434
1437
|
{
|
|
1435
1438
|
height:5px;
|
|
1436
1439
|
border-bottom: 1px solid;
|
|
1437
|
-
border-color:
|
|
1440
|
+
border-color:var(--HQChart-DialogDrawTool-DividingLineColor);
|
|
1438
1441
|
}
|
|
1439
1442
|
|
|
1440
1443
|
|
|
@@ -1455,12 +1458,14 @@ input[type="color"] {
|
|
|
1455
1458
|
{
|
|
1456
1459
|
font-family: "微软雅黑";
|
|
1457
1460
|
/*display: flex;*/
|
|
1458
|
-
border:
|
|
1461
|
+
border-top: 1px solid;
|
|
1462
|
+
border-bottom: 1px solid;
|
|
1463
|
+
border-left: 1px solid;
|
|
1459
1464
|
width:fit-content;
|
|
1460
|
-
border-color:
|
|
1465
|
+
border-color: var(--HQChart-DialogModifyDraw-BorderColor);
|
|
1461
1466
|
visibility:hidden;
|
|
1462
1467
|
position: absolute;
|
|
1463
|
-
background-color:
|
|
1468
|
+
background-color: var(--HQChart-DialogModifyDraw-BGColor);
|
|
1464
1469
|
left:1px;
|
|
1465
1470
|
top:1px;
|
|
1466
1471
|
display: flex;
|
|
@@ -1469,13 +1474,35 @@ input[type="color"] {
|
|
|
1469
1474
|
|
|
1470
1475
|
.UMyChart_Draw_Modify_Dialog_Drag_Div
|
|
1471
1476
|
{
|
|
1472
|
-
width:
|
|
1477
|
+
width:22px;
|
|
1473
1478
|
user-select: none;
|
|
1479
|
+
border: 1px solid;
|
|
1480
|
+
background-color:var(--HQChart-DialogModifyDraw-DragBGColor);
|
|
1481
|
+
border-color: var(--HQChart-DialogModifyDraw-DragBGColor);
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
.UMyChart_Draw_Modify_Dialog_Drag_Span
|
|
1485
|
+
{
|
|
1486
|
+
font-size:22px;
|
|
1487
|
+
color:var(--HQChart-DialogModifyDraw-DragColor);
|
|
1474
1488
|
}
|
|
1475
1489
|
|
|
1476
1490
|
.UMyChart_Draw_Modify_Dialog_Button_Div
|
|
1477
1491
|
{
|
|
1478
|
-
|
|
1492
|
+
border-right: 1px solid;
|
|
1493
|
+
border-color:var(--HQChart-DialogModifyDraw-ButtonBorderColor);
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
.UMyChart_Draw_Modify_Dialog_Button_Span
|
|
1497
|
+
{
|
|
1498
|
+
font-size:22px;
|
|
1499
|
+
color:var(--HQChart-DialogModifyDraw-ButtonColor);
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
.UMyChart_Draw_Modify_Dialog_Unlock_Button_Span
|
|
1503
|
+
{
|
|
1504
|
+
font-size:22px;
|
|
1505
|
+
color:var(--HQChart-DialogModifyDraw-UnlockButtonColor);
|
|
1479
1506
|
}
|
|
1480
1507
|
|
|
1481
1508
|
.UMyChart_Draw_Modify_Tooltip
|
|
@@ -2113,10 +2140,11 @@ input[type="color"] {
|
|
|
2113
2140
|
/*display: flex;*/
|
|
2114
2141
|
border: 1px solid;
|
|
2115
2142
|
width:fit-content;
|
|
2116
|
-
border-color:
|
|
2143
|
+
border-color: var(--HQChart-DialogSearchIndex-BorderColor);
|
|
2117
2144
|
visibility:hidden;
|
|
2118
2145
|
position: absolute;
|
|
2119
|
-
background-color:
|
|
2146
|
+
background-color: var(--HQChart-DialogSearchIndex-BGColor);
|
|
2147
|
+
color:var(--HQChart-DialogSearchIndex-Color);
|
|
2120
2148
|
left:1px;
|
|
2121
2149
|
top:1px;
|
|
2122
2150
|
z-index: 99;
|
|
@@ -2131,13 +2159,13 @@ input[type="color"] {
|
|
|
2131
2159
|
display: flex;
|
|
2132
2160
|
cursor: default;
|
|
2133
2161
|
user-select: none;
|
|
2134
|
-
background-color:
|
|
2162
|
+
background-color:var(--HQChart-DialogSearchIndex-TitleBGColor);
|
|
2135
2163
|
}
|
|
2136
2164
|
|
|
2137
2165
|
.UMyChart_SearchIndex_Name_Div
|
|
2138
2166
|
{
|
|
2139
2167
|
margin-left: 5px;
|
|
2140
|
-
color:
|
|
2168
|
+
color:var(--HQChart-DialogSearchIndex-TitleColor);
|
|
2141
2169
|
}
|
|
2142
2170
|
|
|
2143
2171
|
.UMyChart_SearchIndex_Close_Div
|
|
@@ -2145,7 +2173,7 @@ input[type="color"] {
|
|
|
2145
2173
|
margin-left: auto;
|
|
2146
2174
|
padding-right: 4px;
|
|
2147
2175
|
cursor:pointer;
|
|
2148
|
-
color:
|
|
2176
|
+
color:var(--HQChart-DialogSearchIndex-CloseColor);
|
|
2149
2177
|
}
|
|
2150
2178
|
|
|
2151
2179
|
.UMyChart_SearchIndex_Table_Div
|
|
@@ -2188,6 +2216,7 @@ input[type="color"] {
|
|
|
2188
2216
|
background-color: transparent;
|
|
2189
2217
|
width: 99%;
|
|
2190
2218
|
margin-left: 10px;
|
|
2219
|
+
color:var(--HQChart-DialogSearchIndex-InputColor);
|
|
2191
2220
|
}
|
|
2192
2221
|
|
|
2193
2222
|
.UMyChart_SearchIndex_Container_Div
|
|
@@ -2236,10 +2265,10 @@ input[type="color"] {
|
|
|
2236
2265
|
/*display: flex;*/
|
|
2237
2266
|
border: 1px solid;
|
|
2238
2267
|
width:fit-content;
|
|
2239
|
-
border-color:
|
|
2268
|
+
border-color: var(--HQChart-DialogModifyIndexParam-BorderColor);
|
|
2240
2269
|
visibility:hidden;
|
|
2241
2270
|
position: absolute;
|
|
2242
|
-
background-color:
|
|
2271
|
+
background-color:var(--HQChart-DialogModifyIndexParam-BGColor);
|
|
2243
2272
|
left:1px;
|
|
2244
2273
|
top:1px;
|
|
2245
2274
|
z-index: 99;
|
|
@@ -2254,13 +2283,13 @@ input[type="color"] {
|
|
|
2254
2283
|
display: flex;
|
|
2255
2284
|
cursor: default;
|
|
2256
2285
|
user-select: none;
|
|
2257
|
-
background-color:
|
|
2286
|
+
background-color:var(--HQChart-DialogModifyIndexParam-TitleBGColor);
|
|
2258
2287
|
}
|
|
2259
2288
|
|
|
2260
2289
|
.UMyChart_ModifyIndexParam_Name_Div
|
|
2261
2290
|
{
|
|
2262
2291
|
margin-left: 5px;
|
|
2263
|
-
color:
|
|
2292
|
+
color:var(--HQChart-DialogModifyIndexParam-TitleColor);
|
|
2264
2293
|
}
|
|
2265
2294
|
|
|
2266
2295
|
.UMyChart_ModifyIndexParam_Close_Div
|
|
@@ -2268,7 +2297,7 @@ input[type="color"] {
|
|
|
2268
2297
|
margin-left: auto;
|
|
2269
2298
|
padding-right: 4px;
|
|
2270
2299
|
cursor:pointer;
|
|
2271
|
-
color:
|
|
2300
|
+
color:var(--HQChart-DialogModifyIndexParam-CloseColor);
|
|
2272
2301
|
}
|
|
2273
2302
|
|
|
2274
2303
|
.UMyChart_ModifyIndexParam_Table_Div
|
|
@@ -2306,6 +2335,7 @@ input[type="color"] {
|
|
|
2306
2335
|
.UMyChart_ModifyIndexParam_Name_Span
|
|
2307
2336
|
{
|
|
2308
2337
|
margin-left: 10px;
|
|
2338
|
+
color:var(--HQChart-DialogModifyIndexParam-ParamNameColor);
|
|
2309
2339
|
}
|
|
2310
2340
|
|
|
2311
2341
|
.UMyChart_ModifyIndexParam_Value_Td
|
|
@@ -2321,6 +2351,7 @@ input[type="color"] {
|
|
|
2321
2351
|
line-height: 16px;
|
|
2322
2352
|
background-color: transparent;
|
|
2323
2353
|
width: 60px;
|
|
2354
|
+
color:var(--HQChart-DialogModifyIndexParam-InputTextColor);
|
|
2324
2355
|
}
|
|
2325
2356
|
|
|
2326
2357
|
.UMyChart_ModifyIndexParam_Button_Div
|
|
@@ -2402,6 +2433,183 @@ input[type="color"] {
|
|
|
2402
2433
|
|
|
2403
2434
|
|
|
2404
2435
|
|
|
2436
|
+
:root
|
|
2437
|
+
{
|
|
2438
|
+
/*
|
|
2439
|
+
JSDialogDrawTool 配色 画图工具
|
|
2440
|
+
*/
|
|
2441
|
+
|
|
2442
|
+
--HQChart-DialogDrawTool-BGColor: rgb(250,250,250);
|
|
2443
|
+
--HQChart-DialogDrawTool-BorderColor: rgb(20,20,20);
|
|
2444
|
+
--HQChart-DialogDrawTool-Color: rgb(20,20,20);
|
|
2445
|
+
--HQChart-DialogDrawTool-TitleColor: rgb(250,250,250);
|
|
2446
|
+
--HQChart-DialogDrawTool-TitleBGColor: rgb(200, 66, 69);
|
|
2447
|
+
--HQChart-DialogDrawTool-CloseColor:rgb(180,180,180);
|
|
2448
|
+
--HQChart-DialogDrawTool-ButtonColor:rgb(77,77,77);
|
|
2449
|
+
--HQChart-DialogDrawTool-ButtonBorderColor:rgb(128,128,128);
|
|
2450
|
+
--HQChart-DialogDrawTool-Selected_ButtonColor:rgb(255,255,255);
|
|
2451
|
+
--HQChart-DialogDrawTool-Selected_ButtonBGColor:rgb(234,85,4);
|
|
2452
|
+
--HQChart-DialogDrawTool-Selected_ButtonBorderColor:rgb(128,128,128);
|
|
2453
|
+
--HQChart-DialogDrawTool-DividingLineColor:rgb(204,204,204);
|
|
2454
|
+
|
|
2455
|
+
/*
|
|
2456
|
+
JSDialogModifyDraw
|
|
2457
|
+
*/
|
|
2458
|
+
|
|
2459
|
+
--HQChart-DialogModifyDraw-BGColor: rgb(250,250,250);
|
|
2460
|
+
--HQChart-DialogModifyDraw-BorderColor: rgb(20,20,20);
|
|
2461
|
+
--HQChart-DialogModifyDraw-DragColor: rgb(250,250,250);
|
|
2462
|
+
--HQChart-DialogModifyDraw-DragBGColor: rgb(200, 66, 69);
|
|
2463
|
+
--HQChart-DialogModifyDraw-ButtonColor:rgb(77,77,77);
|
|
2464
|
+
--HQChart-DialogModifyDraw-ButtonBorderColor:rgb(20,20,20);
|
|
2465
|
+
--HQChart-DialogModifyDraw-UnlockButtonColor:rgb(220,220,220);
|
|
2466
|
+
|
|
2467
|
+
/*
|
|
2468
|
+
JSDialogSearchIndex
|
|
2469
|
+
*/
|
|
2470
|
+
|
|
2471
|
+
--HQChart-DialogSearchIndex-BGColor: rgb(250,250,250);
|
|
2472
|
+
--HQChart-DialogSearchIndex-BorderColor: rgb(20,20,20);
|
|
2473
|
+
--HQChart-DialogSearchIndex-Color: rgb(20,20,20);
|
|
2474
|
+
--HQChart-DialogSearchIndex-TitleColor: rgb(250,250,250);
|
|
2475
|
+
--HQChart-DialogSearchIndex-TitleBGColor: rgb(200, 66, 69);
|
|
2476
|
+
--HQChart-DialogSearchIndex-CloseColor:rgb(180,180,180);
|
|
2477
|
+
--HQChart-DialogSearchIndex-InputColor:rgb(20,20,20);
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
/*
|
|
2481
|
+
JSDialogModifyIndexParam
|
|
2482
|
+
*/
|
|
2483
|
+
--HQChart-DialogModifyIndexParam-BGColor: rgb(250,250,250);
|
|
2484
|
+
--HQChart-DialogModifyIndexParam-BorderColor: rgb(20,20,20);
|
|
2485
|
+
--HQChart-DialogModifyIndexParam-Color: rgb(20,20,20);
|
|
2486
|
+
--HQChart-DialogModifyIndexParam-TitleColor: rgb(250,250,250);
|
|
2487
|
+
--HQChart-DialogModifyIndexParam-TitleBGColor: rgb(200, 66, 69);
|
|
2488
|
+
--HQChart-DialogModifyIndexParam-CloseColor:rgb(180,180,180);
|
|
2489
|
+
--HQChart-DialogModifyIndexParam-ParamNameColor:rgb(20,20,20);
|
|
2490
|
+
--HQChart-DialogModifyIndexParam-InputTextColor:rgb(20,20,20);
|
|
2491
|
+
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
/*
|
|
2495
|
+
白色风格
|
|
2496
|
+
*/
|
|
2497
|
+
:root[hqchart_style='0'],
|
|
2498
|
+
:root[hqchart_style='defined']
|
|
2499
|
+
{
|
|
2500
|
+
/*
|
|
2501
|
+
JSDialogDrawTool 配色 画图工具
|
|
2502
|
+
*/
|
|
2503
|
+
|
|
2504
|
+
--HQChart-DialogDrawTool-BGColor: rgb(250,250,250);
|
|
2505
|
+
--HQChart-DialogDrawTool-BorderColor: rgb(20,20,20);
|
|
2506
|
+
--HQChart-DialogDrawTool-Color: rgb(20,20,20);
|
|
2507
|
+
--HQChart-DialogDrawTool-TitleColor: rgb(250,250,250);
|
|
2508
|
+
--HQChart-DialogDrawTool-TitleBGColor: rgb(200, 66, 69);
|
|
2509
|
+
--HQChart-DialogDrawTool-ButtonColor:rgb(77,77,77);
|
|
2510
|
+
--HQChart-DialogDrawTool-ButtonBorderColor:rgb(128,128,128);
|
|
2511
|
+
--HQChart-DialogDrawTool-Selected_ButtonColor:rgb(255,255,255);
|
|
2512
|
+
--HQChart-DialogDrawTool-Selected_ButtonBGColor:rgb(234,85,4);
|
|
2513
|
+
--HQChart-DialogDrawTool-Selected_ButtonBorderColor:rgb(128,128,128);
|
|
2514
|
+
--HQChart-DialogDrawTool-DividingLineColor:rgb(204,204,204);
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
/*
|
|
2519
|
+
JSDialogModifyDraw
|
|
2520
|
+
*/
|
|
2521
|
+
|
|
2522
|
+
--HQChart-DialogModifyDraw-BGColor: rgb(250,250,250);
|
|
2523
|
+
--HQChart-DialogModifyDraw-BorderColor: rgb(20,20,20);
|
|
2524
|
+
--HQChart-DialogModifyDraw-DragColor: rgb(250,250,250);
|
|
2525
|
+
--HQChart-DialogModifyDraw-DragBGColor: rgb(200, 66, 69);
|
|
2526
|
+
--HQChart-DialogModifyDraw-ButtonColor:rgb(77,77,77);
|
|
2527
|
+
--HQChart-DialogModifyDraw-ButtonBorderColor:rgb(20,20,20);
|
|
2528
|
+
--HQChart-DialogModifyDraw-UnlockButtonColor:rgb(220,220,220);
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
/*
|
|
2532
|
+
JSDialogSearchIndex
|
|
2533
|
+
*/
|
|
2534
|
+
|
|
2535
|
+
--HQChart-DialogSearchIndex-BGColor: rgb(250,250,250);
|
|
2536
|
+
--HQChart-DialogSearchIndex-BorderColor: rgb(20,20,20);
|
|
2537
|
+
--HQChart-DialogSearchIndex-Color: rgb(20,20,20);
|
|
2538
|
+
--HQChart-DialogSearchIndex-TitleColor: rgb(250,250,250);
|
|
2539
|
+
--HQChart-DialogSearchIndex-TitleBGColor: rgb(200, 66, 69);
|
|
2540
|
+
--HQChart-DialogSearchIndex-CloseColor:rgb(180,180,180);
|
|
2541
|
+
--HQChart-DialogSearchIndex-InputColor:rgb(20,20,20);
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
/*
|
|
2545
|
+
JSDialogModifyIndexParam
|
|
2546
|
+
*/
|
|
2547
|
+
--HQChart-DialogModifyIndexParam-BGColor: rgb(250,250,250);
|
|
2548
|
+
--HQChart-DialogModifyIndexParam-BorderColor: rgb(20,20,20);
|
|
2549
|
+
--HQChart-DialogModifyIndexParam-Color: rgb(20,20,20);
|
|
2550
|
+
--HQChart-DialogModifyIndexParam-TitleColor: rgb(250,250,250);
|
|
2551
|
+
--HQChart-DialogModifyIndexParam-TitleBGColor: rgb(200, 66, 69);
|
|
2552
|
+
--HQChart-DialogModifyIndexParam-CloseColor:rgb(180,180,180);
|
|
2553
|
+
--HQChart-DialogModifyIndexParam-ParamNameColor:rgb(20,20,20);
|
|
2554
|
+
--HQChart-DialogModifyIndexParam-InputTextColor:rgb(20,20,20);
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
/*
|
|
2558
|
+
黑色风格
|
|
2559
|
+
*/
|
|
2560
|
+
:root[hqchart_style='1']
|
|
2561
|
+
{
|
|
2562
|
+
/*
|
|
2563
|
+
JSDialogDrawTool 配色 画图工具
|
|
2564
|
+
*/
|
|
2565
|
+
|
|
2566
|
+
--HQChart-DialogDrawTool-BGColor: rgb(38,38,38);
|
|
2567
|
+
--HQChart-DialogDrawTool-BorderColor: rgb(170,170,170);
|
|
2568
|
+
--HQChart-DialogDrawTool-Color: rgb(210,210,210);
|
|
2569
|
+
--HQChart-DialogDrawTool-TitleColor: rgb(250,250,250);
|
|
2570
|
+
--HQChart-DialogDrawTool-TitleBGColor: rgb(200, 66, 69);
|
|
2571
|
+
--HQChart-DialogDrawTool-ButtonColor:rgb(110,110,110);
|
|
2572
|
+
--HQChart-DialogDrawTool-ButtonBorderColor:rgb(99,99,99);
|
|
2573
|
+
--HQChart-DialogDrawTool-Selected_ButtonColor:rgb(255,255,255);
|
|
2574
|
+
--HQChart-DialogDrawTool-Selected_ButtonBGColor:rgb(234,85,4);
|
|
2575
|
+
--HQChart-DialogDrawTool-Selected_ButtonBorderColor:rgb(128,128,128);
|
|
2576
|
+
--HQChart-DialogDrawTool-DividingLineColor:rgb(150,150,150);
|
|
2577
|
+
|
|
2578
|
+
/*
|
|
2579
|
+
JSDialogModifyDraw
|
|
2580
|
+
*/
|
|
2581
|
+
|
|
2582
|
+
--HQChart-DialogModifyDraw-BGColor:rgb(38,38,38);
|
|
2583
|
+
--HQChart-DialogModifyDraw-BorderColor: rgb(170,170,170);
|
|
2584
|
+
--HQChart-DialogModifyDraw-ButtonColor:rgb(110,110,110);
|
|
2585
|
+
--HQChart-DialogModifyDraw-ButtonBorderColor:rgb(170,170,170);
|
|
2586
|
+
--HQChart-DialogModifyDraw-UnlockButtonColor:rgb(60,60,60);
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
/*
|
|
2590
|
+
JSDialogSearchIndex
|
|
2591
|
+
*/
|
|
2592
|
+
|
|
2593
|
+
--HQChart-DialogSearchIndex-BGColor: rgb(38,38,38);
|
|
2594
|
+
--HQChart-DialogSearchIndex-BorderColor: rgb(170,170,170);
|
|
2595
|
+
--HQChart-DialogSearchIndex-Color: rgb(210,210,210);
|
|
2596
|
+
--HQChart-DialogSearchIndex-TitleColor: rgb(250,250,250);
|
|
2597
|
+
--HQChart-DialogSearchIndex-TitleBGColor: rgb(200, 66, 69);
|
|
2598
|
+
--HQChart-DialogSearchIndex-InputColor:rgb(210,210,210);
|
|
2599
|
+
|
|
2600
|
+
/*
|
|
2601
|
+
JSDialogModifyIndexParam
|
|
2602
|
+
*/
|
|
2603
|
+
|
|
2604
|
+
--HQChart-DialogModifyIndexParam-BGColor: rgb(38,38,38);
|
|
2605
|
+
--HQChart-DialogModifyIndexParam-BorderColor: rgb(170,170,170);
|
|
2606
|
+
--HQChart-DialogModifyIndexParam-Color: rgb(210,210,210);
|
|
2607
|
+
--HQChart-DialogModifyIndexParam-TitleColor: rgb(250,250,250);
|
|
2608
|
+
--HQChart-DialogModifyIndexParam-TitleBGColor: rgb(200, 66, 69);
|
|
2609
|
+
--HQChart-DialogModifyIndexParam-ParamNameColor:rgb(210,210,210);
|
|
2610
|
+
--HQChart-DialogModifyIndexParam-InputTextColor:rgb(210,210,210);
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2405
2613
|
|
|
2406
2614
|
|
|
2407
2615
|
|
|
@@ -517,17 +517,6 @@ function GetBlackStyle()
|
|
|
517
517
|
PositionColor:"rgb(255,0,255)" //持仓
|
|
518
518
|
},
|
|
519
519
|
|
|
520
|
-
DialogSearchIndex:
|
|
521
|
-
{
|
|
522
|
-
BGColor:'rgb(20,20,20)', //背景色
|
|
523
|
-
BorderColor:'rgb(170,170,170)', //边框颜色
|
|
524
|
-
TitleColor:'rgb(230,230,230)', //标题颜色
|
|
525
|
-
|
|
526
|
-
IndexNameColor:"rgb(210,210,210)",
|
|
527
|
-
GroupNameColor:"rgb(210,210,210)",
|
|
528
|
-
InputTextColor:"rgb(210,210,210)",
|
|
529
|
-
},
|
|
530
|
-
|
|
531
520
|
DialogPopKeyboard:
|
|
532
521
|
{
|
|
533
522
|
BGColor:'rgb(20,20,20)', //背景色
|