jufubao-base 1.0.130-beta5 → 1.0.131
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 +6 -8
- 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/JfbBaseSuccess.vue +3 -2
- 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
|
@@ -6,29 +6,12 @@
|
|
|
6
6
|
export default {
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
|
+
console.log("aaa11",data)
|
|
9
10
|
return [
|
|
10
|
-
{
|
|
11
|
-
label: '',
|
|
12
|
-
ele: 'slot',
|
|
13
|
-
slot: 'is_reference_title',
|
|
14
|
-
groupKey:'advanced',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
label: "搜索框是否可用于搜索",
|
|
18
|
-
ele: "xd-radio",
|
|
19
|
-
valueKey: "useSearch",
|
|
20
|
-
value: data.useSearch || "Y",
|
|
21
|
-
groupKey:'content',
|
|
22
|
-
list: [
|
|
23
|
-
{label: "用于搜索", value: "Y"},
|
|
24
|
-
{label: "用于跳转搜索页", value: "N"}
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
11
|
{
|
|
28
12
|
label: "是否显示返回箭头",
|
|
29
13
|
ele: "xd-radio",
|
|
30
14
|
valueKey: "showBack",
|
|
31
|
-
groupKey:'content',
|
|
32
15
|
value: data.showBack || "Y",
|
|
33
16
|
list: [
|
|
34
17
|
{label: "显示", value: "Y"},
|
|
@@ -40,98 +23,144 @@ export default {
|
|
|
40
23
|
ele: "xd-radio",
|
|
41
24
|
valueKey: "showLocation",
|
|
42
25
|
value: data.showLocation || "N",
|
|
43
|
-
groupKey:'content',
|
|
44
26
|
list: [
|
|
45
27
|
{label: "显示", value: "Y"},
|
|
46
28
|
{label: "不显示", value: "N"}
|
|
47
29
|
]
|
|
48
30
|
},
|
|
31
|
+
// {
|
|
32
|
+
// label: "定位地址非当前城市时",
|
|
33
|
+
// ele: "xd-radio",
|
|
34
|
+
// valueKey: "showSwitchCity",
|
|
35
|
+
// value: data.showSwitchCity || "N",
|
|
36
|
+
// list: [
|
|
37
|
+
// {label: "弹框提示切换", value: "Y"},
|
|
38
|
+
// {label: "不提示", value: "N"}
|
|
39
|
+
// ]
|
|
40
|
+
// },
|
|
41
|
+
data.showLocation==='Y' && {
|
|
42
|
+
label: '选择城市路径:', //label
|
|
43
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
44
|
+
valueKey: 'choseCityPath', //form[valueKey]
|
|
45
|
+
placeholder: '选择城市路径路径',
|
|
46
|
+
value: data['choseCityPath'] || null,
|
|
47
|
+
setting: {
|
|
48
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
49
|
+
},
|
|
50
|
+
inline: false,
|
|
51
|
+
},
|
|
49
52
|
{
|
|
50
|
-
label: "
|
|
53
|
+
label: "是否LOGO",
|
|
51
54
|
ele: "xd-radio",
|
|
52
55
|
valueKey: "showPartner",
|
|
53
56
|
value: data.showPartner || "N",
|
|
54
|
-
groupKey:'content',
|
|
55
57
|
list: [
|
|
56
58
|
{label: "显示", value: "Y"},
|
|
57
59
|
{label: "不显示", value: "N"}
|
|
58
60
|
],
|
|
59
61
|
},
|
|
60
|
-
data.showPartner
|
|
61
|
-
label:
|
|
62
|
+
data.showPartner==="Y" && 0 && {
|
|
63
|
+
label: '加盟商Logo:',
|
|
64
|
+
ele: 'xd-upload',
|
|
65
|
+
valueKey: 'logo',
|
|
66
|
+
value: data.logo || {},
|
|
67
|
+
defaultValue: data.logo || null,
|
|
68
|
+
slot: true,
|
|
69
|
+
oneWidth: 100,
|
|
70
|
+
oneHeight: 100,
|
|
71
|
+
elinputClassName: 'input40',
|
|
72
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
73
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
74
|
+
styleType: 'one',
|
|
75
|
+
uploadType: 'aliyun',
|
|
76
|
+
size: 5,
|
|
77
|
+
action: 'action',
|
|
78
|
+
sort: true,
|
|
79
|
+
maxlen: 100,
|
|
80
|
+
rules: [
|
|
81
|
+
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: "显示标题",
|
|
62
86
|
ele: "xd-radio",
|
|
63
87
|
valueKey: "showPartnerName",
|
|
64
|
-
groupKey:'content',
|
|
65
88
|
value: data.showPartnerName || "N",
|
|
66
89
|
list: [
|
|
67
90
|
{label: "显示", value: "Y"},
|
|
68
91
|
{label: "不显示", value: "N"}
|
|
69
92
|
],
|
|
70
93
|
},
|
|
94
|
+
data.showPartner==="Y" && 0 && {
|
|
95
|
+
label: "加盟商名称:",
|
|
96
|
+
ele: "el-input",
|
|
97
|
+
valueKey: "partnerName",
|
|
98
|
+
value: data.partnerName || "",
|
|
99
|
+
className: "input80"
|
|
100
|
+
},
|
|
71
101
|
{
|
|
72
102
|
label: "搜索框提示文案",
|
|
73
103
|
ele: "el-input",
|
|
74
104
|
placeholder: '请输入搜索框提示文案',
|
|
75
105
|
valueKey: "placeholder",
|
|
76
|
-
groupKey:'content',
|
|
77
106
|
value: data.placeholder || '',
|
|
78
107
|
className: "input80"
|
|
79
108
|
},
|
|
80
109
|
{
|
|
81
|
-
label:
|
|
82
|
-
ele:
|
|
83
|
-
valueKey:
|
|
84
|
-
value: data.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
110
|
+
label: "搜索框是否可用于搜索",
|
|
111
|
+
ele: "xd-radio",
|
|
112
|
+
valueKey: "useSearch",
|
|
113
|
+
value: data.useSearch || "Y",
|
|
114
|
+
list: [
|
|
115
|
+
{label: "用于搜索", value: "Y"},
|
|
116
|
+
{label: "用于跳转搜索页", value: "N"}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
data.useSearch === 'N' && {
|
|
120
|
+
label: '搜索页选中路径:', //label
|
|
121
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
122
|
+
valueKey: 'searchPagePath', //form[valueKey]
|
|
123
|
+
value: data['searchPagePath'] || {},
|
|
124
|
+
setting: {
|
|
125
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
126
|
+
},
|
|
127
|
+
inline: false,
|
|
88
128
|
},
|
|
89
129
|
{
|
|
90
130
|
ele: 'title',
|
|
91
|
-
label: '
|
|
92
|
-
size: 'small',
|
|
93
|
-
groupKey:'style',
|
|
131
|
+
label: '背景设置',
|
|
132
|
+
size: 'small', //default/mini/small
|
|
94
133
|
},
|
|
95
134
|
{
|
|
96
135
|
label: '文字颜色:',
|
|
97
136
|
ele: 'xd-color',
|
|
98
137
|
valueKey: 'textColor',
|
|
99
138
|
value: data.textColor || '',
|
|
100
|
-
placeholder: '
|
|
139
|
+
placeholder: '请选择背景颜色',
|
|
101
140
|
classNmae: 'input80',
|
|
102
|
-
groupKey:'style',
|
|
103
141
|
},
|
|
104
142
|
data.showLocation==='Y'&&{
|
|
105
|
-
label: 'ICON:',
|
|
143
|
+
label: '定位ICON:',
|
|
106
144
|
ele: 'el-input',
|
|
107
145
|
type: 'text',
|
|
108
|
-
groupKey:'style',
|
|
109
146
|
valueKey: 'locationIcon',
|
|
110
147
|
value: data['locationIcon'] || '',
|
|
111
148
|
placeholder: '请输入定位ICON',
|
|
112
149
|
className: 'input80',
|
|
113
150
|
},
|
|
114
151
|
data.showLocation==='Y'&&{
|
|
115
|
-
label: '
|
|
152
|
+
label: '定位背景颜色:',
|
|
116
153
|
ele: 'xd-color',
|
|
117
|
-
groupKey:'style',
|
|
118
154
|
valueKey: 'locationBackgroundColor',
|
|
119
155
|
value: data.locationBackgroundColor || '',
|
|
120
156
|
placeholder: '请选择定位背景颜色',
|
|
121
157
|
classNmae: 'input80',
|
|
122
158
|
},
|
|
123
|
-
{
|
|
124
|
-
ele: 'title',
|
|
125
|
-
label: '搜索框样式设置',
|
|
126
|
-
size: 'small',
|
|
127
|
-
groupKey:'style',
|
|
128
|
-
},
|
|
129
159
|
{
|
|
130
160
|
label: 'ICON:',
|
|
131
161
|
ele: 'el-input',
|
|
132
162
|
type: 'text',
|
|
133
163
|
valueKey: 'icon',
|
|
134
|
-
groupKey:'style',
|
|
135
164
|
value: data['icon'] || '',
|
|
136
165
|
placeholder: '请输入ICON',
|
|
137
166
|
className: 'input80',
|
|
@@ -141,16 +170,22 @@ export default {
|
|
|
141
170
|
ele: 'xd-color',
|
|
142
171
|
valueKey: 'iconColor',
|
|
143
172
|
value: data.iconColor || '',
|
|
144
|
-
groupKey:'style',
|
|
145
173
|
placeholder: '请选择ICON颜色',
|
|
146
174
|
classNmae: 'input80',
|
|
147
175
|
},
|
|
148
176
|
{
|
|
149
177
|
label: '背景颜色:',
|
|
150
178
|
ele: 'xd-color',
|
|
179
|
+
valueKey: 'backgroundColor',
|
|
180
|
+
value: data.backgroundColor || '',
|
|
181
|
+
placeholder: '请选择背景颜色',
|
|
182
|
+
classNmae: 'input80',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
label: '输入框背景颜色:',
|
|
186
|
+
ele: 'xd-color',
|
|
151
187
|
valueKey: 'inputBackgroundColor',
|
|
152
188
|
value: data['inputBackgroundColor'] || '',
|
|
153
|
-
groupKey:'style',
|
|
154
189
|
placeholder: '请选择背景颜色',
|
|
155
190
|
classNmae: 'input80',
|
|
156
191
|
},
|
|
@@ -158,7 +193,6 @@ export default {
|
|
|
158
193
|
label: '输入框文字颜色:',
|
|
159
194
|
ele: 'xd-color',
|
|
160
195
|
valueKey: 'inputTextColor',
|
|
161
|
-
groupKey:'style',
|
|
162
196
|
value: data['inputTextColor'] || '',
|
|
163
197
|
placeholder: '请选择输入框文字颜色',
|
|
164
198
|
classNmae: 'input80',
|
|
@@ -166,8 +200,7 @@ export default {
|
|
|
166
200
|
{
|
|
167
201
|
ele: 'title',
|
|
168
202
|
label: '投影设置',
|
|
169
|
-
size: 'small',
|
|
170
|
-
groupKey:'style',
|
|
203
|
+
size: 'small', //default/mini/small
|
|
171
204
|
},
|
|
172
205
|
{
|
|
173
206
|
label: '是否有投影:',
|
|
@@ -175,7 +208,6 @@ export default {
|
|
|
175
208
|
valueKey: 'is_shadow',
|
|
176
209
|
value: data['is_shadow'] || 'N',
|
|
177
210
|
placeholder: '请选择是否投影',
|
|
178
|
-
groupKey:'style',
|
|
179
211
|
multiple: false,
|
|
180
212
|
className: 'input80',
|
|
181
213
|
list: [
|
|
@@ -188,14 +220,12 @@ export default {
|
|
|
188
220
|
ele: 'xd-color',
|
|
189
221
|
valueKey: 'is_shadow_bg',
|
|
190
222
|
value: data['is_shadow_bg'] || '',
|
|
191
|
-
groupKey:'style',
|
|
192
223
|
placeholder: '请选择投影颜色',
|
|
193
224
|
classNmae: 'input80',
|
|
194
225
|
},
|
|
195
226
|
data['is_shadow'] === 'Y' && {
|
|
196
227
|
label: '投影范围:',
|
|
197
228
|
ele: 'xd-site-select-list',
|
|
198
|
-
groupKey:'style',
|
|
199
229
|
valueKey: 'is_shadow_w',
|
|
200
230
|
value: data['is_shadow_w'] || '10',
|
|
201
231
|
placeholder: '请选择投影范围',
|
|
@@ -217,14 +247,12 @@ export default {
|
|
|
217
247
|
{
|
|
218
248
|
ele: 'title',
|
|
219
249
|
label: '边框设置',
|
|
220
|
-
size: 'small',
|
|
221
|
-
groupKey:'style',
|
|
250
|
+
size: 'small', //default/mini/small
|
|
222
251
|
},
|
|
223
252
|
{
|
|
224
253
|
label: '是否有边框:',
|
|
225
254
|
ele: 'xd-radio',
|
|
226
255
|
valueKey: 'is_border',
|
|
227
|
-
groupKey:'style',
|
|
228
256
|
value: data['is_border'] || 'N',
|
|
229
257
|
placeholder: '请选择是否有边框',
|
|
230
258
|
multiple: false,
|
|
@@ -238,7 +266,6 @@ export default {
|
|
|
238
266
|
label: '边框颜色:',
|
|
239
267
|
ele: 'xd-color',
|
|
240
268
|
valueKey: 'is_border_c',
|
|
241
|
-
groupKey:'style',
|
|
242
269
|
value: data['is_border_c'] || '',
|
|
243
270
|
placeholder: '请选择边框颜色',
|
|
244
271
|
classNmae: 'input80',
|
|
@@ -247,43 +274,18 @@ export default {
|
|
|
247
274
|
label: '边框大小:',
|
|
248
275
|
ele: 'el-input',
|
|
249
276
|
type: 'number',
|
|
250
|
-
groupKey:'style',
|
|
251
277
|
valueKey: 'is_border_w',
|
|
252
278
|
value: data['is_border_w'] || '',
|
|
253
279
|
placeholder: '请输入边框颜色',
|
|
254
280
|
className: 'input80',
|
|
255
281
|
},
|
|
256
282
|
{
|
|
257
|
-
label: '
|
|
258
|
-
ele: '
|
|
259
|
-
valueKey: 'searchPagePath',
|
|
260
|
-
value: data['searchPagePath'] || {},
|
|
261
|
-
setting: {
|
|
262
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
263
|
-
},
|
|
264
|
-
groupKey:'advanced',
|
|
265
|
-
inline:false,
|
|
266
|
-
notice:'搜索框“<span style="color:red">用于跳转搜索页</span>”时候生效',
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
label: '城市选择链接:',
|
|
270
|
-
ele: 'xd-select-pages-path',
|
|
271
|
-
valueKey: 'choseCityPath',
|
|
272
|
-
groupKey:'advanced',
|
|
273
|
-
placeholder: '选择城城市选择链接',
|
|
274
|
-
value: data['choseCityPath'] || null,
|
|
275
|
-
setting: {
|
|
276
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
277
|
-
},
|
|
278
|
-
inline: false,
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
label: '',
|
|
282
|
-
ele: 'slot',
|
|
283
|
+
label: '', //label
|
|
284
|
+
ele: 'slot', //package 名称
|
|
283
285
|
slot: 'is_reference',
|
|
284
|
-
groupKey:'advanced',
|
|
285
286
|
},
|
|
286
287
|
].filter(i=>i)
|
|
287
288
|
},
|
|
288
|
-
advanced: [
|
|
289
|
+
advanced: [
|
|
290
|
+
],
|
|
289
291
|
};
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}"
|
|
24
24
|
>
|
|
25
25
|
<view class="header_wrap-back" @click="onJfbBack" v-if="showBack==='Y'">
|
|
26
|
-
<xd-font-icon :size="30" :color="
|
|
26
|
+
<xd-font-icon :size="30" :color="iconColor" icon="iconxiangzuo_xian"/>
|
|
27
27
|
</view>
|
|
28
28
|
<view v-if="showPartner==='Y'" class="name_logo">
|
|
29
29
|
<view v-if="logo" class="logo">
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
mixins: [componentsMixins,extsMixins,JfbBaseHeaderMixin],
|
|
86
86
|
computed:{
|
|
87
87
|
...mapState(['siteInfo']),
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
boxShadow() {
|
|
90
90
|
if (this.is_shadow === 'Y') return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
|
|
91
91
|
else return '0 0 0 rgba(0,0,0,0)';
|
|
@@ -112,25 +112,25 @@
|
|
|
112
112
|
searchPagePath: "",
|
|
113
113
|
placeholder: "搜索商品名称",
|
|
114
114
|
choseCityPath: "", //选择城市i
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
|
|
116
|
+
|
|
117
117
|
//基础
|
|
118
118
|
textColor: '',
|
|
119
119
|
backgroundColor: '',
|
|
120
120
|
inputBackgroundColor: '',
|
|
121
121
|
inputTextColor: '',
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
|
|
123
|
+
|
|
124
124
|
//ICON
|
|
125
125
|
icon: '',
|
|
126
126
|
iconColor: '',
|
|
127
|
-
|
|
127
|
+
|
|
128
128
|
//投影
|
|
129
129
|
is_shadow: 'Y',
|
|
130
130
|
is_shadow_bg: 0,
|
|
131
131
|
is_shadow_w: 0,
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
|
|
133
|
+
|
|
134
134
|
//边框
|
|
135
135
|
is_border: 'Y',
|
|
136
136
|
is_border_w: 0,
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
//定位ICON
|
|
140
140
|
locationIcon: "",
|
|
141
141
|
locationBackgroundColor: ""
|
|
142
|
-
|
|
142
|
+
|
|
143
143
|
//
|
|
144
144
|
}
|
|
145
145
|
},
|
|
@@ -169,8 +169,9 @@
|
|
|
169
169
|
this.useSearch = getContainerPropsValue(container, "content.useSearch", "Y");
|
|
170
170
|
this.searchPagePath = getContainerPropsValue(container, "content.searchPagePath", {value:""}).value;
|
|
171
171
|
this.choseCityPath = getContainerPropsValue(container, "content.choseCityPath", {value:""}).value;
|
|
172
|
+
// this.showSwitchCity = getContainerPropsValue(container, "content.showSwitchCity", "N");
|
|
172
173
|
|
|
173
|
-
|
|
174
|
+
|
|
174
175
|
//基础
|
|
175
176
|
this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", '#fff');
|
|
176
177
|
this.icon = getContainerPropsValue(container, "content.icon", 'iconsousuo_mian');
|
|
@@ -184,23 +185,23 @@
|
|
|
184
185
|
this.is_shadow = getContainerPropsValue(container, 'content.is_shadow', 'N');
|
|
185
186
|
this.is_shadow_bg = getContainerPropsValue(container, 'content.is_shadow_bg', '#fff');
|
|
186
187
|
this.is_shadow_w = getContainerPropsValue(container, 'content.is_shadow_w', '10');
|
|
187
|
-
|
|
188
|
+
|
|
188
189
|
this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
|
|
189
190
|
this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
|
|
190
191
|
this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', '2');
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
let name
|
|
195
|
-
if (this.projectAttr['site_name'])
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
let name,logo, platform_logo;
|
|
196
|
+
if (this.projectAttr['site_name'])name = this.projectAttr['site_name'];
|
|
196
197
|
if (this['siteInfo'] && this['siteInfo']['mapping'] && this['siteInfo']['mapping']['site_name']) name = this['siteInfo']['mapping']['site_name'];
|
|
197
198
|
if (this.projectAttr['site_logo']) logo = getServiceUrl(this.projectAttr['site_logo'], 'size3');
|
|
198
199
|
if (this.projectAttr['platform_logo']) platform_logo = getServiceUrl(this.projectAttr['platform_logo'], 'size3');
|
|
199
200
|
this.logo = platform_logo || logo || '//dummyimage.com/100x100';
|
|
200
201
|
this.partnerName = name || '聚福宝福利';
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
204
205
|
},
|
|
205
206
|
handleInput(e){
|
|
206
207
|
if(this.timer) clearTimeout(this.timer);
|
|
@@ -215,7 +216,7 @@
|
|
|
215
216
|
})
|
|
216
217
|
}
|
|
217
218
|
},
|
|
218
|
-
|
|
219
|
+
|
|
219
220
|
/***
|
|
220
221
|
* @description 定位完成事件
|
|
221
222
|
* @param city
|
|
@@ -225,13 +226,13 @@
|
|
|
225
226
|
this.city = city;
|
|
226
227
|
jfbRootFnExec(this, 'onCustomEvent')("baseHeader@city", city);
|
|
227
228
|
},
|
|
228
|
-
|
|
229
|
+
|
|
229
230
|
handleCityChange() {
|
|
230
231
|
this.$xdUniHelper.navigateTo({
|
|
231
232
|
url: this.choseCityPath
|
|
232
233
|
},true)
|
|
233
234
|
},
|
|
234
|
-
|
|
235
|
+
|
|
235
236
|
onJfbBack(options) {
|
|
236
237
|
if(getCurrentPages().length === 1 ) {
|
|
237
238
|
this.$xdUniHelper.redirectTo({
|
|
@@ -261,7 +262,7 @@
|
|
|
261
262
|
display: flex;
|
|
262
263
|
justify-content: space-between;
|
|
263
264
|
align-items: center;
|
|
264
|
-
|
|
265
|
+
|
|
265
266
|
&-back {
|
|
266
267
|
padding-left: unit(20, rpx);
|
|
267
268
|
height: unit(110, rpx);
|
|
@@ -270,7 +271,7 @@
|
|
|
270
271
|
align-items: center;
|
|
271
272
|
flex-shrink: 0;
|
|
272
273
|
}
|
|
273
|
-
|
|
274
|
+
|
|
274
275
|
&-city {
|
|
275
276
|
height: unit(110, rpx);
|
|
276
277
|
padding-left: unit(20, rpx);
|
|
@@ -279,14 +280,14 @@
|
|
|
279
280
|
align-items: center;
|
|
280
281
|
flex-shrink: 0;
|
|
281
282
|
}
|
|
282
|
-
|
|
283
|
+
|
|
283
284
|
.name_logo{
|
|
284
285
|
display: flex;
|
|
285
286
|
align-items: center;
|
|
286
287
|
flex-shrink: 0;
|
|
287
288
|
height: unit(60, rpx);
|
|
288
289
|
padding-left: unit(20, rpx);
|
|
289
|
-
|
|
290
|
+
|
|
290
291
|
.logo{
|
|
291
292
|
margin-right: unit(20, rpx);
|
|
292
293
|
height: 100%;
|
|
@@ -303,7 +304,7 @@
|
|
|
303
304
|
font-size: unit(28, rpx);
|
|
304
305
|
}
|
|
305
306
|
}
|
|
306
|
-
|
|
307
|
+
|
|
307
308
|
.search_wrap{
|
|
308
309
|
margin-left: unit(20, rpx);
|
|
309
310
|
flex: 1;
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-header {
|
|
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-header {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
style: [],
|
|
5
|
+
advanced: [],
|
|
6
|
+
content: [
|
|
7
|
+
{
|
|
8
|
+
label: '背景颜色:', //label
|
|
9
|
+
ele: 'xd-color', //package 名称
|
|
10
|
+
valueKey: 'bgcolor', //form[valueKey]
|
|
11
|
+
value: '', //v-model
|
|
12
|
+
placeholder: '请输入占位框背景颜色',
|
|
13
|
+
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
14
|
+
rules: [
|
|
15
|
+
{
|
|
16
|
+
required: true,
|
|
17
|
+
message: '请输入占位框背景颜色',
|
|
18
|
+
trigger: 'blur'
|
|
19
|
+
},
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
label: '分割线高度:', //label
|
|
24
|
+
ele: 'el-input', //package 名称
|
|
25
|
+
type: 'number',
|
|
26
|
+
valueKey: 'height', //form[valueKey]
|
|
27
|
+
value: 1, //v-model
|
|
28
|
+
placeholder: '请输入分割线高度,单位像素',
|
|
29
|
+
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
30
|
+
rules: [
|
|
31
|
+
{
|
|
32
|
+
required: true,
|
|
33
|
+
message: '请输入分割线高度',
|
|
34
|
+
trigger: 'blur'
|
|
35
|
+
},
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: '分割线边距:', //label
|
|
40
|
+
ele: 'xd-margin-padding', //package 名称
|
|
41
|
+
valueKey: 'margin', //form[valueKey]
|
|
42
|
+
value: null, //v-model
|
|
43
|
+
placeholder: '请输入分割线边距',
|
|
44
|
+
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
required: true,
|
|
48
|
+
message: '请输入分割线边距,单位像素',
|
|
49
|
+
trigger: 'blur'
|
|
50
|
+
},
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: '', //label
|
|
55
|
+
ele: 'slot', //package 名称
|
|
56
|
+
slot: 'is_reference',
|
|
57
|
+
},
|
|
58
|
+
]
|
|
59
|
+
}
|