jufubao-base 1.0.122 → 1.0.123

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.
Files changed (33) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBasePay/JfbBasePay.vue +11 -5
  3. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +268 -238
  4. package/src/components/JfbBaseWallet/Api.js +60 -0
  5. package/src/components/JfbBaseWallet/Attr.js +101 -0
  6. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +306 -0
  7. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +80 -0
  8. package/src/components/JfbBaseWallet/JfbBaseWalletMixin.js +30 -0
  9. package/src/components/JfbBaseWallet/Mock.js +6 -0
  10. package/src/components/JfbBaseWalletDetail/Api.js +26 -0
  11. package/src/components/JfbBaseWalletDetail/Attr.js +16 -0
  12. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +175 -0
  13. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +80 -0
  14. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +30 -0
  15. package/src/components/JfbBaseWalletDetail/Mock.js +6 -0
  16. package/src/components/JfbBaseWalletEffective/Api.js +27 -0
  17. package/src/components/JfbBaseWalletEffective/Attr.js +15 -0
  18. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +176 -0
  19. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +80 -0
  20. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveMixin.js +30 -0
  21. package/src/components/JfbBaseWalletEffective/Mock.js +21 -0
  22. package/src/components/JfbBaseWalletIndex/Api.js +48 -0
  23. package/src/components/JfbBaseWalletIndex/Attr.js +33 -0
  24. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +822 -0
  25. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +80 -0
  26. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexMixin.js +30 -0
  27. package/src/components/JfbBaseWalletIndex/Mock.js +7 -0
  28. package/src/components/JfbBaseWalletItem/Api.js +37 -0
  29. package/src/components/JfbBaseWalletItem/Attr.js +33 -0
  30. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +501 -0
  31. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +80 -0
  32. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemMixin.js +30 -0
  33. package/src/components/JfbBaseWalletItem/Mock.js +7 -0
@@ -0,0 +1,175 @@
1
+ <template>
2
+ <view
3
+ class="jfb-base-wallet-detail"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx: isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-base-wallet-detail__edit"
10
+ :class="{ editx: isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-base-wallet-detail__edit-icon" @click="delEdit"
14
+ >删除</view
15
+ >
16
+ </view>
17
+ <!-- #endif -->
18
+ <view class="jfb-base-wallet-detail__body">
19
+ <view v-if="status" class="jfb-base-wallet-detail__body-wrap">
20
+ <view class="jfb-base-wallet-detail__body-price">
21
+ <XdFontIcon size="56" :icon="operate_type === 'A'?'iconshouru':'iconzhichu'"></XdFontIcon>
22
+ <view class="jfb-base-wallet-detail__body-price-type"
23
+ >{{trade_type_name}}</view
24
+ >
25
+ <view
26
+ >{{ operate_type === "A" ? "+" : "-"
27
+ }}{{ dividePrice(amount) }}</view
28
+ >
29
+ </view>
30
+ <view class="jfb-base-wallet-detail__body-info">
31
+ <view
32
+ v-for="(item, index) in list"
33
+ :key="index"
34
+ class="jfb-base-wallet-detail__body-info-item"
35
+ >
36
+ <view class="jfb-base-wallet-detail__body-info-item-label">
37
+ {{ item.label }}
38
+ </view>
39
+ <view class="jfb-base-wallet-detail__body-info-item-value">
40
+ {{ item.value }}
41
+ </view>
42
+ </view>
43
+ </view>
44
+ </view>
45
+ </view>
46
+ </view>
47
+ </template>
48
+
49
+ <script>
50
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
51
+ import { jfbRootExec } from "@/utils/xd.event";
52
+ import JfbBaseWalletDetailMixin from "./JfbBaseWalletDetailMixin";
53
+ import { getContainerPropsValue } from "@/utils/xd.base";
54
+ import componentsMixins from "@/mixins/componentsMixins";
55
+ import extsMixins from "@/mixins/extsMixins";
56
+ export default {
57
+ name: "JfbBaseWalletDetail",
58
+ components: {
59
+ XdFontIcon,
60
+ },
61
+ mixins: [componentsMixins, extsMixins, JfbBaseWalletDetailMixin],
62
+ data() {
63
+ return {
64
+ trade_type_name: "",
65
+ operate_type: "",
66
+ list: [],
67
+ amount: "",
68
+ status: false,
69
+ };
70
+ },
71
+ watch: {
72
+ container(value) {
73
+ this.init(value);
74
+ },
75
+ },
76
+ created() {
77
+ this.init(this.container);
78
+
79
+ //todo
80
+ },
81
+ methods: {
82
+ onJfbLoad(options) {
83
+ jfbRootExec("getRecordDetail", {
84
+ vm: this,
85
+ data: {
86
+ trade_id: options.trade_id,
87
+ },
88
+ })
89
+ .then((res) => {
90
+ this.list = res.list;
91
+ this.amount = res.amount;
92
+ this.trade_type_name = res.trade_type_name;
93
+ this.operate_type = res.operate_type;
94
+ this.status = true;
95
+ })
96
+ .catch(this.$xdLog.catch);
97
+ },
98
+ /**
99
+ * @description 监听事件变化
100
+ * @param container {object} 业务组件对象自己
101
+ */
102
+ init(container) {
103
+ //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
104
+ //this.height = getContainerPropsValue(container, 'content.height', 10);
105
+ },
106
+ dividePrice(num) {
107
+ return this.$xdUniHelper.divisionFloatNumber(num, 100);
108
+ },
109
+ onJfbScroll(options) {
110
+ console.log("event.onJfbScroll", options);
111
+ },
112
+ onJfbReachBottom(options) {
113
+ console.log("event.onJfbReachBottom", options);
114
+ },
115
+ onJfbShow(options) {
116
+ console.log("event.onJfbShow", options);
117
+ },
118
+ onJfbHide(options) {
119
+ console.log("event.onJfbHide", options);
120
+ },
121
+ onJfbBack(options) {
122
+ console.log("event.onJfbBack", options);
123
+ },
124
+ onJfbUpdate(...data) {
125
+ console.log("event.onJfbUpdate", data);
126
+ },
127
+ onJfbCustomEvent(options) {
128
+ console.log("event.onJfbReachBottom", options);
129
+ },
130
+ },
131
+ };
132
+ </script>
133
+
134
+ <style scoped lang="less">
135
+ @import "./JfbBaseWalletDetailLess.less";
136
+
137
+ .jfb-base-wallet-detail {
138
+ &__body {
139
+ &-wrap {
140
+ border-radius: 20rpx;
141
+ background: #ffffff;
142
+ border: 1rpx solid #eeeeee;
143
+ margin: 20rpx 20rpx 0 20rpx;
144
+ }
145
+ &-price {
146
+ display: flex;
147
+ flex-direction: column;
148
+ justify-content: center;
149
+ align-items: center;
150
+ padding: 52rpx 0 36rpx 0;
151
+ margin: 0 60rpx;
152
+ border-bottom: 1rpx solid #eee;
153
+ &-type {
154
+ font-size: 28rpx;
155
+ color: #666;
156
+ margin: 20rpx 0 30rpx 0;
157
+ }
158
+ & > view:last-child {
159
+ font-size: 64rpx;
160
+ color: #333;
161
+ }
162
+ }
163
+ &-info {
164
+ margin-top: 36rpx;
165
+ &-item {
166
+ font-size: 24rpx;
167
+ color: #999;
168
+ display: flex;
169
+ justify-content: space-between;
170
+ padding: 0 60rpx 36rpx 60rpx;
171
+ }
172
+ }
173
+ }
174
+ }
175
+ </style>
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-wallet-detail {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
17
+ box-sizing: border-box;
18
+ min-height: unit(50, rpx);
19
+
20
+ &__body{
21
+ position: relative;
22
+ overflow: hidden;
23
+ z-index: 2
24
+ }
25
+
26
+ &.editx {
27
+ position: relative;
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
33
+
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
41
+ }
42
+
43
+
44
+ &__edit {
45
+ cursor: pointer;
46
+ position: absolute;
47
+ right: unit(0, rpx);
48
+ top: unit(-52, rpx);
49
+ height: unit(50, rpx);
50
+ line-height: unit(50, rpx);
51
+ display: flex;
52
+ justify-content: center;
53
+ align-items: center;
54
+ background: rgba(0, 0, 0, .6);
55
+ border-radius: unit(10, rpx);
56
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
57
+ color: #fff;
58
+ font-size: unit(22, rpx);
59
+
60
+ &-icon{
61
+ padding: 0 unit(20, rpx);
62
+ }
63
+
64
+ &.editx {
65
+ box-sizing: border-box;
66
+
67
+ }
68
+ }
69
+ }
70
+ //end
71
+
72
+
73
+ /**notPreview**/
74
+ .jfb-base-wallet-detail {
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
79
+ }
80
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-wallet-detail'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ getRecordDetail: {"trade_id":"8ICccHHNMFVyGvnetIkJU","trade_type":"recharge","trade_type_name":"充值","operate_type":"A","operate_type_name":"收入","amount":100000,"list":[{"label":"收入账户","value":"综合元宝"},{"label":"收入账号","value":"1000000000000245"},{"label":"收入时间","value":"-"}],"request_id":"0d909e7ad44f21de"}
5
+ }
6
+
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description API模型
5
+ * 建议:Ffff=>模块 Xxxx=>自定义名字
6
+ * 获取单记录(getByIdFfffXxxx)
7
+ * 获取列表记录(getByListFfffXxxx)
8
+ * 添加列表记录(addFfffXxxxx)
9
+ * 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
10
+ * 更新列表记录(updateFfffXxxxx)
11
+ * @type {*[]}
12
+ */
13
+ module.exports = [
14
+ {
15
+ mapFnName: 'getEffectiveList', //自定义方法名字(必选)
16
+ title: '获取有效期列表',
17
+ path: '/pay/v1/wallet/list-period',
18
+ isRule: false,
19
+ params: {
20
+ wallet_type: ['wallet_type', 'Number', '必选'],
21
+ page_size: ['page_size', 'Number', '必选'],
22
+ },
23
+ isConsole: true,
24
+ disabled: true,
25
+ }
26
+ ];
27
+
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
5
+ */
6
+ export default {
7
+ style: [],
8
+ content: (data) => {
9
+ return [
10
+ ].filter(i=>i)
11
+ },
12
+ advanced: [
13
+ ],
14
+ };
15
+
@@ -0,0 +1,176 @@
1
+ <template>
2
+ <view
3
+ class="jfb-base-wallet-effective"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx: isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-base-wallet-effective__edit"
10
+ :class="{ editx: isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-base-wallet-effective__edit-icon" @click="delEdit"
14
+ >删除</view
15
+ >
16
+ </view>
17
+ <!-- #endif -->
18
+ <view class="jfb-base-wallet-effective__body" v-if="status">
19
+ <view v-if="list.length" class="jfb-base-wallet-effective__body-wrap">
20
+ <view class="jfb-base-wallet-effective__body-title">
21
+ <view>剩余元宝</view>
22
+ <view>过期时间</view>
23
+ </view>
24
+ <view class="jfb-base-wallet-effective__body-list">
25
+ <view
26
+ v-for="(item, index) in list"
27
+ :key="index"
28
+ class="jfb-base-wallet-effective__body-list-item"
29
+ >
30
+ <view>
31
+ <XdFontIcon
32
+ size="28"
33
+ :color="mainColor"
34
+ :icon="type === 'wallet' ? 'iconyuanbao' : 'iconjifenjilu'"
35
+ ></XdFontIcon>
36
+ <text>{{ dividePrice(item.amount) }}</text>
37
+ </view>
38
+ <view>{{ item.show_end_time }}</view>
39
+ </view>
40
+ </view>
41
+ </view>
42
+ <XdNoData v-else></XdNoData>
43
+ </view>
44
+ </view>
45
+ </template>
46
+
47
+ <script>
48
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
49
+ import { jfbRootExec } from "@/utils/xd.event";
50
+ import XdNoData from "@/components/XdNoData/XdNoData";
51
+ import JfbBaseWalletEffectiveMixin from "./JfbBaseWalletEffectiveMixin";
52
+ import { getContainerPropsValue } from "@/utils/xd.base";
53
+ import componentsMixins from "@/mixins/componentsMixins";
54
+ import extsMixins from "@/mixins/extsMixins";
55
+ export default {
56
+ name: "JfbBaseWalletEffective",
57
+ components: {
58
+ XdFontIcon,
59
+ },
60
+ mixins: [componentsMixins, extsMixins, JfbBaseWalletEffectiveMixin],
61
+ data() {
62
+ return {
63
+ list: [],
64
+ hasNext: true,
65
+ next_page_token: "",
66
+ page_size: 20,
67
+ page_token: 1,
68
+ type: "",
69
+ wallet_type: "",
70
+ status: false,
71
+ };
72
+ },
73
+ watch: {
74
+ container(value) {
75
+ this.init(value);
76
+ },
77
+ },
78
+ created() {
79
+ this.init(this.container);
80
+
81
+ //todo
82
+ },
83
+ methods: {
84
+ async onJfbLoad(options) {
85
+ this.wallet_type = options.wallet_type;
86
+ this.type = options.type;
87
+ await this.getList();
88
+ this.status = true;
89
+ },
90
+ /**
91
+ * @description 监听事件变化
92
+ * @param container {object} 业务组件对象自己
93
+ */
94
+ init(container) {},
95
+ dividePrice(num) {
96
+ return this.$xdUniHelper.divisionFloatNumber(num, 100);
97
+ },
98
+ getList() {
99
+ //todo
100
+ jfbRootExec("getEffectiveList", {
101
+ vm: this,
102
+ data: {
103
+ wallet_type: this.wallet_type,
104
+ page_size: this.page_size,
105
+ page_token: this.page_token,
106
+ },
107
+ })
108
+ .then((res) => {
109
+ if (this.page_token === 1) {
110
+ this.list = res.list;
111
+ } else {
112
+ this.list = this.list.concat(res.list);
113
+ }
114
+ this.hasNext = res.next_page_token !== "";
115
+ this.next_page_token = res.next_page_token;
116
+ })
117
+ .catch(this.$xdLog.catch);
118
+ },
119
+ onJfbScroll(options) {
120
+ console.log("event.onJfbScroll", options);
121
+ },
122
+ onJfbReachBottom(options) {
123
+ console.log("1111");
124
+ if (this.hasNext) {
125
+ this.page_token = this.next_page_token;
126
+ this.getList();
127
+ }
128
+ },
129
+ onJfbBack(options) {
130
+ console.log("event.onJfbBack", options);
131
+ },
132
+ },
133
+ };
134
+ </script>
135
+
136
+ <style scoped lang="less">
137
+ @import "./JfbBaseWalletEffectiveLess.less";
138
+
139
+ .jfb-base-wallet-effective {
140
+ &__body {
141
+ &-wrap {
142
+ border-radius: 20rpx;
143
+ background: #ffffff;
144
+ border: 1rpx solid #eeeeee;
145
+ margin: 20rpx 20rpx 0 20rpx;
146
+ }
147
+ &-title {
148
+ display: flex;
149
+ justify-content: space-between;
150
+ padding: 40rpx 60rpx 50rpx 60rpx;
151
+ color: #666;
152
+ font-size: 24rpx;
153
+ }
154
+ &-list {
155
+ &-item {
156
+ display: flex;
157
+ justify-content: space-between;
158
+ padding: 0 50rpx 50rpx 50rpx;
159
+ & > view:first-child {
160
+ display: flex;
161
+ align-items: center;
162
+ & > text {
163
+ margin-left: 20rpx;
164
+ font-size: 26rpx;
165
+ color: #333;
166
+ }
167
+ }
168
+ & > view:nth-child(2) {
169
+ color: #999;
170
+ font-size: 26rpx;
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ </style>
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-wallet-effective {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
17
+ box-sizing: border-box;
18
+ min-height: unit(50, rpx);
19
+
20
+ &__body{
21
+ position: relative;
22
+ overflow: hidden;
23
+ z-index: 2
24
+ }
25
+
26
+ &.editx {
27
+ position: relative;
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
33
+
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
41
+ }
42
+
43
+
44
+ &__edit {
45
+ cursor: pointer;
46
+ position: absolute;
47
+ right: unit(0, rpx);
48
+ top: unit(-52, rpx);
49
+ height: unit(50, rpx);
50
+ line-height: unit(50, rpx);
51
+ display: flex;
52
+ justify-content: center;
53
+ align-items: center;
54
+ background: rgba(0, 0, 0, .6);
55
+ border-radius: unit(10, rpx);
56
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
57
+ color: #fff;
58
+ font-size: unit(22, rpx);
59
+
60
+ &-icon{
61
+ padding: 0 unit(20, rpx);
62
+ }
63
+
64
+ &.editx {
65
+ box-sizing: border-box;
66
+
67
+ }
68
+ }
69
+ }
70
+ //end
71
+
72
+
73
+ /**notPreview**/
74
+ .jfb-base-wallet-effective {
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
79
+ }
80
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-wallet-effective'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ getEffectiveList: {
5
+ "next_page_token": "0",
6
+ "total_size": 0,
7
+ "list": [
8
+ {
9
+ "period_id": "string",
10
+ "partner_id": 0,
11
+ "site_id": "string",
12
+ "amount": 100000,
13
+ "show_end_time": "2024-03-26 10:10:10",
14
+ "end_time": 0,
15
+ "show_name": "string",
16
+ "comment": "string",
17
+ "created_time": 0
18
+ }
19
+ ]
20
+ }
21
+ }
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description API模型
5
+ * 建议:Ffff=>模块 Xxxx=>自定义名字
6
+ * 获取单记录(getByIdFfffXxxx)
7
+ * 获取列表记录(getByListFfffXxxx)
8
+ * 添加列表记录(addFfffXxxxx)
9
+ * 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
10
+ * 更新列表记录(updateFfffXxxxx)
11
+ * @type {*[]}
12
+ */
13
+ module.exports = [
14
+ {
15
+ mapFnName: 'getWalletList', //自定义方法名字(必选)
16
+ title: '获取元宝列表',
17
+ path: '/pay/v1/wallet/list',
18
+ isRule: false,
19
+ params: {
20
+ support_method: ['元宝:wallet 积分: score', 'String', '必选'],
21
+ },
22
+ isConsole: true,
23
+ disabled: true,
24
+ },
25
+ {
26
+ mapFnName: 'getWalletRecordList', //自定义方法名字(必选)
27
+ title: '获取收支明细',
28
+ path: '/pay/v1/wallet/list-trade-record',
29
+ isRule: false,
30
+ params: {
31
+ support_method: ['元宝:wallet 积分: score', 'String', '必选'],
32
+ page_size: ['每页条数', 'String', '必选'],
33
+ },
34
+ isConsole: true,
35
+ disabled: true,
36
+ },
37
+ {
38
+ mapFnName: 'getWalletQrcode', //自定义方法名字(必选)
39
+ title: '动态二维码获取',
40
+ path: '/pay/v1/wallet/qrcode',
41
+ isRule: false,
42
+ params: {
43
+ wallet_type: ['钱包类型', 'String', '必选'],
44
+ },
45
+ isConsole: true,
46
+ disabled: true,
47
+ },
48
+ ];