jufubao-base 1.0.132-beta3 → 1.0.133
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
|
@@ -5,12 +5,146 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: (data)=>{
|
|
7
7
|
return [
|
|
8
|
+
{
|
|
9
|
+
label: '外边距:',
|
|
10
|
+
ele: 'xd-margin-padding',
|
|
11
|
+
valueKey: 'margin',
|
|
12
|
+
value: data['margin'] || null,
|
|
13
|
+
disabled: false,
|
|
14
|
+
setting: {
|
|
15
|
+
type: 'margin',
|
|
16
|
+
},
|
|
17
|
+
placeholder: '请设置外边距',
|
|
18
|
+
inline: false,
|
|
19
|
+
notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: '背景颜色:',
|
|
23
|
+
ele: 'xd-color',
|
|
24
|
+
valueKey: 'backgroundColor',
|
|
25
|
+
value: data['backgroundColor'] || null,
|
|
26
|
+
placeholder: '请选择背景颜色',
|
|
27
|
+
classNmae: 'input80',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: '间距:',
|
|
31
|
+
ele: 'el-input',
|
|
32
|
+
type: 'number',
|
|
33
|
+
valueKey: 'padding',
|
|
34
|
+
value: data.padding || '',
|
|
35
|
+
placeholder: '请输入间距',
|
|
36
|
+
className: 'input80',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
ele: 'title',
|
|
40
|
+
label: '投影设置',
|
|
41
|
+
size: 'small', //default/mini/small
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
label: '是否有投影:',
|
|
45
|
+
ele: 'xd-radio',
|
|
46
|
+
valueKey: 'is_shadow',
|
|
47
|
+
value: data['is_shadow'] || 'N',
|
|
48
|
+
placeholder: '请选择是否投影',
|
|
49
|
+
multiple: false,
|
|
50
|
+
className: 'input80',
|
|
51
|
+
list: [
|
|
52
|
+
{ label: '是', value: 'Y' },
|
|
53
|
+
{ label: '否', value: 'N' },
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
data['is_shadow'] === 'Y' && {
|
|
57
|
+
label: '投影颜色:',
|
|
58
|
+
ele: 'xd-color',
|
|
59
|
+
valueKey: 'is_shadow_bg',
|
|
60
|
+
value: data['is_shadow_bg'] || '',
|
|
61
|
+
placeholder: '请选择投影颜色',
|
|
62
|
+
classNmae: 'input80',
|
|
63
|
+
},
|
|
64
|
+
data['is_shadow'] === 'Y' && {
|
|
65
|
+
label: '投影范围:',
|
|
66
|
+
ele: 'xd-site-select-list',
|
|
67
|
+
valueKey: 'is_shadow_w',
|
|
68
|
+
value: data['is_shadow_w'] || '10',
|
|
69
|
+
placeholder: '请选择投影范围',
|
|
70
|
+
multiple: false,
|
|
71
|
+
className: 'input80',
|
|
72
|
+
handleCustom({ action, data }) {
|
|
73
|
+
XdBus.getParentApi('getOptionsSettingList')({
|
|
74
|
+
setting_id: 'edtix_style_radius',
|
|
75
|
+
key: Date.now()
|
|
76
|
+
})
|
|
77
|
+
.then(res => {
|
|
78
|
+
data.cb(res.list)
|
|
79
|
+
})
|
|
80
|
+
.catch(error => {
|
|
81
|
+
console.error(error);
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
ele: 'title',
|
|
87
|
+
label: '边框设置',
|
|
88
|
+
size: 'small', //default/mini/small
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: '是否有边框:',
|
|
92
|
+
ele: 'xd-radio',
|
|
93
|
+
valueKey: 'is_border',
|
|
94
|
+
value: data['is_border'] || 'N',
|
|
95
|
+
placeholder: '请选择是否有边框',
|
|
96
|
+
multiple: false,
|
|
97
|
+
className: 'input80',
|
|
98
|
+
list: [
|
|
99
|
+
{ label: '是', value: 'Y' },
|
|
100
|
+
{ label: '否', value: 'N' },
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
data['is_border'] === 'Y' && {
|
|
104
|
+
label: '边框颜色:',
|
|
105
|
+
ele: 'xd-color',
|
|
106
|
+
valueKey: 'is_border_c',
|
|
107
|
+
value: data['is_border_c'] || '',
|
|
108
|
+
placeholder: '请选择边框颜色',
|
|
109
|
+
classNmae: 'input80',
|
|
110
|
+
},
|
|
111
|
+
data['is_border'] === 'Y' && {
|
|
112
|
+
label: '边框大小:',
|
|
113
|
+
ele: 'el-input',
|
|
114
|
+
type: 'number',
|
|
115
|
+
valueKey: 'is_border_w',
|
|
116
|
+
value: data['is_border_w'] || '',
|
|
117
|
+
placeholder: '请输入边框颜色',
|
|
118
|
+
className: 'input80',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
label: '内容圆角设置:',
|
|
122
|
+
ele: 'xd-site-select-list',
|
|
123
|
+
valueKey: 'radius',
|
|
124
|
+
value: data['radius'] || '',
|
|
125
|
+
placeholder: '请选择内容圆角设置',
|
|
126
|
+
multiple: false,
|
|
127
|
+
className: 'input80',
|
|
128
|
+
handleCustom({ action, data }) {
|
|
129
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
130
|
+
.then(res => {
|
|
131
|
+
data.cb(res.list)
|
|
132
|
+
})
|
|
133
|
+
.catch(error => {
|
|
134
|
+
console.error(error);
|
|
135
|
+
});
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
ele: 'title',
|
|
140
|
+
label: '其他',
|
|
141
|
+
size: 'small', //default/mini/small
|
|
142
|
+
},
|
|
8
143
|
{
|
|
9
144
|
label: '业务类型预览(只是预览模式生效)',
|
|
10
145
|
ele: "xd-select-list",
|
|
11
146
|
valueKey: "viewStatus",
|
|
12
147
|
value: data.viewStatus || "mall",
|
|
13
|
-
groupKey:'content',
|
|
14
148
|
className: 'input80',
|
|
15
149
|
list: [
|
|
16
150
|
{label: '商城', value: "mall"},
|
|
@@ -19,15 +153,67 @@ export default {
|
|
|
19
153
|
{label: '在线选座&演出电子码', value: "playCode"},
|
|
20
154
|
{label: '核销', value: "cashier"},
|
|
21
155
|
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
label: '查看品牌路径:', //label
|
|
159
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
160
|
+
valueKey: 'brandPath', //form[valueKey]
|
|
161
|
+
placeholder: '请选择查看品牌路径',
|
|
162
|
+
value: data['brandPath'] || null,
|
|
163
|
+
setting: {
|
|
164
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
165
|
+
},
|
|
166
|
+
inline: false,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
label: '查看访问路径容器:', //label
|
|
170
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
171
|
+
valueKey: 'webViewPath', //form[valueKey]
|
|
172
|
+
placeholder: '请选择查看访问路径容器',
|
|
173
|
+
value: data['webViewPath'] || null,
|
|
174
|
+
setting: {
|
|
175
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
176
|
+
},
|
|
177
|
+
inline: false,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
label: '支付路径:', //label
|
|
181
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
182
|
+
valueKey: 'payPath', //form[valueKey]
|
|
183
|
+
placeholder: '请选择支付路径',
|
|
184
|
+
value: data['payPath'] || null,
|
|
185
|
+
setting: {
|
|
186
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
187
|
+
},
|
|
188
|
+
inline: false,
|
|
189
|
+
},
|
|
190
|
+
// {
|
|
191
|
+
// label: '查看单个包裹物流路径:', //label
|
|
192
|
+
// ele: 'xd-select-pages-path', //package 名称
|
|
193
|
+
// valueKey: 'logisticsPath', //form[valueKey]
|
|
194
|
+
// placeholder: '请选择查看单个包裹物流路径',
|
|
195
|
+
// value: data['logisticsPath'] || null,
|
|
196
|
+
// setting: {
|
|
197
|
+
// router: XdBus.getParentApi('getPagesTree'),
|
|
198
|
+
// },
|
|
199
|
+
// inline: false,
|
|
200
|
+
// },
|
|
201
|
+
{
|
|
202
|
+
label: '查看包裹列表路径:', //label
|
|
203
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
204
|
+
valueKey: 'packageListPath', //form[valueKey]
|
|
205
|
+
placeholder: '请选择查看包裹列表路径',
|
|
206
|
+
value: data['packageListPath'] || null,
|
|
207
|
+
setting: {
|
|
208
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
209
|
+
},
|
|
22
210
|
inline: false,
|
|
23
|
-
notice: '前台页面展示会根据返回数据类型进行页面渲染'
|
|
24
211
|
},
|
|
25
212
|
{
|
|
26
213
|
label: '是否需要客服电话:',
|
|
27
214
|
ele: 'xd-radio',
|
|
28
215
|
valueKey: 'is_hot',
|
|
29
216
|
value: data['is_hot'] || 'N',
|
|
30
|
-
groupKey:'content',
|
|
31
217
|
placeholder: '请选择是否需要客服电话',
|
|
32
218
|
multiple: false,
|
|
33
219
|
className: 'input80',
|
|
@@ -40,7 +226,6 @@ export default {
|
|
|
40
226
|
label: '自定义内容:',
|
|
41
227
|
ele: 'xd-site-news',
|
|
42
228
|
valueKey: 'notice',
|
|
43
|
-
groupKey:'content',
|
|
44
229
|
value: data['notice'] || null,
|
|
45
230
|
className: 'input70',
|
|
46
231
|
setting: {
|
|
@@ -61,12 +246,11 @@ export default {
|
|
|
61
246
|
}
|
|
62
247
|
|
|
63
248
|
//获取返回参数(场景类型名称为必填)
|
|
64
|
-
|
|
65
|
-
let loading = { close(){}}
|
|
249
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
66
250
|
|
|
67
251
|
//获取显示内容
|
|
68
252
|
if (action === 'screen') {
|
|
69
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
|
|
253
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_bucket_content_tip' })
|
|
70
254
|
.then(res => {
|
|
71
255
|
loading.close();
|
|
72
256
|
data.cb(res['list'])
|
|
@@ -83,7 +267,7 @@ export default {
|
|
|
83
267
|
XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
|
|
84
268
|
.then(res => {
|
|
85
269
|
loading.close()
|
|
86
|
-
data.cb({list: res.list, selectId: res.selected})
|
|
270
|
+
data.cb({ list: res.list, selectId: res.selected })
|
|
87
271
|
})
|
|
88
272
|
.catch(error => {
|
|
89
273
|
loading.close()
|
|
@@ -106,7 +290,6 @@ export default {
|
|
|
106
290
|
|
|
107
291
|
//使用内容分类
|
|
108
292
|
if (action === 'cmsPublishEditxContent') {
|
|
109
|
-
loading = XdBus.getParentApi('loading')({});
|
|
110
293
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
111
294
|
.then(res => {
|
|
112
295
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -121,7 +304,6 @@ export default {
|
|
|
121
304
|
|
|
122
305
|
//位置列表
|
|
123
306
|
if (action === 'getListPostion') {
|
|
124
|
-
loading = XdBus.getParentApi('loading')({});
|
|
125
307
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
126
308
|
.then(res => {
|
|
127
309
|
loading.close();
|
|
@@ -135,7 +317,6 @@ export default {
|
|
|
135
317
|
|
|
136
318
|
//位置创建
|
|
137
319
|
if (action === 'addPostion') {
|
|
138
|
-
loading = XdBus.getParentApi('loading')({});
|
|
139
320
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
140
321
|
.then(res => {
|
|
141
322
|
loading.close();
|
|
@@ -150,7 +331,6 @@ export default {
|
|
|
150
331
|
|
|
151
332
|
//位置编辑
|
|
152
333
|
if (action === 'editPostion') {
|
|
153
|
-
loading = XdBus.getParentApi('loading')({});
|
|
154
334
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
155
335
|
.then(res => {
|
|
156
336
|
loading.close();
|
|
@@ -165,7 +345,6 @@ export default {
|
|
|
165
345
|
|
|
166
346
|
//位置删除
|
|
167
347
|
if (action === 'deleltePostion') {
|
|
168
|
-
loading = XdBus.getParentApi('loading')({});
|
|
169
348
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
170
349
|
.then(res => {
|
|
171
350
|
loading.close();
|
|
@@ -180,7 +359,6 @@ export default {
|
|
|
180
359
|
|
|
181
360
|
//获取广告位内容列表
|
|
182
361
|
if (action === 'getListContent') {
|
|
183
|
-
loading = XdBus.getParentApi('loading')({});
|
|
184
362
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
185
363
|
.then(res => {
|
|
186
364
|
loading.close();
|
|
@@ -194,7 +372,6 @@ export default {
|
|
|
194
372
|
|
|
195
373
|
//广告内容创建
|
|
196
374
|
if (action === 'addContent') {
|
|
197
|
-
loading = XdBus.getParentApi('loading')({});
|
|
198
375
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
199
376
|
.then(res => {
|
|
200
377
|
loading.close();
|
|
@@ -209,7 +386,6 @@ export default {
|
|
|
209
386
|
|
|
210
387
|
//广告内容编辑
|
|
211
388
|
if (action === 'editContent') {
|
|
212
|
-
loading = XdBus.getParentApi('loading')({});
|
|
213
389
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
214
390
|
.then(res => {
|
|
215
391
|
loading.close();
|
|
@@ -224,7 +400,6 @@ export default {
|
|
|
224
400
|
|
|
225
401
|
//广告内容删除
|
|
226
402
|
if (action === 'deleteContent') {
|
|
227
|
-
loading = XdBus.getParentApi('loading')({});
|
|
228
403
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
229
404
|
.then(res => {
|
|
230
405
|
loading.close();
|
|
@@ -239,7 +414,6 @@ export default {
|
|
|
239
414
|
|
|
240
415
|
//内容发布
|
|
241
416
|
if (action === 'publish') {
|
|
242
|
-
loading = XdBus.getParentApi('loading')({});
|
|
243
417
|
console.log('publish', data.params)
|
|
244
418
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
245
419
|
.then(res => {
|
|
@@ -254,203 +428,12 @@ export default {
|
|
|
254
428
|
|
|
255
429
|
//通知页面进行刷新
|
|
256
430
|
if (action === 'update') {
|
|
257
|
-
loading = XdBus.getParentApi('loading')({});
|
|
258
431
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
259
432
|
loading.close()
|
|
260
433
|
}
|
|
261
434
|
},
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
label: '外填充:',
|
|
265
|
-
ele: 'xd-margin-padding',
|
|
266
|
-
valueKey: 'margin',
|
|
267
|
-
value: data['margin'] || null,
|
|
268
|
-
groupKey:'style',
|
|
269
|
-
setting: {
|
|
270
|
-
type: 'margin',
|
|
271
|
-
},
|
|
272
|
-
placeholder: '请设置外填充',
|
|
273
|
-
inline: false,
|
|
274
|
-
notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
label: '背景颜色:',
|
|
278
|
-
ele: 'xd-color',
|
|
279
|
-
valueKey: 'backgroundColor',
|
|
280
|
-
groupKey:'style',
|
|
281
|
-
value: data['backgroundColor'] || null,
|
|
282
|
-
placeholder: '请选择背景颜色',
|
|
283
|
-
classNmae: 'input80',
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
label: '间距:',
|
|
287
|
-
groupKey:'style',
|
|
288
|
-
ele: 'el-input',
|
|
289
|
-
type: 'number',
|
|
290
|
-
valueKey: 'padding',
|
|
291
|
-
value: data.padding || '',
|
|
292
|
-
placeholder: '请输入间距',
|
|
293
|
-
className: 'input80',
|
|
294
|
-
inline: false,
|
|
295
|
-
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
ele: 'title',
|
|
299
|
-
label: '投影设置',
|
|
300
|
-
size: 'small',
|
|
301
|
-
groupKey:'style',
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
label: '是否有投影:',
|
|
305
|
-
ele: 'xd-radio',
|
|
306
|
-
groupKey:'style',
|
|
307
|
-
valueKey: 'is_shadow',
|
|
308
|
-
value: data['is_shadow'] || 'N',
|
|
309
|
-
placeholder: '请选择是否投影',
|
|
310
|
-
multiple: false,
|
|
311
|
-
className: 'input80',
|
|
312
|
-
list: [
|
|
313
|
-
{ label: '是', value: 'Y' },
|
|
314
|
-
{ label: '否', value: 'N' },
|
|
315
|
-
]
|
|
316
|
-
},
|
|
317
|
-
data['is_shadow'] === 'Y' && {
|
|
318
|
-
label: '投影颜色:',
|
|
319
|
-
ele: 'xd-color',
|
|
320
|
-
groupKey:'style',
|
|
321
|
-
valueKey: 'is_shadow_bg',
|
|
322
|
-
value: data['is_shadow_bg'] || '',
|
|
323
|
-
placeholder: '请选择投影颜色',
|
|
324
|
-
classNmae: 'input80',
|
|
325
|
-
},
|
|
326
|
-
data['is_shadow'] === 'Y' && {
|
|
327
|
-
label: '投影范围:',
|
|
328
|
-
ele: 'xd-site-select-list',
|
|
329
|
-
valueKey: 'is_shadow_w',
|
|
330
|
-
groupKey:'style',
|
|
331
|
-
value: data['is_shadow_w'] || '10',
|
|
332
|
-
placeholder: '请选择投影范围',
|
|
333
|
-
multiple: false,
|
|
334
|
-
className: 'input80',
|
|
335
|
-
handleCustom({ action, data }) {
|
|
336
|
-
XdBus.getParentApi('getOptionsSettingList')({
|
|
337
|
-
setting_id: 'edtix_style_radius',
|
|
338
|
-
key: Date.now()
|
|
339
|
-
})
|
|
340
|
-
.then(res => {
|
|
341
|
-
data.cb(res.list)
|
|
342
|
-
})
|
|
343
|
-
.catch(error => {
|
|
344
|
-
console.error(error);
|
|
345
|
-
});
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
ele: 'title',
|
|
350
|
-
label: '边框设置',
|
|
351
|
-
size: 'small',
|
|
352
|
-
groupKey:'style',
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
label: '是否有边框:',
|
|
356
|
-
ele: 'xd-radio',
|
|
357
|
-
valueKey: 'is_border',
|
|
358
|
-
value: data['is_border'] || 'N',
|
|
359
|
-
groupKey:'style',
|
|
360
|
-
placeholder: '请选择是否有边框',
|
|
361
|
-
multiple: false,
|
|
362
|
-
className: 'input80',
|
|
363
|
-
list: [
|
|
364
|
-
{ label: '是', value: 'Y' },
|
|
365
|
-
{ label: '否', value: 'N' },
|
|
366
|
-
]
|
|
367
|
-
},
|
|
368
|
-
data['is_border'] === 'Y' && {
|
|
369
|
-
label: '边框颜色:',
|
|
370
|
-
ele: 'xd-color',
|
|
371
|
-
groupKey:'style',
|
|
372
|
-
valueKey: 'is_border_c',
|
|
373
|
-
value: data['is_border_c'] || '',
|
|
374
|
-
placeholder: '请选择边框颜色',
|
|
375
|
-
classNmae: 'input80',
|
|
376
|
-
},
|
|
377
|
-
data['is_border'] === 'Y' && {
|
|
378
|
-
label: '边框大小:',
|
|
379
|
-
groupKey:'style',
|
|
380
|
-
ele: 'el-input',
|
|
381
|
-
type: 'number',
|
|
382
|
-
valueKey: 'is_border_w',
|
|
383
|
-
value: data['is_border_w'] || '',
|
|
384
|
-
placeholder: '请输入边框颜色',
|
|
385
|
-
className: 'input80',
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
label: '内容圆角设置:',
|
|
389
|
-
ele: 'xd-site-select-list',
|
|
390
|
-
valueKey: 'radius',
|
|
391
|
-
groupKey:'style',
|
|
392
|
-
value: data['radius'] || '',
|
|
393
|
-
placeholder: '请选择内容圆角设置',
|
|
394
|
-
multiple: false,
|
|
395
|
-
className: 'input80',
|
|
396
|
-
handleCustom({ action, data }) {
|
|
397
|
-
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
398
|
-
.then(res => {
|
|
399
|
-
data.cb(res.list)
|
|
400
|
-
})
|
|
401
|
-
.catch(error => {
|
|
402
|
-
console.error(error);
|
|
403
|
-
});
|
|
404
|
-
},
|
|
405
|
-
},
|
|
406
|
-
|
|
407
|
-
{
|
|
408
|
-
label: '查看品牌路径:',
|
|
409
|
-
ele: 'xd-select-pages-path',
|
|
410
|
-
valueKey: 'brandPath',
|
|
411
|
-
groupKey:'advanced',
|
|
412
|
-
placeholder: '请选择查看品牌路径',
|
|
413
|
-
value: data['brandPath'] || null,
|
|
414
|
-
setting: {
|
|
415
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
416
|
-
},
|
|
417
|
-
inline: false,
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
label: '查看访问路径容器:',
|
|
421
|
-
ele: 'xd-select-pages-path',
|
|
422
|
-
valueKey: 'webViewPath',
|
|
423
|
-
groupKey:'advanced',
|
|
424
|
-
placeholder: '请选择查看访问路径容器',
|
|
425
|
-
value: data['webViewPath'] || null,
|
|
426
|
-
setting: {
|
|
427
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
428
|
-
},
|
|
429
|
-
inline: false,
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
label: '支付路径:',
|
|
433
|
-
ele: 'xd-select-pages-path',
|
|
434
|
-
valueKey: 'payPath',
|
|
435
|
-
groupKey:'advanced',
|
|
436
|
-
placeholder: '请选择支付路径',
|
|
437
|
-
value: data['payPath'] || null,
|
|
438
|
-
setting: {
|
|
439
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
440
|
-
},
|
|
441
|
-
inline: false,
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
label: '查看包裹列表路径:',
|
|
445
|
-
ele: 'xd-select-pages-path',
|
|
446
|
-
valueKey: 'packageListPath',
|
|
447
|
-
groupKey:'advanced',
|
|
448
|
-
placeholder: '请选择查看包裹列表路径',
|
|
449
|
-
value: data['packageListPath'] || null,
|
|
450
|
-
setting: {
|
|
451
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
452
|
-
},
|
|
453
435
|
inline: false,
|
|
436
|
+
notice: '',
|
|
454
437
|
},
|
|
455
438
|
].filter(i=>i)
|
|
456
439
|
},
|
|
@@ -791,7 +791,6 @@ import { getContainerPropsValue } from "@/utils/xd.base";
|
|
|
791
791
|
import getServiceUrl from "@/common/getServiceUrl";
|
|
792
792
|
import { mapState } from "vuex";
|
|
793
793
|
import bizMock from "./bizMock";
|
|
794
|
-
import { Base64 } from "js-base64";
|
|
795
794
|
|
|
796
795
|
export default {
|
|
797
796
|
name: "JfbBaseOrderDetail",
|
|
@@ -876,11 +875,9 @@ export default {
|
|
|
876
875
|
},
|
|
877
876
|
...mapState(["brandInfo"]),
|
|
878
877
|
outMargin() {
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
883
|
-
return str
|
|
878
|
+
return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
|
|
879
|
+
this.margin.bottom || 20
|
|
880
|
+
}rpx ${this.margin.left || 20}rpx`;
|
|
884
881
|
},
|
|
885
882
|
shadowBox() {
|
|
886
883
|
if (this.is_shadow === "Y")
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-order-detail {
|
|
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-order-detail {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|