jufubao-base 1.0.134 → 1.0.136
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 +78 -41
- package/src/components/JfbBaseCard/JfbBaseCard.vue +12 -23
- 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/JfbBaseCardBindV2.vue +3 -1
- 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/JfbBaseCardDetailEntry.vue +4 -13
- 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/Api.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +86 -67
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -5
- 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 +21 -17
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
- package/src/components/JfbBaseCardV3/Attr.js +18 -14
- 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/JfbBaseClear/Attr.js +17 -0
- package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
- package/src/components/JfbBaseConDialog/Api.js +2 -2
- package/src/components/JfbBaseConDialog/Attr.js +23 -14
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +63 -35
- 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/Api.js +1 -1
- 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/Api.js +1 -1
- package/src/components/JfbBaseLogin/Attr.js +111 -88
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +4 -5
- 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 +109 -58
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +81 -54
- 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 +14 -7
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
- package/src/components/JfbBaseOrderList/Attr.js +56 -44
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +43 -8
- 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 +134 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +47 -34
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
- package/src/components/JfbBasePosterType/Attr.js +82 -48
- package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
- 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 +89 -19
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +48 -26
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
- package/src/components/JfbBaseSuccess/Mock.js +8 -0
- package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
- 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 +119 -94
- 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/Attr.js +27 -19
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/Attr.js +2 -6
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
- package/src/components/JfbBaseWalletIndex/Attr.js +3 -1
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
- package/src/components/JfbBaseWalletItem/Attr.js +3 -1
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
- package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
- package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
- package/src/components/JfbBaseLine/Attr.js +0 -59
- package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
- package/src/components/JfbBasePosterType/Screen.vue +0 -284
- package/src/components/JfbBaseSearch/Api.js +0 -60
- package/src/components/JfbBaseSearch/Mock.js +0 -5
|
@@ -8,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
|
}
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
<script>
|
|
94
94
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
95
95
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
96
|
-
import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
|
|
97
96
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
98
97
|
import extsMixins from "@/mixins/extsMixins";
|
|
99
98
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
@@ -102,6 +101,7 @@ import XdForm from "@/components/XdForm/XdForm";
|
|
|
102
101
|
import XdFormInput from "@/components/XdFormInput/XdFormInput";
|
|
103
102
|
import XdButton from "@/components/XdButton/XdButton";
|
|
104
103
|
import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox";
|
|
104
|
+
import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
|
|
105
105
|
|
|
106
106
|
export default {
|
|
107
107
|
name: "JfbBasePhoneCollect",
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-phone-collect {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(50, rpx);
|
|
19
17
|
|
|
20
18
|
&__body{
|
|
21
19
|
position: relative;
|
|
@@ -23,21 +21,22 @@
|
|
|
23
21
|
z-index: 2
|
|
24
22
|
}
|
|
25
23
|
|
|
26
|
-
&.editx {
|
|
24
|
+
&.editx,&.editx:hover {
|
|
27
25
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
min-height: unit(100, rpx);
|
|
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-phone-collect {
|
|
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,7 @@ export default {
|
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
//获取返回参数(场景类型名称为必填)
|
|
32
|
-
let loading =
|
|
33
|
+
let loading = { close(){}}
|
|
33
34
|
|
|
34
35
|
//获取显示内容
|
|
35
36
|
if (action === 'screen') {
|
|
@@ -73,6 +74,7 @@ export default {
|
|
|
73
74
|
|
|
74
75
|
//使用内容分类
|
|
75
76
|
if (action === 'cmsPublishEditxContent') {
|
|
77
|
+
loading = XdBus.getParentApi('loading')({});
|
|
76
78
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
77
79
|
.then(res => {
|
|
78
80
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -87,6 +89,7 @@ export default {
|
|
|
87
89
|
|
|
88
90
|
//位置列表
|
|
89
91
|
if (action === 'getListPostion') {
|
|
92
|
+
loading = XdBus.getParentApi('loading')({});
|
|
90
93
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
91
94
|
.then(res => {
|
|
92
95
|
loading.close();
|
|
@@ -100,6 +103,7 @@ export default {
|
|
|
100
103
|
|
|
101
104
|
//位置创建
|
|
102
105
|
if (action === 'addPostion') {
|
|
106
|
+
loading = XdBus.getParentApi('loading')({});
|
|
103
107
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
104
108
|
.then(res => {
|
|
105
109
|
loading.close();
|
|
@@ -114,6 +118,7 @@ export default {
|
|
|
114
118
|
|
|
115
119
|
//位置编辑
|
|
116
120
|
if (action === 'editPostion') {
|
|
121
|
+
loading = XdBus.getParentApi('loading')({});
|
|
117
122
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
118
123
|
.then(res => {
|
|
119
124
|
loading.close();
|
|
@@ -128,6 +133,7 @@ export default {
|
|
|
128
133
|
|
|
129
134
|
//位置删除
|
|
130
135
|
if (action === 'deleltePostion') {
|
|
136
|
+
loading = XdBus.getParentApi('loading')({});
|
|
131
137
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
132
138
|
.then(res => {
|
|
133
139
|
loading.close();
|
|
@@ -142,6 +148,7 @@ export default {
|
|
|
142
148
|
|
|
143
149
|
//获取广告位内容列表
|
|
144
150
|
if (action === 'getListContent') {
|
|
151
|
+
loading = XdBus.getParentApi('loading')({});
|
|
145
152
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
146
153
|
.then(res => {
|
|
147
154
|
loading.close();
|
|
@@ -155,6 +162,7 @@ export default {
|
|
|
155
162
|
|
|
156
163
|
//广告内容创建
|
|
157
164
|
if (action === 'addContent') {
|
|
165
|
+
loading = XdBus.getParentApi('loading')({});
|
|
158
166
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
159
167
|
.then(res => {
|
|
160
168
|
loading.close();
|
|
@@ -169,6 +177,7 @@ export default {
|
|
|
169
177
|
|
|
170
178
|
//广告内容编辑
|
|
171
179
|
if (action === 'editContent') {
|
|
180
|
+
loading = XdBus.getParentApi('loading')({});
|
|
172
181
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
173
182
|
.then(res => {
|
|
174
183
|
loading.close();
|
|
@@ -183,6 +192,7 @@ export default {
|
|
|
183
192
|
|
|
184
193
|
//广告内容删除
|
|
185
194
|
if (action === 'deleteContent') {
|
|
195
|
+
loading = XdBus.getParentApi('loading')({});
|
|
186
196
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
187
197
|
.then(res => {
|
|
188
198
|
loading.close();
|
|
@@ -197,6 +207,7 @@ export default {
|
|
|
197
207
|
|
|
198
208
|
//内容发布
|
|
199
209
|
if (action === 'publish') {
|
|
210
|
+
loading = XdBus.getParentApi('loading')({});
|
|
200
211
|
console.log('publish', data.params)
|
|
201
212
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
202
213
|
.then(res => {
|
|
@@ -211,6 +222,7 @@ export default {
|
|
|
211
222
|
|
|
212
223
|
//通知页面进行刷新
|
|
213
224
|
if (action === 'update') {
|
|
225
|
+
loading = XdBus.getParentApi('loading')({});
|
|
214
226
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
215
227
|
loading.close()
|
|
216
228
|
}
|
|
@@ -222,6 +234,7 @@ export default {
|
|
|
222
234
|
label: '用户服务协议:',
|
|
223
235
|
ele: 'xd-site-news',
|
|
224
236
|
valueKey: 'notices',
|
|
237
|
+
groupKey:'content',
|
|
225
238
|
value: {type: 'privacy'},
|
|
226
239
|
className: 'input70',
|
|
227
240
|
setting: {
|
|
@@ -242,7 +255,8 @@ export default {
|
|
|
242
255
|
}
|
|
243
256
|
|
|
244
257
|
//获取返回参数(场景类型名称为必填)
|
|
245
|
-
|
|
258
|
+
//获取返回参数(场景类型名称为必填)
|
|
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
|
}
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-phone-login {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(50, rpx);
|
|
19
17
|
|
|
20
18
|
&__body{
|
|
21
19
|
position: relative;
|
|
@@ -23,21 +21,22 @@
|
|
|
23
21
|
z-index: 2
|
|
24
22
|
}
|
|
25
23
|
|
|
26
|
-
&.editx {
|
|
24
|
+
&.editx,&.editx:hover {
|
|
27
25
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
min-height: unit(100, rpx);
|
|
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-phone-login {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|