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-phone-collect {
|
|
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-phone-collect {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -8,7 +8,6 @@ export default {
|
|
|
8
8
|
label: '隐私政策:',
|
|
9
9
|
ele: 'xd-site-news',
|
|
10
10
|
valueKey: 'notice',
|
|
11
|
-
groupKey:'content',
|
|
12
11
|
value: {type: 'privacy'},
|
|
13
12
|
className: 'input70',
|
|
14
13
|
setting: {
|
|
@@ -30,7 +29,7 @@ export default {
|
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
//获取返回参数(场景类型名称为必填)
|
|
33
|
-
let loading =
|
|
32
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
34
33
|
|
|
35
34
|
//获取显示内容
|
|
36
35
|
if (action === 'screen') {
|
|
@@ -74,7 +73,6 @@ export default {
|
|
|
74
73
|
|
|
75
74
|
//使用内容分类
|
|
76
75
|
if (action === 'cmsPublishEditxContent') {
|
|
77
|
-
loading = XdBus.getParentApi('loading')({});
|
|
78
76
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
79
77
|
.then(res => {
|
|
80
78
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -89,7 +87,6 @@ export default {
|
|
|
89
87
|
|
|
90
88
|
//位置列表
|
|
91
89
|
if (action === 'getListPostion') {
|
|
92
|
-
loading = XdBus.getParentApi('loading')({});
|
|
93
90
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
94
91
|
.then(res => {
|
|
95
92
|
loading.close();
|
|
@@ -103,7 +100,6 @@ export default {
|
|
|
103
100
|
|
|
104
101
|
//位置创建
|
|
105
102
|
if (action === 'addPostion') {
|
|
106
|
-
loading = XdBus.getParentApi('loading')({});
|
|
107
103
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
108
104
|
.then(res => {
|
|
109
105
|
loading.close();
|
|
@@ -118,7 +114,6 @@ export default {
|
|
|
118
114
|
|
|
119
115
|
//位置编辑
|
|
120
116
|
if (action === 'editPostion') {
|
|
121
|
-
loading = XdBus.getParentApi('loading')({});
|
|
122
117
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
123
118
|
.then(res => {
|
|
124
119
|
loading.close();
|
|
@@ -133,7 +128,6 @@ export default {
|
|
|
133
128
|
|
|
134
129
|
//位置删除
|
|
135
130
|
if (action === 'deleltePostion') {
|
|
136
|
-
loading = XdBus.getParentApi('loading')({});
|
|
137
131
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
138
132
|
.then(res => {
|
|
139
133
|
loading.close();
|
|
@@ -148,7 +142,6 @@ export default {
|
|
|
148
142
|
|
|
149
143
|
//获取广告位内容列表
|
|
150
144
|
if (action === 'getListContent') {
|
|
151
|
-
loading = XdBus.getParentApi('loading')({});
|
|
152
145
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
153
146
|
.then(res => {
|
|
154
147
|
loading.close();
|
|
@@ -162,7 +155,6 @@ export default {
|
|
|
162
155
|
|
|
163
156
|
//广告内容创建
|
|
164
157
|
if (action === 'addContent') {
|
|
165
|
-
loading = XdBus.getParentApi('loading')({});
|
|
166
158
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
167
159
|
.then(res => {
|
|
168
160
|
loading.close();
|
|
@@ -177,7 +169,6 @@ export default {
|
|
|
177
169
|
|
|
178
170
|
//广告内容编辑
|
|
179
171
|
if (action === 'editContent') {
|
|
180
|
-
loading = XdBus.getParentApi('loading')({});
|
|
181
172
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
182
173
|
.then(res => {
|
|
183
174
|
loading.close();
|
|
@@ -192,7 +183,6 @@ export default {
|
|
|
192
183
|
|
|
193
184
|
//广告内容删除
|
|
194
185
|
if (action === 'deleteContent') {
|
|
195
|
-
loading = XdBus.getParentApi('loading')({});
|
|
196
186
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
197
187
|
.then(res => {
|
|
198
188
|
loading.close();
|
|
@@ -207,7 +197,6 @@ export default {
|
|
|
207
197
|
|
|
208
198
|
//内容发布
|
|
209
199
|
if (action === 'publish') {
|
|
210
|
-
loading = XdBus.getParentApi('loading')({});
|
|
211
200
|
console.log('publish', data.params)
|
|
212
201
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
213
202
|
.then(res => {
|
|
@@ -222,7 +211,6 @@ export default {
|
|
|
222
211
|
|
|
223
212
|
//通知页面进行刷新
|
|
224
213
|
if (action === 'update') {
|
|
225
|
-
loading = XdBus.getParentApi('loading')({});
|
|
226
214
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
227
215
|
loading.close()
|
|
228
216
|
}
|
|
@@ -234,7 +222,6 @@ export default {
|
|
|
234
222
|
label: '用户服务协议:',
|
|
235
223
|
ele: 'xd-site-news',
|
|
236
224
|
valueKey: 'notices',
|
|
237
|
-
groupKey:'content',
|
|
238
225
|
value: {type: 'privacy'},
|
|
239
226
|
className: 'input70',
|
|
240
227
|
setting: {
|
|
@@ -255,8 +242,7 @@ export default {
|
|
|
255
242
|
}
|
|
256
243
|
|
|
257
244
|
//获取返回参数(场景类型名称为必填)
|
|
258
|
-
|
|
259
|
-
let loading = { close(){}}
|
|
245
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
260
246
|
|
|
261
247
|
//获取显示内容
|
|
262
248
|
if (action === 'screen') {
|
|
@@ -300,7 +286,6 @@ export default {
|
|
|
300
286
|
|
|
301
287
|
//使用内容分类
|
|
302
288
|
if (action === 'cmsPublishEditxContent') {
|
|
303
|
-
loading = XdBus.getParentApi('loading')({});
|
|
304
289
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
305
290
|
.then(res => {
|
|
306
291
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -315,7 +300,6 @@ export default {
|
|
|
315
300
|
|
|
316
301
|
//位置列表
|
|
317
302
|
if (action === 'getListPostion') {
|
|
318
|
-
loading = XdBus.getParentApi('loading')({});
|
|
319
303
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
320
304
|
.then(res => {
|
|
321
305
|
loading.close();
|
|
@@ -329,7 +313,6 @@ export default {
|
|
|
329
313
|
|
|
330
314
|
//位置创建
|
|
331
315
|
if (action === 'addPostion') {
|
|
332
|
-
loading = XdBus.getParentApi('loading')({});
|
|
333
316
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
334
317
|
.then(res => {
|
|
335
318
|
loading.close();
|
|
@@ -344,7 +327,6 @@ export default {
|
|
|
344
327
|
|
|
345
328
|
//位置编辑
|
|
346
329
|
if (action === 'editPostion') {
|
|
347
|
-
loading = XdBus.getParentApi('loading')({});
|
|
348
330
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
349
331
|
.then(res => {
|
|
350
332
|
loading.close();
|
|
@@ -359,7 +341,6 @@ export default {
|
|
|
359
341
|
|
|
360
342
|
//位置删除
|
|
361
343
|
if (action === 'deleltePostion') {
|
|
362
|
-
loading = XdBus.getParentApi('loading')({});
|
|
363
344
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
364
345
|
.then(res => {
|
|
365
346
|
loading.close();
|
|
@@ -374,7 +355,6 @@ export default {
|
|
|
374
355
|
|
|
375
356
|
//获取广告位内容列表
|
|
376
357
|
if (action === 'getListContent') {
|
|
377
|
-
loading = XdBus.getParentApi('loading')({});
|
|
378
358
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
379
359
|
.then(res => {
|
|
380
360
|
loading.close();
|
|
@@ -388,7 +368,6 @@ export default {
|
|
|
388
368
|
|
|
389
369
|
//广告内容创建
|
|
390
370
|
if (action === 'addContent') {
|
|
391
|
-
loading = XdBus.getParentApi('loading')({});
|
|
392
371
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
393
372
|
.then(res => {
|
|
394
373
|
loading.close();
|
|
@@ -403,7 +382,6 @@ export default {
|
|
|
403
382
|
|
|
404
383
|
//广告内容编辑
|
|
405
384
|
if (action === 'editContent') {
|
|
406
|
-
loading = XdBus.getParentApi('loading')({});
|
|
407
385
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
408
386
|
.then(res => {
|
|
409
387
|
loading.close();
|
|
@@ -418,7 +396,6 @@ export default {
|
|
|
418
396
|
|
|
419
397
|
//广告内容删除
|
|
420
398
|
if (action === 'deleteContent') {
|
|
421
|
-
loading = XdBus.getParentApi('loading')({});
|
|
422
399
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
423
400
|
.then(res => {
|
|
424
401
|
loading.close();
|
|
@@ -433,7 +410,6 @@ export default {
|
|
|
433
410
|
|
|
434
411
|
//内容发布
|
|
435
412
|
if (action === 'publish') {
|
|
436
|
-
loading = XdBus.getParentApi('loading')({});
|
|
437
413
|
console.log('publish', data.params)
|
|
438
414
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
439
415
|
.then(res => {
|
|
@@ -448,7 +424,6 @@ export default {
|
|
|
448
424
|
|
|
449
425
|
//通知页面进行刷新
|
|
450
426
|
if (action === 'update') {
|
|
451
|
-
loading = XdBus.getParentApi('loading')({});
|
|
452
427
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
453
428
|
loading.close()
|
|
454
429
|
}
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-phone-login {
|
|
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-phone-login {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -8,15 +8,15 @@ import console from "@dcloudio/uni-h5/src/core/helpers/console";
|
|
|
8
8
|
export default {
|
|
9
9
|
style:[],
|
|
10
10
|
content:(params)=>{
|
|
11
|
+
console.log(params,'anananananana');
|
|
11
12
|
if(!params['isCarousel']) params['isCarousel'] = 1;
|
|
12
13
|
return [
|
|
13
14
|
{
|
|
14
|
-
label: '广告位置配置:',
|
|
15
|
-
ele: 'xd-site-poster',
|
|
16
|
-
valueKey: 'poster',
|
|
15
|
+
label: '广告位置配置:', //label
|
|
16
|
+
ele: 'xd-site-poster', //package 名称
|
|
17
|
+
valueKey: 'poster', //form[valueKey]
|
|
17
18
|
className: 'input80',
|
|
18
19
|
value: params.poster || {},
|
|
19
|
-
groupKey:'content',
|
|
20
20
|
setting: {
|
|
21
21
|
count: 1,
|
|
22
22
|
scene: {label: '广告', value: 'normal'}
|
|
@@ -215,49 +215,82 @@ export default {
|
|
|
215
215
|
loading.close()
|
|
216
216
|
}
|
|
217
217
|
},
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
218
|
+
inline: false,
|
|
219
|
+
notice: '',
|
|
220
|
+
rules: [
|
|
221
|
+
{required: true, message: '请选择广告位置', trigger: 'change'},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
ele: 'title',
|
|
226
|
+
label: '广告位轮廓设置',
|
|
227
|
+
size: 'small', //default/mini/small
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
label: '广告位边距设置:',
|
|
231
|
+
ele: 'xd-margin-padding',
|
|
232
|
+
valueKey: 'margin',
|
|
233
|
+
value: params.margin || null,
|
|
234
|
+
disabled: false,
|
|
235
|
+
setting: {
|
|
236
|
+
type: 'margin',
|
|
237
|
+
},
|
|
238
|
+
placeholder: '请设置广告位边距设置',
|
|
239
|
+
inline: false,
|
|
240
|
+
notice: '设置边距充,<span style="color: red">单位:像素(px)</span>。默认值:<span style="color: red">0</span>像素',
|
|
230
241
|
|
|
231
|
-
if(value.size && !value.size.width){
|
|
232
|
-
callback(message);
|
|
233
|
-
return
|
|
234
|
-
}
|
|
235
|
-
callback()
|
|
236
|
-
},trigger: ['blur', 'change']
|
|
237
|
-
}],
|
|
238
242
|
},
|
|
239
|
-
params
|
|
240
|
-
label: '
|
|
241
|
-
ele: 'xd-
|
|
242
|
-
valueKey: '
|
|
243
|
-
value: params['
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
243
|
+
params.poster && params.poster['type']&& params.poster['type'] !== '1' &&{
|
|
244
|
+
label: '广告位填充设置:',
|
|
245
|
+
ele: 'xd-margin-padding',
|
|
246
|
+
valueKey: 'bgImagePadding',
|
|
247
|
+
value: params['bgImagePadding'] || null,
|
|
248
|
+
disabled: false,
|
|
249
|
+
setting: {
|
|
250
|
+
type: 'padding',
|
|
251
|
+
},
|
|
252
|
+
placeholder: '请填充设置',
|
|
253
|
+
inline: false,
|
|
254
|
+
notice: '设置内填充,<span style="color: red">单位:像素(px)</span>。无背景时候默认值:<span style="color: red">20</span>像素。有背景时候默认值:<span style="color: red">20</span>像素。',
|
|
255
|
+
},
|
|
256
|
+
params.poster && params.poster['type'] &¶ms.number > 1 && {
|
|
257
|
+
label: '广告内容之间间距设置:',
|
|
258
|
+
ele: 'el-input',
|
|
259
|
+
type: 'number',
|
|
260
|
+
valueKey: 'padding',
|
|
261
|
+
value: params.padding || 0,
|
|
262
|
+
className: 'input40',
|
|
263
|
+
placeholder: '请广告内容之间间距设置',
|
|
264
|
+
notice: '请广告内容之间间距设置。<span style="color: red">单位:像素(px)</span>。默认值:<span style="color: red">0</span>像素',
|
|
265
|
+
inline: false,
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
label: '广告圆角设置:',
|
|
269
|
+
ele: 'xd-site-select-list',
|
|
270
|
+
valueKey: 'radius',
|
|
271
|
+
value: params['radius'] || '20',
|
|
272
|
+
placeholder: '请选择广告圆角设置',
|
|
273
|
+
multiple: false,
|
|
274
|
+
className: 'input80',
|
|
275
|
+
handleCustom({action, data}) {
|
|
276
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
277
|
+
.then(res => {
|
|
278
|
+
data.cb(res.list)
|
|
279
|
+
})
|
|
280
|
+
.catch(error => {
|
|
281
|
+
console.error(error);
|
|
282
|
+
});
|
|
283
|
+
},
|
|
249
284
|
},
|
|
250
285
|
{
|
|
251
286
|
ele: 'title',
|
|
252
287
|
label: '广告位参数配置',
|
|
253
|
-
size: 'small',
|
|
254
|
-
groupKey:'content',
|
|
288
|
+
size: 'small', //default/mini/small
|
|
255
289
|
},
|
|
256
290
|
params.poster && params.poster['type']&& params.poster['type'] !== '1' && {
|
|
257
291
|
label: '广告背景图:',
|
|
258
292
|
ele: 'xd-upload',
|
|
259
293
|
valueKey: 'background',
|
|
260
|
-
groupKey:'content',
|
|
261
294
|
value: params.background || {},
|
|
262
295
|
defaultValue: params.background || null,
|
|
263
296
|
slot: true,
|
|
@@ -278,7 +311,6 @@ export default {
|
|
|
278
311
|
ele: 'el-input',
|
|
279
312
|
type: 'number',
|
|
280
313
|
valueKey: 'number',
|
|
281
|
-
groupKey:'content',
|
|
282
314
|
value: params.number || 1,
|
|
283
315
|
placeholder: '请输入广告位置使用张数',
|
|
284
316
|
className: 'input40',
|
|
@@ -296,7 +328,6 @@ export default {
|
|
|
296
328
|
ele: 'xd-radio',
|
|
297
329
|
valueKey: 'isCarousel',
|
|
298
330
|
value: params['isCarousel'] || 1,
|
|
299
|
-
groupKey:'content',
|
|
300
331
|
rules: [
|
|
301
332
|
{required: true, message: '请选择广告位显示方式', trigger: ['blur', 'change']}
|
|
302
333
|
],
|
|
@@ -309,7 +340,7 @@ export default {
|
|
|
309
340
|
label: '广告位轮播周期:',
|
|
310
341
|
ele: 'el-input',
|
|
311
342
|
type: 'number',
|
|
312
|
-
|
|
343
|
+
isKey: true,
|
|
313
344
|
valueKey: 'carouselTime',
|
|
314
345
|
value: params.carouselTime || 5,
|
|
315
346
|
placeholder: '请输入广告位轮播周期,单位秒',
|
|
@@ -324,11 +355,10 @@ export default {
|
|
|
324
355
|
]
|
|
325
356
|
},
|
|
326
357
|
params['isCarousel'] === 2 && {
|
|
327
|
-
label: '广告显示dot类型:',
|
|
328
|
-
ele: 'xd-select-list',
|
|
329
|
-
valueKey: 'dot_type',
|
|
330
|
-
value: params['dot_type'] || 'dot',
|
|
331
|
-
groupKey:'content',
|
|
358
|
+
label: '广告显示dot类型:', //label
|
|
359
|
+
ele: 'xd-select-list', //package 名称
|
|
360
|
+
valueKey: 'dot_type', //form[valueKey]
|
|
361
|
+
value: params['dot_type'] || 'dot', //v-model
|
|
332
362
|
placeholder: '请选择广告显示dot类型',
|
|
333
363
|
multiple: false,
|
|
334
364
|
className: 'input80',
|
|
@@ -346,7 +376,6 @@ export default {
|
|
|
346
376
|
label: '广告位内容显示行数:',
|
|
347
377
|
ele: 'xd-radio',
|
|
348
378
|
valueKey: 'rows',
|
|
349
|
-
groupKey:'content',
|
|
350
379
|
value: params.rows || 1,
|
|
351
380
|
list: [
|
|
352
381
|
{"label": "一行", "value": 1},
|
|
@@ -354,65 +383,16 @@ export default {
|
|
|
354
383
|
{"label": "三行", "value": 3},
|
|
355
384
|
]
|
|
356
385
|
},
|
|
357
|
-
{
|
|
358
|
-
label: '
|
|
359
|
-
ele: 'xd-
|
|
360
|
-
valueKey: '
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
placeholder: '请设置广告位边距设置',
|
|
367
|
-
inline: false,
|
|
368
|
-
notice: '设置边距充,<span style="color: red">单位:像素(px)</span>。默认值:<span style="color: red">0</span>像素',
|
|
369
|
-
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
label: '广告位填充设置:',
|
|
373
|
-
ele: 'xd-margin-padding',
|
|
374
|
-
valueKey: 'bgImagePadding',
|
|
375
|
-
value: params['bgImagePadding'] || null,
|
|
376
|
-
groupKey:'style',
|
|
377
|
-
setting: {
|
|
378
|
-
type: 'padding',
|
|
379
|
-
},
|
|
380
|
-
placeholder: '请填充设置',
|
|
381
|
-
inline: false,
|
|
382
|
-
notice: '设置内填充,<span style="color: red">单位:像素(px)</span>。无背景时候默认值:<span style="color: red">20</span>像素。有背景时候默认值:<span style="color: red">0</span>像素。',
|
|
383
|
-
},
|
|
384
|
-
params.poster && params.poster['type'] && params.number > 1 && {
|
|
385
|
-
label: '广告内容之间间距设置:',
|
|
386
|
-
ele: 'el-input',
|
|
387
|
-
type: 'number',
|
|
388
|
-
valueKey: 'padding',
|
|
389
|
-
value: params.padding || 0,
|
|
390
|
-
groupKey:'style',
|
|
391
|
-
className: 'input40',
|
|
392
|
-
placeholder: '请广告内容之间间距设置',
|
|
393
|
-
notice: '请广告内容之间间距设置。<span style="color: red">单位:像素(px)</span>。默认值:<span style="color: red">0</span>像素',
|
|
394
|
-
inline: false,
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
label: '广告圆角设置:',
|
|
398
|
-
ele: 'xd-site-select-list',
|
|
399
|
-
valueKey: 'radius',
|
|
400
|
-
groupKey:'style',
|
|
401
|
-
value: params['radius'] || '20',
|
|
402
|
-
placeholder: '请选择广告圆角设置',
|
|
403
|
-
multiple: false,
|
|
404
|
-
className: 'input80',
|
|
405
|
-
handleCustom({action, data}) {
|
|
406
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
407
|
-
.then(res => {
|
|
408
|
-
data.cb(res.list)
|
|
409
|
-
})
|
|
410
|
-
.catch(error => {
|
|
411
|
-
console.error(error);
|
|
412
|
-
});
|
|
413
|
-
},
|
|
386
|
+
params['isCarousel']===2 && params['rows'] === 1 && {
|
|
387
|
+
label: '是否启用配套背景:',
|
|
388
|
+
ele: 'xd-radio',
|
|
389
|
+
valueKey: 'isSupport',
|
|
390
|
+
value: params['isSupport'] || 'Y',
|
|
391
|
+
list: [
|
|
392
|
+
{"label": "启用", "value": 'Y'},
|
|
393
|
+
{"label": "禁用", "value": 'N'},
|
|
394
|
+
]
|
|
414
395
|
},
|
|
415
|
-
|
|
416
396
|
].filter(i=>i)
|
|
417
397
|
},
|
|
418
398
|
advanced: [
|