jufubao-base 1.0.132-beta2 → 1.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -4
- package/src/components/JfbBaseAddress/Attr.js +5 -11
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +19 -18
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +7 -19
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +4 -6
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +19 -18
- package/src/components/JfbBaseAfterOrderList/Attr.js +16 -25
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +9 -6
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +19 -18
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +19 -18
- package/src/components/JfbBaseBackground/Attr.js +8 -9
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -0
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +19 -18
- package/src/components/JfbBaseBlock/Attr.js +2 -12
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +8 -1
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +19 -18
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +19 -18
- package/src/components/JfbBaseCard/Attr.js +34 -76
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
- package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
- package/src/components/JfbBaseCardDetail/Attr.js +3 -4
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
- package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
- package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
- package/src/components/JfbBaseCardEntry/Attr.js +67 -86
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -3
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
- package/src/components/JfbBaseCardInfo/Attr.js +16 -22
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
- package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
- package/src/components/JfbBaseCardMerge/Attr.js +8 -21
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
- package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
- package/src/components/JfbBaseCardShift/Attr.js +4 -18
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
- package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
- package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
- package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
- package/src/components/JfbBaseCardV2/Attr.js +15 -19
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
- package/src/components/JfbBaseCardV3/Attr.js +12 -16
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
- package/src/components/JfbBaseCity/Attr.js +4 -2
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
- package/src/components/JfbBaseConDialog/Api.js +1 -1
- package/src/components/JfbBaseConDialog/Attr.js +20 -30
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +26 -45
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
- package/src/components/JfbBaseConDialog/Mock.js +1 -20
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
- package/src/components/JfbBaseConList/Attr.js +224 -149
- package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
- package/src/components/JfbBaseEntry/Attr.js +21 -33
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
- package/src/components/JfbBaseFastLink/Api.js +54 -1
- package/src/components/JfbBaseFastLink/Attr.js +116 -168
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
- package/src/components/JfbBaseFooter/Attr.js +22 -28
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
- package/src/components/JfbBaseHeader/Attr.js +91 -89
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
- package/src/components/JfbBaseLine/Attr.js +59 -0
- package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
- package/src/components/JfbBaseLogin/Attr.js +88 -111
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1 -0
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
- package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
- package/src/components/JfbBaseMapSearch/Attr.js +15 -0
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
- package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
- package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
- package/src/components/JfbBaseNotice/Attr.js +56 -97
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +52 -70
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
- package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -6
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
- package/src/components/JfbBaseOrderList/Attr.js +43 -55
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
- package/src/components/JfbBasePay/Attr.js +13 -2
- package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
- package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
- package/src/components/JfbBasePay/Mock.js +1 -2
- package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
- package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
- package/src/components/JfbBasePoster/Attr.js +83 -103
- package/src/components/JfbBasePoster/JfbBasePoster.vue +141 -134
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +7 -3
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +33 -44
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +49 -44
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
- package/src/components/JfbBasePosterType/Attr.js +48 -82
- package/src/components/JfbBasePosterType/FourScreen.vue +2 -8
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
- package/src/components/JfbBasePosterType/Screen.vue +284 -0
- package/src/components/JfbBaseRecharge/Attr.js +23 -35
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
- package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
- package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
- package/src/components/JfbBaseSearch/Api.js +60 -0
- package/src/components/JfbBaseSearch/Attr.js +148 -6
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
- package/src/components/JfbBaseSearch/Mock.js +5 -0
- package/src/components/JfbBaseSetPwd/Attr.js +147 -6
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
- package/src/components/JfbBaseSuccess/Attr.js +17 -78
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
- package/src/components/JfbBaseUserCenter/Attr.js +53 -72
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
- package/src/components/JfbBaseUserInfo/Attr.js +45 -54
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
- package/src/components/JfbBaseUserOrder/Attr.js +92 -118
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
- package/src/components/JfbBaseVideo/Attr.js +19 -72
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
- package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
- package/src/components/{JfbBaseClear → JfbBaseWalletDetail}/Attr.js +0 -1
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
- package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +26 -32
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
- package/src/components/JfbBaseCardShift/Mock.js +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jufubao-base",
|
|
3
|
-
"version": "1.0.132
|
|
3
|
+
"version": "1.0.132",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "聚福宝业务组件基础插件包",
|
|
6
6
|
"main": "index.js",
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"@vue/shared": "^3.0.0",
|
|
49
49
|
"color": "^3.1.3",
|
|
50
50
|
"core-js": "^2.6.5",
|
|
51
|
-
"dingtalk-jsapi": "^3.0.31",
|
|
52
51
|
"flyio": "^0.6.2",
|
|
53
52
|
"gxd-commands-bussiness": "^1.0.12",
|
|
54
53
|
"gxd-uni-library-editx": "1.0.17-beta2",
|
|
@@ -57,10 +56,10 @@
|
|
|
57
56
|
"path-to-regexp": "^6.2.1",
|
|
58
57
|
"qs": "^6.9.6",
|
|
59
58
|
"regenerator-runtime": "^0.12.1",
|
|
60
|
-
"vconsole": "^3.15.0",
|
|
61
59
|
"vue": "^2.6.10",
|
|
62
60
|
"vue-clipboard2": "^0.3.1",
|
|
63
|
-
"vuex": "^3.2.0"
|
|
61
|
+
"vuex": "^3.2.0",
|
|
62
|
+
"vconsole": "^3.15.0"
|
|
64
63
|
},
|
|
65
64
|
"repository": {
|
|
66
65
|
"type": "git",
|
|
@@ -1,29 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import StyleForm from "@/utils/StyleForm";
|
|
3
|
-
let styleForm = new StyleForm(
|
|
4
|
-
{border: null, shadow: null, spacing: '', bgColor:'', margin: null},
|
|
5
|
-
null,
|
|
6
|
-
'list',
|
|
7
|
-
true
|
|
8
|
-
);
|
|
3
|
+
let styleForm = new StyleForm({border: null, shadow: null, spacing: '', bgColor:'', margin: null,}, null, 'list');
|
|
9
4
|
export default {
|
|
10
5
|
style: [],
|
|
11
6
|
advanced: [],
|
|
12
7
|
content: (data)=>{
|
|
13
8
|
return [
|
|
14
9
|
{
|
|
15
|
-
label: '选取地区路径:',
|
|
16
|
-
ele: 'xd-select-pages-path',
|
|
17
|
-
valueKey: 'location_url',
|
|
10
|
+
label: '选取地区路径:', //label
|
|
11
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
12
|
+
valueKey: 'location_url', //form[valueKey]
|
|
18
13
|
placeholder: '请选择选取地区路径',
|
|
19
|
-
groupKey:'advanced',
|
|
20
14
|
value: data.location_url || '',
|
|
21
15
|
setting: {
|
|
22
16
|
router: XdBus.getParentApi('getPagesTree'),
|
|
23
17
|
},
|
|
24
18
|
inline: false,
|
|
25
19
|
},
|
|
26
|
-
...styleForm.getForm(data, '
|
|
20
|
+
...styleForm.getForm(data, '内容配置')
|
|
27
21
|
].filter(i=>i)
|
|
28
22
|
},
|
|
29
23
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
:style="{ minHeight: layoutInfo.bodyMinHeightRpx + 'rpx' }"
|
|
23
23
|
>
|
|
24
24
|
<view
|
|
25
|
-
:style="{
|
|
25
|
+
:style="{ margin: jfbListMarginComputed }"
|
|
26
26
|
class="jfb-base-address__body-address"
|
|
27
27
|
v-if="addressList && addressList.length > 0"
|
|
28
28
|
>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<xd-font-icon icon="iconbianzu-01" size="120"></xd-font-icon>
|
|
107
107
|
<view>您还没有收货地址哦!</view>
|
|
108
108
|
</view>
|
|
109
|
-
<view style="height:
|
|
109
|
+
<view style="height: 100rpx"></view>
|
|
110
110
|
<view class="jfb-base-address__body-footer" :style="prod_bottom">
|
|
111
111
|
<xd-button
|
|
112
112
|
width="80%"
|
|
@@ -154,7 +154,7 @@ let styleForm = new StyleForm(
|
|
|
154
154
|
{
|
|
155
155
|
border: null,
|
|
156
156
|
shadow: null,
|
|
157
|
-
spacing:
|
|
157
|
+
spacing: 24,
|
|
158
158
|
bgColor: "#FFFFFF",
|
|
159
159
|
margin: {
|
|
160
160
|
bottom: 20,
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-address {
|
|
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-address {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -8,41 +8,36 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
11
|
+
label: '外边距:',
|
|
12
12
|
ele: 'xd-margin-padding',
|
|
13
13
|
valueKey: 'margin',
|
|
14
14
|
value: data['margin'] || null,
|
|
15
|
-
|
|
15
|
+
disabled: false,
|
|
16
16
|
setting: {
|
|
17
|
-
type: '
|
|
17
|
+
type: 'margin',
|
|
18
18
|
},
|
|
19
|
-
placeholder: '
|
|
19
|
+
placeholder: '请设置外边距',
|
|
20
20
|
inline: false,
|
|
21
|
-
notice: '
|
|
21
|
+
notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
label: '间距:',
|
|
25
25
|
ele: 'el-input',
|
|
26
26
|
type: 'number',
|
|
27
|
-
groupKey:'style',
|
|
28
27
|
valueKey: 'padding',
|
|
29
28
|
value: data.padding || '',
|
|
30
29
|
placeholder: '请输入间距',
|
|
31
30
|
className: 'input80',
|
|
32
|
-
inline: false,
|
|
33
|
-
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
34
31
|
},
|
|
35
32
|
{
|
|
36
33
|
ele: 'title',
|
|
37
34
|
label: '投影设置',
|
|
38
|
-
size: 'small',
|
|
39
|
-
groupKey:'style',
|
|
35
|
+
size: 'small', //default/mini/small
|
|
40
36
|
},
|
|
41
37
|
{
|
|
42
38
|
label: '是否有投影:',
|
|
43
39
|
ele: 'xd-radio',
|
|
44
40
|
valueKey: 'is_shadow',
|
|
45
|
-
groupKey:'style',
|
|
46
41
|
value: data['is_shadow'] || 'N',
|
|
47
42
|
placeholder: '请选择是否投影',
|
|
48
43
|
multiple: false,
|
|
@@ -56,7 +51,6 @@ export default {
|
|
|
56
51
|
label: '投影颜色:',
|
|
57
52
|
ele: 'xd-color',
|
|
58
53
|
valueKey: 'is_shadow_bg',
|
|
59
|
-
groupKey:'style',
|
|
60
54
|
value: data['is_shadow_bg'] || '',
|
|
61
55
|
placeholder: '请选择投影颜色',
|
|
62
56
|
classNmae: 'input80',
|
|
@@ -65,7 +59,6 @@ export default {
|
|
|
65
59
|
label: '投影范围:',
|
|
66
60
|
ele: 'xd-site-select-list',
|
|
67
61
|
valueKey: 'is_shadow_w',
|
|
68
|
-
groupKey:'style',
|
|
69
62
|
value: data['is_shadow_w'] || '10',
|
|
70
63
|
placeholder: '请选择投影范围',
|
|
71
64
|
multiple: false,
|
|
@@ -86,14 +79,12 @@ export default {
|
|
|
86
79
|
{
|
|
87
80
|
ele: 'title',
|
|
88
81
|
label: '边框设置',
|
|
89
|
-
size: 'small',
|
|
90
|
-
groupKey:'style',
|
|
82
|
+
size: 'small', //default/mini/small
|
|
91
83
|
},
|
|
92
84
|
{
|
|
93
85
|
label: '是否有边框:',
|
|
94
86
|
ele: 'xd-radio',
|
|
95
87
|
valueKey: 'is_border',
|
|
96
|
-
groupKey:'style',
|
|
97
88
|
value: data['is_border'] || 'N',
|
|
98
89
|
placeholder: '请选择是否有边框',
|
|
99
90
|
multiple: false,
|
|
@@ -106,7 +97,6 @@ export default {
|
|
|
106
97
|
data['is_border'] === 'Y' && {
|
|
107
98
|
label: '边框颜色:',
|
|
108
99
|
ele: 'xd-color',
|
|
109
|
-
groupKey:'style',
|
|
110
100
|
valueKey: 'is_border_c',
|
|
111
101
|
value: data['is_border_c'] || '',
|
|
112
102
|
placeholder: '请选择边框颜色',
|
|
@@ -117,7 +107,6 @@ export default {
|
|
|
117
107
|
ele: 'el-input',
|
|
118
108
|
type: 'number',
|
|
119
109
|
valueKey: 'is_border_w',
|
|
120
|
-
groupKey:'style',
|
|
121
110
|
value: data['is_border_w'] || '',
|
|
122
111
|
placeholder: '请输入边框颜色',
|
|
123
112
|
className: 'input80',
|
|
@@ -127,7 +116,6 @@ export default {
|
|
|
127
116
|
ele: 'xd-site-select-list',
|
|
128
117
|
valueKey: 'radius',
|
|
129
118
|
value: data['radius'] || '',
|
|
130
|
-
groupKey:'style',
|
|
131
119
|
placeholder: '请选择内容圆角设置',
|
|
132
120
|
multiple: false,
|
|
133
121
|
className: 'input80',
|
|
@@ -184,11 +184,9 @@ export default {
|
|
|
184
184
|
},
|
|
185
185
|
computed: {
|
|
186
186
|
outMargin() {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
191
|
-
return str
|
|
187
|
+
return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
|
|
188
|
+
this.margin.bottom || 20
|
|
189
|
+
}rpx ${this.margin.left || 20}rpx`;
|
|
192
190
|
},
|
|
193
191
|
shadowBox() {
|
|
194
192
|
if (this.is_shadow === "Y")
|
|
@@ -347,7 +345,7 @@ export default {
|
|
|
347
345
|
display: flex;
|
|
348
346
|
justify-content: flex-start;
|
|
349
347
|
align-items: center;
|
|
350
|
-
|
|
348
|
+
|
|
351
349
|
&-icon {
|
|
352
350
|
margin-right: unit(10, rpx);
|
|
353
351
|
}
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-after-order-detail {
|
|
16
|
+
border: 1px dashed rgba(0, 0, 0, 0);
|
|
16
17
|
box-sizing: border-box;
|
|
17
|
-
min-height: unit(
|
|
18
|
+
min-height: unit(50, rpx);
|
|
18
19
|
|
|
19
20
|
&__body{
|
|
20
21
|
position: relative;
|
|
@@ -22,21 +23,21 @@
|
|
|
22
23
|
z-index: 2
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
&.editx
|
|
26
|
+
&.editx {
|
|
26
27
|
position: relative;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
top:0;
|
|
33
|
-
left:0;
|
|
34
|
-
bottom:0;
|
|
35
|
-
right:0;
|
|
36
|
-
z-index: 4;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
28
|
+
border: 1px dashed blue;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
z-index: 3
|
|
31
|
+
|
|
32
|
+
}
|
|
39
33
|
|
|
34
|
+
&:hover {
|
|
35
|
+
border: 1px dashed blue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.noBorder {
|
|
39
|
+
border-color: rgba(0,0,0,0);
|
|
40
|
+
border-width: 0;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
|
|
@@ -71,9 +72,9 @@
|
|
|
71
72
|
|
|
72
73
|
/**notPreview**/
|
|
73
74
|
.jfb-base-after-order-detail {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -6,23 +6,22 @@ export default {
|
|
|
6
6
|
content: (data)=>{
|
|
7
7
|
return [
|
|
8
8
|
{
|
|
9
|
-
label: '
|
|
9
|
+
label: '外边距:',
|
|
10
10
|
ele: 'xd-margin-padding',
|
|
11
11
|
valueKey: 'margin',
|
|
12
|
-
groupKey:'style',
|
|
13
12
|
value: data['margin'] || null,
|
|
13
|
+
disabled: false,
|
|
14
14
|
setting: {
|
|
15
|
-
type: '
|
|
15
|
+
type: 'margin',
|
|
16
16
|
},
|
|
17
|
-
placeholder: '
|
|
17
|
+
placeholder: '请设置外边距',
|
|
18
18
|
inline: false,
|
|
19
|
-
notice: '
|
|
19
|
+
notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
label: '背景颜色:',
|
|
23
23
|
ele: 'xd-color',
|
|
24
24
|
valueKey: 'backgroundColor',
|
|
25
|
-
groupKey:'style',
|
|
26
25
|
value: data['backgroundColor'] || null,
|
|
27
26
|
placeholder: '请选择背景颜色',
|
|
28
27
|
classNmae: 'input80',
|
|
@@ -32,24 +31,19 @@ export default {
|
|
|
32
31
|
ele: 'el-input',
|
|
33
32
|
type: 'number',
|
|
34
33
|
valueKey: 'padding',
|
|
35
|
-
groupKey:'style',
|
|
36
34
|
value: data.padding || '',
|
|
37
35
|
placeholder: '请输入间距',
|
|
38
36
|
className: 'input80',
|
|
39
|
-
inline: false,
|
|
40
|
-
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
41
37
|
},
|
|
42
38
|
{
|
|
43
39
|
ele: 'title',
|
|
44
40
|
label: '投影设置',
|
|
45
|
-
size: 'small',
|
|
46
|
-
groupKey:'style',
|
|
41
|
+
size: 'small', //default/mini/small
|
|
47
42
|
},
|
|
48
43
|
{
|
|
49
44
|
label: '是否有投影:',
|
|
50
45
|
ele: 'xd-radio',
|
|
51
46
|
valueKey: 'is_shadow',
|
|
52
|
-
groupKey:'style',
|
|
53
47
|
value: data['is_shadow'] || 'N',
|
|
54
48
|
placeholder: '请选择是否投影',
|
|
55
49
|
multiple: false,
|
|
@@ -63,7 +57,6 @@ export default {
|
|
|
63
57
|
label: '投影颜色:',
|
|
64
58
|
ele: 'xd-color',
|
|
65
59
|
valueKey: 'is_shadow_bg',
|
|
66
|
-
groupKey:'style',
|
|
67
60
|
value: data['is_shadow_bg'] || '',
|
|
68
61
|
placeholder: '请选择投影颜色',
|
|
69
62
|
classNmae: 'input80',
|
|
@@ -72,7 +65,6 @@ export default {
|
|
|
72
65
|
label: '投影范围:',
|
|
73
66
|
ele: 'xd-site-select-list',
|
|
74
67
|
valueKey: 'is_shadow_w',
|
|
75
|
-
groupKey:'style',
|
|
76
68
|
value: data['is_shadow_w'] || '10',
|
|
77
69
|
placeholder: '请选择投影范围',
|
|
78
70
|
multiple: false,
|
|
@@ -93,15 +85,13 @@ export default {
|
|
|
93
85
|
{
|
|
94
86
|
ele: 'title',
|
|
95
87
|
label: '边框设置',
|
|
96
|
-
size: 'small',
|
|
97
|
-
groupKey:'style',
|
|
88
|
+
size: 'small', //default/mini/small
|
|
98
89
|
},
|
|
99
90
|
{
|
|
100
91
|
label: '是否有边框:',
|
|
101
92
|
ele: 'xd-radio',
|
|
102
93
|
valueKey: 'is_border',
|
|
103
94
|
value: data['is_border'] || 'N',
|
|
104
|
-
groupKey:'style',
|
|
105
95
|
placeholder: '请选择是否有边框',
|
|
106
96
|
multiple: false,
|
|
107
97
|
className: 'input80',
|
|
@@ -114,7 +104,6 @@ export default {
|
|
|
114
104
|
label: '边框颜色:',
|
|
115
105
|
ele: 'xd-color',
|
|
116
106
|
valueKey: 'is_border_c',
|
|
117
|
-
groupKey:'style',
|
|
118
107
|
value: data['is_border_c'] || '',
|
|
119
108
|
placeholder: '请选择边框颜色',
|
|
120
109
|
classNmae: 'input80',
|
|
@@ -123,7 +112,6 @@ export default {
|
|
|
123
112
|
label: '边框大小:',
|
|
124
113
|
ele: 'el-input',
|
|
125
114
|
type: 'number',
|
|
126
|
-
groupKey:'style',
|
|
127
115
|
valueKey: 'is_border_w',
|
|
128
116
|
value: data['is_border_w'] || '',
|
|
129
117
|
placeholder: '请输入边框颜色',
|
|
@@ -133,7 +121,6 @@ export default {
|
|
|
133
121
|
label: '内容圆角设置:',
|
|
134
122
|
ele: 'xd-site-select-list',
|
|
135
123
|
valueKey: 'radius',
|
|
136
|
-
groupKey:'style',
|
|
137
124
|
value: data['radius'] || '',
|
|
138
125
|
placeholder: '请选择内容圆角设置',
|
|
139
126
|
multiple: false,
|
|
@@ -149,11 +136,15 @@ export default {
|
|
|
149
136
|
},
|
|
150
137
|
},
|
|
151
138
|
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
139
|
+
ele: 'title',
|
|
140
|
+
label: '其他',
|
|
141
|
+
size: 'small', //default/mini/small
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
label: '订单详情路径:', //label
|
|
145
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
146
|
+
valueKey: 'detailPath', //form[valueKey]
|
|
147
|
+
placeholder: '请选择订单详情路径',
|
|
157
148
|
value: data['detailPath'] ||null,
|
|
158
149
|
setting: {
|
|
159
150
|
router: XdBus.getParentApi('getPagesTree'),
|
|
@@ -168,11 +168,9 @@ export default {
|
|
|
168
168
|
},
|
|
169
169
|
computed: {
|
|
170
170
|
outMargin() {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
175
|
-
return str
|
|
171
|
+
return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
|
|
172
|
+
this.margin.bottom || 20
|
|
173
|
+
}rpx ${this.margin.left || 20}rpx`;
|
|
176
174
|
},
|
|
177
175
|
shadowBox() {
|
|
178
176
|
if (this.is_shadow === "Y")
|
|
@@ -197,7 +195,12 @@ export default {
|
|
|
197
195
|
* @param container {object} 业务组件对象自己
|
|
198
196
|
*/
|
|
199
197
|
init(container) {
|
|
200
|
-
this.margin = getContainerPropsValue(container, "content.margin", {
|
|
198
|
+
this.margin = getContainerPropsValue(container, "content.margin", {
|
|
199
|
+
top: 0,
|
|
200
|
+
left: 0,
|
|
201
|
+
right: 0,
|
|
202
|
+
bottom: 0,
|
|
203
|
+
});
|
|
201
204
|
this.radius = getContainerPropsValue(container, "content.radius", 0);
|
|
202
205
|
this.backgroundColor = getContainerPropsValue(
|
|
203
206
|
container,
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-after-order-list {
|
|
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-after-order-list {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-back {
|
|
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-back {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -8,20 +8,19 @@ export default {
|
|
|
8
8
|
content:(params)=>{
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '背景图配置:',
|
|
12
|
-
ele: 'xd-site-poster',
|
|
13
|
-
valueKey: 'background',
|
|
14
|
-
groupKey:'content',
|
|
11
|
+
label: '背景图配置:', //label
|
|
12
|
+
ele: 'xd-site-poster', //package 名称
|
|
13
|
+
valueKey: 'background', //form[valueKey]
|
|
15
14
|
className: 'input80',
|
|
16
|
-
value: params.background || {size:{"width":"750",
|
|
15
|
+
value: params.background || {size:{"width":"750","height":"1280"}},
|
|
17
16
|
setting: {
|
|
18
17
|
count: 1,
|
|
19
|
-
scene: {
|
|
18
|
+
scene: {label: '背景', value: 'normal'},
|
|
20
19
|
width: 750,
|
|
21
|
-
height:
|
|
22
|
-
disabled: true,
|
|
20
|
+
height: 1280
|
|
23
21
|
},
|
|
24
22
|
handleCustom({action, data}) {
|
|
23
|
+
console.log(data,'datadata');
|
|
25
24
|
//设置场景参数
|
|
26
25
|
if(data) {
|
|
27
26
|
data.params = Object.assign({}, {scene: 'normal'}, data.params || {})
|
|
@@ -215,7 +214,7 @@ export default {
|
|
|
215
214
|
}
|
|
216
215
|
},
|
|
217
216
|
inline: false,
|
|
218
|
-
notice: '
|
|
217
|
+
notice: '',
|
|
219
218
|
}
|
|
220
219
|
].filter(i=>i)
|
|
221
220
|
},
|