jufubao-base 1.0.232-beta4 → 1.0.232-beta6
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/JfbBaseBalance/Api.js +18 -30
- package/src/components/JfbBaseBalance/Attr.js +292 -24
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +250 -32
- package/src/components/JfbBaseCodeOpenVip/Api.js +17 -39
- package/src/components/JfbBaseCodeOpenVip/Attr.js +19 -0
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +54 -25
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +2 -2
- package/src/components/JfbBaseOpenVip/Api.js +11 -40
- package/src/components/JfbBaseOpenVip/Attr.js +4 -4
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +69 -26
- package/src/components/JfbBaseOpenVip/Mock.js +16 -9
- package/src/components/JfbBaseOpenVip/XdVipList.vue +44 -6
- package/src/components/JfbBaseOpenVipDetail/Api.js +17 -39
- package/src/components/JfbBaseOpenVipDetail/Attr.js +16 -27
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +110 -25
- package/src/components/JfbBasePersonalData/Api.js +9 -41
- package/src/components/JfbBasePersonalData/Attr.js +1 -37
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +119 -32
- package/src/components/JfbBasePointsCard/Api.js +4 -44
- package/src/components/JfbBasePointsCard/Attr.js +0 -48
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +24 -107
- package/src/components/JfbBasePointsCard/Mock.js +1 -9
- package/src/components/JfbBasePointsDetail/Api.js +25 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +65 -20
- package/src/components/JfbBasePointsDetail/Mock.js +2 -8
- package/src/components/JfbBaseSavingDetail/Api.js +12 -29
- package/src/components/JfbBaseSavingDetail/Attr.js +44 -22
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +593 -29
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
- package/src/components/JfbBaseShare/Api.js +5 -43
- package/src/components/JfbBaseShare/JfbBaseShare.vue +14 -13
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +1 -20
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +5 -0
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +6 -2
- package/src/components/JfbBaseWithDrawAgain/Api.js +13 -30
- package/src/components/JfbBaseWithDrawAgain/Attr.js +70 -26
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +255 -32
- package/src/components/JfbBaseWithDrawRecord/Api.js +4 -43
- package/src/components/JfbBaseWithDrawRecord/Attr.js +56 -25
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +151 -34
- package/src/components/JfbBaseWithdraw/Api.js +20 -30
- package/src/components/JfbBaseWithdraw/Attr.js +304 -24
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +166 -32
|
@@ -8,41 +8,85 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-
|
|
13
|
-
valueKey: '
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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>像素',
|
|
17
22
|
},
|
|
18
23
|
{
|
|
19
|
-
label: '
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
value: data['select-pages-path'] || null,
|
|
24
|
+
label: '外填充:',
|
|
25
|
+
ele: 'xd-margin-padding',
|
|
26
|
+
valueKey: 'bodyPadding',
|
|
27
|
+
groupKey: 'style',
|
|
28
|
+
value: data['bodyPadding'] || null,
|
|
25
29
|
setting: {
|
|
26
|
-
|
|
30
|
+
type: 'padding',
|
|
27
31
|
},
|
|
32
|
+
placeholder: '请设置外填充',
|
|
33
|
+
inline: false,
|
|
34
|
+
notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
28
35
|
},
|
|
29
|
-
|
|
30
|
-
label: '
|
|
31
|
-
ele: '
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
placeholder: '
|
|
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,
|
|
37
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',
|
|
38
66
|
},
|
|
39
67
|
{
|
|
40
|
-
label: '',
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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,
|
|
44
88
|
},
|
|
45
|
-
].filter(i=>i)
|
|
89
|
+
].filter(i => i)
|
|
46
90
|
},
|
|
47
91
|
advanced: [],
|
|
48
92
|
};
|
|
@@ -1,26 +1,54 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view
|
|
3
|
-
class="jfb-base-with-draw-again"
|
|
4
|
-
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx : isEditx && active }"
|
|
6
|
-
>
|
|
2
|
+
<view class="jfb-base-with-draw-again" @click="handleEditxSelect" :class="{ editx : isEditx && active }">
|
|
7
3
|
<!--#ifdef H5-->
|
|
8
|
-
<view
|
|
9
|
-
class="jfb-base-with-draw-again__edit"
|
|
10
|
-
:class="{ editx : isEditx && active }"
|
|
11
|
-
v-if="isEditx && active"
|
|
12
|
-
>
|
|
4
|
+
<view class="jfb-base-with-draw-again__edit" :class="{ editx : isEditx && active }" v-if="isEditx && active">
|
|
13
5
|
<view class="jfb-base-with-draw-again__edit-icon" @click="delEdit">删除</view>
|
|
14
6
|
</view>
|
|
15
7
|
<!-- #endif -->
|
|
16
|
-
<view class="jfb-base-with-draw-again__body">
|
|
17
|
-
<view
|
|
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>
|
|
18
44
|
</view>
|
|
19
45
|
</view>
|
|
20
46
|
</template>
|
|
21
47
|
|
|
22
48
|
<script>
|
|
23
49
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
50
|
+
import XdDailog from "@/components/XdDailog/XdDailog";
|
|
51
|
+
import XdButton from "@/components/XdButton/XdButton";
|
|
24
52
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
25
53
|
import JfbBaseWithDrawAgainMixin from "./JfbBaseWithDrawAgainMixin";
|
|
26
54
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
@@ -29,17 +57,43 @@
|
|
|
29
57
|
export default {
|
|
30
58
|
name: "JfbBaseWithDrawAgain",
|
|
31
59
|
components: {
|
|
32
|
-
XdFontIcon
|
|
60
|
+
XdFontIcon,
|
|
61
|
+
XdDailog,
|
|
62
|
+
XdButton
|
|
33
63
|
},
|
|
34
64
|
mixins: [
|
|
35
65
|
componentsMixins, extsMixins, JfbBaseWithDrawAgainMixin
|
|
36
66
|
],
|
|
37
67
|
data() {
|
|
38
68
|
return {
|
|
39
|
-
|
|
40
|
-
|
|
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
|
|
41
81
|
}
|
|
42
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
|
+
},
|
|
43
97
|
watch: {
|
|
44
98
|
container(value, oldValue) {
|
|
45
99
|
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
@@ -48,31 +102,126 @@
|
|
|
48
102
|
},
|
|
49
103
|
created() {
|
|
50
104
|
this.init(this.container);
|
|
51
|
-
|
|
52
|
-
//todo
|
|
53
105
|
},
|
|
54
106
|
methods: {
|
|
55
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;
|
|
56
120
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
+
})
|
|
66
144
|
},
|
|
67
145
|
/**
|
|
68
146
|
* @description 监听事件变化
|
|
69
147
|
* @param container {object} 业务组件对象自己
|
|
70
148
|
*/
|
|
71
149
|
init(container) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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}` })
|
|
76
225
|
},
|
|
77
226
|
onJfbScroll(options) {
|
|
78
227
|
console.log('event.onJfbScroll', options)
|
|
@@ -104,8 +253,82 @@
|
|
|
104
253
|
@import "./JfbBaseWithDrawAgainLess.less";
|
|
105
254
|
|
|
106
255
|
.jfb-base-with-draw-again {
|
|
107
|
-
&__body{
|
|
256
|
+
&__body {
|
|
257
|
+
&-title {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
justify-content: space-between;
|
|
261
|
+
font-size: 24rpx;
|
|
108
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
|
+
}
|
|
109
332
|
}
|
|
110
333
|
}
|
|
111
|
-
</style>
|
|
334
|
+
</style>
|
|
@@ -6,51 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
path: '/api/account/film/list-film-square',
|
|
9
|
+
mapFnName: 'getRecordWithdrawOrderList',
|
|
10
|
+
title: '用户资产 - 提现订单列表',
|
|
11
|
+
path: '/pay/v1/property/withdraw-order/list',
|
|
13
12
|
isRule: false,
|
|
14
13
|
params: {
|
|
15
|
-
|
|
16
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
17
|
-
},
|
|
18
|
-
isConsole: true,
|
|
19
|
-
disabled: true,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
//设置方法名字当别忘记加上【模块名字】:With
|
|
23
|
-
mapFnName: 'updateWithFilmPaiqiDate',
|
|
24
|
-
title: '更新排期',
|
|
25
|
-
path: '/api/account/film/paiqi-date',
|
|
26
|
-
isRule: false,
|
|
27
|
-
params: {
|
|
28
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
29
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
30
|
-
},
|
|
31
|
-
isConsole: true,
|
|
32
|
-
disabled: true,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
//设置方法名字当别忘记加上【模块名字】:With
|
|
36
|
-
mapFnName: 'removeWithFilmAddress',
|
|
37
|
-
title: '删除我的配送地址',
|
|
38
|
-
path: '/api/account/film/paiqi-date',
|
|
39
|
-
isRule: false,
|
|
40
|
-
params: {
|
|
41
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
42
|
-
},
|
|
43
|
-
isConsole: true,
|
|
44
|
-
disabled: true,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
//设置方法名字当别忘记加上【模块名字】:With
|
|
48
|
-
mapFnName: 'addWithFilmcart',
|
|
49
|
-
title: '添加购物车',
|
|
50
|
-
path: '/api/account/film/paiqi-date',
|
|
51
|
-
isRule: false,
|
|
52
|
-
params: {
|
|
53
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
14
|
+
page_size: ['每页条数', 'Number', '必选'],
|
|
54
15
|
},
|
|
55
16
|
isConsole: true,
|
|
56
17
|
disabled: true,
|
|
@@ -7,40 +7,71 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
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
|
+
},
|
|
10
54
|
{
|
|
11
55
|
label: '背景颜色:',
|
|
12
56
|
ele: 'xd-color',
|
|
13
57
|
valueKey: 'bgColor',
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
58
|
+
groupKey: 'style',
|
|
59
|
+
value: data['bgColor'] || null,
|
|
60
|
+
placeholder: '请选择背景颜色',
|
|
61
|
+
labelInline: true,
|
|
62
|
+
classNmae: 'input80',
|
|
17
63
|
},
|
|
18
64
|
{
|
|
19
|
-
label: '
|
|
20
|
-
groupKey:'advanced',
|
|
21
|
-
className: 'input100',
|
|
65
|
+
label: '重新提现路径:',
|
|
22
66
|
ele: 'xd-select-pages-path',
|
|
23
|
-
valueKey: '
|
|
24
|
-
|
|
67
|
+
valueKey: 'againWithDrawPath',
|
|
68
|
+
groupKey:'advanced',
|
|
69
|
+
placeholder: '请选择重新提现路径',
|
|
70
|
+
value: data['againWithDrawPath'] || {},
|
|
25
71
|
setting: {
|
|
26
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
72
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
27
73
|
},
|
|
28
|
-
|
|
29
|
-
data.bgColor && {
|
|
30
|
-
label: '高度:',
|
|
31
|
-
ele: 'el-input',
|
|
32
|
-
groupKey:'style',
|
|
33
|
-
type: 'number',
|
|
34
|
-
valueKey: 'height',
|
|
35
|
-
value: data.height || 100,
|
|
36
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
37
|
-
className: 'input60',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: '', //label
|
|
41
|
-
groupKey:'advanced',
|
|
42
|
-
ele: 'slot', //package 名称
|
|
43
|
-
slot: 'is_reference',
|
|
74
|
+
inline: false,
|
|
44
75
|
},
|
|
45
76
|
].filter(i=>i)
|
|
46
77
|
},
|