st-comp 0.0.63 → 0.0.65
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/bundle.js +7 -7
- package/lib/bundle.umd.cjs +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/Kline/componentsNew/KlineSub/index.vue +1 -1
- package/packages/Kline/componentsNew/KlineTips/index.vue +3 -3
- package/packages/Kline/componentsNew/KlineUtils/index.vue +1 -1
- package/src/pages/KlineNew/components/KlineNew/index.vue +4 -5
- package/src/pages/KlineNew/components/KlineNew/utils.js +2 -2
- package/src/pages/KlineNew/components/KlineSlideNew/index.vue +6 -6
- package/src/pages/KlineNew/components/KlineSlideNew/utils.js +1 -1
- package/src/pages/KlineNew/index.vue +10 -10
package/lib/bundle.js
CHANGED
|
@@ -38430,7 +38430,7 @@ const Sue = { class: "klineSub" }, Tue = { class: "klineSub-tips" }, Iue = {
|
|
|
38430
38430
|
symbol: "none",
|
|
38431
38431
|
data: G.data.map((oe, ee) => G.seriesColor === "kline" ? {
|
|
38432
38432
|
value: oe,
|
|
38433
|
-
itemStyle: R(w.data.
|
|
38433
|
+
itemStyle: R(w.data.data, ee)
|
|
38434
38434
|
} : G.seriesColor === "value" ? {
|
|
38435
38435
|
value: oe,
|
|
38436
38436
|
itemStyle: {
|
|
@@ -38582,7 +38582,7 @@ const Sue = { class: "klineSub" }, Tue = { class: "klineSub-tips" }, Iue = {
|
|
|
38582
38582
|
]);
|
|
38583
38583
|
};
|
|
38584
38584
|
}
|
|
38585
|
-
}, Lue = /* @__PURE__ */ Rn(Oue, [["__scopeId", "data-v-
|
|
38585
|
+
}, Lue = /* @__PURE__ */ Rn(Oue, [["__scopeId", "data-v-4264b76c"]]);
|
|
38586
38586
|
const Rue = { class: "kline-tips" }, Fue = {
|
|
38587
38587
|
__name: "index",
|
|
38588
38588
|
props: {
|
|
@@ -38599,14 +38599,14 @@ const Rue = { class: "kline-tips" }, Fue = {
|
|
|
38599
38599
|
setup(e) {
|
|
38600
38600
|
const { round: t, formatValue: n } = O0.stMath, c = e, g = se(() => {
|
|
38601
38601
|
const { data: x, activeIndex: w } = c;
|
|
38602
|
-
if (x.
|
|
38603
|
-
const M = x.
|
|
38602
|
+
if (x.data && x.data[w]) {
|
|
38603
|
+
const M = x.data[w], C = [
|
|
38604
38604
|
{ label: "开", value: t(M[0]) },
|
|
38605
38605
|
{ label: "高", value: t(M[3]) },
|
|
38606
38606
|
{ label: "低", value: t(M[2]) },
|
|
38607
38607
|
{ label: "收", value: t(M[1]) }
|
|
38608
38608
|
];
|
|
38609
|
-
M[4] !==
|
|
38609
|
+
M[4] !== null && C.push({ label: "额", value: n(M[4]) });
|
|
38610
38610
|
let L;
|
|
38611
38611
|
return M[6] > 0 ? L = "red" : M[6] < 0 && (L = "green"), C.push({ label: "涨跌", value: `${t(M[6])}%`, color: L }), C;
|
|
38612
38612
|
}
|
|
@@ -38621,7 +38621,7 @@ const Rue = { class: "kline-tips" }, Fue = {
|
|
|
38621
38621
|
Ke(q8, { data: y.value }, null, 8, ["data"])
|
|
38622
38622
|
]));
|
|
38623
38623
|
}
|
|
38624
|
-
}, zue = /* @__PURE__ */ Rn(Fue, [["__scopeId", "data-v-
|
|
38624
|
+
}, zue = /* @__PURE__ */ Rn(Fue, [["__scopeId", "data-v-a12855fe"]]), Pue = {
|
|
38625
38625
|
__name: "index",
|
|
38626
38626
|
setup(e, { expose: t }) {
|
|
38627
38627
|
return t({
|
|
@@ -38653,7 +38653,7 @@ const Rue = { class: "kline-tips" }, Fue = {
|
|
|
38653
38653
|
// 合并数据
|
|
38654
38654
|
mergeData: (n, c) => ({
|
|
38655
38655
|
time: [...n.time, ...c.time.slice(1)],
|
|
38656
|
-
|
|
38656
|
+
data: [...n.data, ...c.data.slice(1)],
|
|
38657
38657
|
mainIndicator: n.mainIndicator.map((g, y) => ({
|
|
38658
38658
|
...g,
|
|
38659
38659
|
data: [...g.data, ...c.mainIndicator[y].data.slice(1)]
|