@uxda/appkit 1.2.12 → 1.2.14
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/dist/index.js +32 -23
- package/package.json +1 -1
- package/src/balance/api/endpoints.ts +2 -1
- package/src/balance/components/AccountView.vue +3 -3
- package/src/index.ts +24 -24
- package/dist/styles.css +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, createStaticVNode, ref, createCommentVNode, renderSlot, createVNode, onMounted, unref, computed, watch, withDirectives, vShow, normalizeStyle, vModelText } from 'vue';
|
|
2
2
|
import Taro, { useDidShow } from '@tarojs/taro';
|
|
3
|
-
import { Grid, GridItem, Button, Checkbox, Popup, OverLay, DatePicker, Form, FormItem, Cell, CellGroup, Dialog } from '@nutui/nutui-taro';
|
|
4
3
|
import dayjs from 'dayjs';
|
|
5
4
|
import _ from 'lodash';
|
|
6
5
|
|
|
@@ -1147,7 +1146,8 @@ const endpointsList = {
|
|
|
1147
1146
|
title: r.rightsName,
|
|
1148
1147
|
count: r.rightsAccount,
|
|
1149
1148
|
unit: r.rightsUnit,
|
|
1150
|
-
appCode: r.appCode
|
|
1149
|
+
appCode: r.appCode,
|
|
1150
|
+
id: r.activityId
|
|
1151
1151
|
}))
|
|
1152
1152
|
};
|
|
1153
1153
|
}
|
|
@@ -2203,13 +2203,22 @@ var script$6 = /* @__PURE__ */ defineComponent({
|
|
|
2203
2203
|
class: "item star-item",
|
|
2204
2204
|
key: index
|
|
2205
2205
|
}, [
|
|
2206
|
-
createElementVNode(
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2206
|
+
createElementVNode("div", _hoisted_13, [
|
|
2207
|
+
createElementVNode(
|
|
2208
|
+
"span",
|
|
2209
|
+
null,
|
|
2210
|
+
toDisplayString(item.count),
|
|
2211
|
+
1
|
|
2212
|
+
/* TEXT */
|
|
2213
|
+
),
|
|
2214
|
+
createElementVNode(
|
|
2215
|
+
"span",
|
|
2216
|
+
null,
|
|
2217
|
+
toDisplayString(item.unit),
|
|
2218
|
+
1
|
|
2219
|
+
/* TEXT */
|
|
2220
|
+
)
|
|
2221
|
+
]),
|
|
2213
2222
|
createElementVNode("div", _hoisted_14, [
|
|
2214
2223
|
createElementVNode(
|
|
2215
2224
|
"div",
|
|
@@ -2218,7 +2227,7 @@ var script$6 = /* @__PURE__ */ defineComponent({
|
|
|
2218
2227
|
1
|
|
2219
2228
|
/* TEXT */
|
|
2220
2229
|
),
|
|
2221
|
-
|
|
2230
|
+
item.id ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
2222
2231
|
createElementVNode("div", {
|
|
2223
2232
|
onClick: ($event) => gotoTrade(item)
|
|
2224
2233
|
}, "\u8D85\u503C\u6362\u8D2D", 8, _hoisted_16),
|
|
@@ -2246,7 +2255,7 @@ var script$6 = /* @__PURE__ */ defineComponent({
|
|
|
2246
2255
|
createElementVNode(
|
|
2247
2256
|
"div",
|
|
2248
2257
|
_hoisted_21,
|
|
2249
|
-
toDisplayString(item.count),
|
|
2258
|
+
toDisplayString(item.count) + toDisplayString(item.unit),
|
|
2250
2259
|
1
|
|
2251
2260
|
/* TEXT */
|
|
2252
2261
|
),
|
|
@@ -3294,18 +3303,18 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
3294
3303
|
script.__file = "src/register/components/SelfRegistration.vue";
|
|
3295
3304
|
|
|
3296
3305
|
const nutComponents = [
|
|
3297
|
-
Grid,
|
|
3298
|
-
GridItem,
|
|
3299
|
-
Button,
|
|
3300
|
-
Checkbox,
|
|
3301
|
-
Popup,
|
|
3302
|
-
OverLay,
|
|
3303
|
-
DatePicker,
|
|
3304
|
-
Form,
|
|
3305
|
-
FormItem,
|
|
3306
|
-
Cell,
|
|
3307
|
-
CellGroup,
|
|
3308
|
-
Dialog
|
|
3306
|
+
// Grid,
|
|
3307
|
+
// GridItem,
|
|
3308
|
+
// Button,
|
|
3309
|
+
// Checkbox,
|
|
3310
|
+
// Popup,
|
|
3311
|
+
// OverLay,
|
|
3312
|
+
// DatePicker,
|
|
3313
|
+
// Form,
|
|
3314
|
+
// FormItem,
|
|
3315
|
+
// Cell,
|
|
3316
|
+
// CellGroup,
|
|
3317
|
+
// Dialog
|
|
3309
3318
|
];
|
|
3310
3319
|
const appComponents = {
|
|
3311
3320
|
...components
|
package/package.json
CHANGED
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
<div class="title">启明星权益</div>
|
|
34
34
|
<div class="list">
|
|
35
35
|
<div class="item star-item" v-for="(item, index) in balance.privileges.corporateStar" :key="index">
|
|
36
|
-
<div class="item-count">{{ item.count }}</div>
|
|
36
|
+
<div class="item-count"><span>{{ item.count }}</span><span>{{ item.unit }}</span></div>
|
|
37
37
|
<div class="item-title">
|
|
38
38
|
<div>{{ item.title }}</div>
|
|
39
|
-
<div class="item-title-button" v-if="item.
|
|
39
|
+
<div class="item-title-button" v-if="item.id">
|
|
40
40
|
<div @click="gotoTrade(item)">超值换购</div>
|
|
41
41
|
<img class="button-icon" src="https://cdn.ddjf.com/static/images/bpms-workBench/button-hg.svg" />
|
|
42
42
|
</div>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<div class="title">AI审批权益</div>
|
|
49
49
|
<div class="list">
|
|
50
50
|
<div class="item" v-for="(item, index) in balance.privileges.aiapprove" :key="index">
|
|
51
|
-
<div class="item-count">{{ item.count }}</div>
|
|
51
|
+
<div class="item-count">{{ item.count }}{{ item.unit }}</div>
|
|
52
52
|
<div class="item-title">{{ item.title }}</div>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
package/src/index.ts
CHANGED
|
@@ -2,36 +2,36 @@ import { App } from 'vue'
|
|
|
2
2
|
import { components as paymentComponents } from './payment/components'
|
|
3
3
|
import { services as paymentServices } from './payment'
|
|
4
4
|
import {
|
|
5
|
-
Grid,
|
|
6
|
-
GridItem,
|
|
7
|
-
Button,
|
|
8
|
-
Checkbox,
|
|
9
|
-
Popup,
|
|
10
|
-
OverLay,
|
|
11
|
-
DatePicker,
|
|
12
|
-
Form,
|
|
13
|
-
FormItem,
|
|
14
|
-
Cell,
|
|
15
|
-
CellGroup,
|
|
16
|
-
Dialog
|
|
5
|
+
// Grid,
|
|
6
|
+
// GridItem,
|
|
7
|
+
// Button,
|
|
8
|
+
// Checkbox,
|
|
9
|
+
// Popup,
|
|
10
|
+
// OverLay,
|
|
11
|
+
// DatePicker,
|
|
12
|
+
// Form,
|
|
13
|
+
// FormItem,
|
|
14
|
+
// Cell,
|
|
15
|
+
// CellGroup,
|
|
16
|
+
// Dialog
|
|
17
17
|
} from '@nutui/nutui-taro'
|
|
18
18
|
import { type AppKitOptions, useAppKitOptions, DollarApp } from './Appkit'
|
|
19
19
|
import { PaymentParams, RechargeParams } from './payment/types'
|
|
20
20
|
import './main.scss'
|
|
21
21
|
|
|
22
22
|
const nutComponents = [
|
|
23
|
-
Grid,
|
|
24
|
-
GridItem,
|
|
25
|
-
Button,
|
|
26
|
-
Checkbox,
|
|
27
|
-
Popup,
|
|
28
|
-
OverLay,
|
|
29
|
-
DatePicker,
|
|
30
|
-
Form,
|
|
31
|
-
FormItem,
|
|
32
|
-
Cell,
|
|
33
|
-
CellGroup,
|
|
34
|
-
Dialog
|
|
23
|
+
// Grid,
|
|
24
|
+
// GridItem,
|
|
25
|
+
// Button,
|
|
26
|
+
// Checkbox,
|
|
27
|
+
// Popup,
|
|
28
|
+
// OverLay,
|
|
29
|
+
// DatePicker,
|
|
30
|
+
// Form,
|
|
31
|
+
// FormItem,
|
|
32
|
+
// Cell,
|
|
33
|
+
// CellGroup,
|
|
34
|
+
// Dialog
|
|
35
35
|
]
|
|
36
36
|
|
|
37
37
|
const appComponents = {
|
package/dist/styles.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import url(./styles/vars.scss);
|