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
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-search {
|
|
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-search {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -1,150 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
export default
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
ele: 'el-input', //package 名称
|
|
8
|
-
type: 'text',
|
|
9
|
-
valueKey: 'title', //form[valueKey]
|
|
10
|
-
value: '', //v-model
|
|
11
|
-
placeholder: '请输入标题名称',
|
|
12
|
-
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
13
|
-
disabled: true,
|
|
14
|
-
rules: [
|
|
15
|
-
{
|
|
16
|
-
required: true,
|
|
17
|
-
type: 'url',
|
|
18
|
-
message: '请输入域名地址',
|
|
19
|
-
trigger: 'blur'
|
|
20
|
-
},
|
|
21
|
-
]
|
|
22
|
-
},
|
|
3
|
+
export default {
|
|
4
|
+
style: [],
|
|
5
|
+
advanced: [],
|
|
6
|
+
content: [
|
|
23
7
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
label: '跳转路径:', //label
|
|
27
|
-
ele: 'xd-select-list', //package 名称
|
|
28
|
-
valueKey: 'jumpToLink', //form[valueKey]
|
|
29
|
-
value: '', //v-model
|
|
30
|
-
placeholder: '请选择加盟商',
|
|
31
|
-
multiple: false, //多选
|
|
32
|
-
collapseTags: false,
|
|
33
|
-
remoteApi: '/api/editx/pages',
|
|
34
|
-
remote: true,
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
//本地固定内容选择
|
|
38
|
-
{
|
|
39
|
-
label: '选择内容:', //label
|
|
40
|
-
ele: 'xd-select-list', //package 名称
|
|
41
|
-
valueKey: 'select', //form[valueKey]
|
|
42
|
-
value: '', //v-model
|
|
43
|
-
placeholder: '请选择选择内容',
|
|
44
|
-
multiple: false, //多选
|
|
45
|
-
remote: false,
|
|
46
|
-
list: [
|
|
47
|
-
{"label": "订单详情", "value": '/main/order/order'},
|
|
48
|
-
{"label": "购物车详情", "value": '/main/cart/cart'},
|
|
49
|
-
{"label": "商品详情", "value": '/main/product/product'},
|
|
50
|
-
{"label": "商品分类", "value": '/main/producttype/producttype'},
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
//本地固定单选选择
|
|
55
|
-
{
|
|
56
|
-
label: '单选列表(固定):', //label
|
|
57
|
-
ele: 'xd-radio', //package 名称
|
|
58
|
-
valueKey: 'radio_status_list', //form[valueKey]
|
|
59
|
-
value: 6, //v-model
|
|
60
|
-
disabled: true,
|
|
61
|
-
rules: [
|
|
62
|
-
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
63
|
-
],
|
|
64
|
-
list: [
|
|
65
|
-
{"label": "万利达集团", "value": 4},
|
|
66
|
-
{"label": "中国联通", "value": 5},
|
|
67
|
-
{"label": "中国移动", "value": 6},
|
|
68
|
-
{"label": "味多美", "value": 7},
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
//远程固定单选选择
|
|
73
|
-
{
|
|
74
|
-
label: '单选列表(固定):', //label
|
|
75
|
-
ele: 'xd-radio', //package 名称
|
|
76
|
-
valueKey: 'radio_status_list', //form[valueKey]
|
|
77
|
-
value: 6, //v-model
|
|
78
|
-
disabled: false,
|
|
79
|
-
remoteApi: '/api/editx/pages',
|
|
80
|
-
remote: true,
|
|
81
|
-
rules: [
|
|
82
|
-
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
83
|
-
],
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
//本地固定多选选择
|
|
87
|
-
{
|
|
88
|
-
label: '多选列表(固定):', //label
|
|
89
|
-
ele: 'xd-check', //package 名称
|
|
90
|
-
valueKey: 'xd-check_list', //form[valueKey]
|
|
91
|
-
value: 6, //v-model
|
|
92
|
-
disabled: true,
|
|
93
|
-
rules: [
|
|
94
|
-
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
95
|
-
],
|
|
96
|
-
list: [
|
|
97
|
-
{"label": "万利达集团", "value": 4},
|
|
98
|
-
{"label": "中国联通", "value": 5},
|
|
99
|
-
{"label": "中国移动", "value": 6},
|
|
100
|
-
{"label": "味多美", "value": 7},
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
//远程多选选选择
|
|
105
|
-
{
|
|
106
|
-
label: '多选列表:', //label
|
|
107
|
-
ele: 'xd-check', //package 名称
|
|
108
|
-
valueKey: 'xd-check_remote-list', //form[valueKey]
|
|
109
|
-
value: 6, //v-model
|
|
110
|
-
disabled: false,
|
|
111
|
-
remoteApi: '/api/editx/pages',
|
|
112
|
-
remote: true,
|
|
113
|
-
rules: [
|
|
114
|
-
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
115
|
-
],
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
//状态(二选一)单选选择
|
|
119
|
-
{
|
|
120
|
-
label: '状态(二选一):', //label
|
|
121
|
-
ele: 'xd-radio-status', //package 名称
|
|
122
|
-
valueKey: 'radio_status', //form[valueKey]
|
|
123
|
-
value: 'Y', //v-model
|
|
124
|
-
isall: true,
|
|
125
|
-
disabled: true,
|
|
126
|
-
backValueType: '', //返回值类型 1=>返回(Y,N)2=> [true|false] 3=>[1,0] 4=>[1,2]
|
|
127
|
-
placeholder: '请选择',
|
|
128
|
-
list: 'status', //status=>状态 best=>推荐 associate=>关联 yes=>是否 open=> 是否开启 check=>审核
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
//文本信息
|
|
132
|
-
{
|
|
133
|
-
label: '标题名称:', //label
|
|
134
|
-
ele: 'el-input', //package 名称
|
|
135
|
-
type: 'text',
|
|
136
|
-
valueKey: 'title', //form[valueKey]
|
|
137
|
-
value: '', //v-model
|
|
138
|
-
placeholder: '请输入标题名称',
|
|
139
|
-
classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
140
|
-
disabled: true,
|
|
141
|
-
rules: [
|
|
142
|
-
{
|
|
143
|
-
required: true,
|
|
144
|
-
type: 'url',
|
|
145
|
-
message: '请输入域名地址',
|
|
146
|
-
trigger: 'blur'
|
|
147
|
-
},
|
|
148
|
-
]
|
|
149
|
-
},
|
|
150
|
-
]
|
|
8
|
+
],
|
|
9
|
+
}
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-set-pwd {
|
|
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-set-pwd {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import StyleForm from "@/utils/StyleForm";
|
|
3
|
-
let styleForm = new StyleForm(
|
|
3
|
+
let styleForm = new StyleForm(
|
|
4
|
+
{border: null, shadow: null, spacing: '', margin: null,radius:null},
|
|
5
|
+
null,
|
|
6
|
+
'list',
|
|
7
|
+
true
|
|
8
|
+
);
|
|
4
9
|
export default {
|
|
5
10
|
style: [],
|
|
6
11
|
content: (data)=>{
|
|
@@ -10,24 +15,16 @@ export default {
|
|
|
10
15
|
ele: 'el-input',
|
|
11
16
|
type: 'text',
|
|
12
17
|
valueKey: 'custom_btn_name',
|
|
18
|
+
groupKey:'content',
|
|
13
19
|
value: data['custom_btn_name'] || '',
|
|
14
20
|
placeholder: '请输入自定义按钮名称',
|
|
15
21
|
className: 'input80'
|
|
16
22
|
},
|
|
17
|
-
{
|
|
18
|
-
"label": "自定义按钮跳转地址:",
|
|
19
|
-
"ele": "xd-select-pages-path",
|
|
20
|
-
"valueKey": "custom_btn_path",
|
|
21
|
-
"value": data['custom_btn_path'] || null,
|
|
22
|
-
"setting": {
|
|
23
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
24
|
-
},
|
|
25
|
-
"inline": false,
|
|
26
|
-
},
|
|
27
23
|
{
|
|
28
24
|
label: '是否显示码:',
|
|
29
25
|
ele: 'xd-radio',
|
|
30
26
|
valueKey: 'is_show_code',
|
|
27
|
+
groupKey:'content',
|
|
31
28
|
value:data['is_show_code']|| '',
|
|
32
29
|
placeholder: '请选择',
|
|
33
30
|
list: [
|
|
@@ -39,6 +36,7 @@ export default {
|
|
|
39
36
|
label: '是否显示商品:',
|
|
40
37
|
ele: 'xd-radio',
|
|
41
38
|
valueKey: 'is_show_product',
|
|
39
|
+
groupKey:'content',
|
|
42
40
|
value:data['is_show_product']|| '',
|
|
43
41
|
placeholder: '请选择',
|
|
44
42
|
list: [
|
|
@@ -47,8 +45,9 @@ export default {
|
|
|
47
45
|
],
|
|
48
46
|
},
|
|
49
47
|
{
|
|
50
|
-
label: '
|
|
48
|
+
label: '温馨提示配置:',
|
|
51
49
|
ele: 'xd-site-news',
|
|
50
|
+
groupKey:'content',
|
|
52
51
|
valueKey: 'notice',
|
|
53
52
|
value: data['notice'] || null,
|
|
54
53
|
className: 'input70',
|
|
@@ -70,11 +69,12 @@ export default {
|
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
//获取返回参数(场景类型名称为必填)
|
|
73
|
-
|
|
72
|
+
//获取返回参数(场景类型名称为必填)
|
|
73
|
+
let loading = { close(){}}
|
|
74
74
|
|
|
75
75
|
//获取显示内容
|
|
76
76
|
if (action === 'screen') {
|
|
77
|
-
XdBus.getParentApi('getOptionsSettingList')({
|
|
77
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
|
|
78
78
|
.then(res => {
|
|
79
79
|
loading.close();
|
|
80
80
|
data.cb(res['list'])
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
91
91
|
XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
|
|
92
92
|
.then(res => {
|
|
93
93
|
loading.close()
|
|
94
|
-
data.cb({
|
|
94
|
+
data.cb({list: res.list, selectId: res.selected})
|
|
95
95
|
})
|
|
96
96
|
.catch(error => {
|
|
97
97
|
loading.close()
|
|
@@ -114,6 +114,7 @@ export default {
|
|
|
114
114
|
|
|
115
115
|
//使用内容分类
|
|
116
116
|
if (action === 'cmsPublishEditxContent') {
|
|
117
|
+
loading = XdBus.getParentApi('loading')({});
|
|
117
118
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
118
119
|
.then(res => {
|
|
119
120
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -128,6 +129,7 @@ export default {
|
|
|
128
129
|
|
|
129
130
|
//位置列表
|
|
130
131
|
if (action === 'getListPostion') {
|
|
132
|
+
loading = XdBus.getParentApi('loading')({});
|
|
131
133
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
132
134
|
.then(res => {
|
|
133
135
|
loading.close();
|
|
@@ -141,6 +143,7 @@ export default {
|
|
|
141
143
|
|
|
142
144
|
//位置创建
|
|
143
145
|
if (action === 'addPostion') {
|
|
146
|
+
loading = XdBus.getParentApi('loading')({});
|
|
144
147
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
145
148
|
.then(res => {
|
|
146
149
|
loading.close();
|
|
@@ -155,6 +158,7 @@ export default {
|
|
|
155
158
|
|
|
156
159
|
//位置编辑
|
|
157
160
|
if (action === 'editPostion') {
|
|
161
|
+
loading = XdBus.getParentApi('loading')({});
|
|
158
162
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
159
163
|
.then(res => {
|
|
160
164
|
loading.close();
|
|
@@ -169,6 +173,7 @@ export default {
|
|
|
169
173
|
|
|
170
174
|
//位置删除
|
|
171
175
|
if (action === 'deleltePostion') {
|
|
176
|
+
loading = XdBus.getParentApi('loading')({});
|
|
172
177
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
173
178
|
.then(res => {
|
|
174
179
|
loading.close();
|
|
@@ -183,6 +188,7 @@ export default {
|
|
|
183
188
|
|
|
184
189
|
//获取广告位内容列表
|
|
185
190
|
if (action === 'getListContent') {
|
|
191
|
+
loading = XdBus.getParentApi('loading')({});
|
|
186
192
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
187
193
|
.then(res => {
|
|
188
194
|
loading.close();
|
|
@@ -196,6 +202,7 @@ export default {
|
|
|
196
202
|
|
|
197
203
|
//广告内容创建
|
|
198
204
|
if (action === 'addContent') {
|
|
205
|
+
loading = XdBus.getParentApi('loading')({});
|
|
199
206
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
200
207
|
.then(res => {
|
|
201
208
|
loading.close();
|
|
@@ -210,6 +217,7 @@ export default {
|
|
|
210
217
|
|
|
211
218
|
//广告内容编辑
|
|
212
219
|
if (action === 'editContent') {
|
|
220
|
+
loading = XdBus.getParentApi('loading')({});
|
|
213
221
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
214
222
|
.then(res => {
|
|
215
223
|
loading.close();
|
|
@@ -224,6 +232,7 @@ export default {
|
|
|
224
232
|
|
|
225
233
|
//广告内容删除
|
|
226
234
|
if (action === 'deleteContent') {
|
|
235
|
+
loading = XdBus.getParentApi('loading')({});
|
|
227
236
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
228
237
|
.then(res => {
|
|
229
238
|
loading.close();
|
|
@@ -238,6 +247,7 @@ export default {
|
|
|
238
247
|
|
|
239
248
|
//内容发布
|
|
240
249
|
if (action === 'publish') {
|
|
250
|
+
loading = XdBus.getParentApi('loading')({});
|
|
241
251
|
console.log('publish', data.params)
|
|
242
252
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
243
253
|
.then(res => {
|
|
@@ -252,14 +262,65 @@ export default {
|
|
|
252
262
|
|
|
253
263
|
//通知页面进行刷新
|
|
254
264
|
if (action === 'update') {
|
|
265
|
+
loading = XdBus.getParentApi('loading')({});
|
|
255
266
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
256
267
|
loading.close()
|
|
257
268
|
}
|
|
258
269
|
},
|
|
259
270
|
inline: false,
|
|
260
|
-
notice: '',
|
|
271
|
+
notice: '温馨提示内容配置选用后(组件预览将不做实时生效处理),将根据不同业务线展示对应提示内容。',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
label: '背景颜色:',
|
|
275
|
+
ele: 'xd-color',
|
|
276
|
+
valueKey: 'listBgColor',
|
|
277
|
+
groupKey:'style',
|
|
278
|
+
value: data.listBgColor || '',
|
|
279
|
+
placeholder: '请选择背景颜色',
|
|
280
|
+
classNmae: 'input80',
|
|
281
|
+
},
|
|
282
|
+
...styleForm.getForm(data, '二维码样式配置'),
|
|
283
|
+
{
|
|
284
|
+
ele: 'title',
|
|
285
|
+
label: '按钮样式设置',
|
|
286
|
+
size: 'small',
|
|
287
|
+
groupKey:'style',
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
label: '边框颜色:',
|
|
291
|
+
ele: 'xd-color',
|
|
292
|
+
valueKey: 'btnBorderColor',
|
|
293
|
+
groupKey:'style',
|
|
294
|
+
value: data['btnBorderColor'] || '',
|
|
295
|
+
classNmae: 'input80',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
label: '背景颜色:',
|
|
299
|
+
ele: 'xd-color',
|
|
300
|
+
valueKey: 'btnBgColor',
|
|
301
|
+
groupKey:'style',
|
|
302
|
+
value: data.btnBgColor || '',
|
|
303
|
+
classNmae: 'input80',
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
label: '文字颜色:',
|
|
307
|
+
ele: 'xd-color',
|
|
308
|
+
valueKey: 'btnTextColor',
|
|
309
|
+
groupKey:'style',
|
|
310
|
+
value: data.btnTextColor || '',
|
|
311
|
+
classNmae: 'input80',
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"label": "自定义按钮跳转地址:",
|
|
315
|
+
"ele": "xd-select-pages-path",
|
|
316
|
+
"valueKey": "custom_btn_path",
|
|
317
|
+
"value": data['custom_btn_path'] || null,
|
|
318
|
+
"groupKey":'advanced',
|
|
319
|
+
"setting": {
|
|
320
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
321
|
+
},
|
|
322
|
+
"inline": false,
|
|
261
323
|
},
|
|
262
|
-
...styleForm.getForm(data, '内容配置')
|
|
263
324
|
].filter(i=>i)
|
|
264
325
|
},
|
|
265
326
|
advanced: [],
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
<view v-if="info.codes[0].can_read_password" class="jfb-base-success__body-cashier-password" @click="showPassword = true">
|
|
109
109
|
{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}
|
|
110
110
|
</view>
|
|
111
|
+
<view v-else class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
|
|
111
112
|
<view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
|
|
112
113
|
<view
|
|
113
114
|
v-if="info.codes[0].code_end_time"
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-success {
|
|
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-success {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-test-api {
|
|
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-test-api {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-test-body {
|
|
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-test-body {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|