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
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-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-order-detail {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -5,22 +5,49 @@ export default {
|
|
|
5
5
|
content: (data)=>{
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
8
|
-
label: '
|
|
8
|
+
label: '设置订单状态:',
|
|
9
|
+
ele: 'xd-order-setting',
|
|
10
|
+
valueKey: 'orderTypeList',
|
|
11
|
+
value: data['orderTypeList'] || null,
|
|
12
|
+
groupKey:'content',
|
|
13
|
+
setting: {
|
|
14
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
15
|
+
},
|
|
16
|
+
handleCustom({action, data}) {
|
|
17
|
+
if (action === 'number') {
|
|
18
|
+
data.cb([
|
|
19
|
+
{"label": "全部", "value": 'all'},
|
|
20
|
+
{"label": "待付款", "value": 'unpaid'},
|
|
21
|
+
{"label": "待收货", "value": 'unreceived'},
|
|
22
|
+
{"label": "已取消", "value": 'cancel'},
|
|
23
|
+
{"label": "已完成", "value": 'com'},
|
|
24
|
+
])
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
inline: false,
|
|
28
|
+
notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
|
|
29
|
+
rules: [
|
|
30
|
+
{required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: '外填充:',
|
|
9
35
|
ele: 'xd-margin-padding',
|
|
10
36
|
valueKey: 'margin',
|
|
11
37
|
value: data['margin'] || null,
|
|
12
|
-
|
|
38
|
+
groupKey:'style',
|
|
13
39
|
setting: {
|
|
14
|
-
type: '
|
|
40
|
+
type: 'padding',
|
|
15
41
|
},
|
|
16
|
-
placeholder: '
|
|
42
|
+
placeholder: '请设置外填充',
|
|
17
43
|
inline: false,
|
|
18
|
-
notice: '
|
|
44
|
+
notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
19
45
|
},
|
|
20
46
|
{
|
|
21
47
|
label: '背景颜色:',
|
|
22
48
|
ele: 'xd-color',
|
|
23
49
|
valueKey: 'backgroundColor',
|
|
50
|
+
groupKey:'style',
|
|
24
51
|
value: data['backgroundColor'] || null,
|
|
25
52
|
placeholder: '请选择背景颜色',
|
|
26
53
|
classNmae: 'input80',
|
|
@@ -30,19 +57,24 @@ export default {
|
|
|
30
57
|
ele: 'el-input',
|
|
31
58
|
type: 'number',
|
|
32
59
|
valueKey: 'padding',
|
|
60
|
+
groupKey:'style',
|
|
33
61
|
value: data.padding || '',
|
|
34
62
|
placeholder: '请输入间距',
|
|
35
63
|
className: 'input80',
|
|
64
|
+
inline: false,
|
|
65
|
+
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
36
66
|
},
|
|
37
67
|
{
|
|
38
68
|
ele: 'title',
|
|
39
69
|
label: '投影设置',
|
|
40
|
-
size: 'small',
|
|
70
|
+
size: 'small',
|
|
71
|
+
groupKey:'style',
|
|
41
72
|
},
|
|
42
73
|
{
|
|
43
74
|
label: '是否有投影:',
|
|
44
75
|
ele: 'xd-radio',
|
|
45
76
|
valueKey: 'is_shadow',
|
|
77
|
+
groupKey:'style',
|
|
46
78
|
value: data['is_shadow'] || 'N',
|
|
47
79
|
placeholder: '请选择是否投影',
|
|
48
80
|
multiple: false,
|
|
@@ -55,6 +87,7 @@ export default {
|
|
|
55
87
|
data['is_shadow'] === 'Y' && {
|
|
56
88
|
label: '投影颜色:',
|
|
57
89
|
ele: 'xd-color',
|
|
90
|
+
groupKey:'style',
|
|
58
91
|
valueKey: 'is_shadow_bg',
|
|
59
92
|
value: data['is_shadow_bg'] || '',
|
|
60
93
|
placeholder: '请选择投影颜色',
|
|
@@ -62,6 +95,7 @@ export default {
|
|
|
62
95
|
},
|
|
63
96
|
data['is_shadow'] === 'Y' && {
|
|
64
97
|
label: '投影范围:',
|
|
98
|
+
groupKey:'style',
|
|
65
99
|
ele: 'xd-site-select-list',
|
|
66
100
|
valueKey: 'is_shadow_w',
|
|
67
101
|
value: data['is_shadow_w'] || '10',
|
|
@@ -84,10 +118,12 @@ export default {
|
|
|
84
118
|
{
|
|
85
119
|
ele: 'title',
|
|
86
120
|
label: '边框设置',
|
|
87
|
-
size: 'small',
|
|
121
|
+
size: 'small',
|
|
122
|
+
groupKey:'style',
|
|
88
123
|
},
|
|
89
124
|
{
|
|
90
125
|
label: '是否有边框:',
|
|
126
|
+
groupKey:'style',
|
|
91
127
|
ele: 'xd-radio',
|
|
92
128
|
valueKey: 'is_border',
|
|
93
129
|
value: data['is_border'] || 'N',
|
|
@@ -102,6 +138,7 @@ export default {
|
|
|
102
138
|
data['is_border'] === 'Y' && {
|
|
103
139
|
label: '边框颜色:',
|
|
104
140
|
ele: 'xd-color',
|
|
141
|
+
groupKey:'style',
|
|
105
142
|
valueKey: 'is_border_c',
|
|
106
143
|
value: data['is_border_c'] || '',
|
|
107
144
|
placeholder: '请选择边框颜色',
|
|
@@ -111,6 +148,7 @@ export default {
|
|
|
111
148
|
label: '边框大小:',
|
|
112
149
|
ele: 'el-input',
|
|
113
150
|
type: 'number',
|
|
151
|
+
groupKey:'style',
|
|
114
152
|
valueKey: 'is_border_w',
|
|
115
153
|
value: data['is_border_w'] || '',
|
|
116
154
|
placeholder: '请输入边框颜色',
|
|
@@ -120,6 +158,7 @@ export default {
|
|
|
120
158
|
label: '内容圆角设置:',
|
|
121
159
|
ele: 'xd-site-select-list',
|
|
122
160
|
valueKey: 'radius',
|
|
161
|
+
groupKey:'style',
|
|
123
162
|
value: data['radius'] || '',
|
|
124
163
|
placeholder: '请选择内容圆角设置',
|
|
125
164
|
multiple: false,
|
|
@@ -134,40 +173,12 @@ export default {
|
|
|
134
173
|
});
|
|
135
174
|
},
|
|
136
175
|
},
|
|
176
|
+
|
|
137
177
|
{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
{
|
|
143
|
-
label: '设置订单状态:', //label
|
|
144
|
-
ele: 'xd-order-setting', //package 名称
|
|
145
|
-
valueKey: 'orderTypeList', //form[valueKey]
|
|
146
|
-
value: data['orderTypeList'] || null,
|
|
147
|
-
setting: {
|
|
148
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
149
|
-
},
|
|
150
|
-
handleCustom({action, data}) {
|
|
151
|
-
if (action === 'number') {
|
|
152
|
-
data.cb([
|
|
153
|
-
{"label": "全部", "value": 'all'},
|
|
154
|
-
{"label": "待付款", "value": 'unpaid'},
|
|
155
|
-
{"label": "待收货", "value": 'unreceived'},
|
|
156
|
-
{"label": "已取消", "value": 'cancel'},
|
|
157
|
-
{"label": "已完成", "value": 'com'},
|
|
158
|
-
])
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
inline: false,
|
|
162
|
-
notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
|
|
163
|
-
rules: [
|
|
164
|
-
{required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
|
|
165
|
-
],
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
label: '订单详情路径:', //label
|
|
169
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
170
|
-
valueKey: 'detailPath', //form[valueKey]
|
|
178
|
+
label: '订单详情路径:',
|
|
179
|
+
ele: 'xd-select-pages-path',
|
|
180
|
+
valueKey: 'detailPath',
|
|
181
|
+
groupKey:'advanced',
|
|
171
182
|
placeholder: '请选择订单详情路径',
|
|
172
183
|
value: data['detailPath'] || null,
|
|
173
184
|
setting: {
|
|
@@ -176,9 +187,10 @@ export default {
|
|
|
176
187
|
inline: false,
|
|
177
188
|
},
|
|
178
189
|
{
|
|
179
|
-
label: '去支付路径:',
|
|
180
|
-
ele: 'xd-select-pages-path',
|
|
181
|
-
valueKey: 'payPath',
|
|
190
|
+
label: '去支付路径:',
|
|
191
|
+
ele: 'xd-select-pages-path',
|
|
192
|
+
valueKey: 'payPath',
|
|
193
|
+
groupKey:'advanced',
|
|
182
194
|
placeholder: '请选择去支付路径',
|
|
183
195
|
value: data['payPath'] || null,
|
|
184
196
|
setting: {
|
|
@@ -252,9 +252,11 @@ export default {
|
|
|
252
252
|
|
|
253
253
|
computed: {
|
|
254
254
|
outMargin() {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
255
|
+
let str = `${this.checkValue(this.margin.top, 20)}rpx`;
|
|
256
|
+
str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
|
|
257
|
+
str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
|
|
258
|
+
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
259
|
+
return str
|
|
258
260
|
},
|
|
259
261
|
shadowBox() {
|
|
260
262
|
if (this.is_shadow === "Y")
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-order-list {
|
|
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-order-list {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
import StyleForm from "@/utils/StyleForm";
|
|
4
|
-
let styleForm = new StyleForm({bgColor: ''}, null, 'pay');
|
|
4
|
+
let styleForm = new StyleForm({bgColor: ''}, null, 'pay', true);
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
7
|
style: [],
|
|
@@ -15,23 +15,12 @@ export default {
|
|
|
15
15
|
valueKey: 'pay_success_path', //form[valueKey]
|
|
16
16
|
placeholder: '请选择支付成功路径',
|
|
17
17
|
value: data.pay_success_path || null,
|
|
18
|
+
groupKey:'advanced',
|
|
18
19
|
setting: {
|
|
19
20
|
router: XdBus.getParentApi('getPagesTree'),
|
|
20
21
|
},
|
|
21
22
|
inline: false,
|
|
22
23
|
},
|
|
23
|
-
// {
|
|
24
|
-
// label: '充值成功跳转路径:', //label
|
|
25
|
-
// ele: 'xd-select-pages-path', //package 名称
|
|
26
|
-
// valueKey: 'rechargeSuccessPath', //form[valueKey]
|
|
27
|
-
// placeholder: '请选择充值成功路径',
|
|
28
|
-
// value: data.rechargeSuccessPath || null,
|
|
29
|
-
// setting: {
|
|
30
|
-
// router: XdBus.getParentApi('getPagesTree'),
|
|
31
|
-
//
|
|
32
|
-
// },
|
|
33
|
-
// inline: false,
|
|
34
|
-
// },
|
|
35
24
|
].filter(i=>i)
|
|
36
25
|
},
|
|
37
26
|
}
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<view>ID:{{ ticket.card_number }}</view>
|
|
73
73
|
<view>有效期至:{{ ticket.end_time }}</view>
|
|
74
74
|
</view>
|
|
75
|
-
<view class="_footer">
|
|
75
|
+
<view class="_footer" :style="{borderTop:'1px solid ' + borderColor }">
|
|
76
76
|
<view class="_item">
|
|
77
77
|
<text>剩余:</text>
|
|
78
78
|
<xd-unit
|
|
@@ -180,8 +180,9 @@ import XdRadio from "@/components/XdRadio/XdRadio";
|
|
|
180
180
|
import XdUnit from "@/components/XdUnit/XdUnit";
|
|
181
181
|
import StyleForm from "@/utils/StyleForm";
|
|
182
182
|
import {isWechat,isWechatTools} from "@/utils/xd.base";
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
import color from "color";
|
|
184
|
+
const Color = require('color');
|
|
185
|
+
let styleForm = new StyleForm({bgColor: '#fafafa'}, getContainerPropsValue, 'pay', true);
|
|
185
186
|
|
|
186
187
|
export default {
|
|
187
188
|
name: "JfbBasePay",
|
|
@@ -219,6 +220,7 @@ export default {
|
|
|
219
220
|
paySuccessPath: "", //支付成功
|
|
220
221
|
rechargeSuccessPath: "", //充值成功
|
|
221
222
|
...styleForm.getDataItem(),
|
|
223
|
+
borderColor:'rgba(0,0,0,0)',
|
|
222
224
|
options:{}
|
|
223
225
|
};
|
|
224
226
|
},
|
|
@@ -278,8 +280,8 @@ export default {
|
|
|
278
280
|
"content.rechargeSuccessPath",
|
|
279
281
|
{ value: "" }
|
|
280
282
|
).value;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
+
styleForm.getInitItem(this, container);
|
|
284
|
+
this.borderColor = color(this.jfbPayBgColor).lighten(0.5).hex();
|
|
283
285
|
},
|
|
284
286
|
getTimeFormat(time) {
|
|
285
287
|
let date = null;
|
|
@@ -575,7 +577,6 @@ export default {
|
|
|
575
577
|
justify-content: space-between;
|
|
576
578
|
font-size: 24rpx;
|
|
577
579
|
padding: 20rpx 30rpx;
|
|
578
|
-
border-top: unit(2, rpx) solid #eee;
|
|
579
580
|
._item {
|
|
580
581
|
display: flex;
|
|
581
582
|
align-items: center;
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-pay {
|
|
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-pay {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
label: '隐私政策:',
|
|
9
9
|
ele: 'xd-site-news',
|
|
10
10
|
valueKey: 'notice',
|
|
11
|
+
groupKey:'content',
|
|
11
12
|
value: {type: 'privacy'},
|
|
12
13
|
className: 'input70',
|
|
13
14
|
setting: {
|
|
@@ -29,7 +30,8 @@ export default {
|
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
//获取返回参数(场景类型名称为必填)
|
|
32
|
-
|
|
33
|
+
//获取返回参数(场景类型名称为必填)
|
|
34
|
+
let loading = { close(){}}
|
|
33
35
|
|
|
34
36
|
//获取显示内容
|
|
35
37
|
if (action === 'screen') {
|
|
@@ -73,6 +75,7 @@ export default {
|
|
|
73
75
|
|
|
74
76
|
//使用内容分类
|
|
75
77
|
if (action === 'cmsPublishEditxContent') {
|
|
78
|
+
loading = XdBus.getParentApi('loading')({});
|
|
76
79
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
77
80
|
.then(res => {
|
|
78
81
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -87,6 +90,7 @@ export default {
|
|
|
87
90
|
|
|
88
91
|
//位置列表
|
|
89
92
|
if (action === 'getListPostion') {
|
|
93
|
+
loading = XdBus.getParentApi('loading')({});
|
|
90
94
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
91
95
|
.then(res => {
|
|
92
96
|
loading.close();
|
|
@@ -100,6 +104,7 @@ export default {
|
|
|
100
104
|
|
|
101
105
|
//位置创建
|
|
102
106
|
if (action === 'addPostion') {
|
|
107
|
+
loading = XdBus.getParentApi('loading')({});
|
|
103
108
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
104
109
|
.then(res => {
|
|
105
110
|
loading.close();
|
|
@@ -114,6 +119,7 @@ export default {
|
|
|
114
119
|
|
|
115
120
|
//位置编辑
|
|
116
121
|
if (action === 'editPostion') {
|
|
122
|
+
loading = XdBus.getParentApi('loading')({});
|
|
117
123
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
118
124
|
.then(res => {
|
|
119
125
|
loading.close();
|
|
@@ -128,6 +134,7 @@ export default {
|
|
|
128
134
|
|
|
129
135
|
//位置删除
|
|
130
136
|
if (action === 'deleltePostion') {
|
|
137
|
+
loading = XdBus.getParentApi('loading')({});
|
|
131
138
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
132
139
|
.then(res => {
|
|
133
140
|
loading.close();
|
|
@@ -142,6 +149,7 @@ export default {
|
|
|
142
149
|
|
|
143
150
|
//获取广告位内容列表
|
|
144
151
|
if (action === 'getListContent') {
|
|
152
|
+
loading = XdBus.getParentApi('loading')({});
|
|
145
153
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
146
154
|
.then(res => {
|
|
147
155
|
loading.close();
|
|
@@ -155,6 +163,7 @@ export default {
|
|
|
155
163
|
|
|
156
164
|
//广告内容创建
|
|
157
165
|
if (action === 'addContent') {
|
|
166
|
+
loading = XdBus.getParentApi('loading')({});
|
|
158
167
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
159
168
|
.then(res => {
|
|
160
169
|
loading.close();
|
|
@@ -169,6 +178,7 @@ export default {
|
|
|
169
178
|
|
|
170
179
|
//广告内容编辑
|
|
171
180
|
if (action === 'editContent') {
|
|
181
|
+
loading = XdBus.getParentApi('loading')({});
|
|
172
182
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
173
183
|
.then(res => {
|
|
174
184
|
loading.close();
|
|
@@ -183,6 +193,7 @@ export default {
|
|
|
183
193
|
|
|
184
194
|
//广告内容删除
|
|
185
195
|
if (action === 'deleteContent') {
|
|
196
|
+
loading = XdBus.getParentApi('loading')({});
|
|
186
197
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
187
198
|
.then(res => {
|
|
188
199
|
loading.close();
|
|
@@ -197,6 +208,7 @@ export default {
|
|
|
197
208
|
|
|
198
209
|
//内容发布
|
|
199
210
|
if (action === 'publish') {
|
|
211
|
+
loading = XdBus.getParentApi('loading')({});
|
|
200
212
|
console.log('publish', data.params)
|
|
201
213
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
202
214
|
.then(res => {
|
|
@@ -211,6 +223,7 @@ export default {
|
|
|
211
223
|
|
|
212
224
|
//通知页面进行刷新
|
|
213
225
|
if (action === 'update') {
|
|
226
|
+
loading = XdBus.getParentApi('loading')({});
|
|
214
227
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
215
228
|
loading.close()
|
|
216
229
|
}
|
|
@@ -222,6 +235,7 @@ export default {
|
|
|
222
235
|
label: '用户服务协议:',
|
|
223
236
|
ele: 'xd-site-news',
|
|
224
237
|
valueKey: 'notices',
|
|
238
|
+
groupKey:'content',
|
|
225
239
|
value: {type: 'privacy'},
|
|
226
240
|
className: 'input70',
|
|
227
241
|
setting: {
|
|
@@ -242,7 +256,7 @@ export default {
|
|
|
242
256
|
}
|
|
243
257
|
|
|
244
258
|
//获取返回参数(场景类型名称为必填)
|
|
245
|
-
let loading =
|
|
259
|
+
let loading = { close(){}}
|
|
246
260
|
|
|
247
261
|
//获取显示内容
|
|
248
262
|
if (action === 'screen') {
|
|
@@ -286,6 +300,7 @@ export default {
|
|
|
286
300
|
|
|
287
301
|
//使用内容分类
|
|
288
302
|
if (action === 'cmsPublishEditxContent') {
|
|
303
|
+
loading = XdBus.getParentApi('loading')({});
|
|
289
304
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
290
305
|
.then(res => {
|
|
291
306
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -300,6 +315,7 @@ export default {
|
|
|
300
315
|
|
|
301
316
|
//位置列表
|
|
302
317
|
if (action === 'getListPostion') {
|
|
318
|
+
loading = XdBus.getParentApi('loading')({});
|
|
303
319
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
304
320
|
.then(res => {
|
|
305
321
|
loading.close();
|
|
@@ -313,6 +329,7 @@ export default {
|
|
|
313
329
|
|
|
314
330
|
//位置创建
|
|
315
331
|
if (action === 'addPostion') {
|
|
332
|
+
loading = XdBus.getParentApi('loading')({});
|
|
316
333
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
317
334
|
.then(res => {
|
|
318
335
|
loading.close();
|
|
@@ -327,6 +344,7 @@ export default {
|
|
|
327
344
|
|
|
328
345
|
//位置编辑
|
|
329
346
|
if (action === 'editPostion') {
|
|
347
|
+
loading = XdBus.getParentApi('loading')({});
|
|
330
348
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
331
349
|
.then(res => {
|
|
332
350
|
loading.close();
|
|
@@ -341,6 +359,7 @@ export default {
|
|
|
341
359
|
|
|
342
360
|
//位置删除
|
|
343
361
|
if (action === 'deleltePostion') {
|
|
362
|
+
loading = XdBus.getParentApi('loading')({});
|
|
344
363
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
345
364
|
.then(res => {
|
|
346
365
|
loading.close();
|
|
@@ -355,6 +374,7 @@ export default {
|
|
|
355
374
|
|
|
356
375
|
//获取广告位内容列表
|
|
357
376
|
if (action === 'getListContent') {
|
|
377
|
+
loading = XdBus.getParentApi('loading')({});
|
|
358
378
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
359
379
|
.then(res => {
|
|
360
380
|
loading.close();
|
|
@@ -368,6 +388,7 @@ export default {
|
|
|
368
388
|
|
|
369
389
|
//广告内容创建
|
|
370
390
|
if (action === 'addContent') {
|
|
391
|
+
loading = XdBus.getParentApi('loading')({});
|
|
371
392
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
372
393
|
.then(res => {
|
|
373
394
|
loading.close();
|
|
@@ -382,6 +403,7 @@ export default {
|
|
|
382
403
|
|
|
383
404
|
//广告内容编辑
|
|
384
405
|
if (action === 'editContent') {
|
|
406
|
+
loading = XdBus.getParentApi('loading')({});
|
|
385
407
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
386
408
|
.then(res => {
|
|
387
409
|
loading.close();
|
|
@@ -396,6 +418,7 @@ export default {
|
|
|
396
418
|
|
|
397
419
|
//广告内容删除
|
|
398
420
|
if (action === 'deleteContent') {
|
|
421
|
+
loading = XdBus.getParentApi('loading')({});
|
|
399
422
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
400
423
|
.then(res => {
|
|
401
424
|
loading.close();
|
|
@@ -410,6 +433,7 @@ export default {
|
|
|
410
433
|
|
|
411
434
|
//内容发布
|
|
412
435
|
if (action === 'publish') {
|
|
436
|
+
loading = XdBus.getParentApi('loading')({});
|
|
413
437
|
console.log('publish', data.params)
|
|
414
438
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
415
439
|
.then(res => {
|
|
@@ -424,6 +448,7 @@ export default {
|
|
|
424
448
|
|
|
425
449
|
//通知页面进行刷新
|
|
426
450
|
if (action === 'update') {
|
|
451
|
+
loading = XdBus.getParentApi('loading')({});
|
|
427
452
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
428
453
|
loading.close()
|
|
429
454
|
}
|