jufubao-base 1.0.130-beta5 → 1.0.130
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 +3 -4
- package/src/components/JfbBaseAddress/Attr.js +5 -11
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +19 -18
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +7 -19
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +4 -6
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +19 -18
- package/src/components/JfbBaseAfterOrderList/Attr.js +16 -25
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +9 -6
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +19 -18
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +19 -18
- package/src/components/JfbBaseBackground/Attr.js +8 -9
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -0
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +19 -18
- package/src/components/JfbBaseBlock/Attr.js +2 -12
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +8 -1
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +19 -18
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +19 -18
- package/src/components/JfbBaseCard/Attr.js +34 -76
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
- package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
- package/src/components/JfbBaseCardDetail/Attr.js +3 -4
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
- package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
- package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
- package/src/components/JfbBaseCardEntry/Attr.js +67 -86
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -3
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
- package/src/components/JfbBaseCardInfo/Attr.js +16 -22
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
- package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
- package/src/components/JfbBaseCardMerge/Attr.js +8 -21
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
- package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
- package/src/components/JfbBaseCardShift/Attr.js +4 -18
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
- package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
- package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
- package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
- package/src/components/JfbBaseCardV2/Attr.js +15 -19
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
- package/src/components/JfbBaseCardV3/Attr.js +12 -16
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
- package/src/components/JfbBaseCity/Attr.js +4 -2
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
- package/src/components/JfbBaseConDialog/Api.js +1 -1
- package/src/components/JfbBaseConDialog/Attr.js +20 -30
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +26 -45
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
- package/src/components/JfbBaseConDialog/Mock.js +1 -20
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
- package/src/components/JfbBaseConList/Attr.js +224 -149
- package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
- package/src/components/JfbBaseEntry/Attr.js +21 -33
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
- package/src/components/JfbBaseFastLink/Api.js +54 -1
- package/src/components/JfbBaseFastLink/Attr.js +116 -168
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
- package/src/components/JfbBaseFooter/Attr.js +22 -28
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
- package/src/components/JfbBaseHeader/Attr.js +91 -89
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
- package/src/components/JfbBaseLine/Attr.js +59 -0
- package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
- package/src/components/JfbBaseLogin/Attr.js +88 -111
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1 -0
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
- package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
- package/src/components/JfbBaseMapSearch/Attr.js +15 -0
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
- package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
- package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
- package/src/components/JfbBaseNotice/Attr.js +56 -97
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +52 -70
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
- package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -6
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
- package/src/components/JfbBaseOrderList/Attr.js +43 -55
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
- package/src/components/JfbBasePay/Attr.js +13 -2
- package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
- package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
- package/src/components/JfbBasePay/Mock.js +1 -2
- package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
- package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
- package/src/components/JfbBasePoster/Attr.js +83 -103
- package/src/components/JfbBasePoster/JfbBasePoster.vue +141 -134
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +7 -3
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +33 -44
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +49 -44
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
- package/src/components/JfbBasePosterType/Attr.js +48 -82
- package/src/components/JfbBasePosterType/FourScreen.vue +2 -8
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
- package/src/components/JfbBasePosterType/Screen.vue +284 -0
- package/src/components/JfbBaseRecharge/Attr.js +23 -35
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
- package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
- package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
- package/src/components/JfbBaseSearch/Api.js +60 -0
- package/src/components/JfbBaseSearch/Attr.js +148 -6
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
- package/src/components/JfbBaseSearch/Mock.js +5 -0
- package/src/components/JfbBaseSetPwd/Attr.js +147 -6
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
- package/src/components/JfbBaseSuccess/Attr.js +17 -78
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
- package/src/components/JfbBaseUserCenter/Attr.js +53 -72
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
- package/src/components/JfbBaseUserInfo/Attr.js +45 -54
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
- package/src/components/JfbBaseUserOrder/Attr.js +92 -118
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
- package/src/components/JfbBaseVideo/Attr.js +19 -72
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
- package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
- package/src/components/{JfbBaseClear → JfbBaseWalletDetail}/Attr.js +0 -1
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
- package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +26 -32
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
- package/src/components/JfbBaseCardShift/Mock.js +0 -21
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-my {
|
|
16
|
+
border: 1px dashed rgba(0, 0, 0, 0);
|
|
16
17
|
box-sizing: border-box;
|
|
17
|
-
min-height: unit(
|
|
18
|
+
min-height: unit(50, rpx);
|
|
18
19
|
|
|
19
20
|
&__body{
|
|
20
21
|
position: relative;
|
|
@@ -22,21 +23,21 @@
|
|
|
22
23
|
z-index: 2
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
&.editx
|
|
26
|
+
&.editx {
|
|
26
27
|
position: relative;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
top:0;
|
|
33
|
-
left:0;
|
|
34
|
-
bottom:0;
|
|
35
|
-
right:0;
|
|
36
|
-
z-index: 4;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
28
|
+
border: 1px dashed blue;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
z-index: 3
|
|
31
|
+
|
|
32
|
+
}
|
|
39
33
|
|
|
34
|
+
&:hover {
|
|
35
|
+
border: 1px dashed blue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.noBorder {
|
|
39
|
+
border-color: rgba(0,0,0,0);
|
|
40
|
+
border-width: 0;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
|
|
@@ -71,9 +72,9 @@
|
|
|
71
72
|
|
|
72
73
|
/**notPreview**/
|
|
73
74
|
.jfb-base-my {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-my-setting {
|
|
16
|
+
border: 1px dashed rgba(0, 0, 0, 0);
|
|
16
17
|
box-sizing: border-box;
|
|
17
|
-
min-height: unit(
|
|
18
|
+
min-height: unit(50, rpx);
|
|
18
19
|
|
|
19
20
|
&__body{
|
|
20
21
|
position: relative;
|
|
@@ -22,21 +23,21 @@
|
|
|
22
23
|
z-index: 2
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
&.editx
|
|
26
|
+
&.editx {
|
|
26
27
|
position: relative;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
top:0;
|
|
33
|
-
left:0;
|
|
34
|
-
bottom:0;
|
|
35
|
-
right:0;
|
|
36
|
-
z-index: 4;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
28
|
+
border: 1px dashed blue;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
z-index: 3
|
|
31
|
+
|
|
32
|
+
}
|
|
39
33
|
|
|
34
|
+
&:hover {
|
|
35
|
+
border: 1px dashed blue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.noBorder {
|
|
39
|
+
border-color: rgba(0,0,0,0);
|
|
40
|
+
border-width: 0;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
|
|
@@ -71,9 +72,9 @@
|
|
|
71
72
|
|
|
72
73
|
/**notPreview**/
|
|
73
74
|
.jfb-base-my-setting {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -28,7 +28,6 @@ export default {
|
|
|
28
28
|
ele: 'xd-site-news',
|
|
29
29
|
valueKey: 'notice',
|
|
30
30
|
value: data.notice || null,
|
|
31
|
-
groupKey:'content',
|
|
32
31
|
className: 'input70',
|
|
33
32
|
setting: {
|
|
34
33
|
config: {
|
|
@@ -48,7 +47,7 @@ export default {
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
//获取返回参数(场景类型名称为必填)
|
|
51
|
-
let loading =
|
|
50
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
52
51
|
|
|
53
52
|
//获取显示内容
|
|
54
53
|
if (action === 'screen') {
|
|
@@ -92,7 +91,6 @@ export default {
|
|
|
92
91
|
|
|
93
92
|
//使用内容分类
|
|
94
93
|
if (action === 'cmsPublishEditxContent') {
|
|
95
|
-
loading = XdBus.getParentApi('loading')({});
|
|
96
94
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
97
95
|
.then(res => {
|
|
98
96
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -107,7 +105,6 @@ export default {
|
|
|
107
105
|
|
|
108
106
|
//位置列表
|
|
109
107
|
if (action === 'getListPostion') {
|
|
110
|
-
loading = XdBus.getParentApi('loading')({});
|
|
111
108
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
112
109
|
.then(res => {
|
|
113
110
|
loading.close();
|
|
@@ -121,7 +118,6 @@ export default {
|
|
|
121
118
|
|
|
122
119
|
//位置创建
|
|
123
120
|
if (action === 'addPostion') {
|
|
124
|
-
loading = XdBus.getParentApi('loading')({});
|
|
125
121
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
126
122
|
.then(res => {
|
|
127
123
|
loading.close();
|
|
@@ -136,7 +132,6 @@ export default {
|
|
|
136
132
|
|
|
137
133
|
//位置编辑
|
|
138
134
|
if (action === 'editPostion') {
|
|
139
|
-
loading = XdBus.getParentApi('loading')({});
|
|
140
135
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
141
136
|
.then(res => {
|
|
142
137
|
loading.close();
|
|
@@ -151,7 +146,6 @@ export default {
|
|
|
151
146
|
|
|
152
147
|
//位置删除
|
|
153
148
|
if (action === 'deleltePostion') {
|
|
154
|
-
loading = XdBus.getParentApi('loading')({});
|
|
155
149
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
156
150
|
.then(res => {
|
|
157
151
|
loading.close();
|
|
@@ -166,7 +160,6 @@ export default {
|
|
|
166
160
|
|
|
167
161
|
//获取广告位内容列表
|
|
168
162
|
if (action === 'getListContent') {
|
|
169
|
-
loading = XdBus.getParentApi('loading')({});
|
|
170
163
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
171
164
|
.then(res => {
|
|
172
165
|
loading.close();
|
|
@@ -180,7 +173,6 @@ export default {
|
|
|
180
173
|
|
|
181
174
|
//广告内容创建
|
|
182
175
|
if (action === 'addContent') {
|
|
183
|
-
loading = XdBus.getParentApi('loading')({});
|
|
184
176
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
185
177
|
.then(res => {
|
|
186
178
|
loading.close();
|
|
@@ -195,7 +187,6 @@ export default {
|
|
|
195
187
|
|
|
196
188
|
//广告内容编辑
|
|
197
189
|
if (action === 'editContent') {
|
|
198
|
-
loading = XdBus.getParentApi('loading')({});
|
|
199
190
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
200
191
|
.then(res => {
|
|
201
192
|
loading.close();
|
|
@@ -210,7 +201,6 @@ export default {
|
|
|
210
201
|
|
|
211
202
|
//广告内容删除
|
|
212
203
|
if (action === 'deleteContent') {
|
|
213
|
-
loading = XdBus.getParentApi('loading')({});
|
|
214
204
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
215
205
|
.then(res => {
|
|
216
206
|
loading.close();
|
|
@@ -225,7 +215,6 @@ export default {
|
|
|
225
215
|
|
|
226
216
|
//内容发布
|
|
227
217
|
if (action === 'publish') {
|
|
228
|
-
loading = XdBus.getParentApi('loading')({});
|
|
229
218
|
console.log('publish', data.params)
|
|
230
219
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
231
220
|
.then(res => {
|
|
@@ -240,7 +229,6 @@ export default {
|
|
|
240
229
|
|
|
241
230
|
//通知页面进行刷新
|
|
242
231
|
if (action === 'update') {
|
|
243
|
-
loading = XdBus.getParentApi('loading')({});
|
|
244
232
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
245
233
|
loading.close()
|
|
246
234
|
}
|
|
@@ -256,36 +244,25 @@ export default {
|
|
|
256
244
|
ele: 'xd-radio',
|
|
257
245
|
valueKey: 'style',
|
|
258
246
|
value: data['style'] || '1',
|
|
259
|
-
groupKey:'content',
|
|
260
247
|
list: [
|
|
261
248
|
{"label": "静态显示", "value": '1'},
|
|
262
249
|
{"label": "滚动显示", "value": '2'},
|
|
263
250
|
{"label": "弹窗显示", "value": '3'},
|
|
264
|
-
]
|
|
265
|
-
inline:false,
|
|
266
|
-
notice:'预览模式点击使用“<span style="color:red">弹窗显示</span>”会重新触发页面刷新,可点击弹出遮罩层进行关闭功能'
|
|
251
|
+
]
|
|
267
252
|
},
|
|
268
253
|
|
|
269
|
-
{
|
|
270
|
-
ele: 'title',
|
|
271
|
-
label: '静态显示',
|
|
272
|
-
size: 'small',
|
|
273
|
-
groupKey:'style',
|
|
274
|
-
},
|
|
275
|
-
data.style === '1' && {
|
|
254
|
+
checkNotice() && checkPop() && checkScroll() && data.style === '1' && {
|
|
276
255
|
label: '是否显示标题:',
|
|
277
256
|
ele: 'xd-switch',
|
|
278
257
|
valueKey: 'isTitle',
|
|
279
258
|
value: data['isTitle'],
|
|
280
|
-
groupKey:'style',
|
|
281
259
|
list: ['否', '是'],
|
|
282
260
|
backValueType: 2,
|
|
283
261
|
},
|
|
284
|
-
data.style === '1' && data['isTitle'] && {
|
|
262
|
+
checkNotice() && checkPop() && checkScroll() && data.style === '1' && data['isTitle'] && {
|
|
285
263
|
label: '标题对其方式:',
|
|
286
264
|
ele: 'xd-select-list',
|
|
287
265
|
valueKey: 'textAlign',
|
|
288
|
-
groupKey:'style',
|
|
289
266
|
className: 'input80',
|
|
290
267
|
value: data['textAlign'] || '',
|
|
291
268
|
list: [
|
|
@@ -294,12 +271,29 @@ export default {
|
|
|
294
271
|
{"label": "右", "value": 'right'},
|
|
295
272
|
]
|
|
296
273
|
},
|
|
297
|
-
|
|
274
|
+
checkNotice() && checkPop() && checkScroll() && {
|
|
275
|
+
label: '内容背景颜色:',
|
|
276
|
+
ele: 'xd-color',
|
|
277
|
+
valueKey: 'bgc',
|
|
278
|
+
value: data.bgc || '',
|
|
279
|
+
placeholder: '请选择内容背景颜色',
|
|
280
|
+
classNmae: 'input80',
|
|
281
|
+
},
|
|
282
|
+
checkNotice() && checkPop() && checkScroll() && {
|
|
283
|
+
label: '内文字颜色:',
|
|
284
|
+
ele: 'xd-color',
|
|
285
|
+
valueKey: 'textColor',
|
|
286
|
+
value: data.textColor || '',
|
|
287
|
+
placeholder: '请选择内文字颜色',
|
|
288
|
+
classNmae: 'input80',
|
|
289
|
+
},
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
checkNotice() && checkPop() && checkScroll() && data.style === '1' && {
|
|
298
293
|
label: '内容圆角设置:',
|
|
299
294
|
ele: 'xd-site-select-list',
|
|
300
295
|
valueKey: 'radius',
|
|
301
296
|
value: data['radius'],
|
|
302
|
-
groupKey:'style',
|
|
303
297
|
placeholder: '请选择内容圆角设置',
|
|
304
298
|
multiple: false,
|
|
305
299
|
className: 'input80',
|
|
@@ -313,30 +307,11 @@ export default {
|
|
|
313
307
|
});
|
|
314
308
|
},
|
|
315
309
|
},
|
|
316
|
-
{
|
|
317
|
-
label: '内容背景颜色:',
|
|
318
|
-
ele: 'xd-color',
|
|
319
|
-
valueKey: 'bgc',
|
|
320
|
-
groupKey:'style',
|
|
321
|
-
value: data.bgc || '',
|
|
322
|
-
placeholder: '请选择内容背景颜色',
|
|
323
|
-
classNmae: 'input80',
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
label: '内文字颜色:',
|
|
327
|
-
ele: 'xd-color',
|
|
328
|
-
groupKey:'style',
|
|
329
|
-
valueKey: 'textColor',
|
|
330
|
-
value: data.textColor || '',
|
|
331
|
-
placeholder: '请选择内文字颜色',
|
|
332
|
-
classNmae: 'input80',
|
|
333
|
-
},
|
|
334
|
-
{
|
|
310
|
+
checkNotice() && checkPop() && checkScroll() && {
|
|
335
311
|
label: '内容文字大小:',
|
|
336
312
|
ele: 'xd-site-select-list',
|
|
337
313
|
valueKey: 'fontSize',
|
|
338
314
|
value: data['fontSize'],
|
|
339
|
-
groupKey:'style',
|
|
340
315
|
placeholder: '请选择内容文字大小',
|
|
341
316
|
multiple: false,
|
|
342
317
|
className: 'input80',
|
|
@@ -350,42 +325,45 @@ export default {
|
|
|
350
325
|
});
|
|
351
326
|
},
|
|
352
327
|
},
|
|
353
|
-
{
|
|
354
|
-
label: '
|
|
328
|
+
checkNotice() && checkPop() && checkScroll() && {
|
|
329
|
+
label: '内容边距设置:',
|
|
355
330
|
ele: 'xd-margin-padding',
|
|
356
|
-
valueKey: '
|
|
357
|
-
|
|
358
|
-
|
|
331
|
+
valueKey: 'margin',
|
|
332
|
+
value: data.margin || null,
|
|
333
|
+
disabled: false,
|
|
359
334
|
setting: {
|
|
360
|
-
type: '
|
|
335
|
+
type: 'margin',
|
|
361
336
|
},
|
|
362
|
-
placeholder: '
|
|
337
|
+
placeholder: '请设置内容边距设置',
|
|
363
338
|
inline: false,
|
|
364
|
-
notice: '
|
|
339
|
+
notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
365
340
|
},
|
|
366
|
-
{
|
|
367
|
-
label: '
|
|
341
|
+
checkNotice() && checkPop() && checkScroll() && {
|
|
342
|
+
label: '内容填充设置:',
|
|
368
343
|
ele: 'xd-margin-padding',
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
344
|
+
valueKey: 'padding',
|
|
345
|
+
value: data.padding || null,
|
|
346
|
+
disabled: false,
|
|
372
347
|
setting: {
|
|
373
|
-
type: '
|
|
348
|
+
type: 'padding',
|
|
374
349
|
},
|
|
375
|
-
placeholder: '
|
|
350
|
+
placeholder: '请内容填充设置',
|
|
376
351
|
inline: false,
|
|
377
|
-
notice: '
|
|
352
|
+
notice: '内容填充设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
378
353
|
},
|
|
379
|
-
{
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
354
|
+
checkNotice() && !checkPop() && checkScroll() && {
|
|
355
|
+
label: '弹窗间隔:',
|
|
356
|
+
ele: 'el-input',
|
|
357
|
+
type: 'text',
|
|
358
|
+
valueKey: 'time',
|
|
359
|
+
value: data.time || '',
|
|
360
|
+
placeholder: '请输入弹窗间隔,默认值:3小时',
|
|
361
|
+
className: 'input80',
|
|
362
|
+
unit: '小时'
|
|
384
363
|
},
|
|
385
|
-
{
|
|
364
|
+
checkNotice() && checkPop() && !checkScroll() && {
|
|
386
365
|
label: '滚动显示条数:',
|
|
387
366
|
ele: 'el-input',
|
|
388
|
-
groupKey:'style',
|
|
389
367
|
type: 'number',
|
|
390
368
|
valueKey: 'num',
|
|
391
369
|
value: data.num,
|
|
@@ -393,11 +371,10 @@ export default {
|
|
|
393
371
|
className: 'input80',
|
|
394
372
|
unit: '条'
|
|
395
373
|
},
|
|
396
|
-
{
|
|
374
|
+
checkNotice() && checkPop() && !checkScroll() && {
|
|
397
375
|
label: '滚动速度值:',
|
|
398
376
|
ele: 'el-input',
|
|
399
377
|
type: 'number',
|
|
400
|
-
groupKey:'style',
|
|
401
378
|
valueKey: 'speed',
|
|
402
379
|
value: data.speed,
|
|
403
380
|
placeholder: '请输入滚动速度值,默认:20',
|
|
@@ -405,12 +382,12 @@ export default {
|
|
|
405
382
|
inline: false,
|
|
406
383
|
notice: '滚动速度值,建议取值:20-60, 值越大越快',
|
|
407
384
|
},
|
|
408
|
-
{
|
|
409
|
-
label: '
|
|
385
|
+
checkNotice() && checkPop() && !checkScroll() && {
|
|
386
|
+
label: '内容边距设置:',
|
|
410
387
|
ele: 'xd-margin-padding',
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
388
|
+
valueKey: 'margin',
|
|
389
|
+
value: data.margin || null,
|
|
390
|
+
disabled: false,
|
|
414
391
|
setting: {
|
|
415
392
|
type: 'margin',
|
|
416
393
|
},
|
|
@@ -418,24 +395,6 @@ export default {
|
|
|
418
395
|
inline: false,
|
|
419
396
|
notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
420
397
|
},
|
|
421
|
-
|
|
422
|
-
{
|
|
423
|
-
ele: 'title',
|
|
424
|
-
label: '弹窗显示',
|
|
425
|
-
size: 'small',
|
|
426
|
-
groupKey:'style',
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
label: '弹窗间隔:',
|
|
430
|
-
ele: 'el-input',
|
|
431
|
-
type: 'text',
|
|
432
|
-
groupKey:'style',
|
|
433
|
-
valueKey: 'time',
|
|
434
|
-
value: data.time || '',
|
|
435
|
-
className: 'input80',
|
|
436
|
-
inline: false,
|
|
437
|
-
notice: '弹窗间隔,单位:小时。默认值:<span style="color: red">3</span>小时',
|
|
438
|
-
},
|
|
439
398
|
].filter(i=>i)
|
|
440
399
|
},
|
|
441
400
|
advanced: [
|