jufubao-base 1.0.242-beta1 → 1.0.242

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 (129) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCard/JfbBaseCard.vue +1 -1
  3. package/src/components/JfbBaseFastLink/Attr.js +1 -12
  4. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +0 -66
  5. package/src/components/JfbBaseHeader/Attr.js +0 -82
  6. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +1 -47
  7. package/src/components/JfbBaseHeaderColumn/Attr.js +0 -82
  8. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +2 -48
  9. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -11
  10. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  11. package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
  12. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +9 -28
  13. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -176
  14. package/src/components/JfbBasePay/Attr.js +0 -52
  15. package/src/components/JfbBasePay/JfbBasePay.vue +6 -30
  16. package/src/components/JfbBasePay/Mock.js +9 -0
  17. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +1 -11
  18. package/src/components/JfbBasePoster/Attr.js +1 -1
  19. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  20. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -8
  21. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -12
  22. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -12
  23. package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
  24. package/src/components/JfbBaseTfkSearch/listMixins.js +1 -2
  25. package/src/components/JfbBaseUserInfo/Attr.js +11 -175
  26. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +115 -337
  27. package/src/components/JfbBaseUserOrder/Attr.js +0 -16
  28. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +2 -11
  29. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +0 -10
  30. package/src/components/JfbBaseBalance/Api.js +0 -46
  31. package/src/components/JfbBaseBalance/Attr.js +0 -316
  32. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -336
  33. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
  34. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
  35. package/src/components/JfbBaseBalance/Mock.js +0 -9
  36. package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
  37. package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
  38. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
  39. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
  40. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
  41. package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
  42. package/src/components/JfbBaseConsumpCode/Api.js +0 -133
  43. package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
  44. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -1048
  45. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
  46. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
  47. package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
  48. package/src/components/JfbBaseNoticeGroup/Api.js +0 -23
  49. package/src/components/JfbBaseNoticeGroup/Attr.js +0 -237
  50. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +0 -174
  51. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +0 -79
  52. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +0 -30
  53. package/src/components/JfbBaseNoticeGroup/Mock.js +0 -13
  54. package/src/components/JfbBaseOpenVip/Api.js +0 -39
  55. package/src/components/JfbBaseOpenVip/Attr.js +0 -331
  56. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -457
  57. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
  58. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
  59. package/src/components/JfbBaseOpenVip/Mock.js +0 -7
  60. package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -131
  61. package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
  62. package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
  63. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
  64. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
  65. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
  66. package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
  67. package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
  68. package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
  69. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -234
  70. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
  71. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
  72. package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -15
  73. package/src/components/JfbBasePersonalData/Api.js +0 -26
  74. package/src/components/JfbBasePersonalData/Attr.js +0 -13
  75. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -200
  76. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
  77. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
  78. package/src/components/JfbBasePersonalData/Mock.js +0 -13
  79. package/src/components/JfbBasePointsCard/Api.js +0 -18
  80. package/src/components/JfbBasePointsCard/Attr.js +0 -187
  81. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -212
  82. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
  83. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
  84. package/src/components/JfbBasePointsCard/Mock.js +0 -5
  85. package/src/components/JfbBasePointsDetail/Api.js +0 -48
  86. package/src/components/JfbBasePointsDetail/Attr.js +0 -305
  87. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
  88. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
  89. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
  90. package/src/components/JfbBasePointsDetail/Mock.js +0 -6
  91. package/src/components/JfbBasePosterGroup/Api.js +0 -22
  92. package/src/components/JfbBasePosterGroup/Attr.js +0 -156
  93. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -268
  94. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
  95. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
  96. package/src/components/JfbBasePosterGroup/Mock.js +0 -13
  97. package/src/components/JfbBaseSavingDetail/Api.js +0 -41
  98. package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
  99. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -710
  100. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
  101. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
  102. package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
  103. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
  104. package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
  105. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
  106. package/src/components/JfbBaseShare/Api.js +0 -20
  107. package/src/components/JfbBaseShare/Attr.js +0 -59
  108. package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -276
  109. package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
  110. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
  111. package/src/components/JfbBaseShare/Mock.js +0 -16
  112. package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
  113. package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
  114. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -354
  115. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
  116. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
  117. package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
  118. package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
  119. package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
  120. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
  121. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
  122. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
  123. package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
  124. package/src/components/JfbBaseWithdraw/Api.js +0 -48
  125. package/src/components/JfbBaseWithdraw/Attr.js +0 -328
  126. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -272
  127. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
  128. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
  129. package/src/components/JfbBaseWithdraw/Mock.js +0 -7
@@ -1,336 +0,0 @@
1
- <template>
2
- <view class="jfb-base-balance" @click="handleEditxSelect" :class="{ editx : isEditx && active }">
3
- <!--#ifdef H5-->
4
- <view class="jfb-base-balance__edit" :class="{ editx : isEditx && active }" v-if="isEditx && active">
5
- <view class="jfb-base-balance__edit-icon" @click="delEdit">删除</view>
6
- </view>
7
- <!-- #endif -->
8
- <view class="jfb-base-balance__body">
9
- <view class="jfb-base-balance__body-tab">
10
- <view :style="{color:wallet_type===item.wallet_type?mainColor:'#333333'}" v-for="(item,index) in wallet_list"
11
- :key="index" @click="handleSwitchTab(item)" class="jfb-base-balance__body-tab-item">
12
- {{item.show_name}}
13
- <view v-if="wallet_type===item.wallet_type" class="check" :style="{background: mainColor
14
- }"></view>
15
- <view class="check" v-else></view>
16
- </view>
17
- </view>
18
- <view style="display: flex;justify-content: space-between;align-items: center;" :style="[bodyStyleComp]">
19
- <view class="jfb-base-balance__body-points">
20
- <view>
21
- 我的余额
22
- <XdFontIcon @click="showDialog=true" style="margin-left: 10rpx" size="20" icon="iconmingchengtubiao">
23
- </XdFontIcon>
24
- </view>
25
- <view>{{getAmout(amount)}}</view>
26
- </view>
27
- <xd-button v-if="isWithDraw==='Y'" style="margin: 0" size="mini" type="primary"
28
- @click="handleWithdraw">提现</xd-button>
29
- </view>
30
- <view v-if="recordList&&recordList.length>0" :style="[bodyStyleComp]" class="jfb-base-balance__body-list">
31
- <view v-for="(item,index) in recordList" :key="index" class="jfb-base-balance__body-list-item">
32
- <view class="jfb-base-balance__body-list-item-info">
33
- <view class="jfb-base-balance__body-list-item-info-label">{{item.trade_type_name}}</view>
34
- <view :class="item.operate_type==='A'?'income':'expenses'"
35
- class="jfb-base-balance__body-list-item-info-value">
36
- <text>{{item.operate_type==='A'?'+':'-'}}</text>
37
- {{getAmout(item.amount)}}
38
- </view>
39
- </view>
40
- <view class="jfb-base-balance__body-list-item-date">{{item.created_time}}</view>
41
- </view>
42
- </view>
43
- <XdNoData v-else></XdNoData>
44
- <XdDailog :cancel="false" @onBtn="showDialog=false" confirmText="我知道了" title="积分说明" :show.sync="showDialog">
45
- <xd-content-xss :html="notice"></xd-content-xss>
46
- </XdDailog>
47
- </view>
48
- </view>
49
- </template>
50
-
51
- <script>
52
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
53
- import XdButton from "@/components/XdButton/XdButton";
54
- import XdDailog from '@/components/XdDailog/XdDailog.vue';
55
- import XdNoData from "@/components/XdNoData/XdNoData";
56
- import XdContentXss from '@/components/XdContentXss/XdContentXss';
57
- import { jfbRootExec } from "@/utils/xd.event";
58
- import JfbBaseBalanceMixin from "./JfbBaseBalanceMixin";
59
- import { getContainerPropsValue } from "@/utils/xd.base";
60
- import componentsMixins from "@/mixins/componentsMixins";
61
- import extsMixins from "@/mixins/extsMixins";
62
- export default {
63
- name: "JfbBaseBalance",
64
- components: {
65
- XdFontIcon,
66
- XdDailog,
67
- XdContentXss,
68
- XdButton,
69
- XdNoData
70
- },
71
- mixins: [
72
- componentsMixins, extsMixins, JfbBaseBalanceMixin
73
- ],
74
- data() {
75
- return {
76
- income: false,
77
- radius: 0,
78
- margin: {},
79
- padding: {},
80
- bgColor: '',
81
- bodyBorder: {},
82
- notice: '',
83
- showDialog: false,
84
- withDrawRoutePath: '',
85
- wallet_type: '',
86
- wallet_list: [],
87
- amount: 0,
88
- isWithDraw: 'N',
89
- recordList: [],
90
- hasNext: true,
91
- page_token: 1,
92
- next_page_token: ''
93
- }
94
- },
95
- computed: {
96
- bodyStyleComp() {
97
- return {
98
- borderRadius: `${this.radius}rpx`,
99
- margin: this.getMarginAndPadding(this.margin, 20),
100
- padding: this.getMarginAndPadding(this.padding, 40),
101
- background: this.bgColor,
102
- border: this.bodyBorder,
103
- }
104
- },
105
- },
106
- watch: {
107
- container(value, oldValue) {
108
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
109
- if (this.$configProject['isPreview']) this.init(value)
110
- },
111
- },
112
- created() {
113
- this.init(this.container);
114
- },
115
- methods: {
116
- onJfbLoad(options) {
117
- this.method = options.method
118
- this.getContent()
119
- this.getDetail()
120
- },
121
- getAmout(amount) {
122
- return this.$xdUniHelper.divisionFloatNumber(amount, 100)
123
- },
124
- getDetail() {
125
- jfbRootExec("getBalanceDetail", {
126
- vm: this,
127
- data: {
128
- method: this.method
129
- },
130
- }).then(res => {
131
- this.wallet_type = res.wallet_list[0].wallet_type
132
- this.isWithDraw = res.wallet_list[0].is_support_withdraw;
133
- this.amount = res.wallet_list[0].amount;
134
- this.wallet_list = res.wallet_list
135
- this.getBalanceRecord()
136
- }).catch(err => {
137
- console.log(err, 'err');
138
-
139
- })
140
- },
141
- getBalanceRecord(type) {
142
- jfbRootExec("getBalanceWalletTradeList", {
143
- vm: this,
144
- data: {
145
- wallet_type: this.wallet_type,
146
- page_size: 10,
147
- page_token: this.page_token
148
- },
149
- }).then(res => {
150
- let list = res.list.map(item => {
151
- item["created_time"] = this.$xdUniHelper.getDate(
152
- item["created_time"] * 1000
153
- ).fullTime;
154
- return item;
155
- })
156
- if (this.page_token === 1) {
157
- this.recordList = list
158
- } else {
159
- this.recordList = this.recordList.concat(list);
160
- }
161
- this.next_page_token = res.next_page_token
162
- this.hasNext = res.next_page_token !== "";
163
- })
164
- },
165
- getContent() {
166
- jfbRootExec("getListBaseNewsContent", {
167
- vm: this,
168
- data: {
169
- page_id: this.pageAttr["page_id"], //页面ID
170
- container_id: this.containerId, //组件ID
171
- limit: 1,
172
- },
173
- })
174
- .then((res) => {
175
- if (res.list.length > 0) {
176
- if (res.list && res.list.length > 0) {
177
- this.notice = this.$xdUniHelper.filterHtml(res.list[0].content);
178
- }
179
- this.noticeStatus = true;
180
- }
181
- })
182
- .catch((error) => {
183
- console.error(error);
184
- });
185
- },
186
- /**
187
- * @description 监听事件变化
188
- * @param container {object} 业务组件对象自己
189
- */
190
- init(container) {
191
- this.radius = getContainerPropsValue(container, 'content.radius', '20');
192
- this.margin = getContainerPropsValue(container, 'content.bodyMargin', {});
193
- this.padding = getContainerPropsValue(container, 'content.bodyPadding', {});
194
- this.bgColor = getContainerPropsValue(container, 'content.bgColor', '#fff');
195
- this.bodyBorder = this.getXdBorder({}, getContainerPropsValue(container, 'content.bodyBorder', {}))
196
- this.withDrawRoutePath = getContainerPropsValue(container, 'content.withDrawRoutePath', { value: '' }).value;
197
- },
198
- handleWithdraw() {
199
- this.$xdUniHelper.navigateTo({
200
- url: `${this.withDrawRoutePath}?wallet_type=${this.wallet_type}${this.method ? `&method=${this.method}` : ''}`
201
- });
202
- },
203
- handleSwitchTab(item) {
204
- this.wallet_type = item.wallet_type;
205
- this.isWithDraw = item.is_support_withdraw;
206
- this.amount = item.amount;
207
- this.next_page_token = ''
208
- this.hasNext = true;
209
- this.page_token = 1;
210
- this.recordList = [];
211
- this.getBalanceRecord()
212
- },
213
- onJfbScroll(options) {
214
- console.log('event.onJfbScroll', options)
215
- },
216
- onJfbReachBottom(options) {
217
- if (this.hasNext) {
218
- this.page_token = this.next_page_token;
219
- this.getBalanceRecord()
220
- }
221
- },
222
- onJfbShow(options) {
223
- console.log('event.onJfbShow', options)
224
- this.method = options.method
225
- this.getContent()
226
- this.getDetail()
227
- },
228
- onJfbHide(options) {
229
- console.log('event.onJfbHide', options)
230
- },
231
- onJfbBack(options) {
232
- console.log('event.onJfbBack', options)
233
- },
234
- onJfbUpdate(...data) {
235
- console.log('event.onJfbUpdate', data)
236
- },
237
- onJfbCustomEvent(options) {
238
- console.log('event.onJfbReachBottom', options)
239
- },
240
- }
241
- }
242
-
243
- </script>
244
-
245
- <style scoped lang="less">
246
- @import "./JfbBaseBalanceLess.less";
247
-
248
- .jfb-base-balance {
249
- &__body {
250
- &-tab {
251
- display: flex;
252
- justify-content: space-around;
253
- align-items: center;
254
- color: #666666;
255
- font-size: 32rpx;
256
- background: #fff;
257
- padding: 24rpx 0;
258
-
259
- &-item {
260
- display: flex;
261
- flex-direction: column;
262
- align-items: center;
263
- }
264
-
265
- .check {
266
- width: 60rpx;
267
- height: 6rpx;
268
- margin-top: 12rpx;
269
- }
270
- }
271
-
272
- &-points {
273
- background: #fff;
274
-
275
- &>view:first-child {
276
- display: flex;
277
- align-items: center;
278
- color: #333;
279
- font-size: 24rpx;
280
- }
281
-
282
- &>view:nth-child(2) {
283
- color: #333;
284
- font-size: 64rpx;
285
- font-weight: 500;
286
- margin: 20rpx 0;
287
- }
288
-
289
- &>view:nth-child(3) {
290
- color: #333333;
291
- font-size: 28rpx;
292
- }
293
- }
294
-
295
- &-list {
296
- &-item {
297
- margin-bottom: 40rpx;
298
-
299
- &-info {
300
- display: flex;
301
- justify-content: space-between;
302
- align-items: center;
303
-
304
- &-label {
305
- color: #333333;
306
- font-size: 28rpx;
307
- }
308
-
309
- &-value {
310
- font-size: 32rpx;
311
- font-weight: 700;
312
- }
313
-
314
- .income {
315
- color: #FF5A39;
316
- }
317
-
318
- .expenses {
319
- color: #00C800;
320
- }
321
- }
322
-
323
- &-date {
324
- color: #999999;
325
- font-size: 22rpx;
326
- margin-top: 26rpx;
327
- }
328
- }
329
-
330
- &-item:last-child {
331
- margin-bottom: 0;
332
- }
333
- }
334
- }
335
- }
336
- </style>
@@ -1,79 +0,0 @@
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-balance {
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-balance {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
78
- }
79
- /**endNotPreview**/
@@ -1,30 +0,0 @@
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-balance'
20
- }
21
- },
22
- created() {
23
-
24
- //@AttrDataCreated
25
- this.Attr = this.$xdUniHelper.customClone(Attr);
26
- //@EndAttrDataCreated
27
-
28
-
29
- },
30
- }
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getBalanceDetail: { "wallet_list": [{ "sort": 2, "wallet_type": "UC", "show_name": "可用余额", "amount": 19940, "is_support_withdraw": "Y" }, { "sort": 0, "wallet_type": "UT", "show_name": "待到账余额", "amount": 0, "is_support_withdraw": "N" }], "request_id": "279b309d137cae9f" },
6
-
7
- getBalanceWalletTradeList: { "next_page_token": "2", "total_size": 0, "list": [{ "trade_nnid": "eDaOl5aPD4Fx8gtBJC1bd", "order_id": "i771037005030096968", "amount": 10, "trade_type": "user_withdraw_chargeback", "trade_type_name": "提现失败", "operate_type": "A", "operate_type_name": "收入", "trade_name": "", "comment": "余额提现", "created_time": 1744883229 }, { "trade_nnid": "qhBI-btv4hh8TpsGdCrDG", "order_id": "i771066286233878607", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744796528 }, { "trade_nnid": "NCI4DolRx-0GqFfY5J9-P", "order_id": "i771065517556367438", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744796345 }, { "trade_nnid": "upM7epMxX3FqoTytFyKUn", "order_id": "i771062549364867149", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744795637 }, { "trade_nnid": "nzH3e_P25C-q7wcN52L-z", "order_id": "i771061580484837452", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744795406 }, { "trade_nnid": "aduSpdXNKl0dwqxPhovf0", "order_id": "i771059916772212811", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744795009 }, { "trade_nnid": "dTTmA75uN-Mv3as8XE1Te", "order_id": "i771054224359293002", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744793652 }, { "trade_nnid": "jo4IOWJ1wPyGXiA5wQYUU", "order_id": "i771037005030096968", "amount": 10, "trade_type": "user_withdraw", "trade_type_name": "余额提现", "operate_type": "R", "operate_type_name": "支出", "trade_name": "", "comment": "", "created_time": 1744789547 }, { "trade_nnid": "78qU6Cemnhqnvms2-iJDI", "order_id": "i771019326374281284", "amount": 1000, "trade_type": "user_withdraw_chargeback", "trade_type_name": "提现失败", "operate_type": "A", "operate_type_name": "收入", "trade_name": "", "comment": "余额提现", "created_time": 1744789418 }, { "trade_nnid": "yLLohJoE-qowAuxastB1z", "order_id": "i771034873199591494", "amount": 1000, "trade_type": "user_withdraw_chargeback", "trade_type_name": "提现失败", "operate_type": "A", "operate_type_name": "收入", "trade_name": "", "comment": "余额提现", "created_time": 1744789410 }], "request_id": "e9f0142e62066570" },
8
-
9
- }
@@ -1,35 +0,0 @@
1
- 'use strict';
2
- /**
3
- * @description 接口配置,
4
- * 在设置方法名字当时候,别忘记加上【模块名字】:Code
5
- * @type {*[]}
6
- */
7
- module.exports = [
8
- {
9
- mapFnName: "getExchangeCode",
10
- title: "兑换码",
11
- path: "/member/v1/exchange/:exchange_code",
12
- isRule: true,
13
- params: {
14
- exchange_code: ['兑换码', 'String', '必选']
15
- },
16
- isConsole: true,
17
- disabled: true,
18
- },
19
- {
20
- mapFnName: "createVipOrder",
21
- title: "创建VIP订单",
22
- path: "/member/v1/order/submit",
23
- isRule: false,
24
- data: {
25
- business_code: ['业务编码', 'String', '必选'],
26
- product_id: ['商品id', 'Number', '必选'],
27
- notify_provider_id: ['notify_provider_id', 'Number', '可选'],
28
- selected_card_list_json: ['已使用的卡券数据', 'array', '可选'],
29
- selected_wallet_list_json: ['已使用的钱包数据', 'array', '可选'],
30
- need_pay_price: ['需要支付的价格', 'Number', '可选']
31
- },
32
- isConsole: true,
33
- disabled: true,
34
- }
35
- ];