jufubao-base 1.0.134-beta8 → 1.0.134
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 +24 -46
- 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
|
@@ -4,11 +4,76 @@ export default {
|
|
|
4
4
|
style: [],
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: [
|
|
7
|
+
// {
|
|
8
|
+
// label: '票券登陆文案:',
|
|
9
|
+
// ele: 'el-input',
|
|
10
|
+
// type: 'text',
|
|
11
|
+
// valueKey: 'login_name',
|
|
12
|
+
// value: '',
|
|
13
|
+
// placeholder: '请输入票券登陆文案',
|
|
14
|
+
// className: 'input80',
|
|
15
|
+
// inline: false,
|
|
16
|
+
// notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
|
|
17
|
+
// },
|
|
18
|
+
{
|
|
19
|
+
label: '失效卡列表地址:', //label
|
|
20
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
21
|
+
valueKey: 'disabled_url', //form[valueKey]
|
|
22
|
+
placeholder: '请选择失效卡列表地址',
|
|
23
|
+
value: null,
|
|
24
|
+
setting: {
|
|
25
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
26
|
+
},
|
|
27
|
+
inline: false,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: '卡券详情地址:', //label
|
|
31
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
32
|
+
valueKey: 'detail_url', //form[valueKey]
|
|
33
|
+
placeholder: '请选择卡券详情地址',
|
|
34
|
+
value: null,
|
|
35
|
+
setting: {
|
|
36
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
37
|
+
},
|
|
38
|
+
inline: false,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: '卡券转换地址:', //label
|
|
42
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
43
|
+
valueKey: 'change_url', //form[valueKey]
|
|
44
|
+
placeholder: '请选择卡券转换地址',
|
|
45
|
+
value: null,
|
|
46
|
+
setting: {
|
|
47
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
48
|
+
},
|
|
49
|
+
inline: false,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: '卡券密码绑定地址:', //label
|
|
53
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
54
|
+
valueKey: 'bind_url', //form[valueKey]
|
|
55
|
+
placeholder: '请选择卡券密码绑定地址',
|
|
56
|
+
value: null,
|
|
57
|
+
setting: {
|
|
58
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
59
|
+
},
|
|
60
|
+
inline: false,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
label: '扫码绑定卡券确认地址:', //label
|
|
64
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
65
|
+
valueKey: 'confirm_url', //form[valueKey]
|
|
66
|
+
placeholder: '请选择扫码绑定卡券确认地址',
|
|
67
|
+
value: null,
|
|
68
|
+
setting: {
|
|
69
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
70
|
+
},
|
|
71
|
+
inline: false,
|
|
72
|
+
},
|
|
7
73
|
{
|
|
8
74
|
label: '提示内容:',
|
|
9
75
|
ele: 'xd-site-news',
|
|
10
76
|
valueKey: 'notice',
|
|
11
|
-
groupKey:'content',
|
|
12
77
|
value: null,
|
|
13
78
|
className: 'input70',
|
|
14
79
|
setting: {
|
|
@@ -29,8 +94,7 @@ export default {
|
|
|
29
94
|
}
|
|
30
95
|
|
|
31
96
|
//获取返回参数(场景类型名称为必填)
|
|
32
|
-
|
|
33
|
-
let loading = { close(){}}
|
|
97
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
34
98
|
|
|
35
99
|
//获取显示内容
|
|
36
100
|
if (action === 'screen') {
|
|
@@ -74,7 +138,6 @@ export default {
|
|
|
74
138
|
|
|
75
139
|
//使用内容分类
|
|
76
140
|
if (action === 'cmsPublishEditxContent') {
|
|
77
|
-
loading = XdBus.getParentApi('loading')({});
|
|
78
141
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
79
142
|
.then(res => {
|
|
80
143
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -89,7 +152,6 @@ export default {
|
|
|
89
152
|
|
|
90
153
|
//位置列表
|
|
91
154
|
if (action === 'getListPostion') {
|
|
92
|
-
loading = XdBus.getParentApi('loading')({});
|
|
93
155
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
94
156
|
.then(res => {
|
|
95
157
|
loading.close();
|
|
@@ -103,7 +165,6 @@ export default {
|
|
|
103
165
|
|
|
104
166
|
//位置创建
|
|
105
167
|
if (action === 'addPostion') {
|
|
106
|
-
loading = XdBus.getParentApi('loading')({});
|
|
107
168
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
108
169
|
.then(res => {
|
|
109
170
|
loading.close();
|
|
@@ -118,7 +179,6 @@ export default {
|
|
|
118
179
|
|
|
119
180
|
//位置编辑
|
|
120
181
|
if (action === 'editPostion') {
|
|
121
|
-
loading = XdBus.getParentApi('loading')({});
|
|
122
182
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
123
183
|
.then(res => {
|
|
124
184
|
loading.close();
|
|
@@ -133,7 +193,6 @@ export default {
|
|
|
133
193
|
|
|
134
194
|
//位置删除
|
|
135
195
|
if (action === 'deleltePostion') {
|
|
136
|
-
loading = XdBus.getParentApi('loading')({});
|
|
137
196
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
138
197
|
.then(res => {
|
|
139
198
|
loading.close();
|
|
@@ -148,7 +207,6 @@ export default {
|
|
|
148
207
|
|
|
149
208
|
//获取广告位内容列表
|
|
150
209
|
if (action === 'getListContent') {
|
|
151
|
-
loading = XdBus.getParentApi('loading')({});
|
|
152
210
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
153
211
|
.then(res => {
|
|
154
212
|
loading.close();
|
|
@@ -162,7 +220,6 @@ export default {
|
|
|
162
220
|
|
|
163
221
|
//广告内容创建
|
|
164
222
|
if (action === 'addContent') {
|
|
165
|
-
loading = XdBus.getParentApi('loading')({});
|
|
166
223
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
167
224
|
.then(res => {
|
|
168
225
|
loading.close();
|
|
@@ -177,7 +234,6 @@ export default {
|
|
|
177
234
|
|
|
178
235
|
//广告内容编辑
|
|
179
236
|
if (action === 'editContent') {
|
|
180
|
-
loading = XdBus.getParentApi('loading')({});
|
|
181
237
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
182
238
|
.then(res => {
|
|
183
239
|
loading.close();
|
|
@@ -192,7 +248,6 @@ export default {
|
|
|
192
248
|
|
|
193
249
|
//广告内容删除
|
|
194
250
|
if (action === 'deleteContent') {
|
|
195
|
-
loading = XdBus.getParentApi('loading')({});
|
|
196
251
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
197
252
|
.then(res => {
|
|
198
253
|
loading.close();
|
|
@@ -207,7 +262,6 @@ export default {
|
|
|
207
262
|
|
|
208
263
|
//内容发布
|
|
209
264
|
if (action === 'publish') {
|
|
210
|
-
loading = XdBus.getParentApi('loading')({});
|
|
211
265
|
console.log('publish', data.params)
|
|
212
266
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
213
267
|
.then(res => {
|
|
@@ -222,7 +276,6 @@ export default {
|
|
|
222
276
|
|
|
223
277
|
//通知页面进行刷新
|
|
224
278
|
if (action === 'update') {
|
|
225
|
-
loading = XdBus.getParentApi('loading')({});
|
|
226
279
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
227
280
|
loading.close()
|
|
228
281
|
}
|
|
@@ -230,77 +283,5 @@ export default {
|
|
|
230
283
|
inline: false,
|
|
231
284
|
notice: '请配置温馨提示内容,未配置的情况将不显示此模块',
|
|
232
285
|
},
|
|
233
|
-
{
|
|
234
|
-
label: "是否展示核销二维码",
|
|
235
|
-
ele: "xd-radio",
|
|
236
|
-
valueKey: "isShowCode",
|
|
237
|
-
groupKey:'content',
|
|
238
|
-
value:"N",
|
|
239
|
-
list: [
|
|
240
|
-
{label: "是", value: "Y"},
|
|
241
|
-
{label: "否", value: "N"},
|
|
242
|
-
]
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
label: '失效卡列表地址:',
|
|
246
|
-
ele: 'xd-select-pages-path',
|
|
247
|
-
valueKey: 'disabled_url',
|
|
248
|
-
groupKey:'advanced',
|
|
249
|
-
placeholder: '请选择失效卡列表地址',
|
|
250
|
-
value: null,
|
|
251
|
-
setting: {
|
|
252
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
253
|
-
},
|
|
254
|
-
inline: false,
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
label: '票券详情地址:',
|
|
258
|
-
ele: 'xd-select-pages-path',
|
|
259
|
-
valueKey: 'detail_url',
|
|
260
|
-
groupKey:'advanced',
|
|
261
|
-
placeholder: '请选择票券详情地址',
|
|
262
|
-
value: null,
|
|
263
|
-
setting: {
|
|
264
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
265
|
-
},
|
|
266
|
-
inline: false,
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
label: '票券转换地址:',
|
|
270
|
-
ele: 'xd-select-pages-path',
|
|
271
|
-
valueKey: 'change_url',
|
|
272
|
-
groupKey:'advanced',
|
|
273
|
-
placeholder: '请选择票券转换地址',
|
|
274
|
-
value: null,
|
|
275
|
-
setting: {
|
|
276
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
277
|
-
},
|
|
278
|
-
inline: false,
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
label: '票券密码绑定地址:',
|
|
282
|
-
ele: 'xd-select-pages-path',
|
|
283
|
-
valueKey: 'bind_url',
|
|
284
|
-
groupKey:'advanced',
|
|
285
|
-
placeholder: '请选择票券密码绑定地址',
|
|
286
|
-
value: null,
|
|
287
|
-
setting: {
|
|
288
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
289
|
-
},
|
|
290
|
-
inline: false,
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
label: '扫码绑定票券确认地址:',
|
|
294
|
-
ele: 'xd-select-pages-path',
|
|
295
|
-
valueKey: 'confirm_url',
|
|
296
|
-
groupKey:'advanced',
|
|
297
|
-
placeholder: '请选择扫码绑定票券确认地址',
|
|
298
|
-
value: null,
|
|
299
|
-
setting: {
|
|
300
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
301
|
-
},
|
|
302
|
-
inline: false,
|
|
303
|
-
},
|
|
304
|
-
|
|
305
286
|
],
|
|
306
287
|
};
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
<text>券号:</text>
|
|
178
178
|
<text>{{item.card_number}}</text>
|
|
179
179
|
</view>
|
|
180
|
-
<view @click.stop="toDetail(item)"
|
|
180
|
+
<view @click.stop="toDetail(item)">
|
|
181
181
|
<view>
|
|
182
182
|
<xd-font-icon icon="iconerweima" width="56" height="56" size="50" color="#fff"></xd-font-icon>
|
|
183
183
|
</view>
|
|
@@ -436,11 +436,10 @@ export default {
|
|
|
436
436
|
tabIndex: 1,
|
|
437
437
|
isBack: null, //是否使用返回键
|
|
438
438
|
inCallback: null, //内部跳转地址
|
|
439
|
-
isShowCode: 'N',
|
|
440
439
|
|
|
441
440
|
|
|
442
441
|
//页面跳转地址
|
|
443
|
-
login_name:''
|
|
442
|
+
login_name:'',//登陆文案
|
|
444
443
|
changeUrl: "",
|
|
445
444
|
bindUrl: "",
|
|
446
445
|
detailUrl: "",
|
|
@@ -488,8 +487,8 @@ export default {
|
|
|
488
487
|
this.bindUrl = getContainerPropsValue(container,"content.bind_url",{value: ""}).value;
|
|
489
488
|
this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
|
|
490
489
|
this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
|
|
490
|
+
//this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
|
|
491
491
|
this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
|
|
492
|
-
this.isShowCode = getContainerPropsValue(container, "content.isShowCode", "N");
|
|
493
492
|
},
|
|
494
493
|
|
|
495
494
|
handleToLink(path) {
|
|
@@ -573,7 +572,7 @@ export default {
|
|
|
573
572
|
* @param item
|
|
574
573
|
*/
|
|
575
574
|
handleBindLogin(item , entry) {
|
|
576
|
-
|
|
575
|
+
//卡券登陆
|
|
577
576
|
if (this.tabIndex === 1) {
|
|
578
577
|
if (item["is_valid"] !== "Y") {
|
|
579
578
|
return;
|
|
@@ -675,7 +674,7 @@ export default {
|
|
|
675
674
|
}
|
|
676
675
|
}
|
|
677
676
|
|
|
678
|
-
|
|
677
|
+
//登陆成功调整地址优先级
|
|
679
678
|
this.inCallback = inCallback || this.allEntryPath || this.settings.index;
|
|
680
679
|
this.getContent();
|
|
681
680
|
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-entry {
|
|
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-card-entry {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -5,10 +5,9 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: [
|
|
7
7
|
{
|
|
8
|
-
label: '卡绑定成功回跳地址:',
|
|
9
|
-
ele: 'xd-select-pages-path',
|
|
10
|
-
valueKey: 'back_url',
|
|
11
|
-
groupKey:'advanced',
|
|
8
|
+
label: '卡绑定成功回跳地址:', //label
|
|
9
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
10
|
+
valueKey: 'back_url', //form[valueKey]
|
|
12
11
|
placeholder: '请选择卡绑定成功回跳地址',
|
|
13
12
|
value: null,
|
|
14
13
|
setting: {
|
|
@@ -17,10 +16,9 @@ export default {
|
|
|
17
16
|
inline: false,
|
|
18
17
|
},
|
|
19
18
|
{
|
|
20
|
-
label: '我的票券跳转地址:',
|
|
21
|
-
ele: 'xd-select-pages-path',
|
|
22
|
-
valueKey: 'my_card_url',
|
|
23
|
-
groupKey:'advanced',
|
|
19
|
+
label: '我的票券跳转地址:', //label
|
|
20
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
21
|
+
valueKey: 'my_card_url', //form[valueKey]
|
|
24
22
|
placeholder: '请选择我的票券跳转地址',
|
|
25
23
|
value: null,
|
|
26
24
|
setting: {
|
|
@@ -28,24 +26,12 @@ export default {
|
|
|
28
26
|
},
|
|
29
27
|
inline: false,
|
|
30
28
|
},
|
|
31
|
-
{
|
|
32
|
-
label: "票券过期是否展示余额",
|
|
33
|
-
ele: "xd-radio",
|
|
34
|
-
valueKey: "is_show_balance",
|
|
35
|
-
groupKey:'content',
|
|
36
|
-
value: "N",
|
|
37
|
-
list: [
|
|
38
|
-
{label: "是", value: "Y"},
|
|
39
|
-
{label: "否", value: "N"},
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
29
|
{
|
|
43
30
|
label: '券号框自定义文案:',
|
|
44
31
|
ele: 'el-input',
|
|
45
32
|
type: 'text',
|
|
46
33
|
valueKey: 'card_num_placeholder',
|
|
47
34
|
value: '',
|
|
48
|
-
groupKey:'content',
|
|
49
35
|
placeholder: '请输入券号框自定义文案',
|
|
50
36
|
className: 'input80'
|
|
51
37
|
},
|
|
@@ -53,12 +39,20 @@ export default {
|
|
|
53
39
|
label: '密码框自定义文案:',
|
|
54
40
|
ele: 'el-input',
|
|
55
41
|
type: 'text',
|
|
56
|
-
groupKey:'content',
|
|
57
42
|
valueKey: 'card_pwd_placeholder',
|
|
58
43
|
value: '',
|
|
59
44
|
placeholder: '请输入密码框自定义文案',
|
|
60
45
|
className: 'input80'
|
|
61
46
|
},
|
|
62
|
-
|
|
47
|
+
{
|
|
48
|
+
label: "票券过期是否展示余额",
|
|
49
|
+
ele: "xd-radio",
|
|
50
|
+
valueKey: "is_show_balance",
|
|
51
|
+
value: "N",
|
|
52
|
+
list: [
|
|
53
|
+
{label: "是", value: "Y"},
|
|
54
|
+
{label: "否", value: "N"},
|
|
55
|
+
]
|
|
56
|
+
}
|
|
63
57
|
],
|
|
64
58
|
};
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-info {
|
|
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-card-info {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -5,11 +5,10 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: [
|
|
7
7
|
{
|
|
8
|
-
label: '
|
|
9
|
-
ele: 'xd-select-pages-path',
|
|
10
|
-
valueKey: 'back_url',
|
|
11
|
-
|
|
12
|
-
placeholder: '请选择票券绑定成功回跳地址',
|
|
8
|
+
label: '卡绑定成功回跳地址:', //label
|
|
9
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
10
|
+
valueKey: 'back_url', //form[valueKey]
|
|
11
|
+
placeholder: '请选择卡绑定成功回跳地址',
|
|
13
12
|
value: null,
|
|
14
13
|
setting: {
|
|
15
14
|
router: XdBus.getParentApi('getPagesTree'),
|
|
@@ -17,10 +16,9 @@ export default {
|
|
|
17
16
|
inline: false,
|
|
18
17
|
},
|
|
19
18
|
{
|
|
20
|
-
label: '我的票券跳转地址:',
|
|
21
|
-
ele: 'xd-select-pages-path',
|
|
22
|
-
valueKey: 'my_card_url',
|
|
23
|
-
groupKey:'advanced',
|
|
19
|
+
label: '我的票券跳转地址:', //label
|
|
20
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
21
|
+
valueKey: 'my_card_url', //form[valueKey]
|
|
24
22
|
placeholder: '请选择我的票券跳转地址',
|
|
25
23
|
value: null,
|
|
26
24
|
setting: {
|
|
@@ -29,30 +27,27 @@ export default {
|
|
|
29
27
|
inline: false,
|
|
30
28
|
},
|
|
31
29
|
{
|
|
32
|
-
label: '
|
|
30
|
+
label: '券号框自定义文案:',
|
|
33
31
|
ele: 'el-input',
|
|
34
32
|
type: 'text',
|
|
35
33
|
valueKey: 'card_num_placeholder',
|
|
36
|
-
groupKey:'content',
|
|
37
34
|
value: '',
|
|
38
|
-
placeholder: '
|
|
35
|
+
placeholder: '请输入券号框自定义文案',
|
|
39
36
|
className: 'input80'
|
|
40
37
|
},
|
|
41
38
|
{
|
|
42
|
-
label: '
|
|
39
|
+
label: '密码框自定义文案:',
|
|
43
40
|
ele: 'el-input',
|
|
44
41
|
type: 'text',
|
|
45
42
|
valueKey: 'card_pwd_placeholder',
|
|
46
|
-
groupKey:'content',
|
|
47
43
|
value: '',
|
|
48
|
-
placeholder: '
|
|
44
|
+
placeholder: '请输入密码框自定义文案',
|
|
49
45
|
className: 'input80'
|
|
50
46
|
},
|
|
51
47
|
{
|
|
52
48
|
label: "票券过期是否展示余额",
|
|
53
49
|
ele: "xd-radio",
|
|
54
50
|
valueKey: "is_show_balance",
|
|
55
|
-
groupKey:'content',
|
|
56
51
|
value: "N",
|
|
57
52
|
list: [
|
|
58
53
|
{label: "是", value: "Y"},
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-info-entry {
|
|
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-card-info-entry {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|