jufubao-base 1.0.241 → 1.0.242-beta10

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 (130) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseBalance/Api.js +46 -0
  3. package/src/components/JfbBaseBalance/Attr.js +316 -0
  4. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +336 -0
  5. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +79 -0
  6. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +30 -0
  7. package/src/components/JfbBaseBalance/Mock.js +9 -0
  8. package/src/components/JfbBaseCodeOpenVip/Api.js +35 -0
  9. package/src/components/JfbBaseCodeOpenVip/Attr.js +281 -0
  10. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +251 -0
  11. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +79 -0
  12. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +30 -0
  13. package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
  14. package/src/components/JfbBaseConsumpCode/Api.js +133 -0
  15. package/src/components/JfbBaseConsumpCode/Attr.js +74 -0
  16. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +1109 -0
  17. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +79 -0
  18. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +30 -0
  19. package/src/components/JfbBaseConsumpCode/Mock.js +22 -0
  20. package/src/components/JfbBaseFastLink/Attr.js +12 -1
  21. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +66 -0
  22. package/src/components/JfbBaseFooter/Attr.js +12 -0
  23. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +13 -0
  24. package/src/components/JfbBaseHeader/Attr.js +82 -0
  25. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +47 -1
  26. package/src/components/JfbBaseHeaderColumn/Attr.js +82 -0
  27. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +48 -2
  28. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +12 -0
  29. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  30. package/src/components/JfbBaseNoticeDialog/Attr.js +26 -0
  31. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +28 -9
  32. package/src/components/JfbBaseNoticeGroup/Api.js +23 -0
  33. package/src/components/JfbBaseNoticeGroup/Attr.js +237 -0
  34. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +174 -0
  35. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +79 -0
  36. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +30 -0
  37. package/src/components/JfbBaseNoticeGroup/Mock.js +13 -0
  38. package/src/components/JfbBaseOpenVip/Api.js +39 -0
  39. package/src/components/JfbBaseOpenVip/Attr.js +331 -0
  40. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +457 -0
  41. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
  42. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
  43. package/src/components/JfbBaseOpenVip/Mock.js +7 -0
  44. package/src/components/JfbBaseOpenVip/XdVipList.vue +131 -0
  45. package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
  46. package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
  47. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
  48. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
  49. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
  50. package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
  51. package/src/components/JfbBaseOpenVipDetail/Api.js +35 -0
  52. package/src/components/JfbBaseOpenVipDetail/Attr.js +37 -0
  53. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +234 -0
  54. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
  55. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
  56. package/src/components/JfbBaseOpenVipDetail/Mock.js +15 -0
  57. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +177 -18
  58. package/src/components/JfbBasePay/Attr.js +52 -0
  59. package/src/components/JfbBasePay/JfbBasePay.vue +23 -6
  60. package/src/components/JfbBasePay/Mock.js +0 -9
  61. package/src/components/JfbBasePersonalData/Api.js +26 -0
  62. package/src/components/JfbBasePersonalData/Attr.js +13 -0
  63. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +200 -0
  64. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
  65. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
  66. package/src/components/JfbBasePersonalData/Mock.js +13 -0
  67. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +11 -1
  68. package/src/components/JfbBasePointsCard/Api.js +18 -0
  69. package/src/components/JfbBasePointsCard/Attr.js +187 -0
  70. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +212 -0
  71. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
  72. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
  73. package/src/components/JfbBasePointsCard/Mock.js +5 -0
  74. package/src/components/JfbBasePointsDetail/Api.js +48 -0
  75. package/src/components/JfbBasePointsDetail/Attr.js +305 -0
  76. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +267 -0
  77. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
  78. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
  79. package/src/components/JfbBasePointsDetail/Mock.js +6 -0
  80. package/src/components/JfbBasePoster/Attr.js +1 -1
  81. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  82. package/src/components/JfbBasePosterGroup/Api.js +22 -0
  83. package/src/components/JfbBasePosterGroup/Attr.js +156 -0
  84. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +268 -0
  85. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +79 -0
  86. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +30 -0
  87. package/src/components/JfbBasePosterGroup/Mock.js +13 -0
  88. package/src/components/JfbBaseSavingDetail/Api.js +41 -0
  89. package/src/components/JfbBaseSavingDetail/Attr.js +70 -0
  90. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +724 -0
  91. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
  92. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
  93. package/src/components/JfbBaseSavingDetail/Mock.js +10 -0
  94. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
  95. package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
  96. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
  97. package/src/components/JfbBaseShare/Api.js +20 -0
  98. package/src/components/JfbBaseShare/Attr.js +59 -0
  99. package/src/components/JfbBaseShare/JfbBaseShare.vue +282 -0
  100. package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
  101. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
  102. package/src/components/JfbBaseShare/Mock.js +16 -0
  103. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +9 -3
  104. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +12 -22
  105. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +12 -1
  106. package/src/components/JfbBaseTfkSearch/Mock.js +51 -3
  107. package/src/components/JfbBaseTfkSearch/listMixins.js +2 -1
  108. package/src/components/JfbBaseUserInfo/Attr.js +175 -11
  109. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +337 -115
  110. package/src/components/JfbBaseUserOrder/Attr.js +16 -0
  111. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +11 -2
  112. package/src/components/JfbBaseWithDrawAgain/Api.js +41 -0
  113. package/src/components/JfbBaseWithDrawAgain/Attr.js +92 -0
  114. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +354 -0
  115. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
  116. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
  117. package/src/components/JfbBaseWithDrawAgain/Mock.js +10 -0
  118. package/src/components/JfbBaseWithDrawRecord/Api.js +19 -0
  119. package/src/components/JfbBaseWithDrawRecord/Attr.js +79 -0
  120. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +233 -0
  121. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
  122. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
  123. package/src/components/JfbBaseWithDrawRecord/Mock.js +7 -0
  124. package/src/components/JfbBaseWithdraw/Api.js +48 -0
  125. package/src/components/JfbBaseWithdraw/Attr.js +328 -0
  126. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +272 -0
  127. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
  128. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
  129. package/src/components/JfbBaseWithdraw/Mock.js +7 -0
  130. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +10 -0
@@ -0,0 +1,79 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
5
+ */
6
+ export default {
7
+ style: [],
8
+ content: (data) => {
9
+ return [
10
+ {
11
+ label: '外边距:',
12
+ ele: 'xd-margin-padding',
13
+ valueKey: 'bodyMargin',
14
+ groupKey: 'style',
15
+ value: data['bodyMargin'] || null,
16
+ setting: {
17
+ type: 'margin',
18
+ },
19
+ placeholder: '请设置外边距',
20
+ inline: false,
21
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
22
+ },
23
+ {
24
+ label: '圆角设置:',
25
+ ele: 'xd-site-select-list',
26
+ valueKey: 'radius',
27
+ value: data['radius'] || '20',
28
+ labelInline: true,
29
+ groupKey: 'style',
30
+ placeholder: '请选择圆角设置',
31
+ multiple: false,
32
+ className: 'input60',
33
+ handleCustom({ action, data }) {
34
+ XdBus.getParentApi('getOptionsSettingList')({
35
+ setting_id: 'edtix_style_radius',
36
+ key: Date.now()
37
+ })
38
+ .then(res => {
39
+ data.cb(res.list)
40
+ })
41
+ .catch(error => {
42
+ console.error(error);
43
+ });
44
+ },
45
+ },
46
+ {
47
+ label: "边框设置:",
48
+ ele: "xd-border",
49
+ valueKey: "bodyBorder",
50
+ value: data['bodyBorder'] || { type: 'Y', value: { color: '#eee', style: "solid", width: '1' } },
51
+ className: 'input80',
52
+ groupKey: 'style',
53
+ },
54
+ {
55
+ label: '背景颜色:',
56
+ ele: 'xd-color',
57
+ valueKey: 'bgColor',
58
+ groupKey: 'style',
59
+ value: data['bgColor'] || null,
60
+ placeholder: '请选择背景颜色',
61
+ labelInline: true,
62
+ classNmae: 'input80',
63
+ },
64
+ {
65
+ label: '重新提现路径:',
66
+ ele: 'xd-select-pages-path',
67
+ valueKey: 'againWithDrawPath',
68
+ groupKey:'advanced',
69
+ placeholder: '请选择重新提现路径',
70
+ value: data['againWithDrawPath'] || {},
71
+ setting: {
72
+ router: XdBus.getParentApi('getPagesTree'),
73
+ },
74
+ inline: false,
75
+ },
76
+ ].filter(i=>i)
77
+ },
78
+ advanced: [],
79
+ };
@@ -0,0 +1,233 @@
1
+ <template>
2
+ <view class="jfb-base-with-draw-record" @click="handleEditxSelect" :class="{ editx : isEditx && active }">
3
+ <!--#ifdef H5-->
4
+ <view class="jfb-base-with-draw-record__edit" :class="{ editx : isEditx && active }" v-if="isEditx && active">
5
+ <view class="jfb-base-with-draw-record__edit-icon" @click="delEdit">删除</view>
6
+ </view>
7
+ <!-- #endif -->
8
+ <view v-if="orderList&&orderList.length>0" class="jfb-base-with-draw-record__body" :style="[bodyStyleComp]">
9
+ <view class="jfb-base-with-draw-record__body-title">
10
+ <view>提现记录</view>
11
+ <view>状态</view>
12
+ </view>
13
+ <view>
14
+ <view v-for="(item,index) in orderList" :key="index" class="jfb-base-with-draw-record__body-item">
15
+ <view class="jfb-base-with-draw-record__body-item-top">
16
+ <view>{{item.order_id}}</view>
17
+ <view v-if="item.status==='Y'" class="success">{{item.status_name}}</view>
18
+ <view v-if="item.status==='F'" class="fail">{{item.status_name}}</view>
19
+ <view v-if="item.status==='N'" class="processing">{{item.status_name}}</view>
20
+ </view>
21
+ <view class="jfb-base-with-draw-record__body-item-bottom">
22
+ <view>¥{{getAmout(item.total_amount)}}</view>
23
+ <view @click="handleToDetail(item)" v-if="item.status==='N'">
24
+ 详细
25
+ <XdFontIcon style="margin-left:8rpx" icon="iconxiangyou_xian" size="20" color="#CCCCCC"></XdFontIcon>
26
+ </view>
27
+ </view>
28
+ </view>
29
+ </view>
30
+ </view>
31
+ <XdNoData v-else></XdNoData>
32
+ </view>
33
+ </template>
34
+
35
+ <script>
36
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
37
+ import XdNoData from "@/components/XdNoData/XdNoData";
38
+ import { jfbRootExec } from "@/utils/xd.event";
39
+ import JfbBaseWithDrawRecordMixin from "./JfbBaseWithDrawRecordMixin";
40
+ import { getContainerPropsValue } from "@/utils/xd.base";
41
+ import componentsMixins from "@/mixins/componentsMixins";
42
+ import extsMixins from "@/mixins/extsMixins";
43
+ export default {
44
+ name: "JfbBaseWithDrawRecord",
45
+ components: {
46
+ XdFontIcon,
47
+ XdNoData
48
+ },
49
+ mixins: [
50
+ componentsMixins, extsMixins, JfbBaseWithDrawRecordMixin
51
+ ],
52
+ data() {
53
+ return {
54
+ radius: 0,
55
+ margin: {},
56
+ bgColor: '',
57
+ bodyBorder: {},
58
+ againWithDrawPath: '',
59
+ page_token: 1,
60
+ orderList: [],
61
+ hasNext: true
62
+ }
63
+ },
64
+ computed: {
65
+ bodyStyleComp() {
66
+ return {
67
+ borderRadius: `${this.radius}rpx`,
68
+ margin: this.getMarginAndPadding(this.margin, 20),
69
+ background: this.bgColor,
70
+ border: this.bodyBorder,
71
+ }
72
+ },
73
+ },
74
+ watch: {
75
+ container(value, oldValue) {
76
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
77
+ if (this.$configProject['isPreview']) this.init(value)
78
+ },
79
+ },
80
+ created() {
81
+ this.init(this.container);
82
+ },
83
+ methods: {
84
+ onJfbLoad(options) {
85
+ this.getOrderRecord()
86
+ },
87
+ getAmout(amount) {
88
+ return this.$xdUniHelper.divisionFloatNumber(amount, 100)
89
+ },
90
+ /**
91
+ * @description 监听事件变化
92
+ * @param container {object} 业务组件对象自己
93
+ */
94
+ init(container) {
95
+ this.radius = getContainerPropsValue(container, 'content.radius', 20);
96
+ this.margin = getContainerPropsValue(container, 'content.bodyMargin', {});
97
+ this.bgColor = getContainerPropsValue(container, 'content.bgColor', '#fff');
98
+ this.bodyBorder = this.getXdBorder({}, getContainerPropsValue(container, 'content.bodyBorder', {}))
99
+ this.againWithDrawPath = getContainerPropsValue(container, 'content.againWithDrawPath', { value: '' }).value;
100
+ },
101
+ getOrderRecord() {
102
+ jfbRootExec("getRecordWithdrawOrderList", {
103
+ vm: this,
104
+ data: {
105
+ page_size: 10,
106
+ page_token: this.page_token,
107
+ },
108
+ }).then(res => {
109
+ let list = res.list.map(item => {
110
+ item["created_time"] = this.$xdUniHelper.getDate(
111
+ item["created_time"] * 1000
112
+ ).fullTime;
113
+ return item;
114
+ })
115
+ if (this.page_token === 1) {
116
+ this.orderList = list
117
+ } else {
118
+ this.orderList = this.orderList.concat(list);
119
+ }
120
+ this.next_page_token = res.next_page_token
121
+ this.hasNext = res.next_page_token !== "";
122
+ })
123
+ },
124
+ handleToDetail(item) {
125
+ this.$xdUniHelper.navigateTo({ url: `${this.againWithDrawPath}?order_id=${item.order_id}` })
126
+ },
127
+ onJfbScroll(options) {
128
+ console.log('event.onJfbScroll', options)
129
+ },
130
+ onJfbReachBottom(options) {
131
+ if (this.hasNext) {
132
+ this.page_token = this.next_page_token;
133
+ this.getOrderRecord()
134
+ }
135
+ },
136
+ onJfbShow(options) {
137
+ this.getOrderRecord()
138
+ },
139
+ onJfbHide(options) {
140
+ console.log('event.onJfbHide', options)
141
+ },
142
+ onJfbBack(options) {
143
+ console.log('event.onJfbBack', options)
144
+ },
145
+ onJfbUpdate(...data) {
146
+ console.log('event.onJfbUpdate', data)
147
+ },
148
+ onJfbCustomEvent(options) {
149
+ console.log('event.onJfbReachBottom', options)
150
+ },
151
+ }
152
+ }
153
+
154
+ </script>
155
+
156
+ <style scoped lang="less">
157
+ @import "./JfbBaseWithDrawRecordLess.less";
158
+
159
+ .jfb-base-with-draw-record {
160
+ &__body {
161
+ border-radius: 20rpx;
162
+ margin: 20rpx;
163
+
164
+ &-title {
165
+ background: #F3F3F3;
166
+ padding: 36rpx 48rpx;
167
+ display: flex;
168
+ justify-content: space-between;
169
+ align-items: center;
170
+ font-size: 28rpx;
171
+
172
+ &>view:first-child {
173
+ font-weight: 500;
174
+ color: #333;
175
+ }
176
+
177
+ &> view:last-child {
178
+ color: #CCCCCC;
179
+ }
180
+ }
181
+
182
+ &-item {
183
+ margin-top: 24rpx;
184
+ padding: 20rpx 48rpx;
185
+ font-size: 28rpx;
186
+
187
+ &-top {
188
+ display: flex;
189
+ justify-content: space-between;
190
+ align-items: center;
191
+ margin-bottom: 32rpx;
192
+
193
+ &>view:first-child {
194
+ color: #333333;
195
+ }
196
+ }
197
+
198
+ &-bottom {
199
+ display: flex;
200
+ justify-content: space-between;
201
+ align-items: center;
202
+
203
+ &>view:first-child {
204
+ color: #999999;
205
+ }
206
+
207
+ &> view:last-child {
208
+ color: #ccc;
209
+ font-size: 26rpx;
210
+ display: flex;
211
+ align-items: center;
212
+ }
213
+ }
214
+ }
215
+
216
+ &-item:last-child {
217
+ margin-bottom: 40rpx;
218
+ }
219
+
220
+ .success {
221
+ color: #00C800;
222
+ }
223
+
224
+ .fail {
225
+ color: #FF5A39;
226
+ }
227
+
228
+ .processing {
229
+ color: #999999
230
+ }
231
+ }
232
+ }
233
+ </style>
@@ -0,0 +1,79 @@
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-with-draw-record {
16
+ box-sizing: border-box;
17
+
18
+ &__body{
19
+ position: relative;
20
+ overflow: hidden;
21
+ z-index: 2
22
+ }
23
+
24
+ &.editx,&.editx:hover {
25
+ position: relative;
26
+ min-height: unit(100, rpx);
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(-52, rpx);
48
+ height: unit(50, rpx);
49
+ line-height: unit(50, rpx);
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .6);
54
+ border-radius: unit(10, rpx);
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+
59
+ &-icon{
60
+ padding: 0 unit(20, rpx);
61
+ }
62
+
63
+ &.editx {
64
+ box-sizing: border-box;
65
+
66
+ }
67
+ }
68
+ }
69
+ //end
70
+
71
+
72
+ /**notPreview**/
73
+ .jfb-base-with-draw-record {
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
78
+ }
79
+ /**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-with-draw-record'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getRecordWithdrawOrderList: { "next_page_token": "2", "total_size": 0, "list": [{ "order_id": "i771668569418104913", "channel_order_id": "1330001353947642504180083243436870", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 200, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744940123 }, { "order_id": "i771066286233878607", "channel_order_id": "1330001353947642504160061966293601", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744796566, "comment": "", "created_time": 1744796528 }, { "order_id": "i771065517556367438", "channel_order_id": "1330001353947642504160093737710292", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744796406, "comment": "", "created_time": 1744796345 }, { "order_id": "i771062549364867149", "channel_order_id": "1330001353947642504160084846150384", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744795686, "comment": "", "created_time": 1744795637 }, { "order_id": "i771061580484837452", "channel_order_id": "1330001353947642504160039106651145", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744795456, "comment": "", "created_time": 1744795406 }, { "order_id": "i771059916772212811", "channel_order_id": "1330001353947642504160031021516401", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744795088, "comment": "", "created_time": 1744795009 }, { "order_id": "i771054224359293002", "channel_order_id": "1330001353947642504160089300449824", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "Y", "status_name": "成功", "arrival_time": 1744794894, "comment": "", "created_time": 1744793652 }, { "order_id": "i771037005030096968", "channel_order_id": "1330001353947642504160086581901379", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 10, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744789547 }, { "order_id": "i771034877834297415", "channel_order_id": "", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 1000, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744789040 }, { "order_id": "i771034873199591494", "channel_order_id": "", "channel_code": "wxpay", "channel_code_name": "微信", "total_amount": 1000, "user_id": 5000358, "status": "F", "status_name": "失败", "arrival_time": 0, "comment": "", "created_time": 1744789038 }], "request_id": "e6f3ea562f8fd9e9" },
6
+
7
+ }
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Withdraw
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ mapFnName: 'getListBaseNewsContent', //自定义方法名字(必选)
10
+ title: '获取内容',
11
+ path: '/cms/v1/news-content',
12
+ isRule: false,
13
+ params: {
14
+ scene: ['使用场景', 'String', '选填'],
15
+ container_id: ['插件ID', 'String', '必填'],
16
+ page_id: ['页面ID', 'String', '必填'],
17
+ page_size: ['记录条数', 'Number', '必填', 1],
18
+ code: ['业务线id', 'String', '选填'],
19
+ },
20
+ isConsole: true,
21
+ disabled: true,
22
+ },
23
+ {
24
+ mapFnName: 'getWithDrawDetail',
25
+ title: '用户资产 - 获取钱包(或积分)余额详情',
26
+ path: '/pay/v1/property/wallet-detail',
27
+ isRule: false,
28
+ params: {
29
+ method: ['wallet 余额; score 积分;', 'Number', '非必选'],
30
+ },
31
+ isConsole: true,
32
+ disabled: true,
33
+ },
34
+ {
35
+ mapFnName: 'createWithdraw',
36
+ title: '用户资产 - 提现申请',
37
+ path: '/pay/v1/property/withdraw-order/create',
38
+ isRule: false,
39
+ data: {
40
+ total_amount: ['提现金额', 'Number', '必选'],
41
+ wallet_type: ['钱包类型', 'Number', '必选'],
42
+ login_providers: ['支持的登录方式(project.json接口的login_providers)', 'Number', '必选'],
43
+ pay_channel_providers: ['支持的登录方式(project.json接口的pay_channels)', 'Number', '必选'],
44
+ },
45
+ isConsole: true,
46
+ disabled: true,
47
+ },
48
+ ];