st-comp 0.0.47 → 0.0.48
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 +2 -2
- package/lib/bundle.umd.cjs +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineNew/components/KlineTips/index.vue +47 -44
- package/packages/KlineNew/index.ts +14 -14
package/lib/bundle.js
CHANGED
|
@@ -35004,7 +35004,7 @@ const qm = /* @__PURE__ */ mr(d81, [["__scopeId", "data-v-2a02e841"]]), m81 = {
|
|
|
35004
35004
|
const { round: a, multiply: n, divide: v, subtract: x } = y8.stMath, w = e, C = b1(() => {
|
|
35005
35005
|
const { drawData: T, activeIndex: F } = w;
|
|
35006
35006
|
if (T.candlestickData && T.candlestickData[F]) {
|
|
35007
|
-
const z = T.candlestickData[F], k = a(n(v(x(z[1], z[4]), z[4]), 100));
|
|
35007
|
+
const z = T.candlestickData[F], k = a(n(v(x(z[1], z[4]), Math.abs(z[4])), 100));
|
|
35008
35008
|
let G;
|
|
35009
35009
|
return k > 0 ? G = "red" : k < 0 && (G = "green"), [
|
|
35010
35010
|
{ label: "开", value: a(z[0]) },
|
|
@@ -35026,7 +35026,7 @@ const qm = /* @__PURE__ */ mr(d81, [["__scopeId", "data-v-2a02e841"]]), m81 = {
|
|
|
35026
35026
|
]));
|
|
35027
35027
|
}
|
|
35028
35028
|
});
|
|
35029
|
-
const g81 = /* @__PURE__ */ mr(h81, [["__scopeId", "data-v-
|
|
35029
|
+
const g81 = /* @__PURE__ */ mr(h81, [["__scopeId", "data-v-467d043c"]]);
|
|
35030
35030
|
const v81 = { class: "klineSub" }, y81 = { class: "klineSub-tips" }, b81 = {
|
|
35031
35031
|
key: 0,
|
|
35032
35032
|
class: "klineSub-tips-select"
|