jufubao-base 1.0.132-beta1 → 1.0.132-beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
- package/src/components/JfbBaseAddress/Attr.js +11 -5
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
- package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
- package/src/components/JfbBaseBackground/Attr.js +9 -8
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
- package/src/components/JfbBaseBlock/Attr.js +12 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
- package/src/components/JfbBaseCard/Attr.js +76 -34
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
- package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
- package/src/components/JfbBaseCardDetail/Attr.js +4 -3
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
- package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
- package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
- package/src/components/JfbBaseCardEntry/Attr.js +86 -67
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +3 -2
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
- package/src/components/JfbBaseCardInfo/Attr.js +22 -16
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
- package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
- package/src/components/JfbBaseCardMerge/Attr.js +21 -8
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
- package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
- package/src/components/JfbBaseCardShift/Attr.js +18 -4
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
- package/src/components/JfbBaseCardShift/Mock.js +21 -0
- package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
- package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
- package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
- package/src/components/JfbBaseCardV2/Attr.js +19 -15
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
- package/src/components/JfbBaseCardV3/Attr.js +16 -12
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
- package/src/components/JfbBaseCity/Attr.js +2 -4
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
- package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
- package/src/components/JfbBaseConDialog/Api.js +1 -1
- package/src/components/JfbBaseConDialog/Attr.js +30 -20
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
- package/src/components/JfbBaseConDialog/Mock.js +20 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
- package/src/components/JfbBaseConList/Attr.js +149 -224
- package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
- package/src/components/JfbBaseEntry/Attr.js +33 -21
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
- package/src/components/JfbBaseFastLink/Api.js +1 -54
- package/src/components/JfbBaseFastLink/Attr.js +168 -116
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
- package/src/components/JfbBaseFooter/Attr.js +28 -22
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
- package/src/components/JfbBaseHeader/Attr.js +89 -91
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
- package/src/components/JfbBaseLogin/Attr.js +111 -88
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -1
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
- package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
- package/src/components/JfbBaseMapSearch/Attr.js +0 -15
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
- package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
- package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
- package/src/components/JfbBaseNotice/Attr.js +97 -56
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
- package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +9 -3
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
- package/src/components/JfbBaseOrderList/Attr.js +55 -43
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
- package/src/components/JfbBasePay/Attr.js +2 -13
- package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
- package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
- package/src/components/JfbBasePay/Mock.js +2 -1
- package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
- package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
- package/src/components/JfbBasePoster/Attr.js +103 -83
- package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +44 -33
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
- package/src/components/JfbBasePosterType/Attr.js +82 -48
- package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
- package/src/components/JfbBaseRecharge/Attr.js +35 -23
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
- package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
- package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
- package/src/components/JfbBaseSearch/Attr.js +6 -148
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
- package/src/components/JfbBaseSetPwd/Attr.js +6 -147
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
- package/src/components/JfbBaseSuccess/Attr.js +78 -17
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +1 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
- package/src/components/JfbBaseUserCenter/Attr.js +72 -53
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
- package/src/components/JfbBaseUserInfo/Attr.js +54 -45
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
- package/src/components/JfbBaseUserOrder/Attr.js +118 -92
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
- package/src/components/JfbBaseVideo/Attr.js +72 -19
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
- package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
- package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
- package/src/components/JfbBaseLine/Attr.js +0 -59
- package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
- package/src/components/JfbBasePosterType/Screen.vue +0 -284
- package/src/components/JfbBaseSearch/Api.js +0 -60
- package/src/components/JfbBaseSearch/Mock.js +0 -5
|
@@ -6,12 +6,29 @@
|
|
|
6
6
|
export default {
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
|
-
console.log("aaa11",data)
|
|
10
9
|
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
|
+
},
|
|
11
27
|
{
|
|
12
28
|
label: "是否显示返回箭头",
|
|
13
29
|
ele: "xd-radio",
|
|
14
30
|
valueKey: "showBack",
|
|
31
|
+
groupKey:'content',
|
|
15
32
|
value: data.showBack || "Y",
|
|
16
33
|
list: [
|
|
17
34
|
{label: "显示", value: "Y"},
|
|
@@ -23,144 +40,98 @@ export default {
|
|
|
23
40
|
ele: "xd-radio",
|
|
24
41
|
valueKey: "showLocation",
|
|
25
42
|
value: data.showLocation || "N",
|
|
43
|
+
groupKey:'content',
|
|
26
44
|
list: [
|
|
27
45
|
{label: "显示", value: "Y"},
|
|
28
46
|
{label: "不显示", value: "N"}
|
|
29
47
|
]
|
|
30
48
|
},
|
|
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
|
-
},
|
|
52
49
|
{
|
|
53
|
-
label: "
|
|
50
|
+
label: "是否显示站点信息",
|
|
54
51
|
ele: "xd-radio",
|
|
55
52
|
valueKey: "showPartner",
|
|
56
53
|
value: data.showPartner || "N",
|
|
54
|
+
groupKey:'content',
|
|
57
55
|
list: [
|
|
58
56
|
{label: "显示", value: "Y"},
|
|
59
57
|
{label: "不显示", value: "N"}
|
|
60
58
|
],
|
|
61
59
|
},
|
|
62
|
-
data.showPartner===
|
|
63
|
-
label:
|
|
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: "显示标题",
|
|
60
|
+
data.showPartner === 'Y' && {
|
|
61
|
+
label: "是否显示站点名称",
|
|
86
62
|
ele: "xd-radio",
|
|
87
63
|
valueKey: "showPartnerName",
|
|
64
|
+
groupKey:'content',
|
|
88
65
|
value: data.showPartnerName || "N",
|
|
89
66
|
list: [
|
|
90
67
|
{label: "显示", value: "Y"},
|
|
91
68
|
{label: "不显示", value: "N"}
|
|
92
69
|
],
|
|
93
70
|
},
|
|
94
|
-
data.showPartner==="Y" && 0 && {
|
|
95
|
-
label: "加盟商名称:",
|
|
96
|
-
ele: "el-input",
|
|
97
|
-
valueKey: "partnerName",
|
|
98
|
-
value: data.partnerName || "",
|
|
99
|
-
className: "input80"
|
|
100
|
-
},
|
|
101
71
|
{
|
|
102
72
|
label: "搜索框提示文案",
|
|
103
73
|
ele: "el-input",
|
|
104
74
|
placeholder: '请输入搜索框提示文案',
|
|
105
75
|
valueKey: "placeholder",
|
|
76
|
+
groupKey:'content',
|
|
106
77
|
value: data.placeholder || '',
|
|
107
78
|
className: "input80"
|
|
108
79
|
},
|
|
109
80
|
{
|
|
110
|
-
label:
|
|
111
|
-
ele:
|
|
112
|
-
valueKey:
|
|
113
|
-
value: data.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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,
|
|
81
|
+
label: '背景颜色:',
|
|
82
|
+
ele: 'xd-color',
|
|
83
|
+
valueKey: 'backgroundColor',
|
|
84
|
+
value: data.backgroundColor || '',
|
|
85
|
+
placeholder: '请选择背景颜色',
|
|
86
|
+
classNmae: 'input80',
|
|
87
|
+
groupKey:'style',
|
|
128
88
|
},
|
|
129
89
|
{
|
|
130
90
|
ele: 'title',
|
|
131
|
-
label: '
|
|
132
|
-
size: 'small',
|
|
91
|
+
label: '定位功能样式设置',
|
|
92
|
+
size: 'small',
|
|
93
|
+
groupKey:'style',
|
|
133
94
|
},
|
|
134
95
|
{
|
|
135
96
|
label: '文字颜色:',
|
|
136
97
|
ele: 'xd-color',
|
|
137
98
|
valueKey: 'textColor',
|
|
138
99
|
value: data.textColor || '',
|
|
139
|
-
placeholder: '
|
|
100
|
+
placeholder: '请选择文字颜色',
|
|
140
101
|
classNmae: 'input80',
|
|
102
|
+
groupKey:'style',
|
|
141
103
|
},
|
|
142
104
|
data.showLocation==='Y'&&{
|
|
143
|
-
label: '
|
|
105
|
+
label: 'ICON:',
|
|
144
106
|
ele: 'el-input',
|
|
145
107
|
type: 'text',
|
|
108
|
+
groupKey:'style',
|
|
146
109
|
valueKey: 'locationIcon',
|
|
147
110
|
value: data['locationIcon'] || '',
|
|
148
111
|
placeholder: '请输入定位ICON',
|
|
149
112
|
className: 'input80',
|
|
150
113
|
},
|
|
151
114
|
data.showLocation==='Y'&&{
|
|
152
|
-
label: '
|
|
115
|
+
label: '背景颜色:',
|
|
153
116
|
ele: 'xd-color',
|
|
117
|
+
groupKey:'style',
|
|
154
118
|
valueKey: 'locationBackgroundColor',
|
|
155
119
|
value: data.locationBackgroundColor || '',
|
|
156
120
|
placeholder: '请选择定位背景颜色',
|
|
157
121
|
classNmae: 'input80',
|
|
158
122
|
},
|
|
123
|
+
{
|
|
124
|
+
ele: 'title',
|
|
125
|
+
label: '搜索框样式设置',
|
|
126
|
+
size: 'small',
|
|
127
|
+
groupKey:'style',
|
|
128
|
+
},
|
|
159
129
|
{
|
|
160
130
|
label: 'ICON:',
|
|
161
131
|
ele: 'el-input',
|
|
162
132
|
type: 'text',
|
|
163
133
|
valueKey: 'icon',
|
|
134
|
+
groupKey:'style',
|
|
164
135
|
value: data['icon'] || '',
|
|
165
136
|
placeholder: '请输入ICON',
|
|
166
137
|
className: 'input80',
|
|
@@ -170,22 +141,16 @@ export default {
|
|
|
170
141
|
ele: 'xd-color',
|
|
171
142
|
valueKey: 'iconColor',
|
|
172
143
|
value: data.iconColor || '',
|
|
144
|
+
groupKey:'style',
|
|
173
145
|
placeholder: '请选择ICON颜色',
|
|
174
146
|
classNmae: 'input80',
|
|
175
147
|
},
|
|
176
148
|
{
|
|
177
149
|
label: '背景颜色:',
|
|
178
150
|
ele: 'xd-color',
|
|
179
|
-
valueKey: 'backgroundColor',
|
|
180
|
-
value: data.backgroundColor || '',
|
|
181
|
-
placeholder: '请选择背景颜色',
|
|
182
|
-
classNmae: 'input80',
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
label: '输入框背景颜色:',
|
|
186
|
-
ele: 'xd-color',
|
|
187
151
|
valueKey: 'inputBackgroundColor',
|
|
188
152
|
value: data['inputBackgroundColor'] || '',
|
|
153
|
+
groupKey:'style',
|
|
189
154
|
placeholder: '请选择背景颜色',
|
|
190
155
|
classNmae: 'input80',
|
|
191
156
|
},
|
|
@@ -193,6 +158,7 @@ export default {
|
|
|
193
158
|
label: '输入框文字颜色:',
|
|
194
159
|
ele: 'xd-color',
|
|
195
160
|
valueKey: 'inputTextColor',
|
|
161
|
+
groupKey:'style',
|
|
196
162
|
value: data['inputTextColor'] || '',
|
|
197
163
|
placeholder: '请选择输入框文字颜色',
|
|
198
164
|
classNmae: 'input80',
|
|
@@ -200,7 +166,8 @@ export default {
|
|
|
200
166
|
{
|
|
201
167
|
ele: 'title',
|
|
202
168
|
label: '投影设置',
|
|
203
|
-
size: 'small',
|
|
169
|
+
size: 'small',
|
|
170
|
+
groupKey:'style',
|
|
204
171
|
},
|
|
205
172
|
{
|
|
206
173
|
label: '是否有投影:',
|
|
@@ -208,6 +175,7 @@ export default {
|
|
|
208
175
|
valueKey: 'is_shadow',
|
|
209
176
|
value: data['is_shadow'] || 'N',
|
|
210
177
|
placeholder: '请选择是否投影',
|
|
178
|
+
groupKey:'style',
|
|
211
179
|
multiple: false,
|
|
212
180
|
className: 'input80',
|
|
213
181
|
list: [
|
|
@@ -220,12 +188,14 @@ export default {
|
|
|
220
188
|
ele: 'xd-color',
|
|
221
189
|
valueKey: 'is_shadow_bg',
|
|
222
190
|
value: data['is_shadow_bg'] || '',
|
|
191
|
+
groupKey:'style',
|
|
223
192
|
placeholder: '请选择投影颜色',
|
|
224
193
|
classNmae: 'input80',
|
|
225
194
|
},
|
|
226
195
|
data['is_shadow'] === 'Y' && {
|
|
227
196
|
label: '投影范围:',
|
|
228
197
|
ele: 'xd-site-select-list',
|
|
198
|
+
groupKey:'style',
|
|
229
199
|
valueKey: 'is_shadow_w',
|
|
230
200
|
value: data['is_shadow_w'] || '10',
|
|
231
201
|
placeholder: '请选择投影范围',
|
|
@@ -247,12 +217,14 @@ export default {
|
|
|
247
217
|
{
|
|
248
218
|
ele: 'title',
|
|
249
219
|
label: '边框设置',
|
|
250
|
-
size: 'small',
|
|
220
|
+
size: 'small',
|
|
221
|
+
groupKey:'style',
|
|
251
222
|
},
|
|
252
223
|
{
|
|
253
224
|
label: '是否有边框:',
|
|
254
225
|
ele: 'xd-radio',
|
|
255
226
|
valueKey: 'is_border',
|
|
227
|
+
groupKey:'style',
|
|
256
228
|
value: data['is_border'] || 'N',
|
|
257
229
|
placeholder: '请选择是否有边框',
|
|
258
230
|
multiple: false,
|
|
@@ -266,6 +238,7 @@ export default {
|
|
|
266
238
|
label: '边框颜色:',
|
|
267
239
|
ele: 'xd-color',
|
|
268
240
|
valueKey: 'is_border_c',
|
|
241
|
+
groupKey:'style',
|
|
269
242
|
value: data['is_border_c'] || '',
|
|
270
243
|
placeholder: '请选择边框颜色',
|
|
271
244
|
classNmae: 'input80',
|
|
@@ -274,18 +247,43 @@ export default {
|
|
|
274
247
|
label: '边框大小:',
|
|
275
248
|
ele: 'el-input',
|
|
276
249
|
type: 'number',
|
|
250
|
+
groupKey:'style',
|
|
277
251
|
valueKey: 'is_border_w',
|
|
278
252
|
value: data['is_border_w'] || '',
|
|
279
253
|
placeholder: '请输入边框颜色',
|
|
280
254
|
className: 'input80',
|
|
281
255
|
},
|
|
282
256
|
{
|
|
283
|
-
label: '',
|
|
284
|
-
ele: '
|
|
257
|
+
label: '搜索页面链接:',
|
|
258
|
+
ele: 'xd-select-pages-path',
|
|
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',
|
|
285
283
|
slot: 'is_reference',
|
|
284
|
+
groupKey:'advanced',
|
|
286
285
|
},
|
|
287
286
|
].filter(i=>i)
|
|
288
287
|
},
|
|
289
|
-
advanced: [
|
|
290
|
-
],
|
|
288
|
+
advanced: [],
|
|
291
289
|
};
|
|
@@ -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="textColor" 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,9 +169,8 @@
|
|
|
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");
|
|
173
172
|
|
|
174
|
-
|
|
173
|
+
|
|
175
174
|
//基础
|
|
176
175
|
this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", '#fff');
|
|
177
176
|
this.icon = getContainerPropsValue(container, "content.icon", 'iconsousuo_mian');
|
|
@@ -185,23 +184,23 @@
|
|
|
185
184
|
this.is_shadow = getContainerPropsValue(container, 'content.is_shadow', 'N');
|
|
186
185
|
this.is_shadow_bg = getContainerPropsValue(container, 'content.is_shadow_bg', '#fff');
|
|
187
186
|
this.is_shadow_w = getContainerPropsValue(container, 'content.is_shadow_w', '10');
|
|
188
|
-
|
|
187
|
+
|
|
189
188
|
this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
|
|
190
189
|
this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
|
|
191
190
|
this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', '2');
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
let name,logo, platform_logo;
|
|
196
|
-
if (this.projectAttr['site_name'])name = this.projectAttr['site_name'];
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
let name , logo, platform_logo;
|
|
195
|
+
if (this.projectAttr['site_name']) name = this.projectAttr['site_name'];
|
|
197
196
|
if (this['siteInfo'] && this['siteInfo']['mapping'] && this['siteInfo']['mapping']['site_name']) name = this['siteInfo']['mapping']['site_name'];
|
|
198
197
|
if (this.projectAttr['site_logo']) logo = getServiceUrl(this.projectAttr['site_logo'], 'size3');
|
|
199
198
|
if (this.projectAttr['platform_logo']) platform_logo = getServiceUrl(this.projectAttr['platform_logo'], 'size3');
|
|
200
199
|
this.logo = platform_logo || logo || '//dummyimage.com/100x100';
|
|
201
200
|
this.partnerName = name || '聚福宝福利';
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
205
204
|
},
|
|
206
205
|
handleInput(e){
|
|
207
206
|
if(this.timer) clearTimeout(this.timer);
|
|
@@ -216,7 +215,7 @@
|
|
|
216
215
|
})
|
|
217
216
|
}
|
|
218
217
|
},
|
|
219
|
-
|
|
218
|
+
|
|
220
219
|
/***
|
|
221
220
|
* @description 定位完成事件
|
|
222
221
|
* @param city
|
|
@@ -226,13 +225,13 @@
|
|
|
226
225
|
this.city = city;
|
|
227
226
|
jfbRootFnExec(this, 'onCustomEvent')("baseHeader@city", city);
|
|
228
227
|
},
|
|
229
|
-
|
|
228
|
+
|
|
230
229
|
handleCityChange() {
|
|
231
230
|
this.$xdUniHelper.navigateTo({
|
|
232
231
|
url: this.choseCityPath
|
|
233
232
|
},true)
|
|
234
233
|
},
|
|
235
|
-
|
|
234
|
+
|
|
236
235
|
onJfbBack(options) {
|
|
237
236
|
if(getCurrentPages().length === 1 ) {
|
|
238
237
|
this.$xdUniHelper.redirectTo({
|
|
@@ -262,7 +261,7 @@
|
|
|
262
261
|
display: flex;
|
|
263
262
|
justify-content: space-between;
|
|
264
263
|
align-items: center;
|
|
265
|
-
|
|
264
|
+
|
|
266
265
|
&-back {
|
|
267
266
|
padding-left: unit(20, rpx);
|
|
268
267
|
height: unit(110, rpx);
|
|
@@ -271,7 +270,7 @@
|
|
|
271
270
|
align-items: center;
|
|
272
271
|
flex-shrink: 0;
|
|
273
272
|
}
|
|
274
|
-
|
|
273
|
+
|
|
275
274
|
&-city {
|
|
276
275
|
height: unit(110, rpx);
|
|
277
276
|
padding-left: unit(20, rpx);
|
|
@@ -280,14 +279,14 @@
|
|
|
280
279
|
align-items: center;
|
|
281
280
|
flex-shrink: 0;
|
|
282
281
|
}
|
|
283
|
-
|
|
282
|
+
|
|
284
283
|
.name_logo{
|
|
285
284
|
display: flex;
|
|
286
285
|
align-items: center;
|
|
287
286
|
flex-shrink: 0;
|
|
288
287
|
height: unit(60, rpx);
|
|
289
288
|
padding-left: unit(20, rpx);
|
|
290
|
-
|
|
289
|
+
|
|
291
290
|
.logo{
|
|
292
291
|
margin-right: unit(20, rpx);
|
|
293
292
|
height: 100%;
|
|
@@ -304,7 +303,7 @@
|
|
|
304
303
|
font-size: unit(28, rpx);
|
|
305
304
|
}
|
|
306
305
|
}
|
|
307
|
-
|
|
306
|
+
|
|
308
307
|
.search_wrap{
|
|
309
308
|
margin-left: unit(20, rpx);
|
|
310
309
|
flex: 1;
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-header {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
17
|
+
min-height: unit(100, rpx);
|
|
19
18
|
|
|
20
19
|
&__body{
|
|
21
20
|
position: relative;
|
|
@@ -23,21 +22,21 @@
|
|
|
23
22
|
z-index: 2
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
&.editx {
|
|
25
|
+
&.editx,&:hover {
|
|
27
26
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
z-index: 3;
|
|
28
|
+
&::after {
|
|
29
|
+
border: 2rpx dashed blue;
|
|
30
|
+
content: " ";
|
|
31
|
+
position: absolute;
|
|
32
|
+
top:0;
|
|
33
|
+
left:0;
|
|
34
|
+
bottom:0;
|
|
35
|
+
right:0;
|
|
36
|
+
z-index: 4;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
37
39
|
|
|
38
|
-
&.noBorder {
|
|
39
|
-
border-color: rgba(0,0,0,0);
|
|
40
|
-
border-width: 0;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
|
|
@@ -72,9 +71,9 @@
|
|
|
72
71
|
|
|
73
72
|
/**notPreview**/
|
|
74
73
|
.jfb-base-header {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|