jufubao-base 1.0.236-beta2 → 1.0.236-beta21

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 (102) 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 +332 -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/JfbBaseCardGive/JfbBaseCardGive.vue +7 -3
  9. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +3 -0
  10. package/src/components/JfbBaseCodeOpenVip/Api.js +36 -0
  11. package/src/components/JfbBaseCodeOpenVip/Attr.js +281 -0
  12. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +253 -0
  13. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +79 -0
  14. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +30 -0
  15. package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
  16. package/src/components/JfbBaseConsumpCode/Api.js +133 -0
  17. package/src/components/JfbBaseConsumpCode/Attr.js +61 -0
  18. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +961 -0
  19. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +79 -0
  20. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +30 -0
  21. package/src/components/JfbBaseConsumpCode/Mock.js +22 -0
  22. package/src/components/JfbBaseNotice/Attr.js +6 -3
  23. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +39 -7
  24. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  25. package/src/components/JfbBaseNoticeDialog/Attr.js +26 -0
  26. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +25 -6
  27. package/src/components/JfbBaseOpenVip/Api.js +39 -0
  28. package/src/components/JfbBaseOpenVip/Attr.js +270 -0
  29. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +424 -0
  30. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
  31. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
  32. package/src/components/JfbBaseOpenVip/Mock.js +7 -0
  33. package/src/components/JfbBaseOpenVip/XdVipList.vue +125 -0
  34. package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
  35. package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
  36. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
  37. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
  38. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
  39. package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
  40. package/src/components/JfbBaseOpenVipDetail/Api.js +36 -0
  41. package/src/components/JfbBaseOpenVipDetail/Attr.js +37 -0
  42. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +225 -0
  43. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
  44. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
  45. package/src/components/JfbBaseOpenVipDetail/Mock.js +13 -0
  46. package/src/components/JfbBasePersonalData/Api.js +26 -0
  47. package/src/components/JfbBasePersonalData/Attr.js +12 -0
  48. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +198 -0
  49. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
  50. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
  51. package/src/components/JfbBasePersonalData/Mock.js +13 -0
  52. package/src/components/JfbBasePointsCard/Api.js +18 -0
  53. package/src/components/JfbBasePointsCard/Attr.js +187 -0
  54. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +208 -0
  55. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
  56. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
  57. package/src/components/JfbBasePointsCard/Mock.js +5 -0
  58. package/src/components/JfbBasePointsDetail/Api.js +48 -0
  59. package/src/components/JfbBasePointsDetail/Attr.js +304 -0
  60. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +267 -0
  61. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
  62. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
  63. package/src/components/JfbBasePointsDetail/Mock.js +6 -0
  64. package/src/components/JfbBaseSavingDetail/Api.js +41 -0
  65. package/src/components/JfbBaseSavingDetail/Attr.js +70 -0
  66. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +679 -0
  67. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
  68. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
  69. package/src/components/JfbBaseSavingDetail/Mock.js +10 -0
  70. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
  71. package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
  72. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
  73. package/src/components/JfbBaseShare/Api.js +20 -0
  74. package/src/components/JfbBaseShare/Attr.js +48 -0
  75. package/src/components/JfbBaseShare/JfbBaseShare.vue +261 -0
  76. package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
  77. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
  78. package/src/components/JfbBaseShare/Mock.js +13 -0
  79. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +11 -22
  80. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +8 -1
  81. package/src/components/JfbBaseTfkSearch/Mock.js +51 -3
  82. package/src/components/JfbBaseTfkSearch/listMixins.js +1 -1
  83. package/src/components/JfbBaseUserInfo/Attr.js +102 -10
  84. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +305 -114
  85. package/src/components/JfbBaseWithDrawAgain/Api.js +41 -0
  86. package/src/components/JfbBaseWithDrawAgain/Attr.js +92 -0
  87. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +334 -0
  88. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
  89. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
  90. package/src/components/JfbBaseWithDrawAgain/Mock.js +10 -0
  91. package/src/components/JfbBaseWithDrawRecord/Api.js +19 -0
  92. package/src/components/JfbBaseWithDrawRecord/Attr.js +79 -0
  93. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +233 -0
  94. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
  95. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
  96. package/src/components/JfbBaseWithDrawRecord/Mock.js +7 -0
  97. package/src/components/JfbBaseWithdraw/Api.js +48 -0
  98. package/src/components/JfbBaseWithdraw/Attr.js +328 -0
  99. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +245 -0
  100. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
  101. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
  102. package/src/components/JfbBaseWithdraw/Mock.js +7 -0
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:With
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ mapFnName: 'cancelWithdraw',
10
+ title: '用户资产 - 提现取消',
11
+ path: '/pay/v1/property/withdraw-order/cancel',
12
+ isRule: false,
13
+ data: {
14
+ order_id: ['提现订单号', 'Number', '必选'],
15
+ },
16
+ isConsole: true,
17
+ disabled: true,
18
+ },
19
+ {
20
+ mapFnName: 'getWithdrawOrderDetail',
21
+ title: '用户资产 - 提现订单详情',
22
+ path: '/pay/v1/property/withdraw-order/detail',
23
+ isRule: false,
24
+ params: {
25
+ order_id: ['提现订单号', 'Number', '必选'],
26
+ },
27
+ isConsole: true,
28
+ disabled: true,
29
+ },
30
+ {
31
+ mapFnName: 'getWithdrawThirdPlaceOrderList',
32
+ title: '用户资产 - 提现渠道下单',
33
+ path: '/pay/v1/property/withdraw-order/third-place',
34
+ isRule: false,
35
+ params: {
36
+ order_id: ['提现订单号', 'Number', '必选'],
37
+ },
38
+ isConsole: true,
39
+ disabled: true,
40
+ },
41
+ ];
@@ -0,0 +1,92 @@
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-margin-padding',
26
+ valueKey: 'bodyPadding',
27
+ groupKey: 'style',
28
+ value: data['bodyPadding'] || null,
29
+ setting: {
30
+ type: 'padding',
31
+ },
32
+ placeholder: '请设置外填充',
33
+ inline: false,
34
+ notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
35
+ },
36
+ {
37
+ label: '圆角设置:',
38
+ ele: 'xd-site-select-list',
39
+ valueKey: 'radius',
40
+ value: data['radius'] || '20',
41
+ labelInline: true,
42
+ groupKey: 'style',
43
+ placeholder: '请选择圆角设置',
44
+ multiple: false,
45
+ className: 'input60',
46
+ handleCustom({ action, data }) {
47
+ XdBus.getParentApi('getOptionsSettingList')({
48
+ setting_id: 'edtix_style_radius',
49
+ key: Date.now()
50
+ })
51
+ .then(res => {
52
+ data.cb(res.list)
53
+ })
54
+ .catch(error => {
55
+ console.error(error);
56
+ });
57
+ },
58
+ },
59
+ {
60
+ label: "边框设置:",
61
+ ele: "xd-border",
62
+ valueKey: "bodyBorder",
63
+ value: data['bodyBorder'] || { type: 'Y', value: { color: '#eee', style: "solid", width: '1' } },
64
+ className: 'input80',
65
+ groupKey: 'style',
66
+ },
67
+ {
68
+ label: '背景颜色:',
69
+ ele: 'xd-color',
70
+ valueKey: 'bgColor',
71
+ groupKey: 'style',
72
+ value: data['bgColor'] || null,
73
+ placeholder: '请选择背景颜色',
74
+ labelInline: true,
75
+ classNmae: 'input80',
76
+ },
77
+ {
78
+ label: '提现成功路径:',
79
+ ele: 'xd-select-pages-path',
80
+ valueKey: 'withDrawSuccessPath',
81
+ groupKey: 'advanced',
82
+ placeholder: '请选择提现成功路径',
83
+ value: data['withDrawSuccessPath'] || {},
84
+ setting: {
85
+ router: XdBus.getParentApi('getPagesTree'),
86
+ },
87
+ inline: false,
88
+ },
89
+ ].filter(i => i)
90
+ },
91
+ advanced: [],
92
+ };
@@ -0,0 +1,334 @@
1
+ <template>
2
+ <view class="jfb-base-with-draw-again" @click="handleEditxSelect" :class="{ editx : isEditx && active }">
3
+ <!--#ifdef H5-->
4
+ <view class="jfb-base-with-draw-again__edit" :class="{ editx : isEditx && active }" v-if="isEditx && active">
5
+ <view class="jfb-base-with-draw-again__edit-icon" @click="delEdit">删除</view>
6
+ </view>
7
+ <!-- #endif -->
8
+ <view class="jfb-base-with-draw-again__body" :style="{minHeight: layoutInfo.bodyMinHeight}">
9
+ <view :style="[bodyStyleComp]">
10
+ <view class="jfb-base-with-draw-again__body-title">
11
+ <view>提现金额</view>
12
+ </view>
13
+ <view class="jfb-base-with-draw-again__body-amount">
14
+ {{getAmout(info.total_amount)}}
15
+ </view>
16
+ </view>
17
+ <view class="jfb-base-with-draw-again__body-tips">
18
+ <image :src="logo"></image>
19
+ <!-- <XdFontIcon size="60" color="#28C445" style="margin-right:20rpx" icon="iconwx"></XdFontIcon> -->
20
+ 提现至{{channel_name}}
21
+ </view>
22
+ <view v-if="info.status==='N'" class="fixe_bottom" :style="prod_bottom">
23
+ <XdButton fontSize="32" type="primary" @click="handleWithDraw">确认提现</XdButton>
24
+ <view @click="handleCancelWithDraw">取消提现</view>
25
+ </view>
26
+ <XdDailog :radius="30" :showClose="false" :show.sync="showSuccess">
27
+ <template slot="title">
28
+ <view class="dialog-title">
29
+ <view>
30
+ 提现成功
31
+ </view>
32
+ <XdFontIcon class="close" color="#333" size="26" icon="icondanchuangguanbi_xian"></XdFontIcon>
33
+ </view>
34
+ </template>
35
+ <template>
36
+ <XdFontIcon color="#00C800" size="96" icon="iconchenggong"></XdFontIcon>
37
+ <view class="dialog-content">成功提现 500 积分</view>
38
+ </template>
39
+ <template slot="btn">
40
+ <XdButton width="600" @click="handleWithDrawSuccess" type="primary" fontSize="32" style="width:100%">确定
41
+ </XdButton>
42
+ </template>
43
+ </XdDailog>
44
+ </view>
45
+ </view>
46
+ </template>
47
+
48
+ <script>
49
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
50
+ import XdDailog from "@/components/XdDailog/XdDailog";
51
+ import XdButton from "@/components/XdButton/XdButton";
52
+ import { jfbRootExec } from "@/utils/xd.event";
53
+ import JfbBaseWithDrawAgainMixin from "./JfbBaseWithDrawAgainMixin";
54
+ import { getContainerPropsValue } from "@/utils/xd.base";
55
+ import componentsMixins from "@/mixins/componentsMixins";
56
+ import extsMixins from "@/mixins/extsMixins";
57
+ export default {
58
+ name: "JfbBaseWithDrawAgain",
59
+ components: {
60
+ XdFontIcon,
61
+ XdDailog,
62
+ XdButton
63
+ },
64
+ mixins: [
65
+ componentsMixins, extsMixins, JfbBaseWithDrawAgainMixin
66
+ ],
67
+ data() {
68
+ return {
69
+ radius: 0,
70
+ margin: {},
71
+ padding: {},
72
+ bgColor: '',
73
+ bodyBorder: {},
74
+ showSuccess: false,
75
+ order_id: '',
76
+ info: {},
77
+ channel_name: '',
78
+ logo: '',
79
+ withDrawSuccessPath: '',
80
+ jwxSDK: null
81
+ }
82
+ },
83
+ computed: {
84
+ bodyStyleComp() {
85
+ return {
86
+ borderRadius: `${this.radius}rpx`,
87
+ margin: this.getMarginAndPadding(this.margin, 20),
88
+ padding: this.getMarginAndPadding(this.padding, 40),
89
+ background: this.bgColor,
90
+ border: this.bodyBorder,
91
+ }
92
+ },
93
+ prod_bottom() {
94
+ return this.fixedStyle({ height: 0, zIndex: 111, paddingBottom: 70 });
95
+ },
96
+ },
97
+ watch: {
98
+ container(value, oldValue) {
99
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
100
+ if (this.$configProject['isPreview']) this.init(value)
101
+ },
102
+ },
103
+ created() {
104
+ this.init(this.container);
105
+ },
106
+ methods: {
107
+ onJfbLoad(options) {
108
+ this.order_id = options.order_id;
109
+ this.getOrderDetail()
110
+ this.p_getH5WxAuthorize()
111
+ },
112
+ p_getH5WxAuthorize() {
113
+ jfbRootExec("getH5WxAuthorize", {
114
+ vm: this,
115
+ data: { jsApiList: ["requestMerchantTransfer"] },
116
+ })
117
+ .then((res) => {
118
+ console.log(res, 'appapa');
119
+ this.jwxSDK = res.jwxSDK;
120
+
121
+ })
122
+ .catch(error => {
123
+ this.$xdAlert({
124
+ content: error,
125
+ });
126
+ });
127
+ },
128
+ getAmout(amount) {
129
+ return this.$xdUniHelper.divisionFloatNumber(amount, 100)
130
+ },
131
+ getOrderDetail() {
132
+ jfbRootExec("getWithdrawOrderDetail", {
133
+ vm: this,
134
+ data: {
135
+ order_id: this.order_id
136
+ },
137
+ }).then(res => {
138
+ this.info = res.detail;
139
+ this.channel_name = res.channel_name;
140
+ this.logo = res.logo;
141
+ }).catch(err => {
142
+ console.log(err, 'err')
143
+ })
144
+ },
145
+ /**
146
+ * @description 监听事件变化
147
+ * @param container {object} 业务组件对象自己
148
+ */
149
+ init(container) {
150
+ this.radius = getContainerPropsValue(container, 'content.radius', 20);
151
+ this.margin = getContainerPropsValue(container, 'content.bodyMargin', {});
152
+ this.padding = getContainerPropsValue(container, 'content.bodyPadding', {});
153
+ this.bgColor = getContainerPropsValue(container, 'content.bgColor', '#fff');
154
+ this.bodyBorder = this.getXdBorder({}, getContainerPropsValue(container, 'content.bodyBorder', {}))
155
+ this.withDrawSuccessPath = getContainerPropsValue(container, 'content.withDrawSuccessPath', { value: '' }).value;
156
+ },
157
+ handleWithDraw() {
158
+ jfbRootExec("getWithdrawThirdPlaceOrderList", {
159
+ vm: this,
160
+ data: {
161
+ order_id: this.order_id
162
+ },
163
+ }).then(res => {
164
+ //调用微信js
165
+ let that= this;
166
+ //#ifdef MP-WEIXIN
167
+ if (wx.canIUse('requestMerchantTransfer')) {
168
+ wx.requestMerchantTransfer({
169
+ mchId: mch_id,
170
+ appId: app_id,
171
+ package: channel_data,
172
+ success: (request) => {
173
+ console.log('success:', request);
174
+ that.$xdUniHelper.navigateTo({ url: this.withDrawSuccessPath })
175
+ },
176
+ fail: (request) => {
177
+ console.log('fail:', request);
178
+ },
179
+ });
180
+ } else {
181
+ wx.showModal({
182
+ content: '你的微信版本过低,请更新至最新版本。',
183
+ showCancel: false,
184
+ });
185
+ }
186
+ //#endif
187
+ //#ifdef H5
188
+ this.jwxSDK.checkJsApi({
189
+ jsApiList: ['requestMerchantTransfer'],
190
+ success: function (request) {
191
+ if (request.checkResult['requestMerchantTransfer']) {
192
+ WeixinJSBridge.invoke('requestMerchantTransfer', {
193
+ mchId: res.mch_id,
194
+ appId: res.app_id,
195
+ package: res.channel_data,
196
+ },
197
+ function (request) {
198
+ if (request.err_msg === 'requestMerchantTransfer:ok') {
199
+ console.log(request,'requestrequestrequest');
200
+ that.$xdUniHelper.navigateTo({ url: this.withDrawSuccessPath })
201
+ }
202
+ }
203
+ );
204
+ } else {
205
+ alert('你的微信版本过低,请更新至最新版本。');
206
+ }
207
+ }
208
+ })
209
+ //#endif
210
+ })
211
+ },
212
+ handleCancelWithDraw() {
213
+ jfbRootExec("cancelWithdraw", {
214
+ vm: this,
215
+ data: {
216
+ order_id: this.order_id
217
+ },
218
+ }).then(res => {
219
+ this.$xdUniHelper.navigateBack();
220
+ })
221
+ },
222
+ handleWithDrawSuccess() {
223
+ this.showSuccess = false;
224
+ this.$xdUniHelper.navigateTo({ url: `${this.withDrawSuccessPath}` })
225
+ },
226
+ onJfbScroll(options) {
227
+ console.log('event.onJfbScroll', options)
228
+ },
229
+ onJfbReachBottom(options) {
230
+ console.log('event.onJfbReachBottom', options)
231
+ },
232
+ onJfbShow(options) {
233
+ console.log('event.onJfbShow', options)
234
+ },
235
+ onJfbHide(options) {
236
+ console.log('event.onJfbHide', options)
237
+ },
238
+ onJfbBack(options) {
239
+ console.log('event.onJfbBack', options)
240
+ },
241
+ onJfbUpdate(...data) {
242
+ console.log('event.onJfbUpdate', data)
243
+ },
244
+ onJfbCustomEvent(options) {
245
+ console.log('event.onJfbReachBottom', options)
246
+ },
247
+ }
248
+ }
249
+
250
+ </script>
251
+
252
+ <style scoped lang="less">
253
+ @import "./JfbBaseWithDrawAgainLess.less";
254
+
255
+ .jfb-base-with-draw-again {
256
+ &__body {
257
+ &-title {
258
+ display: flex;
259
+ align-items: center;
260
+ justify-content: space-between;
261
+ font-size: 24rpx;
262
+
263
+ &>view:first-child {
264
+ color: #999999;
265
+ }
266
+
267
+ &>view:last-child {
268
+ color: #666666;
269
+ }
270
+ }
271
+
272
+ &-amount {
273
+ color: #333;
274
+ font-size: 64rpx;
275
+ font-weight: 500;
276
+ margin-top: 40rpx;
277
+ }
278
+
279
+ &-tips {
280
+ display: flex;
281
+ align-items: center;
282
+ padding-left: 60rpx;
283
+ margin-top: 40rpx;
284
+ font-size: 24rpx;
285
+ color: #333;
286
+
287
+ &>image {
288
+ width: 60rpx;
289
+ height: 60rpx;
290
+ margin-right: 20rpx;
291
+
292
+ }
293
+ }
294
+
295
+ .fixe_bottom {
296
+ position: fixed;
297
+ left: 0;
298
+ right: 0;
299
+ bottom: 0;
300
+ z-index: 999;
301
+ background: #fff;
302
+ padding: unit(48, rpx) unit(70, rpx);
303
+
304
+ &>view {
305
+ text-align: center;
306
+ font-size: 28rpx;
307
+ color: #999;
308
+ margin-top: 48rpx;
309
+ }
310
+ }
311
+
312
+ .dialog-title {
313
+ font-size: 36rpx;
314
+ font-weight: 500;
315
+ width: 570rpx;
316
+ text-align: center;
317
+ position: relative;
318
+
319
+ .close {
320
+ position: absolute;
321
+ right: 0;
322
+ top: 0;
323
+
324
+ }
325
+ }
326
+
327
+ .dialog-content {
328
+ color: #666666;
329
+ font-size: 36rpx;
330
+ margin-top: 32rpx;
331
+ }
332
+ }
333
+ }
334
+ </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-again {
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-again {
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-again'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getWithdrawOrderDetail: { "detail": { "partner_id": 161, "site_id": "04c78d51890a18b8", "user_id": 5000358, "wallet_type": "UC", "total_amount": 200, "channel_amount": 200, "order_id": "i771668569418104913", "channel_code": "wxpay", "channel_code_name": "微信", "channel_order_id": "", "channel_user_id": "oJM1I6-ns0kM_byNgio_n_ZuTqCk", "channel_app_id": "wxad70f65127f9471c", "wallet_nnid": "", "wallet_trade_nnid": "", "arrival_time": 0, "extras": "", "comment": "", "created_time": 1744940123, "updated_time": 0, "status": "N", "status_name": "提现中", "service_amount": 0, "service_rate": 0 }, "channel_name": "微信", "logo": "https:\/\/jfb-public-images.oss-cn-qingdao.aliyuncs.com\/system-paychannel-logo-wxpay.png?x-oss-process=style\/200_200", "request_id": "473e8bf6986efc25" },
6
+
7
+ getWithdrawThirdPlaceOrderList: { "order_id": "i771668569418104913", "channel_data": "ABBQO+oYAAABAAAAAAAvz7kzb9HMNRWNvawBaBAAAADnGpepZahT9IkJjn90+1qgAYQYW\/LmJL0WH47tlOYOunGem4Trqj+ox5EfmQFESJ76f9lMWaLN2pvCJ5stBUZFIFIjhvk8fybnzYnmaUkvbpln+bc=", "app_id": "wxad70f65127f9471c", "mch_id": "1614921673", "request_id": "48ef7a43d95aa020" },
8
+
9
+ cancelWithdraw: { "request_id": "48ef7a43d95aa020" }
10
+ }
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:With
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ mapFnName: 'getRecordWithdrawOrderList',
10
+ title: '用户资产 - 提现订单列表',
11
+ path: '/pay/v1/property/withdraw-order/list',
12
+ isRule: false,
13
+ params: {
14
+ page_size: ['每页条数', 'Number', '必选'],
15
+ },
16
+ isConsole: true,
17
+ disabled: true,
18
+ },
19
+ ];
@@ -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
+ };