jufubao-base 1.0.129 → 1.0.130-beta3
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 +4 -3
- package/src/components/JfbBaseAddress/Attr.js +11 -5
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
- package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
- package/src/components/JfbBaseBackground/Attr.js +9 -8
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
- package/src/components/JfbBaseBlock/Attr.js +12 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
- package/src/components/JfbBaseCard/Attr.js +76 -34
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
- package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
- package/src/components/JfbBaseCardDetail/Attr.js +4 -3
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
- package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
- package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
- package/src/components/JfbBaseCardEntry/Attr.js +86 -67
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +3 -2
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
- package/src/components/JfbBaseCardInfo/Attr.js +22 -16
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
- package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
- package/src/components/JfbBaseCardMerge/Attr.js +21 -8
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
- package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
- package/src/components/JfbBaseCardShift/Attr.js +18 -4
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
- package/src/components/JfbBaseCardShift/Mock.js +21 -0
- package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
- package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
- package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
- package/src/components/JfbBaseCardV2/Attr.js +19 -15
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
- package/src/components/JfbBaseCardV3/Attr.js +16 -12
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
- package/src/components/JfbBaseCity/Attr.js +2 -4
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
- package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
- package/src/components/JfbBaseConDialog/Api.js +1 -1
- package/src/components/JfbBaseConDialog/Attr.js +30 -20
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
- package/src/components/JfbBaseConDialog/Mock.js +20 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
- package/src/components/JfbBaseConList/Attr.js +149 -224
- package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
- package/src/components/JfbBaseEntry/Attr.js +33 -21
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
- package/src/components/JfbBaseFastLink/Api.js +1 -54
- package/src/components/JfbBaseFastLink/Attr.js +168 -116
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
- package/src/components/JfbBaseFooter/Attr.js +28 -22
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
- package/src/components/JfbBaseHeader/Attr.js +89 -91
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
- package/src/components/JfbBaseLogin/Attr.js +111 -88
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -1
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
- package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
- package/src/components/JfbBaseMapSearch/Attr.js +0 -15
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
- package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
- package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
- package/src/components/JfbBaseNotice/Attr.js +97 -56
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
- package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +25 -7
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
- package/src/components/JfbBaseOrderList/Attr.js +55 -43
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
- package/src/components/JfbBasePay/Attr.js +2 -13
- package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
- package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
- package/src/components/JfbBasePay/Mock.js +2 -1
- package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
- package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
- package/src/components/JfbBasePoster/Attr.js +103 -83
- package/src/components/JfbBasePoster/JfbBasePoster.vue +136 -142
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
- package/src/components/JfbBasePoster/MoreScreen.vue +2 -1
- package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +5 -8
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +44 -33
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +46 -50
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
- package/src/components/JfbBasePosterType/Attr.js +82 -48
- package/src/components/JfbBasePosterType/FourScreen.vue +41 -35
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +51 -73
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
- package/src/components/JfbBaseRecharge/Attr.js +35 -23
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
- package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
- package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
- package/src/components/JfbBaseSearch/Attr.js +6 -148
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
- package/src/components/JfbBaseSetPwd/Attr.js +6 -147
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
- package/src/components/JfbBaseSuccess/Attr.js +78 -17
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +20 -10
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
- package/src/components/JfbBaseUserCenter/Attr.js +72 -53
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
- package/src/components/JfbBaseUserInfo/Attr.js +54 -45
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
- package/src/components/JfbBaseUserOrder/Attr.js +118 -92
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
- package/src/components/JfbBaseVideo/Attr.js +72 -19
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
- package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
- package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
- package/src/components/JfbBaseLine/Attr.js +0 -59
- package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
- package/src/components/JfbBasePosterType/Screen.vue +0 -284
- package/src/components/JfbBaseSearch/Api.js +0 -60
- package/src/components/JfbBaseSearch/Mock.js +0 -5
|
@@ -8,38 +8,31 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
11
|
+
label: '票券框自定义文案:',
|
|
12
12
|
ele: 'el-input',
|
|
13
13
|
type: 'text',
|
|
14
14
|
valueKey: 'card_num_placeholder',
|
|
15
|
+
groupKey:'content',
|
|
15
16
|
value: data.card_num_placeholder||'',
|
|
16
|
-
placeholder: '
|
|
17
|
+
placeholder: '请输入票券框自定义文案',
|
|
17
18
|
className: 'input80'
|
|
18
19
|
},
|
|
19
20
|
{
|
|
20
|
-
label: '
|
|
21
|
+
label: '票券充值点数自定义文案:',
|
|
21
22
|
ele: 'el-input',
|
|
22
23
|
type: 'text',
|
|
23
24
|
valueKey: 'point_placeholder',
|
|
25
|
+
groupKey:'content',
|
|
24
26
|
value: data.point_placeholder || '',
|
|
25
|
-
placeholder: '
|
|
27
|
+
placeholder: '请输入票券充值点数自定义文案',
|
|
26
28
|
className: 'input80'
|
|
27
29
|
},
|
|
28
|
-
|
|
29
|
-
label: '支付路径:', //label
|
|
30
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
31
|
-
valueKey: 'payPath', //form[valueKey]
|
|
32
|
-
placeholder: '请选择支付路径',
|
|
33
|
-
value: data['payPath'] || {},
|
|
34
|
-
setting: {
|
|
35
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
36
|
-
},
|
|
37
|
-
inline: false,
|
|
38
|
-
},
|
|
30
|
+
|
|
39
31
|
{
|
|
40
32
|
label: '注意事项:',
|
|
41
33
|
ele: 'xd-site-news',
|
|
42
34
|
valueKey: 'notice',
|
|
35
|
+
groupKey:'content',
|
|
43
36
|
value: data.notice || null,
|
|
44
37
|
className: 'input70',
|
|
45
38
|
setting: {
|
|
@@ -60,7 +53,10 @@ export default {
|
|
|
60
53
|
}
|
|
61
54
|
|
|
62
55
|
//获取返回参数(场景类型名称为必填)
|
|
63
|
-
let loading = XdBus.getParentApi('loading')({});
|
|
56
|
+
//let loading = XdBus.getParentApi('loading')({});
|
|
57
|
+
|
|
58
|
+
//获取返回参数(场景类型名称为必填)
|
|
59
|
+
let loading = { close(){}}
|
|
64
60
|
|
|
65
61
|
//获取显示内容
|
|
66
62
|
if (action === 'screen') {
|
|
@@ -104,6 +100,7 @@ export default {
|
|
|
104
100
|
|
|
105
101
|
//使用内容分类
|
|
106
102
|
if (action === 'cmsPublishEditxContent') {
|
|
103
|
+
loading = XdBus.getParentApi('loading')({});
|
|
107
104
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
108
105
|
.then(res => {
|
|
109
106
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -118,6 +115,7 @@ export default {
|
|
|
118
115
|
|
|
119
116
|
//位置列表
|
|
120
117
|
if (action === 'getListPostion') {
|
|
118
|
+
loading = XdBus.getParentApi('loading')({});
|
|
121
119
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
122
120
|
.then(res => {
|
|
123
121
|
loading.close();
|
|
@@ -131,6 +129,7 @@ export default {
|
|
|
131
129
|
|
|
132
130
|
//位置创建
|
|
133
131
|
if (action === 'addPostion') {
|
|
132
|
+
loading = XdBus.getParentApi('loading')({});
|
|
134
133
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
135
134
|
.then(res => {
|
|
136
135
|
loading.close();
|
|
@@ -145,6 +144,7 @@ export default {
|
|
|
145
144
|
|
|
146
145
|
//位置编辑
|
|
147
146
|
if (action === 'editPostion') {
|
|
147
|
+
loading = XdBus.getParentApi('loading')({});
|
|
148
148
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
149
149
|
.then(res => {
|
|
150
150
|
loading.close();
|
|
@@ -159,6 +159,7 @@ export default {
|
|
|
159
159
|
|
|
160
160
|
//位置删除
|
|
161
161
|
if (action === 'deleltePostion') {
|
|
162
|
+
loading = XdBus.getParentApi('loading')({});
|
|
162
163
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
163
164
|
.then(res => {
|
|
164
165
|
loading.close();
|
|
@@ -173,6 +174,7 @@ export default {
|
|
|
173
174
|
|
|
174
175
|
//获取广告位内容列表
|
|
175
176
|
if (action === 'getListContent') {
|
|
177
|
+
loading = XdBus.getParentApi('loading')({});
|
|
176
178
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
177
179
|
.then(res => {
|
|
178
180
|
loading.close();
|
|
@@ -186,6 +188,7 @@ export default {
|
|
|
186
188
|
|
|
187
189
|
//广告内容创建
|
|
188
190
|
if (action === 'addContent') {
|
|
191
|
+
loading = XdBus.getParentApi('loading')({});
|
|
189
192
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
190
193
|
.then(res => {
|
|
191
194
|
loading.close();
|
|
@@ -200,6 +203,7 @@ export default {
|
|
|
200
203
|
|
|
201
204
|
//广告内容编辑
|
|
202
205
|
if (action === 'editContent') {
|
|
206
|
+
loading = XdBus.getParentApi('loading')({});
|
|
203
207
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
204
208
|
.then(res => {
|
|
205
209
|
loading.close();
|
|
@@ -214,6 +218,7 @@ export default {
|
|
|
214
218
|
|
|
215
219
|
//广告内容删除
|
|
216
220
|
if (action === 'deleteContent') {
|
|
221
|
+
loading = XdBus.getParentApi('loading')({});
|
|
217
222
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
218
223
|
.then(res => {
|
|
219
224
|
loading.close();
|
|
@@ -228,6 +233,7 @@ export default {
|
|
|
228
233
|
|
|
229
234
|
//内容发布
|
|
230
235
|
if (action === 'publish') {
|
|
236
|
+
loading = XdBus.getParentApi('loading')({});
|
|
231
237
|
console.log('publish', data.params)
|
|
232
238
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
233
239
|
.then(res => {
|
|
@@ -242,19 +248,25 @@ export default {
|
|
|
242
248
|
|
|
243
249
|
//通知页面进行刷新
|
|
244
250
|
if (action === 'update') {
|
|
251
|
+
loading = XdBus.getParentApi('loading')({});
|
|
245
252
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
246
253
|
loading.close()
|
|
247
254
|
}
|
|
248
255
|
},
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
label: '票券支付路径:',
|
|
259
|
+
ele: 'xd-select-pages-path',
|
|
260
|
+
valueKey: 'payPath',
|
|
261
|
+
groupKey:'advanced',
|
|
262
|
+
placeholder: '请选择票券支付路径',
|
|
263
|
+
value: data['payPath'] || {},
|
|
264
|
+
setting: {
|
|
265
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
266
|
+
},
|
|
249
267
|
inline: false,
|
|
250
|
-
notice: '',
|
|
251
|
-
rules: [
|
|
252
|
-
{required: true, message: '请配置温馨提示内容', trigger: 'change'},
|
|
253
|
-
],
|
|
254
268
|
},
|
|
255
269
|
].filter(i=>i)
|
|
256
270
|
},
|
|
257
|
-
advanced: [
|
|
258
|
-
|
|
259
|
-
],
|
|
271
|
+
advanced: [ ],
|
|
260
272
|
};
|
|
@@ -42,10 +42,16 @@
|
|
|
42
42
|
>
|
|
43
43
|
</view>
|
|
44
44
|
</view>
|
|
45
|
-
<view
|
|
46
|
-
<view
|
|
47
|
-
<view v-html="content"></view>
|
|
45
|
+
<view class="xd-notice-content" v-if="content">
|
|
46
|
+
<view>注意事项:</view>
|
|
47
|
+
<view v-html="content" class="prod_info"></view>
|
|
48
48
|
</view>
|
|
49
|
+
<view
|
|
50
|
+
v-if="isPreview && statusContent === true && content === '' "
|
|
51
|
+
class="xd-notice"
|
|
52
|
+
:style="{ color: dangerColor,fontSize: 24 + 'rpx',backgroundColor:noticeBgc }"
|
|
53
|
+
>注意事项未配置数据,因此改模块在正式环境将不显示</view>
|
|
54
|
+
<view class="bottom_btn-mask"></view>
|
|
49
55
|
</view>
|
|
50
56
|
</view>
|
|
51
57
|
</template>
|
|
@@ -58,6 +64,7 @@ import JfbBaseRechargeMixin from "./JfbBaseRechargeMixin";
|
|
|
58
64
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
59
65
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
60
66
|
import extsMixins from "@/mixins/extsMixins";
|
|
67
|
+
import Color from "color";
|
|
61
68
|
export default {
|
|
62
69
|
name: "JfbBaseRecharge",
|
|
63
70
|
components: {
|
|
@@ -68,13 +75,19 @@ export default {
|
|
|
68
75
|
data() {
|
|
69
76
|
return {
|
|
70
77
|
card_num_placeholder: "",
|
|
71
|
-
|
|
72
|
-
|
|
78
|
+
point_placeholder: "",
|
|
79
|
+
|
|
73
80
|
cardNumber: "",
|
|
74
81
|
card_point: "",
|
|
75
82
|
payPath: "",
|
|
76
83
|
amount: "",
|
|
77
|
-
timer:null
|
|
84
|
+
timer:null,
|
|
85
|
+
|
|
86
|
+
//提示文案
|
|
87
|
+
isPreview: false,
|
|
88
|
+
content: "",
|
|
89
|
+
statusContent: false,
|
|
90
|
+
noticeBgc:'',
|
|
78
91
|
};
|
|
79
92
|
},
|
|
80
93
|
watch: {
|
|
@@ -91,6 +104,8 @@ export default {
|
|
|
91
104
|
},
|
|
92
105
|
},
|
|
93
106
|
created() {
|
|
107
|
+
this.isPreview = this.$configProject.isPreview;
|
|
108
|
+
this.noticeBgc = Color(this.dangerColor).alpha(0.1).toString();
|
|
94
109
|
this.init(this.container);
|
|
95
110
|
},
|
|
96
111
|
methods: {
|
|
@@ -125,8 +140,10 @@ export default {
|
|
|
125
140
|
},
|
|
126
141
|
})
|
|
127
142
|
.then((res) => {
|
|
128
|
-
|
|
129
|
-
|
|
143
|
+
if(res && res.list && res.list.length > 0) {
|
|
144
|
+
this.content = res.list[0].content;
|
|
145
|
+
}
|
|
146
|
+
this.statusContent = true;
|
|
130
147
|
})
|
|
131
148
|
.catch((error) => {
|
|
132
149
|
console.error(error);
|
|
@@ -216,6 +233,35 @@ export default {
|
|
|
216
233
|
margin-bottom: unit(30, rpx);
|
|
217
234
|
}
|
|
218
235
|
}
|
|
236
|
+
|
|
237
|
+
.xd-notice-content {
|
|
238
|
+
padding: 0 40rpx 40rpx 40rpx;
|
|
239
|
+
& > view:first-child {
|
|
240
|
+
font-size: 32rpx;
|
|
241
|
+
font-weight: 500;
|
|
242
|
+
color: #333;
|
|
243
|
+
margin-bottom: 20rpx;
|
|
244
|
+
}
|
|
245
|
+
& > view:last-child {
|
|
246
|
+
line-height: 44rpx;
|
|
247
|
+
font-size: 26rpx;
|
|
248
|
+
color: #666;
|
|
249
|
+
/deep/ img, /deep/ image{
|
|
250
|
+
max-width: 100% !important;
|
|
251
|
+
height: auto !important;
|
|
252
|
+
margin: 22rpx 0;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/deep/ *{
|
|
256
|
+
max-width: 100% !important;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
.xd-notice {
|
|
261
|
+
margin-top: unit(20, rpx);
|
|
262
|
+
padding: unit(40, rpx);
|
|
263
|
+
border-radius: unit(15, rpx)
|
|
264
|
+
}
|
|
219
265
|
}
|
|
220
266
|
}
|
|
221
267
|
</style>
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-recharge {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
17
|
+
min-height: unit(100, rpx);
|
|
19
18
|
|
|
20
19
|
&__body{
|
|
21
20
|
position: relative;
|
|
@@ -23,21 +22,21 @@
|
|
|
23
22
|
z-index: 2
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
&.editx {
|
|
25
|
+
&.editx,&:hover {
|
|
27
26
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
+
}
|
|
37
39
|
|
|
38
|
-
&.noBorder {
|
|
39
|
-
border-color: rgba(0,0,0,0);
|
|
40
|
-
border-width: 0;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
|
|
@@ -72,9 +71,9 @@
|
|
|
72
71
|
|
|
73
72
|
/**notPreview**/
|
|
74
73
|
.jfb-base-recharge {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -9,23 +9,24 @@ export default {
|
|
|
9
9
|
content: (data) => {
|
|
10
10
|
return [
|
|
11
11
|
{
|
|
12
|
-
label: '
|
|
12
|
+
label: '外填充:',
|
|
13
13
|
ele: 'xd-margin-padding',
|
|
14
14
|
valueKey: 'margin',
|
|
15
|
+
groupKey:'style',
|
|
15
16
|
value: data['margin'] || null,
|
|
16
|
-
disabled: false,
|
|
17
17
|
setting: {
|
|
18
|
-
type: '
|
|
18
|
+
type: 'padding',
|
|
19
19
|
},
|
|
20
|
-
placeholder: '
|
|
20
|
+
placeholder: '请设置外填充',
|
|
21
21
|
inline: false,
|
|
22
|
-
notice: '
|
|
22
|
+
notice: '设置填充距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
label: '背景颜色:',
|
|
26
26
|
ele: 'xd-color',
|
|
27
27
|
valueKey: 'backgroundColor',
|
|
28
28
|
value: data['backgroundColor'] || null,
|
|
29
|
+
groupKey:'style',
|
|
29
30
|
placeholder: '请选择背景颜色',
|
|
30
31
|
classNmae: 'input80',
|
|
31
32
|
},
|
|
@@ -35,18 +36,23 @@ export default {
|
|
|
35
36
|
type: 'number',
|
|
36
37
|
valueKey: 'padding',
|
|
37
38
|
value: data.padding || '',
|
|
39
|
+
groupKey:'style',
|
|
38
40
|
placeholder: '请输入间距',
|
|
39
41
|
className: 'input80',
|
|
42
|
+
inline: false,
|
|
43
|
+
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
40
44
|
},
|
|
41
45
|
{
|
|
42
46
|
ele: 'title',
|
|
43
47
|
label: '投影设置',
|
|
44
|
-
size: 'small',
|
|
48
|
+
size: 'small',
|
|
49
|
+
groupKey:'style',
|
|
45
50
|
},
|
|
46
51
|
{
|
|
47
52
|
label: '是否有投影:',
|
|
48
53
|
ele: 'xd-radio',
|
|
49
54
|
valueKey: 'is_shadow',
|
|
55
|
+
groupKey:'style',
|
|
50
56
|
value: data['is_shadow'] || 'N',
|
|
51
57
|
placeholder: '请选择是否投影',
|
|
52
58
|
multiple: false,
|
|
@@ -60,6 +66,7 @@ export default {
|
|
|
60
66
|
label: '投影颜色:',
|
|
61
67
|
ele: 'xd-color',
|
|
62
68
|
valueKey: 'is_shadow_bg',
|
|
69
|
+
groupKey:'style',
|
|
63
70
|
value: data['is_shadow_bg'] || '',
|
|
64
71
|
placeholder: '请选择投影颜色',
|
|
65
72
|
classNmae: 'input80',
|
|
@@ -68,6 +75,7 @@ export default {
|
|
|
68
75
|
label: '投影范围:',
|
|
69
76
|
ele: 'xd-site-select-list',
|
|
70
77
|
valueKey: 'is_shadow_w',
|
|
78
|
+
groupKey:'style',
|
|
71
79
|
value: data['is_shadow_w'] || '10',
|
|
72
80
|
placeholder: '请选择投影范围',
|
|
73
81
|
multiple: false,
|
|
@@ -88,13 +96,15 @@ export default {
|
|
|
88
96
|
{
|
|
89
97
|
ele: 'title',
|
|
90
98
|
label: '边框设置',
|
|
91
|
-
size: 'small',
|
|
99
|
+
size: 'small',
|
|
100
|
+
groupKey:'style',
|
|
92
101
|
},
|
|
93
102
|
{
|
|
94
103
|
label: '是否有边框:',
|
|
95
104
|
ele: 'xd-radio',
|
|
96
105
|
valueKey: 'is_border',
|
|
97
106
|
value: data['is_border'] || 'N',
|
|
107
|
+
groupKey:'style',
|
|
98
108
|
placeholder: '请选择是否有边框',
|
|
99
109
|
multiple: false,
|
|
100
110
|
className: 'input80',
|
|
@@ -107,6 +117,7 @@ export default {
|
|
|
107
117
|
label: '边框颜色:',
|
|
108
118
|
ele: 'xd-color',
|
|
109
119
|
valueKey: 'is_border_c',
|
|
120
|
+
groupKey:'style',
|
|
110
121
|
value: data['is_border_c'] || '',
|
|
111
122
|
placeholder: '请选择边框颜色',
|
|
112
123
|
classNmae: 'input80',
|
|
@@ -115,6 +126,7 @@ export default {
|
|
|
115
126
|
label: '边框大小:',
|
|
116
127
|
ele: 'el-input',
|
|
117
128
|
type: 'number',
|
|
129
|
+
groupKey:'style',
|
|
118
130
|
valueKey: 'is_border_w',
|
|
119
131
|
value: data['is_border_w'] || '',
|
|
120
132
|
placeholder: '请输入边框颜色',
|
|
@@ -124,6 +136,7 @@ export default {
|
|
|
124
136
|
label: '内容圆角设置:',
|
|
125
137
|
ele: 'xd-site-select-list',
|
|
126
138
|
valueKey: 'radius',
|
|
139
|
+
groupKey:'style',
|
|
127
140
|
value: data['radius'] || '',
|
|
128
141
|
placeholder: '请选择内容圆角设置',
|
|
129
142
|
multiple: false,
|
|
@@ -139,27 +152,24 @@ export default {
|
|
|
139
152
|
},
|
|
140
153
|
},
|
|
141
154
|
{
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
149
|
-
valueKey: 'detailPath', //form[valueKey]
|
|
150
|
-
placeholder: '请选择订单详情路径',
|
|
151
|
-
value: data.detailPath || {},
|
|
155
|
+
label: '订单详情地址:',
|
|
156
|
+
ele: 'xd-select-pages-path',
|
|
157
|
+
valueKey: 'detailPath',
|
|
158
|
+
groupKey:'advanced',
|
|
159
|
+
placeholder: '请选择订单详情地址',
|
|
160
|
+
value: data.detailPath || null,
|
|
152
161
|
setting: {
|
|
153
162
|
router: XdBus.getParentApi('getPagesTree'),
|
|
154
163
|
},
|
|
155
164
|
inline: false,
|
|
156
165
|
},
|
|
157
166
|
{
|
|
158
|
-
label: '
|
|
159
|
-
ele: 'xd-select-pages-path',
|
|
160
|
-
valueKey: 'payPath',
|
|
161
|
-
|
|
162
|
-
|
|
167
|
+
label: '去支付地址:',
|
|
168
|
+
ele: 'xd-select-pages-path',
|
|
169
|
+
valueKey: 'payPath',
|
|
170
|
+
groupKey:'advanced',
|
|
171
|
+
placeholder: '请选择去支付地址',
|
|
172
|
+
value: data.payPath || null,
|
|
163
173
|
setting: {
|
|
164
174
|
router: XdBus.getParentApi('getPagesTree'),
|
|
165
175
|
},
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
</view>
|
|
93
93
|
</view>
|
|
94
94
|
</template>
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
</view>
|
|
97
97
|
</view>
|
|
98
98
|
</template>
|
|
@@ -156,9 +156,11 @@ export default {
|
|
|
156
156
|
},
|
|
157
157
|
computed: {
|
|
158
158
|
outMargin() {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
159
|
+
let str = `${this.checkValue(this.margin.top, 20)}rpx`;
|
|
160
|
+
str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
|
|
161
|
+
str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
|
|
162
|
+
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
163
|
+
return str
|
|
162
164
|
},
|
|
163
165
|
shadowBox() {
|
|
164
166
|
if (this.is_shadow === "Y")
|
|
@@ -280,18 +282,18 @@ export default {
|
|
|
280
282
|
url: `${this.detailPath}?id=${item.order_id}`,
|
|
281
283
|
});
|
|
282
284
|
},
|
|
283
|
-
|
|
285
|
+
|
|
284
286
|
onJfbReachBottom(options) {
|
|
285
287
|
if (this.hasNext) {
|
|
286
288
|
this.page_token = this.next_page_token;
|
|
287
289
|
this.getList();
|
|
288
290
|
}
|
|
289
291
|
},
|
|
290
|
-
|
|
292
|
+
|
|
291
293
|
onJfbBack(options) {
|
|
292
294
|
this.$xdUniHelper.navigateBack()
|
|
293
295
|
},
|
|
294
|
-
|
|
296
|
+
|
|
295
297
|
},
|
|
296
298
|
};
|
|
297
299
|
</script>
|
|
@@ -304,6 +306,9 @@ export default {
|
|
|
304
306
|
color: #333;
|
|
305
307
|
&-order {
|
|
306
308
|
padding: unit(32, rpx);
|
|
309
|
+
&:last-child {
|
|
310
|
+
margin-bottom: 0!important;
|
|
311
|
+
}
|
|
307
312
|
|
|
308
313
|
&-header {
|
|
309
314
|
font-size: unit(28, rpx);
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-recharge-order {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
17
|
+
min-height: unit(100, rpx);
|
|
19
18
|
|
|
20
19
|
&__body{
|
|
21
20
|
position: relative;
|
|
@@ -23,21 +22,21 @@
|
|
|
23
22
|
z-index: 2
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
&.editx {
|
|
25
|
+
&.editx,&:hover {
|
|
27
26
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
+
}
|
|
37
39
|
|
|
38
|
-
&.noBorder {
|
|
39
|
-
border-color: rgba(0,0,0,0);
|
|
40
|
-
border-width: 0;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
|
|
@@ -72,9 +71,9 @@
|
|
|
72
71
|
|
|
73
72
|
/**notPreview**/
|
|
74
73
|
.jfb-base-recharge-order {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-recharge-order-detail {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
17
|
+
min-height: unit(100, rpx);
|
|
19
18
|
|
|
20
19
|
&__body{
|
|
21
20
|
position: relative;
|
|
@@ -23,21 +22,21 @@
|
|
|
23
22
|
z-index: 2
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
&.editx {
|
|
25
|
+
&.editx,&:hover {
|
|
27
26
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
+
}
|
|
37
39
|
|
|
38
|
-
&.noBorder {
|
|
39
|
-
border-color: rgba(0,0,0,0);
|
|
40
|
-
border-width: 0;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
|
|
@@ -72,9 +71,9 @@
|
|
|
72
71
|
|
|
73
72
|
/**notPreview**/
|
|
74
73
|
.jfb-base-recharge-order-detail {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -8,21 +8,23 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-select-pages-path',
|
|
13
|
-
valueKey: 'detailPath',
|
|
11
|
+
label: '充值成功去订单详情地址:',
|
|
12
|
+
ele: 'xd-select-pages-path',
|
|
13
|
+
valueKey: 'detailPath',
|
|
14
|
+
groupKey:'advanced',
|
|
14
15
|
placeholder: '请选择订单详情路径',
|
|
15
|
-
value: data.detailPath ||
|
|
16
|
+
value: data.detailPath || null,
|
|
16
17
|
setting: {
|
|
17
18
|
router: XdBus.getParentApi('getPagesTree'),
|
|
18
19
|
},
|
|
19
20
|
inline: false,
|
|
20
21
|
},
|
|
21
22
|
{
|
|
22
|
-
label: '
|
|
23
|
-
ele: 'xd-select-pages-path',
|
|
24
|
-
valueKey: 'payPath',
|
|
25
|
-
|
|
23
|
+
label: '重新支付地址:',
|
|
24
|
+
ele: 'xd-select-pages-path',
|
|
25
|
+
valueKey: 'payPath',
|
|
26
|
+
groupKey:'advanced',
|
|
27
|
+
placeholder: '请选择重新支付地址',
|
|
26
28
|
value: data.payPath || {},
|
|
27
29
|
setting: {
|
|
28
30
|
router: XdBus.getParentApi('getPagesTree'),
|