jufubao-base 1.0.132-beta2 → 1.0.132
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
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import StyleForm from "@/utils/StyleForm";
|
|
3
|
-
let styleForm = new StyleForm(
|
|
4
|
-
{border: null, shadow: null, spacing: '', margin: null,radius:null},
|
|
5
|
-
null,
|
|
6
|
-
'list',
|
|
7
|
-
true
|
|
8
|
-
);
|
|
3
|
+
let styleForm = new StyleForm({border: null, shadow: null, spacing: '', bgColor:'', margin: null,radius:null}, null, 'list');
|
|
9
4
|
export default {
|
|
10
5
|
style: [],
|
|
11
6
|
content: (data)=>{
|
|
@@ -15,16 +10,24 @@ export default {
|
|
|
15
10
|
ele: 'el-input',
|
|
16
11
|
type: 'text',
|
|
17
12
|
valueKey: 'custom_btn_name',
|
|
18
|
-
groupKey:'content',
|
|
19
13
|
value: data['custom_btn_name'] || '',
|
|
20
14
|
placeholder: '请输入自定义按钮名称',
|
|
21
15
|
className: 'input80'
|
|
22
16
|
},
|
|
17
|
+
{
|
|
18
|
+
"label": "自定义按钮跳转地址:",
|
|
19
|
+
"ele": "xd-select-pages-path",
|
|
20
|
+
"valueKey": "custom_btn_path",
|
|
21
|
+
"value": data['custom_btn_path'] || null,
|
|
22
|
+
"setting": {
|
|
23
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
24
|
+
},
|
|
25
|
+
"inline": false,
|
|
26
|
+
},
|
|
23
27
|
{
|
|
24
28
|
label: '是否显示码:',
|
|
25
29
|
ele: 'xd-radio',
|
|
26
30
|
valueKey: 'is_show_code',
|
|
27
|
-
groupKey:'content',
|
|
28
31
|
value:data['is_show_code']|| '',
|
|
29
32
|
placeholder: '请选择',
|
|
30
33
|
list: [
|
|
@@ -36,7 +39,6 @@ export default {
|
|
|
36
39
|
label: '是否显示商品:',
|
|
37
40
|
ele: 'xd-radio',
|
|
38
41
|
valueKey: 'is_show_product',
|
|
39
|
-
groupKey:'content',
|
|
40
42
|
value:data['is_show_product']|| '',
|
|
41
43
|
placeholder: '请选择',
|
|
42
44
|
list: [
|
|
@@ -45,9 +47,8 @@ export default {
|
|
|
45
47
|
],
|
|
46
48
|
},
|
|
47
49
|
{
|
|
48
|
-
label: '
|
|
50
|
+
label: '自定义内容:',
|
|
49
51
|
ele: 'xd-site-news',
|
|
50
|
-
groupKey:'content',
|
|
51
52
|
valueKey: 'notice',
|
|
52
53
|
value: data['notice'] || null,
|
|
53
54
|
className: 'input70',
|
|
@@ -69,12 +70,11 @@ export default {
|
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
//获取返回参数(场景类型名称为必填)
|
|
72
|
-
|
|
73
|
-
let loading = { close(){}}
|
|
73
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
74
74
|
|
|
75
75
|
//获取显示内容
|
|
76
76
|
if (action === 'screen') {
|
|
77
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
|
|
77
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_bucket_content_tip' })
|
|
78
78
|
.then(res => {
|
|
79
79
|
loading.close();
|
|
80
80
|
data.cb(res['list'])
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
91
91
|
XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
|
|
92
92
|
.then(res => {
|
|
93
93
|
loading.close()
|
|
94
|
-
data.cb({list: res.list, selectId: res.selected})
|
|
94
|
+
data.cb({ list: res.list, selectId: res.selected })
|
|
95
95
|
})
|
|
96
96
|
.catch(error => {
|
|
97
97
|
loading.close()
|
|
@@ -114,7 +114,6 @@ export default {
|
|
|
114
114
|
|
|
115
115
|
//使用内容分类
|
|
116
116
|
if (action === 'cmsPublishEditxContent') {
|
|
117
|
-
loading = XdBus.getParentApi('loading')({});
|
|
118
117
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
119
118
|
.then(res => {
|
|
120
119
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -129,7 +128,6 @@ export default {
|
|
|
129
128
|
|
|
130
129
|
//位置列表
|
|
131
130
|
if (action === 'getListPostion') {
|
|
132
|
-
loading = XdBus.getParentApi('loading')({});
|
|
133
131
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
134
132
|
.then(res => {
|
|
135
133
|
loading.close();
|
|
@@ -143,7 +141,6 @@ export default {
|
|
|
143
141
|
|
|
144
142
|
//位置创建
|
|
145
143
|
if (action === 'addPostion') {
|
|
146
|
-
loading = XdBus.getParentApi('loading')({});
|
|
147
144
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
148
145
|
.then(res => {
|
|
149
146
|
loading.close();
|
|
@@ -158,7 +155,6 @@ export default {
|
|
|
158
155
|
|
|
159
156
|
//位置编辑
|
|
160
157
|
if (action === 'editPostion') {
|
|
161
|
-
loading = XdBus.getParentApi('loading')({});
|
|
162
158
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
163
159
|
.then(res => {
|
|
164
160
|
loading.close();
|
|
@@ -173,7 +169,6 @@ export default {
|
|
|
173
169
|
|
|
174
170
|
//位置删除
|
|
175
171
|
if (action === 'deleltePostion') {
|
|
176
|
-
loading = XdBus.getParentApi('loading')({});
|
|
177
172
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
178
173
|
.then(res => {
|
|
179
174
|
loading.close();
|
|
@@ -188,7 +183,6 @@ export default {
|
|
|
188
183
|
|
|
189
184
|
//获取广告位内容列表
|
|
190
185
|
if (action === 'getListContent') {
|
|
191
|
-
loading = XdBus.getParentApi('loading')({});
|
|
192
186
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
193
187
|
.then(res => {
|
|
194
188
|
loading.close();
|
|
@@ -202,7 +196,6 @@ export default {
|
|
|
202
196
|
|
|
203
197
|
//广告内容创建
|
|
204
198
|
if (action === 'addContent') {
|
|
205
|
-
loading = XdBus.getParentApi('loading')({});
|
|
206
199
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
207
200
|
.then(res => {
|
|
208
201
|
loading.close();
|
|
@@ -217,7 +210,6 @@ export default {
|
|
|
217
210
|
|
|
218
211
|
//广告内容编辑
|
|
219
212
|
if (action === 'editContent') {
|
|
220
|
-
loading = XdBus.getParentApi('loading')({});
|
|
221
213
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
222
214
|
.then(res => {
|
|
223
215
|
loading.close();
|
|
@@ -232,7 +224,6 @@ export default {
|
|
|
232
224
|
|
|
233
225
|
//广告内容删除
|
|
234
226
|
if (action === 'deleteContent') {
|
|
235
|
-
loading = XdBus.getParentApi('loading')({});
|
|
236
227
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
237
228
|
.then(res => {
|
|
238
229
|
loading.close();
|
|
@@ -247,7 +238,6 @@ export default {
|
|
|
247
238
|
|
|
248
239
|
//内容发布
|
|
249
240
|
if (action === 'publish') {
|
|
250
|
-
loading = XdBus.getParentApi('loading')({});
|
|
251
241
|
console.log('publish', data.params)
|
|
252
242
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
253
243
|
.then(res => {
|
|
@@ -262,65 +252,14 @@ export default {
|
|
|
262
252
|
|
|
263
253
|
//通知页面进行刷新
|
|
264
254
|
if (action === 'update') {
|
|
265
|
-
loading = XdBus.getParentApi('loading')({});
|
|
266
255
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
267
256
|
loading.close()
|
|
268
257
|
}
|
|
269
258
|
},
|
|
270
259
|
inline: false,
|
|
271
|
-
notice: '
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
label: '背景颜色:',
|
|
275
|
-
ele: 'xd-color',
|
|
276
|
-
valueKey: 'listBgColor',
|
|
277
|
-
groupKey:'style',
|
|
278
|
-
value: data.listBgColor || '',
|
|
279
|
-
placeholder: '请选择背景颜色',
|
|
280
|
-
classNmae: 'input80',
|
|
281
|
-
},
|
|
282
|
-
...styleForm.getForm(data, '二维码样式配置'),
|
|
283
|
-
{
|
|
284
|
-
ele: 'title',
|
|
285
|
-
label: '按钮样式设置',
|
|
286
|
-
size: 'small',
|
|
287
|
-
groupKey:'style',
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
label: '边框颜色:',
|
|
291
|
-
ele: 'xd-color',
|
|
292
|
-
valueKey: 'btnBorderColor',
|
|
293
|
-
groupKey:'style',
|
|
294
|
-
value: data['btnBorderColor'] || '',
|
|
295
|
-
classNmae: 'input80',
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
label: '背景颜色:',
|
|
299
|
-
ele: 'xd-color',
|
|
300
|
-
valueKey: 'btnBgColor',
|
|
301
|
-
groupKey:'style',
|
|
302
|
-
value: data.btnBgColor || '',
|
|
303
|
-
classNmae: 'input80',
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
label: '文字颜色:',
|
|
307
|
-
ele: 'xd-color',
|
|
308
|
-
valueKey: 'btnTextColor',
|
|
309
|
-
groupKey:'style',
|
|
310
|
-
value: data.btnTextColor || '',
|
|
311
|
-
classNmae: 'input80',
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"label": "自定义按钮跳转地址:",
|
|
315
|
-
"ele": "xd-select-pages-path",
|
|
316
|
-
"valueKey": "custom_btn_path",
|
|
317
|
-
"value": data['custom_btn_path'] || null,
|
|
318
|
-
"groupKey":'advanced',
|
|
319
|
-
"setting": {
|
|
320
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
321
|
-
},
|
|
322
|
-
"inline": false,
|
|
260
|
+
notice: '',
|
|
323
261
|
},
|
|
262
|
+
...styleForm.getForm(data, '内容配置')
|
|
324
263
|
].filter(i=>i)
|
|
325
264
|
},
|
|
326
265
|
advanced: [],
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-success {
|
|
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-success {
|
|
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-test-api {
|
|
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-test-api {
|
|
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-test-body {
|
|
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-test-body {
|
|
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-test-bottom {
|
|
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-test-bottom {
|
|
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-test-notice {
|
|
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-test-notice {
|
|
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-test-top {
|
|
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-test-top {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|