jufubao-base 1.0.242-beta2 → 1.0.243-beta1

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 -177
  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 +14 -35
  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 -9
  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 -1053
  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,276 +0,0 @@
1
- <template>
2
- <view
3
- class="jfb-base-share"
4
- @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
6
- >
7
- <!--#ifdef H5-->
8
- <view
9
- class="jfb-base-share__edit"
10
- :class="{ editx : isEditx && active }"
11
- v-if="isEditx && active"
12
- >
13
- <view class="jfb-base-share__edit-icon" @click="delEdit">删除</view>
14
- </view>
15
- <!-- #endif -->
16
- <view class="jfb-base-share__body">
17
- <view class="card_wrap">
18
- <swiper class="card_swiper" next-margin="50rpx" previous-margin="50rpx" :current="shareIndex" @change="handleSwitch">
19
- <swiper-item class="swiper_item" v-for="(item,i) in shareList" :key="i">
20
- <view class="swiper_item-inner">
21
- <image :src="item.share_image_url" mode="aspectFill"></image>
22
- </view>
23
- </swiper-item>
24
- </swiper>
25
- </view>
26
-
27
- <view v-if="showShare" class="share_wrap">
28
- <button class="share_btn" open-type="share" @click="toSendWx" :style="{backgroundImage: `url(${shareImage})`}">
29
- <!-- <image :src="shareImage" mode="widthFix"></image> -->
30
- </button>
31
- <view class="share_btn" @click="toSaveImg" :style="{backgroundImage: `url(${savaImage})`}">
32
- <!-- <image src="https://sandbox-img1.jufubao.cn/uploads/20250410/faeb136bfd684ab6fa4608208ad26294.png?x-oss-process=style/size8" mode="widthFix"></image> -->
33
- </view>
34
- </view>
35
-
36
- <view class="visit_tip">
37
- 好友使用你的邀请码成功注册后<br/>Ta将成为你的邀请用户
38
- </view>
39
- </view>
40
- </view>
41
- </template>
42
-
43
- <script>
44
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
45
- import { jfbRootExec } from "@/utils/xd.event";
46
- import JfbBaseShareMixin from "./JfbBaseShareMixin";
47
- import { getContainerPropsValue } from "@/utils/xd.base";
48
- import componentsMixins from "@/mixins/componentsMixins";
49
- import extsMixins from "@/mixins/extsMixins";
50
- import getServiceUrl from "@/common/getServiceUrl";
51
- import { mapState, mapMutations } from "vuex";
52
- export default {
53
- name: "JfbBaseShare",
54
- components: {
55
- XdFontIcon
56
- },
57
- mixins: [
58
- componentsMixins, extsMixins, JfbBaseShareMixin
59
- ],
60
- data() {
61
- return {
62
- closeMask: true,
63
- shareIndex: 0,
64
- shareList: [],
65
- isPreview: false,
66
- //todo
67
- shareImage: "",
68
- savaImage: "",
69
- }
70
- },
71
- computed: {
72
- ...mapState(["shareInfo"]),
73
- showShare(){
74
- if(this.isPreview) return true;
75
- // #ifdef MP-WEIXIN
76
- return true;
77
- // #endif
78
- // #ifdef H5
79
- return false;
80
- // #endif
81
- }
82
- },
83
- watch: {
84
- container(value, oldValue) {
85
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
86
- if (this.$configProject['isPreview']) this.init(value)
87
- },
88
- },
89
- created() {
90
- this.init(this.container);
91
- this.isPreview = this.$configProject['isPreview'];
92
- //todo
93
- },
94
- methods: {
95
- ...mapMutations(["setShareInfo"]),
96
- onJfbLoad(options) {
97
-
98
- this.p_getInviteCardList();
99
- },
100
- /**
101
- * @description 监听事件变化
102
- * @param container {object} 业务组件对象自己
103
- */
104
- init(container) {
105
- this.shareImage = getServiceUrl(getContainerPropsValue(container, 'content.shareImage', {url: ""}).url);
106
- this.savaImage = getServiceUrl(getContainerPropsValue(container, 'content.savaImage', {url: ""}).url);
107
- },
108
- p_getInviteCardList(){
109
- jfbRootExec("getInviteCardList", {
110
- vm: this,
111
- data: {
112
- page_token: '1'
113
- }
114
- }).then(res => {
115
- this.shareList = res.list.map(item => {
116
- let urlSearch = item.share_image_url.split('?')[1];
117
- let newImgUrl = getServiceUrl(item.share_image_url);
118
- item.share_image_url = newImgUrl.split('?')[0] + '?' + urlSearch;
119
- return item;
120
- });
121
- })
122
- },
123
- handleSwitch(e){
124
- this.shareIndex = e.detail.current;
125
- },
126
- toSendWx(){
127
- let shareIndex = this.shareIndex;
128
- let curShare = this.shareList[shareIndex];
129
- this.setShareInfo({
130
- title: "您的好友邀请您使用PLUS会员",
131
- imageUrl: curShare.share_image_url,
132
- path: `${curShare.jump_url}`,
133
- });
134
- },
135
- toSaveImg(){
136
- let shareIndex = this.shareIndex;
137
- let curShare = this.shareList[shareIndex];
138
- uni.getImageInfo({
139
- src: curShare.share_image_url,
140
- success: (res) => {
141
- uni.saveImageToPhotosAlbum({
142
- filePath: res.path,
143
- success: () => {
144
- uni.showToast({
145
- title: '保存成功',
146
- icon: "success"
147
- })
148
- }
149
- })
150
- }
151
- })
152
-
153
- },
154
- onJfbScroll(options) {
155
- // console.log('event.onJfbScroll', options)
156
- },
157
- onJfbReachBottom(options) {
158
- console.log('event.onJfbReachBottom', options)
159
- },
160
- onJfbShow(options) {
161
- console.log('event.onJfbShow', options)
162
- },
163
- onJfbHide(options) {
164
- console.log('event.onJfbHide', options)
165
- },
166
- onJfbBack(options) {
167
- console.log('event.onJfbBack', options)
168
- },
169
- onJfbUpdate(...data) {
170
- console.log('event.onJfbUpdate', data)
171
- },
172
- onJfbCustomEvent(options) {
173
- console.log('event.onJfbReachBottom', options)
174
- },
175
- }
176
- }
177
-
178
- </script>
179
-
180
- <style scoped lang="less">
181
- @import "./JfbBaseShareLess.less";
182
-
183
- .jfb-base-share {
184
- &__body{
185
- padding: 60rpx 0;
186
- box-sizing: border-box;
187
- .card_wrap{
188
- height: 960rpx;
189
- box-sizing: border-box;
190
- .card_swiper{
191
- height: 100%;
192
- width: 100%;
193
- .swiper_item{
194
- display: flex;
195
- align-items: center;
196
- justify-content: center;
197
-
198
- &-inner{
199
- width: 100%;
200
- height: 100%;
201
- // background: url('https://sandbox-img.jufubao.cn/uploads/20250410/2d9f5ec31efb5cddece747d8b8da51f0.png?x-oss-process=style/size8') no-repeat;
202
- // background-size: auto 100%;
203
- box-sizing: border-box;
204
- // display: flex;
205
- // flex-direction: column;
206
- // align-items: center;
207
- image{
208
- width: 100%;
209
- height: 100%;
210
- }
211
- }
212
- &-logo{
213
- height: 96rpx;
214
- width: 96rpx;
215
- background-color: #FFFFFF;
216
- }
217
- &-title{
218
- margin-top: 24rpx;
219
- color: #B35300;
220
- font-size: 40rpx;
221
- font-weight: 500;
222
- }
223
- &-qrcode{
224
- width: 400rpx;
225
- height: 400rpx;
226
- background-color: #FFFFFF;
227
- margin-top: 60rpx;
228
- border-radius: 24rpx;
229
- }
230
- &-visit{
231
- width: 400rpx;
232
- height: 120rpx;
233
- background: linear-gradient(180deg, #FEFEF5 0%, #FDFDCB 100%);
234
- margin-top: 36rpx;
235
- border-radius: 24rpx;
236
- font-size: 32rpx;
237
- font-weight: 500;
238
- color: #965720;
239
- text-align: center;
240
- padding-top: 20rpx;
241
- box-sizing: border-box;
242
- }
243
- }
244
- }
245
- }
246
- .share_wrap{
247
- display: flex;
248
- align-items: center;
249
- justify-content: center;
250
- .share_btn{
251
- width: 300rpx;
252
- height: 80rpx;
253
- background-size: 100% 100%;
254
- background-color: transparent;
255
- margin: 60rpx 0 0 0;
256
- &::after{
257
- border: none !important;
258
- }
259
- image{
260
- width: 100%;
261
- }
262
-
263
- & + .share_btn{
264
- margin-left: 32rpx;
265
- }
266
- }
267
- }
268
- .visit_tip{
269
- color: #965720;
270
- font-size: 26rpx;
271
- margin-top: 32rpx;
272
- text-align: center;
273
- }
274
- }
275
- }
276
- </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-share {
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-share {
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-share'
20
- }
21
- },
22
- created() {
23
-
24
- //@AttrDataCreated
25
- this.Attr = this.$xdUniHelper.customClone(Attr);
26
- //@EndAttrDataCreated
27
-
28
-
29
- },
30
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- module.exports = {
4
- getInviteCardList: {
5
- total_size: 1,
6
- next_page_token: "",
7
- list: [
8
- {
9
- jump_url: "111111?x-common=eyJzaGFyZV9jb2RlIjogVWY0eng2RVBmVn0",
10
- share_image_url:
11
- "https://sandbox-img.jufubao.cn/uploads/20250410/34559f90dd5a01e7368c02bf33f1b484.png?x-oss-process=style/size8"
12
- }
13
- ],
14
- request_id: "e081f3a16f40bfbe"
15
- }
16
- };
@@ -1,41 +0,0 @@
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
- ];
@@ -1,92 +0,0 @@
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
- };