jufubao-base 1.0.134-beta9 → 1.0.135
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 +36 -78
- package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
- 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/JfbBaseCardBindV2.vue +1 -3
- 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/JfbBaseCardDetailEntry.vue +13 -4
- 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/Api.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +67 -86
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +5 -6
- 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 +17 -21
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
- package/src/components/JfbBaseCardV3/Attr.js +14 -18
- 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/JfbBaseClear.vue +9 -9
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
- package/src/components/JfbBaseConDialog/Api.js +2 -2
- package/src/components/JfbBaseConDialog/Attr.js +14 -23
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +35 -63
- 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/Api.js +1 -1
- 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/Api.js +1 -1
- package/src/components/JfbBaseLogin/Attr.js +88 -111
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +5 -4
- 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 +58 -109
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +54 -82
- 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 -5
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
- package/src/components/JfbBaseOrderList/Attr.js +44 -56
- 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 +143 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
- package/src/components/JfbBasePoster/MoreScreen.vue +2 -7
- package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +9 -10
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +34 -47
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +51 -52
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
- package/src/components/JfbBasePosterType/Attr.js +48 -82
- package/src/components/JfbBasePosterType/FourScreen.vue +4 -14
- 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 +19 -89
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +26 -48
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
- package/src/components/JfbBaseSuccess/Mock.js +0 -8
- package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
- 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 +94 -119
- 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/Attr.js +19 -27
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
- package/src/components/JfbBaseWalletDetail/Attr.js +6 -2
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
- package/src/components/JfbBaseWalletIndex/Attr.js +1 -3
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
- package/src/components/JfbBaseWalletItem/Attr.js +1 -3
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
- package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
- package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +28 -34
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
- package/src/components/JfbBaseCardShift/Mock.js +0 -21
- package/src/components/JfbBaseClear/Attr.js +0 -17
|
@@ -11,152 +11,86 @@ export default {
|
|
|
11
11
|
label: '',
|
|
12
12
|
ele: 'slot',
|
|
13
13
|
slot: 'is_reference_title',
|
|
14
|
-
groupKey:'advanced',
|
|
15
14
|
},
|
|
16
15
|
{
|
|
17
|
-
label: '
|
|
18
|
-
ele: 'xd-
|
|
19
|
-
valueKey: '
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
{"label": "已取消", "value": 'cancel'},
|
|
32
|
-
{"label": "已完成", "value": 'com'},
|
|
33
|
-
])
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
inline: false,
|
|
37
|
-
notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
|
|
38
|
-
rules: [
|
|
39
|
-
{required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
|
|
40
|
-
],
|
|
16
|
+
label: '文字颜色:',
|
|
17
|
+
ele: 'xd-color',
|
|
18
|
+
valueKey: 'textColor',
|
|
19
|
+
value: data['textColor'] || '',
|
|
20
|
+
placeholder: '请选择文字颜色',
|
|
21
|
+
classNmae: 'input80',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: 'ICON颜色:',
|
|
25
|
+
ele: 'xd-color',
|
|
26
|
+
valueKey: 'iconColor',
|
|
27
|
+
value: data['iconColor'] || '',
|
|
28
|
+
placeholder: '请选择ICON颜色',
|
|
29
|
+
classNmae: 'input80',
|
|
41
30
|
},
|
|
42
31
|
{
|
|
43
32
|
label: '背景颜色:',
|
|
44
33
|
ele: 'xd-color',
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
value: data['bodyBackgroundColor'] || null,
|
|
34
|
+
valueKey: 'backgroundColor',
|
|
35
|
+
value: data['backgroundColor'] || '',
|
|
48
36
|
placeholder: '请选择背景颜色',
|
|
49
37
|
classNmae: 'input80',
|
|
50
38
|
},
|
|
51
39
|
{
|
|
52
|
-
label: '
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
multiple: false,
|
|
59
|
-
className: 'input60',
|
|
60
|
-
handleCustom({action, data}) {
|
|
61
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
62
|
-
.then(res => {
|
|
63
|
-
data.cb(res.list)
|
|
64
|
-
})
|
|
65
|
-
.catch(error => {
|
|
66
|
-
console.error(error);
|
|
67
|
-
});
|
|
68
|
-
},
|
|
40
|
+
label: '文字颜色:',
|
|
41
|
+
ele: 'xd-color',
|
|
42
|
+
valueKey: 'cardNameColor',
|
|
43
|
+
value: data['cardNameColor'] || null,
|
|
44
|
+
placeholder: '请选择卡券文字颜色',
|
|
45
|
+
classNmae: 'input80',
|
|
69
46
|
},
|
|
70
47
|
{
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
valueKey: 'spacing',
|
|
75
|
-
groupKey:'style',
|
|
76
|
-
value: data.spacing || '',
|
|
77
|
-
placeholder: '请输入间距',
|
|
78
|
-
className: 'input60',
|
|
79
|
-
inline: false,
|
|
80
|
-
notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
48
|
+
ele: 'title',
|
|
49
|
+
label: '整体风格',
|
|
50
|
+
size: 'small', //default/mini/small
|
|
81
51
|
},
|
|
82
52
|
{
|
|
83
53
|
label: '外边距:',
|
|
84
54
|
ele: 'xd-margin-padding',
|
|
85
55
|
valueKey: 'bodyMargin',
|
|
86
|
-
groupKey:'style',
|
|
87
56
|
value: data['bodyMargin'] || null,
|
|
57
|
+
disabled: false,
|
|
88
58
|
setting: {
|
|
89
59
|
type: 'margin',
|
|
90
60
|
},
|
|
91
61
|
placeholder: '请设置外边距',
|
|
92
62
|
inline: false,
|
|
93
|
-
notice: '设置外边距,<span style="color: red">单位:像素</span
|
|
63
|
+
notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
94
64
|
},
|
|
95
65
|
{
|
|
96
66
|
label: '填充:',
|
|
97
67
|
ele: 'xd-margin-padding',
|
|
98
68
|
valueKey: 'bodyPadding',
|
|
99
|
-
groupKey:'style',
|
|
100
69
|
value: data['bodyPadding'] || null,
|
|
70
|
+
disabled: false,
|
|
101
71
|
setting: {
|
|
102
72
|
type: 'padding',
|
|
103
73
|
},
|
|
104
|
-
placeholder: '
|
|
74
|
+
placeholder: '请设置外边距',
|
|
105
75
|
inline: false,
|
|
106
|
-
notice: '
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
label: '标题样式颜色:',
|
|
110
|
-
ele: 'xd-color',
|
|
111
|
-
groupKey:'style',
|
|
112
|
-
valueKey: 'cardNameColor',
|
|
113
|
-
value: data['cardNameColor'] || null,
|
|
114
|
-
placeholder: '请选择标题样式颜色',
|
|
115
|
-
classNmae: 'input60',
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
{
|
|
119
|
-
ele: 'title',
|
|
120
|
-
label: '内容样式设置',
|
|
121
|
-
size: 'small',
|
|
122
|
-
groupKey:'style',
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
label: '文字颜色:',
|
|
126
|
-
ele: 'xd-color',
|
|
127
|
-
groupKey:'style',
|
|
128
|
-
valueKey: 'textColor',
|
|
129
|
-
value: data['textColor'] || '',
|
|
130
|
-
placeholder: '请选择文字颜色',
|
|
131
|
-
classNmae: 'input80',
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
label: 'ICON颜色:',
|
|
135
|
-
ele: 'xd-color',
|
|
136
|
-
valueKey: 'iconColor',
|
|
137
|
-
groupKey:'style',
|
|
138
|
-
value: data['iconColor'] || '',
|
|
139
|
-
placeholder: '请选择ICON颜色',
|
|
140
|
-
classNmae: 'input80',
|
|
76
|
+
notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
141
77
|
},
|
|
142
78
|
{
|
|
143
79
|
label: '背景颜色:',
|
|
144
80
|
ele: 'xd-color',
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
value: data['backgroundColor'] || '',
|
|
81
|
+
valueKey: 'bodyBackgroundColor',
|
|
82
|
+
value: data['bodyBackgroundColor'] || null,
|
|
148
83
|
placeholder: '请选择背景颜色',
|
|
149
84
|
classNmae: 'input80',
|
|
150
85
|
},
|
|
151
86
|
{
|
|
152
87
|
label: '圆角设置:',
|
|
153
88
|
ele: 'xd-site-select-list',
|
|
154
|
-
valueKey: '
|
|
155
|
-
value: data['
|
|
156
|
-
|
|
157
|
-
placeholder: '请选择内容圆角设置',
|
|
89
|
+
valueKey: 'bodyRadius',
|
|
90
|
+
value: data['bodyRadius'],
|
|
91
|
+
placeholder: '请选择圆角设置',
|
|
158
92
|
multiple: false,
|
|
159
|
-
className: '
|
|
93
|
+
className: 'input80',
|
|
160
94
|
handleCustom({action, data}) {
|
|
161
95
|
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
162
96
|
.then(res => {
|
|
@@ -169,9 +103,8 @@ export default {
|
|
|
169
103
|
},
|
|
170
104
|
{
|
|
171
105
|
ele: 'title',
|
|
172
|
-
label: '
|
|
173
|
-
size: 'small',
|
|
174
|
-
groupKey:'style',
|
|
106
|
+
label: '边框设置',
|
|
107
|
+
size: 'small', //default/mini/small
|
|
175
108
|
},
|
|
176
109
|
{
|
|
177
110
|
label: '是否有边框:',
|
|
@@ -179,7 +112,6 @@ export default {
|
|
|
179
112
|
valueKey: 'is_border',
|
|
180
113
|
value: data['is_border'] || 'N',
|
|
181
114
|
placeholder: '请选择是否有边框',
|
|
182
|
-
groupKey:'style',
|
|
183
115
|
multiple: false,
|
|
184
116
|
className: 'input80',
|
|
185
117
|
list: [
|
|
@@ -190,7 +122,6 @@ export default {
|
|
|
190
122
|
data['is_border'] === 'Y' && {
|
|
191
123
|
label: '边框颜色:',
|
|
192
124
|
ele: 'xd-color',
|
|
193
|
-
groupKey:'style',
|
|
194
125
|
valueKey: 'is_border_c',
|
|
195
126
|
value: data['is_border_c'] || '',
|
|
196
127
|
placeholder: '请选择边框颜色',
|
|
@@ -200,18 +131,38 @@ export default {
|
|
|
200
131
|
label: '边框大小:',
|
|
201
132
|
ele: 'el-input',
|
|
202
133
|
type: 'number',
|
|
203
|
-
groupKey:'style',
|
|
204
134
|
valueKey: 'is_border_w',
|
|
205
135
|
value: data['is_border_w'] || '',
|
|
206
|
-
placeholder: '
|
|
136
|
+
placeholder: '请输入边框颜色',
|
|
207
137
|
className: 'input80',
|
|
208
138
|
},
|
|
209
|
-
|
|
210
139
|
{
|
|
211
|
-
label: '
|
|
212
|
-
ele: 'xd-select-
|
|
213
|
-
valueKey: '
|
|
214
|
-
|
|
140
|
+
label: '内容圆角设置:',
|
|
141
|
+
ele: 'xd-site-select-list',
|
|
142
|
+
valueKey: 'radius',
|
|
143
|
+
value: data['radius'] || '10',
|
|
144
|
+
placeholder: '请选择内容圆角设置',
|
|
145
|
+
multiple: false,
|
|
146
|
+
className: 'input80',
|
|
147
|
+
handleCustom({action, data}) {
|
|
148
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
149
|
+
.then(res => {
|
|
150
|
+
data.cb(res.list)
|
|
151
|
+
})
|
|
152
|
+
.catch(error => {
|
|
153
|
+
console.error(error);
|
|
154
|
+
});
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
ele: 'title',
|
|
159
|
+
label: '其他设置',
|
|
160
|
+
size: 'small', //default/mini/small
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
label: '设置售后订单列表地址:', //label
|
|
164
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
165
|
+
valueKey: 'after_url', //form[valueKey]
|
|
215
166
|
placeholder: '请选择设置售后订单列表地址',
|
|
216
167
|
value: data['after_url'] || null,
|
|
217
168
|
setting: {
|
|
@@ -223,10 +174,9 @@ export default {
|
|
|
223
174
|
inline: false,
|
|
224
175
|
},
|
|
225
176
|
{
|
|
226
|
-
label: '设置订单列表路径:',
|
|
227
|
-
ele: 'xd-select-pages-path',
|
|
228
|
-
valueKey: 'order_url',
|
|
229
|
-
groupKey:'advanced',
|
|
177
|
+
label: '设置订单列表路径:', //label
|
|
178
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
179
|
+
valueKey: 'order_url', //form[valueKey]
|
|
230
180
|
placeholder: '请选择设置订单列表路径',
|
|
231
181
|
value: data['order_url'] || null,
|
|
232
182
|
setting: {
|
|
@@ -237,11 +187,36 @@ export default {
|
|
|
237
187
|
],
|
|
238
188
|
inline: false,
|
|
239
189
|
},
|
|
190
|
+
{
|
|
191
|
+
label: '设置订单状态:', //label
|
|
192
|
+
ele: 'xd-order-setting', //package 名称
|
|
193
|
+
valueKey: 'orderTypeList', //form[valueKey]
|
|
194
|
+
value: data['orderTypeList'] || null,
|
|
195
|
+
setting: {
|
|
196
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
197
|
+
},
|
|
198
|
+
handleCustom({action, data}) {
|
|
199
|
+
if (action === 'number') {
|
|
200
|
+
data.cb([
|
|
201
|
+
{"label": "全部", "value": 'all'},
|
|
202
|
+
{"label": "待付款", "value": 'unpaid'},
|
|
203
|
+
{"label": "待收货", "value": 'unreceived'},
|
|
204
|
+
{"label": "已取消", "value": 'cancel'},
|
|
205
|
+
{"label": "已完成", "value": 'com'},
|
|
206
|
+
])
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
inline: false,
|
|
210
|
+
notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
|
|
211
|
+
rules: [
|
|
212
|
+
{required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
|
|
213
|
+
],
|
|
214
|
+
},
|
|
215
|
+
|
|
240
216
|
{
|
|
241
217
|
label: '',
|
|
242
218
|
ele: 'slot',
|
|
243
219
|
slot: 'is_reference',
|
|
244
|
-
groupKey:'advanced',
|
|
245
220
|
},
|
|
246
221
|
].filter(i=>i)
|
|
247
222
|
},
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
<view :style="{borderRadius: bodyRadius + 'rpx', backgroundColor:bodyBackgroundColor, padding:outPadding}">
|
|
22
22
|
<view class="my-order__add">
|
|
23
23
|
<view :style="{color:cardNameColor}">我的订单</view>
|
|
24
|
-
<view @click="handleToLink(afterUrl)" :style="{borderColor:
|
|
24
|
+
<view @click="handleToLink(afterUrl)" :style="{borderColor:mainColor,color: mainColor}">售后订单</view>
|
|
25
25
|
</view>
|
|
26
26
|
<view
|
|
27
27
|
class="my-order__content"
|
|
28
28
|
:style="{
|
|
29
29
|
borderRadius: radius + 'rpx',
|
|
30
30
|
background: backgroundColor,
|
|
31
|
-
marginTop:
|
|
31
|
+
marginTop: margin.top ? margin.top + 'rpx': '20rpx',
|
|
32
32
|
border: borderBox,
|
|
33
33
|
}"
|
|
34
34
|
>
|
|
@@ -75,18 +75,10 @@
|
|
|
75
75
|
mixins: [componentsMixins,extsMixins,JfbBaseUserOrderMixin],
|
|
76
76
|
computed: {
|
|
77
77
|
outPadding() {
|
|
78
|
-
|
|
79
|
-
str = `${str} ${this.checkValue(this.bodyPadding.right, 0)}rpx`;
|
|
80
|
-
str = `${str} ${this.checkValue(this.bodyPadding.bottom, 0)}rpx`;
|
|
81
|
-
str = `${str} ${this.checkValue(this.bodyPadding.left, 0)}rpx`;
|
|
82
|
-
return str
|
|
78
|
+
return `${this.bodyPadding.top || 20}rpx ${this.bodyPadding.right || 20}rpx ${this.bodyPadding.bottom || 20}rpx ${this.bodyPadding.left || 20}rpx`
|
|
83
79
|
},
|
|
84
80
|
outMargin() {
|
|
85
|
-
|
|
86
|
-
str = `${str} ${this.checkValue(this.bodyMargin.right, 20)}rpx`;
|
|
87
|
-
str = `${str} ${this.checkValue(this.bodyMargin.bottom, 20)}rpx`;
|
|
88
|
-
str = `${str} ${this.checkValue(this.bodyMargin.left, 20)}rpx`;
|
|
89
|
-
return str
|
|
81
|
+
return `${this.bodyMargin.top || 0}rpx ${this.bodyMargin.right || 0}rpx ${this.bodyMargin.bottom || 0}rpx ${this.bodyMargin.left || 0}rpx`
|
|
90
82
|
},
|
|
91
83
|
borderBox() {
|
|
92
84
|
if (this.is_border === 'Y') return `${this.is_border_w}rpx solid ${this.is_border_c}`;
|
|
@@ -103,7 +95,6 @@
|
|
|
103
95
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
104
96
|
radius: 0,
|
|
105
97
|
iconColor: '',
|
|
106
|
-
spacing:20,
|
|
107
98
|
|
|
108
99
|
//边框
|
|
109
100
|
is_border: 'Y',
|
|
@@ -120,15 +111,11 @@
|
|
|
120
111
|
bodyBackgroundColor: 'rgba(0,0,0,0)',
|
|
121
112
|
bodyMargin: {top: 0, left: 0, right: 0, bottom: 0},
|
|
122
113
|
cardNameColor: '#333',
|
|
123
|
-
subColor:'',
|
|
124
114
|
}
|
|
125
115
|
},
|
|
126
116
|
watch: {
|
|
127
117
|
container(value) {
|
|
128
|
-
this.init(value)
|
|
129
|
-
if(this.$configProject.isPreview) {
|
|
130
|
-
this.onJfbLoad( this.options)
|
|
131
|
-
}
|
|
118
|
+
this.init(value)
|
|
132
119
|
}
|
|
133
120
|
},
|
|
134
121
|
created() {
|
|
@@ -137,6 +124,7 @@
|
|
|
137
124
|
methods: {
|
|
138
125
|
onJfbLoad(options) {
|
|
139
126
|
this.options = options;
|
|
127
|
+
|
|
140
128
|
//处理方法
|
|
141
129
|
const handle = (res)=>{
|
|
142
130
|
this.list = this.list.map(item => {
|
|
@@ -158,7 +146,7 @@
|
|
|
158
146
|
'com': [0, 4, 9, 99, 888][this.$xdUniHelper.random(0, 4)],
|
|
159
147
|
};
|
|
160
148
|
handle(res)
|
|
161
|
-
},
|
|
149
|
+
}, 1000)
|
|
162
150
|
}
|
|
163
151
|
else{
|
|
164
152
|
jfbRootExec('getBaseOrderListCount', {
|
|
@@ -184,8 +172,6 @@
|
|
|
184
172
|
this.bodyBackgroundColor = getContainerPropsValue(container, 'content.bodyBackgroundColor', 'rgba(0,0,0,0)');
|
|
185
173
|
this.bodyPadding = getContainerPropsValue(container, 'content.bodyPadding', {top: 20, left: 20, right: 20, bottom: 20});
|
|
186
174
|
this.cardNameColor = getContainerPropsValue(container, 'content.cardNameColor', '#333');
|
|
187
|
-
this.subColor = getContainerPropsValue(container, 'content.cardNameColor', '');
|
|
188
|
-
this.spacing = getContainerPropsValue(container, 'content.spacing', 20);
|
|
189
175
|
|
|
190
176
|
//其他
|
|
191
177
|
this.afterUrl = getContainerPropsValue(container, 'content.after_url', {value: ''}).value;
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-user-order {
|
|
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-user-order {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -8,28 +8,16 @@ import console from "@dcloudio/uni-h5/src/core/helpers/console";
|
|
|
8
8
|
export default {
|
|
9
9
|
style:[],
|
|
10
10
|
content:(params)=>{
|
|
11
|
-
let size = {width:750};
|
|
12
|
-
let video = {
|
|
13
|
-
size: Object.assign({},(params.video && params.video.size),size),
|
|
14
|
-
type:'1',
|
|
15
|
-
position: Object.assign({},params.video && params.video.position)
|
|
16
|
-
};
|
|
17
11
|
return [
|
|
18
12
|
{
|
|
19
|
-
label: '视频位置配置:',
|
|
20
|
-
ele: 'xd-site-poster',
|
|
21
|
-
valueKey: 'video',
|
|
22
|
-
groupKey:'content',
|
|
13
|
+
label: '视频位置配置:', //label
|
|
14
|
+
ele: 'xd-site-poster', //package 名称
|
|
15
|
+
valueKey: 'video', //form[valueKey]
|
|
23
16
|
className: 'input80',
|
|
24
|
-
value:video,
|
|
17
|
+
value: params.video || {},
|
|
25
18
|
setting: {
|
|
26
19
|
count: 1,
|
|
27
|
-
scene: {label: '视频', value: 'video'}
|
|
28
|
-
sizeDisabled: {
|
|
29
|
-
wDisabled:true,
|
|
30
|
-
hDisabled: false,
|
|
31
|
-
},
|
|
32
|
-
typeDisabled: true
|
|
20
|
+
scene: {label: '视频', value: 'video'}
|
|
33
21
|
},
|
|
34
22
|
handleCustom({action, data}) {
|
|
35
23
|
//设置场景参数
|
|
@@ -224,46 +212,32 @@ export default {
|
|
|
224
212
|
loading.close()
|
|
225
213
|
}
|
|
226
214
|
},
|
|
215
|
+
inline: false,
|
|
216
|
+
notice: '',
|
|
227
217
|
rules: [
|
|
228
|
-
{
|
|
229
|
-
required: true,
|
|
230
|
-
validator: (rule, value, callback) => {
|
|
231
|
-
let message = '请设置视频位置相关内容';
|
|
232
|
-
if(!value) {
|
|
233
|
-
callback(message);
|
|
234
|
-
return;
|
|
235
|
-
}
|
|
236
|
-
if(value.size && !value.size.height){
|
|
237
|
-
callback(message);
|
|
238
|
-
return
|
|
239
|
-
}
|
|
240
|
-
// if(value.position && (!value.position['position_name'] || !value.position['position_id'])) {
|
|
241
|
-
// callback(message);
|
|
242
|
-
// return
|
|
243
|
-
// }
|
|
244
|
-
callback()
|
|
245
|
-
},trigger: ['blur', 'change']
|
|
246
|
-
}
|
|
218
|
+
{required: true, message: '请选择视频位置', trigger: 'change'},
|
|
247
219
|
],
|
|
248
220
|
},
|
|
249
221
|
{
|
|
250
|
-
label: '
|
|
251
|
-
ele: 'xd-
|
|
252
|
-
valueKey: '
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
222
|
+
label: '视频位边距设置:',
|
|
223
|
+
ele: 'xd-margin-padding',
|
|
224
|
+
valueKey: 'margin',
|
|
225
|
+
value: params.margin || null,
|
|
226
|
+
disabled: false,
|
|
227
|
+
setting: {
|
|
228
|
+
type: 'margin',
|
|
229
|
+
},
|
|
230
|
+
placeholder: '请设置视频位边距设置',
|
|
231
|
+
|
|
257
232
|
},
|
|
258
233
|
{
|
|
259
234
|
label: '内容圆角设置:',
|
|
260
235
|
ele: 'xd-site-select-list',
|
|
261
236
|
valueKey: 'radius',
|
|
262
|
-
groupKey:'style',
|
|
263
237
|
value: params['radius'] || '0',
|
|
264
238
|
placeholder: '请选择内容圆角设置',
|
|
265
239
|
multiple: false,
|
|
266
|
-
className: '
|
|
240
|
+
className: 'input80',
|
|
267
241
|
handleCustom({action, data}) {
|
|
268
242
|
XdBus.getParentApi('getOptionsSettingList')({
|
|
269
243
|
setting_id: 'edtix_style_radius',
|
|
@@ -277,33 +251,6 @@ export default {
|
|
|
277
251
|
});
|
|
278
252
|
},
|
|
279
253
|
},
|
|
280
|
-
{
|
|
281
|
-
label: '视频位边距设置:',
|
|
282
|
-
ele: 'xd-margin-padding',
|
|
283
|
-
valueKey: 'margin',
|
|
284
|
-
groupKey:'style',
|
|
285
|
-
value: params.margin || null,
|
|
286
|
-
setting: {
|
|
287
|
-
type: 'margin',
|
|
288
|
-
},
|
|
289
|
-
placeholder: '请设置视频位边距设置',
|
|
290
|
-
inline: false,
|
|
291
|
-
notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
label: '视频位填充设置:',
|
|
295
|
-
ele: 'xd-margin-padding',
|
|
296
|
-
valueKey: 'padding',
|
|
297
|
-
groupKey:'style',
|
|
298
|
-
value: params.padding || null,
|
|
299
|
-
setting: {
|
|
300
|
-
type: 'padding',
|
|
301
|
-
},
|
|
302
|
-
placeholder: '请设置视频位填充设置',
|
|
303
|
-
inline: false,
|
|
304
|
-
notice: '设置填充设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
|
|
305
|
-
},
|
|
306
|
-
|
|
307
254
|
].filter(i=>i)
|
|
308
255
|
},
|
|
309
256
|
advanced: [
|