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.
- package/package.json +1 -1
- package/src/components/JfbBaseCard/JfbBaseCard.vue +1 -1
- package/src/components/JfbBaseFastLink/Attr.js +1 -12
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +0 -66
- package/src/components/JfbBaseHeader/Attr.js +0 -82
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +1 -47
- package/src/components/JfbBaseHeaderColumn/Attr.js +0 -82
- package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +2 -48
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -11
- package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
- package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +9 -28
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -177
- package/src/components/JfbBasePay/Attr.js +0 -52
- package/src/components/JfbBasePay/JfbBasePay.vue +6 -30
- package/src/components/JfbBasePay/Mock.js +9 -0
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +14 -35
- package/src/components/JfbBasePoster/Attr.js +1 -1
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -9
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -12
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -12
- package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
- package/src/components/JfbBaseTfkSearch/listMixins.js +1 -2
- package/src/components/JfbBaseUserInfo/Attr.js +11 -175
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +115 -337
- package/src/components/JfbBaseUserOrder/Attr.js +0 -16
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +2 -11
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +0 -10
- package/src/components/JfbBaseBalance/Api.js +0 -46
- package/src/components/JfbBaseBalance/Attr.js +0 -316
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -336
- package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
- package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
- package/src/components/JfbBaseBalance/Mock.js +0 -9
- package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
- package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
- package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
- package/src/components/JfbBaseConsumpCode/Api.js +0 -133
- package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -1053
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
- package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
- package/src/components/JfbBaseNoticeGroup/Api.js +0 -23
- package/src/components/JfbBaseNoticeGroup/Attr.js +0 -237
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +0 -174
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +0 -79
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +0 -30
- package/src/components/JfbBaseNoticeGroup/Mock.js +0 -13
- package/src/components/JfbBaseOpenVip/Api.js +0 -39
- package/src/components/JfbBaseOpenVip/Attr.js +0 -331
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -457
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
- package/src/components/JfbBaseOpenVip/Mock.js +0 -7
- package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -131
- package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
- package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
- package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
- package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
- package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -234
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
- package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -15
- package/src/components/JfbBasePersonalData/Api.js +0 -26
- package/src/components/JfbBasePersonalData/Attr.js +0 -13
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -200
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
- package/src/components/JfbBasePersonalData/Mock.js +0 -13
- package/src/components/JfbBasePointsCard/Api.js +0 -18
- package/src/components/JfbBasePointsCard/Attr.js +0 -187
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -212
- package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
- package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
- package/src/components/JfbBasePointsCard/Mock.js +0 -5
- package/src/components/JfbBasePointsDetail/Api.js +0 -48
- package/src/components/JfbBasePointsDetail/Attr.js +0 -305
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
- package/src/components/JfbBasePointsDetail/Mock.js +0 -6
- package/src/components/JfbBasePosterGroup/Api.js +0 -22
- package/src/components/JfbBasePosterGroup/Attr.js +0 -156
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -268
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
- package/src/components/JfbBasePosterGroup/Mock.js +0 -13
- package/src/components/JfbBaseSavingDetail/Api.js +0 -41
- package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -710
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
- package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
- package/src/components/JfbBaseShare/Api.js +0 -20
- package/src/components/JfbBaseShare/Attr.js +0 -59
- package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -276
- package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
- package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
- package/src/components/JfbBaseShare/Mock.js +0 -16
- package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
- package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -354
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
- package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
- package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
- package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
- package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
- package/src/components/JfbBaseWithdraw/Api.js +0 -48
- package/src/components/JfbBaseWithdraw/Attr.js +0 -328
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -272
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
- package/src/components/JfbBaseWithdraw/Mock.js +0 -7
|
@@ -1,354 +0,0 @@
|
|
|
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 v-if="showDisabled" disabled fontSize="32" type="primary">确认提现</XdButton>
|
|
24
|
-
<XdButton v-else fontSize="32" type="primary" @click="handleWithDraw">确认提现</XdButton>
|
|
25
|
-
<view @click="handleCancelWithDraw">取消提现</view>
|
|
26
|
-
</view>
|
|
27
|
-
<XdDailog :radius="30" :showClose="false" :show.sync="showSuccess">
|
|
28
|
-
<template slot="title">
|
|
29
|
-
<view class="dialog-title">
|
|
30
|
-
<view>
|
|
31
|
-
提现成功
|
|
32
|
-
</view>
|
|
33
|
-
<XdFontIcon class="close" color="#333" size="26" icon="icondanchuangguanbi_xian"></XdFontIcon>
|
|
34
|
-
</view>
|
|
35
|
-
</template>
|
|
36
|
-
<template>
|
|
37
|
-
<XdFontIcon color="#00C800" size="96" icon="iconchenggong"></XdFontIcon>
|
|
38
|
-
<view class="dialog-content">成功提现 500 积分</view>
|
|
39
|
-
</template>
|
|
40
|
-
<template slot="btn">
|
|
41
|
-
<XdButton width="600" @click="handleWithDrawSuccess" type="primary" fontSize="32" style="width:100%">确定
|
|
42
|
-
</XdButton>
|
|
43
|
-
</template>
|
|
44
|
-
</XdDailog>
|
|
45
|
-
</view>
|
|
46
|
-
</view>
|
|
47
|
-
</template>
|
|
48
|
-
|
|
49
|
-
<script>
|
|
50
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
51
|
-
import XdDailog from "@/components/XdDailog/XdDailog";
|
|
52
|
-
import XdButton from "@/components/XdButton/XdButton";
|
|
53
|
-
import { jfbRootExec } from "@/utils/xd.event";
|
|
54
|
-
import JfbBaseWithDrawAgainMixin from "./JfbBaseWithDrawAgainMixin";
|
|
55
|
-
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
56
|
-
import componentsMixins from "@/mixins/componentsMixins";
|
|
57
|
-
import extsMixins from "@/mixins/extsMixins";
|
|
58
|
-
export default {
|
|
59
|
-
name: "JfbBaseWithDrawAgain",
|
|
60
|
-
components: {
|
|
61
|
-
XdFontIcon,
|
|
62
|
-
XdDailog,
|
|
63
|
-
XdButton
|
|
64
|
-
},
|
|
65
|
-
mixins: [
|
|
66
|
-
componentsMixins, extsMixins, JfbBaseWithDrawAgainMixin
|
|
67
|
-
],
|
|
68
|
-
data() {
|
|
69
|
-
return {
|
|
70
|
-
radius: 0,
|
|
71
|
-
margin: {},
|
|
72
|
-
padding: {},
|
|
73
|
-
bgColor: '',
|
|
74
|
-
bodyBorder: {},
|
|
75
|
-
showSuccess: false,
|
|
76
|
-
order_id: '',
|
|
77
|
-
info: {},
|
|
78
|
-
channel_name: '',
|
|
79
|
-
logo: '',
|
|
80
|
-
withDrawSuccessPath: '',
|
|
81
|
-
jwxSDK: null,
|
|
82
|
-
showDisabled: false
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
computed: {
|
|
86
|
-
bodyStyleComp() {
|
|
87
|
-
return {
|
|
88
|
-
borderRadius: `${this.radius}rpx`,
|
|
89
|
-
margin: this.getMarginAndPadding(this.margin, 20),
|
|
90
|
-
padding: this.getMarginAndPadding(this.padding, 40),
|
|
91
|
-
background: this.bgColor,
|
|
92
|
-
border: this.bodyBorder,
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
prod_bottom() {
|
|
96
|
-
return this.fixedStyle({ height: 0, zIndex: 111, paddingBottom: 70 });
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
watch: {
|
|
100
|
-
container(value, oldValue) {
|
|
101
|
-
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
102
|
-
if (this.$configProject['isPreview']) this.init(value)
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
created() {
|
|
106
|
-
console.log(this.$configProject,this.settings.index,'apapapa');
|
|
107
|
-
|
|
108
|
-
this.init(this.container);
|
|
109
|
-
},
|
|
110
|
-
methods: {
|
|
111
|
-
onJfbLoad(options) {
|
|
112
|
-
this.order_id = options.order_id;
|
|
113
|
-
this.getOrderDetail()
|
|
114
|
-
// #ifdef H5
|
|
115
|
-
this.p_getH5WxAuthorize()
|
|
116
|
-
// #endif
|
|
117
|
-
},
|
|
118
|
-
p_getH5WxAuthorize() {
|
|
119
|
-
jfbRootExec("getH5WxAuthorize", {
|
|
120
|
-
vm: this,
|
|
121
|
-
data: { jsApiList: ["requestMerchantTransfer"] },
|
|
122
|
-
})
|
|
123
|
-
.then((res) => {
|
|
124
|
-
console.log(res, 'appapa');
|
|
125
|
-
this.jwxSDK = res.jwxSDK;
|
|
126
|
-
|
|
127
|
-
})
|
|
128
|
-
.catch(error => {
|
|
129
|
-
this.$xdAlert({
|
|
130
|
-
content: error,
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
},
|
|
134
|
-
getAmout(amount) {
|
|
135
|
-
return this.$xdUniHelper.divisionFloatNumber(amount, 100)
|
|
136
|
-
},
|
|
137
|
-
getOrderDetail() {
|
|
138
|
-
jfbRootExec("getWithdrawOrderDetail", {
|
|
139
|
-
vm: this,
|
|
140
|
-
data: {
|
|
141
|
-
order_id: this.order_id
|
|
142
|
-
},
|
|
143
|
-
}).then(res => {
|
|
144
|
-
this.info = res.detail;
|
|
145
|
-
this.channel_name = res.channel_name;
|
|
146
|
-
this.logo = res.logo;
|
|
147
|
-
}).catch(err => {
|
|
148
|
-
console.log(err, 'err')
|
|
149
|
-
})
|
|
150
|
-
},
|
|
151
|
-
/**
|
|
152
|
-
* @description 监听事件变化
|
|
153
|
-
* @param container {object} 业务组件对象自己
|
|
154
|
-
*/
|
|
155
|
-
init(container) {
|
|
156
|
-
this.radius = getContainerPropsValue(container, 'content.radius', 20);
|
|
157
|
-
this.margin = getContainerPropsValue(container, 'content.bodyMargin', {});
|
|
158
|
-
this.padding = getContainerPropsValue(container, 'content.bodyPadding', {});
|
|
159
|
-
this.bgColor = getContainerPropsValue(container, 'content.bgColor', '#fff');
|
|
160
|
-
this.bodyBorder = this.getXdBorder({}, getContainerPropsValue(container, 'content.bodyBorder', {}))
|
|
161
|
-
this.withDrawSuccessPath = getContainerPropsValue(container, 'content.withDrawSuccessPath', { value: '' }).value;
|
|
162
|
-
},
|
|
163
|
-
handleWithDraw() {
|
|
164
|
-
this.showDisabled = true
|
|
165
|
-
jfbRootExec("getWithdrawThirdPlaceOrderList", {
|
|
166
|
-
vm: this,
|
|
167
|
-
data: {
|
|
168
|
-
order_id: this.order_id
|
|
169
|
-
},
|
|
170
|
-
}).then(res => {
|
|
171
|
-
//调用微信js
|
|
172
|
-
let that= this;
|
|
173
|
-
//#ifdef MP-WEIXIN
|
|
174
|
-
if (wx.canIUse('requestMerchantTransfer')) {
|
|
175
|
-
wx.requestMerchantTransfer({
|
|
176
|
-
mchId: res.mch_id,
|
|
177
|
-
appId: res.app_id,
|
|
178
|
-
package: res.channel_data,
|
|
179
|
-
success: (request) => {
|
|
180
|
-
console.log('success:', request);
|
|
181
|
-
if(that.withDrawSuccessPath){
|
|
182
|
-
that.$xdUniHelper.navigateTo({ url: that.withDrawSuccessPath })
|
|
183
|
-
} else {
|
|
184
|
-
that.$xdUniHelper.navigateTo({ url: that.settings.index })
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
fail: (request) => {
|
|
188
|
-
this.showDisabled = false
|
|
189
|
-
console.log('fail:', request);
|
|
190
|
-
},
|
|
191
|
-
});
|
|
192
|
-
} else {
|
|
193
|
-
this.showDisabled = false
|
|
194
|
-
wx.showModal({
|
|
195
|
-
content: '你的微信版本过低,请更新至最新版本。',
|
|
196
|
-
showCancel: false,
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
//#endif
|
|
200
|
-
//#ifdef H5
|
|
201
|
-
this.jwxSDK.checkJsApi({
|
|
202
|
-
jsApiList: ['requestMerchantTransfer'],
|
|
203
|
-
success: function (request) {
|
|
204
|
-
if (request.checkResult['requestMerchantTransfer']) {
|
|
205
|
-
WeixinJSBridge.invoke('requestMerchantTransfer', {
|
|
206
|
-
mchId: res.mch_id,
|
|
207
|
-
appId: res.app_id,
|
|
208
|
-
package: res.channel_data,
|
|
209
|
-
},
|
|
210
|
-
function (request) {
|
|
211
|
-
if (request.err_msg === 'requestMerchantTransfer:ok') {
|
|
212
|
-
console.log(request,that.withDrawSuccessPath,'requestrequestrequest');
|
|
213
|
-
if(that.withDrawSuccessPath){
|
|
214
|
-
that.$xdUniHelper.navigateTo({ url: that.withDrawSuccessPath })
|
|
215
|
-
} else {
|
|
216
|
-
that.$xdUniHelper.navigateTo({ url: that.settings.index })
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
);
|
|
221
|
-
} else {
|
|
222
|
-
this.showDisabled = false
|
|
223
|
-
alert('你的微信版本过低,请更新至最新版本。');
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
})
|
|
227
|
-
//#endif
|
|
228
|
-
}).catch(err=>{
|
|
229
|
-
this.showDisabled = false
|
|
230
|
-
})
|
|
231
|
-
},
|
|
232
|
-
handleCancelWithDraw() {
|
|
233
|
-
jfbRootExec("cancelWithdraw", {
|
|
234
|
-
vm: this,
|
|
235
|
-
data: {
|
|
236
|
-
order_id: this.order_id
|
|
237
|
-
},
|
|
238
|
-
}).then(res => {
|
|
239
|
-
this.$xdUniHelper.navigateBack();
|
|
240
|
-
})
|
|
241
|
-
},
|
|
242
|
-
handleWithDrawSuccess() {
|
|
243
|
-
this.showSuccess = false;
|
|
244
|
-
this.$xdUniHelper.navigateTo({ url: `${this.withDrawSuccessPath}` })
|
|
245
|
-
},
|
|
246
|
-
onJfbScroll(options) {
|
|
247
|
-
console.log('event.onJfbScroll', options)
|
|
248
|
-
},
|
|
249
|
-
onJfbReachBottom(options) {
|
|
250
|
-
console.log('event.onJfbReachBottom', options)
|
|
251
|
-
},
|
|
252
|
-
onJfbShow(options) {
|
|
253
|
-
console.log('event.onJfbShow', options)
|
|
254
|
-
},
|
|
255
|
-
onJfbHide(options) {
|
|
256
|
-
console.log('event.onJfbHide', options)
|
|
257
|
-
},
|
|
258
|
-
onJfbBack(options) {
|
|
259
|
-
console.log('event.onJfbBack', options)
|
|
260
|
-
},
|
|
261
|
-
onJfbUpdate(...data) {
|
|
262
|
-
console.log('event.onJfbUpdate', data)
|
|
263
|
-
},
|
|
264
|
-
onJfbCustomEvent(options) {
|
|
265
|
-
console.log('event.onJfbReachBottom', options)
|
|
266
|
-
},
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
</script>
|
|
271
|
-
|
|
272
|
-
<style scoped lang="less">
|
|
273
|
-
@import "./JfbBaseWithDrawAgainLess.less";
|
|
274
|
-
|
|
275
|
-
.jfb-base-with-draw-again {
|
|
276
|
-
&__body {
|
|
277
|
-
&-title {
|
|
278
|
-
display: flex;
|
|
279
|
-
align-items: center;
|
|
280
|
-
justify-content: space-between;
|
|
281
|
-
font-size: 24rpx;
|
|
282
|
-
|
|
283
|
-
&>view:first-child {
|
|
284
|
-
color: #999999;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
&>view:last-child {
|
|
288
|
-
color: #666666;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
&-amount {
|
|
293
|
-
color: #333;
|
|
294
|
-
font-size: 64rpx;
|
|
295
|
-
font-weight: 500;
|
|
296
|
-
margin-top: 40rpx;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
&-tips {
|
|
300
|
-
display: flex;
|
|
301
|
-
align-items: center;
|
|
302
|
-
padding-left: 60rpx;
|
|
303
|
-
margin-top: 40rpx;
|
|
304
|
-
font-size: 24rpx;
|
|
305
|
-
color: #333;
|
|
306
|
-
|
|
307
|
-
&>image {
|
|
308
|
-
width: 60rpx;
|
|
309
|
-
height: 60rpx;
|
|
310
|
-
margin-right: 20rpx;
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.fixe_bottom {
|
|
316
|
-
position: fixed;
|
|
317
|
-
left: 0;
|
|
318
|
-
right: 0;
|
|
319
|
-
bottom: 0;
|
|
320
|
-
z-index: 999;
|
|
321
|
-
background: #fff;
|
|
322
|
-
padding: unit(48, rpx) unit(70, rpx);
|
|
323
|
-
|
|
324
|
-
&>view {
|
|
325
|
-
text-align: center;
|
|
326
|
-
font-size: 28rpx;
|
|
327
|
-
color: #999;
|
|
328
|
-
margin-top: 48rpx;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.dialog-title {
|
|
333
|
-
font-size: 36rpx;
|
|
334
|
-
font-weight: 500;
|
|
335
|
-
width: 570rpx;
|
|
336
|
-
text-align: center;
|
|
337
|
-
position: relative;
|
|
338
|
-
|
|
339
|
-
.close {
|
|
340
|
-
position: absolute;
|
|
341
|
-
right: 0;
|
|
342
|
-
top: 0;
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.dialog-content {
|
|
348
|
-
color: #666666;
|
|
349
|
-
font-size: 36rpx;
|
|
350
|
-
margin-top: 32rpx;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
</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-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**/
|
|
@@ -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-with-draw-again'
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
created() {
|
|
23
|
-
|
|
24
|
-
//@AttrDataCreated
|
|
25
|
-
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
-
//@EndAttrDataCreated
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
];
|
|
@@ -1,79 +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-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
|
-
};
|