xyvcard-settle 0.0.32 → 0.0.33

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.
@@ -1,9 +1,9 @@
1
- import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as a, withCtx as n, toDisplayString as d, createTextVNode as _ } from "vue";
1
+ import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as s, withCtx as n, toDisplayString as d, createTextVNode as _ } from "vue";
2
2
  import { useRouter as V } from "vue-router";
3
3
  import { s as k } from "./index-eUhFgNKx.mjs";
4
4
  import E from "./pay-CFNzmo6x.mjs";
5
- import S from "./payPal-J41FJEQT.mjs";
6
- import b from "./trend-D8pStiQ5.mjs";
5
+ import b from "./payPal-J41FJEQT.mjs";
6
+ import S from "./trend-D8pStiQ5.mjs";
7
7
  import { C as N } from "./index-CxsNyMdg.mjs";
8
8
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
9
  const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" }, F = { class: "tatals" }, O = { class: "tatal" }, Q = { class: "text" }, U = { class: "tatal" }, $ = { class: "text" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "app-title" }, K = { class: "app-title-time" }, L = { class: "chart-header" }, W = /* @__PURE__ */ M({
@@ -12,27 +12,27 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
12
12
  const D = V(), { proxy: y } = A(), m = p({
13
13
  analysisTimeStart: "",
14
14
  analysisTimeEnd: ""
15
- }), o = p({}), l = p([]), r = (s, t = N.RPC_FORMAT_DATA) => y.$moment.formatDate(s, t), v = () => {
16
- const s = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
17
- t.setDate(s.getDate() - 6), l.value = [
15
+ }), o = p({}), l = p([]), r = (a, t = N.RPC_FORMAT_DATA) => y.$moment.formatDate(a, t), v = () => {
16
+ const a = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
17
+ t.setDate(a.getDate() - 6), l.value = [
18
18
  r(t, "YYYY-MM-DD"),
19
- r(s, "YYYY-MM-DD")
20
- ], x(t, s), f();
21
- }, x = (s, t) => {
19
+ r(a, "YYYY-MM-DD")
20
+ ], x(t, a), f();
21
+ }, x = (a, t) => {
22
22
  m.value = {
23
- analysisTimeStart: r(s),
23
+ analysisTimeStart: r(a),
24
24
  analysisTimeEnd: r(t)
25
25
  };
26
26
  }, f = async () => {
27
- const s = await k.homePageAmount(m.value);
28
- o.value = s.data;
29
- }, Y = (s) => {
30
- if (!s || s.length !== 2) {
27
+ const a = await k.homePageAmount(m.value);
28
+ o.value = a.data;
29
+ }, Y = (a) => {
30
+ if (!a || a.length !== 2) {
31
31
  v();
32
32
  return;
33
33
  }
34
- l.value = s;
35
- const [t, c] = s;
34
+ l.value = a;
35
+ const [t, c] = a;
36
36
  m.value = {
37
37
  analysisTimeStart: t,
38
38
  analysisTimeEnd: c
@@ -46,16 +46,16 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
46
46
  path: "/payment/pay-trade"
47
47
  });
48
48
  };
49
- return (s, t) => {
49
+ return (a, t) => {
50
50
  const c = u("el-date-picker"), i = u("el-card"), g = u("el-button");
51
51
  return P(), w("div", null, [
52
52
  e("div", B, [
53
53
  e("div", I, [
54
- a(i, { class: "card-never" }, {
54
+ s(i, { class: "card-never" }, {
55
55
  default: n(() => [
56
56
  e("div", q, [
57
57
  t[1] || (t[1] = e("span", { style: { "margin-right": "25%" } }, "交易数据看板", -1)),
58
- a(c, {
58
+ s(c, {
59
59
  modelValue: l.value,
60
60
  "onUpdate:modelValue": t[0] || (t[0] = (C) => l.value = C),
61
61
  type: "daterange",
@@ -73,7 +73,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
73
73
  t[2] || (t[2] = e("text", null, "交易笔数", -1))
74
74
  ]),
75
75
  e("div", U, [
76
- e("text", $, d(o.value.orderAmount || 0), 1),
76
+ e("text", $, d(o.value.tradeAmount || 0), 1),
77
77
  t[3] || (t[3] = e("text", null, " 交易金额", -1))
78
78
  ]),
79
79
  e("div", j, [
@@ -88,36 +88,36 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
88
88
  ]),
89
89
  _: 1
90
90
  }),
91
- a(i, { class: "card-never card-paypal" }, {
91
+ s(i, { class: "card-never card-paypal" }, {
92
92
  default: n(() => [
93
93
  t[6] || (t[6] = e("div", { class: "title" }, "近7日汇总-支付方式", -1)),
94
- a(S, { class: "pay" })
94
+ s(b, { class: "pay" })
95
95
  ]),
96
96
  _: 1
97
97
  })
98
98
  ]),
99
99
  e("div", J, [
100
- a(i, { class: "card-number" }, {
100
+ s(i, { class: "card-number" }, {
101
101
  default: n(() => [
102
102
  t[7] || (t[7] = e("div", { class: "title" }, [
103
103
  _(" 交易金额排名 "),
104
104
  e("span", { style: { "font-weight": "normal" } }, "(近7日)")
105
105
  ], -1)),
106
- a(E)
106
+ s(E)
107
107
  ]),
108
108
  _: 1
109
109
  })
110
110
  ])
111
111
  ]),
112
112
  e("div", K, [
113
- a(i, { class: "card-chart" }, {
113
+ s(i, { class: "card-chart" }, {
114
114
  default: n(() => [
115
115
  e("div", L, [
116
116
  t[9] || (t[9] = e("span", { class: "chart-title" }, [
117
117
  _(" 交易金额趋势 "),
118
118
  e("span", { style: { "font-weight": "normal" } }, " (近7日) ")
119
119
  ], -1)),
120
- a(g, {
120
+ s(g, {
121
121
  type: "text",
122
122
  class: "view-more",
123
123
  onClick: h
@@ -128,7 +128,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
128
128
  _: 1
129
129
  })
130
130
  ]),
131
- a(b)
131
+ s(S)
132
132
  ]),
133
133
  _: 1
134
134
  })
@@ -136,7 +136,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
136
136
  ]);
137
137
  };
138
138
  }
139
- }), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-173566e6"]]);
139
+ }), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-910b68c5"]]);
140
140
  export {
141
141
  rt as default
142
142
  };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "jmash-core";
2
- import { a as o, s as t, m as i, p as s, b as g } from "./index-BUFIww-v.mjs";
2
+ import { a as o, s as t, m as i, p as s, b as g } from "./index-CQ4exNe-.mjs";
3
3
  export {
4
4
  o as agentHomePage,
5
5
  t as default,