jufubao-base 1.0.129 → 1.0.130-beta2
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 +5 -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 +39 -34
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +51 -73
- 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/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
|
@@ -4,97 +4,12 @@ export default {
|
|
|
4
4
|
style: [],
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: [
|
|
7
|
-
{
|
|
8
|
-
label: 'LOGO文字颜色:',
|
|
9
|
-
ele: 'xd-color',
|
|
10
|
-
valueKey: 'logoTextColor',
|
|
11
|
-
value: '',
|
|
12
|
-
placeholder: '请输入LOGO文字颜色',
|
|
13
|
-
classNmae: 'input80',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
label: '是否使用体验码功能:',
|
|
17
|
-
ele: 'xd-radio',
|
|
18
|
-
valueKey: 'isPreview',
|
|
19
|
-
value: 'N',
|
|
20
|
-
placeholder: '请选择是否使用体验码功能',
|
|
21
|
-
multiple: false,
|
|
22
|
-
className: 'input80',
|
|
23
|
-
list: [
|
|
24
|
-
{label: '是', value: 'Y'},
|
|
25
|
-
{label: '否', value: 'N'},
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
ele: 'title',
|
|
30
|
-
label: '页面连接设置',
|
|
31
|
-
size: 'small',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
label: '快速授权失败访问地址:', //label
|
|
35
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
36
|
-
valueKey: 'error_url', //form[valueKey]
|
|
37
|
-
placeholder: '请选择快速授权失败访问地址',
|
|
38
|
-
value: null,
|
|
39
|
-
setting: {
|
|
40
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
41
|
-
},
|
|
42
|
-
inline: false,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: '登录成功跳转地址:', //label
|
|
46
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
47
|
-
valueKey: 'callback_url', //form[valueKey]
|
|
48
|
-
placeholder: '请选择登录成功跳转地址',
|
|
49
|
-
value: null,
|
|
50
|
-
setting: {
|
|
51
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
52
|
-
},
|
|
53
|
-
inline: false,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
label: '手机号登录地址:', //label
|
|
57
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
58
|
-
valueKey: 'phone_number_login_url', //form[valueKey]
|
|
59
|
-
placeholder: '请选择手机号登录地址',
|
|
60
|
-
value: null,
|
|
61
|
-
setting: {
|
|
62
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
63
|
-
},
|
|
64
|
-
inline: false,
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
label: '收集手机号地址:', //label
|
|
68
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
69
|
-
valueKey: 'phone_number_collect_url', //form[valueKey]
|
|
70
|
-
placeholder: '请选择收集手机号地址',
|
|
71
|
-
value: null,
|
|
72
|
-
setting: {
|
|
73
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
74
|
-
},
|
|
75
|
-
inline: false,
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
label: '忘记密码跳转地址:', //label
|
|
79
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
80
|
-
valueKey: 'forget_pwd_url', //form[valueKey]
|
|
81
|
-
placeholder: '请选择跳转地址',
|
|
82
|
-
value: null,
|
|
83
|
-
setting: {
|
|
84
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
85
|
-
},
|
|
86
|
-
inline: false,
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
ele: 'title',
|
|
90
|
-
label: '服务设置',
|
|
91
|
-
size: 'small',
|
|
92
|
-
},
|
|
93
7
|
{
|
|
94
8
|
label: '隐私政策:',
|
|
95
9
|
ele: 'xd-site-news',
|
|
96
10
|
valueKey: 'notice',
|
|
97
11
|
value: {type: 'privacy'},
|
|
12
|
+
groupKey:'content',
|
|
98
13
|
className: 'input70',
|
|
99
14
|
setting: {
|
|
100
15
|
type: 'privacy',
|
|
@@ -115,7 +30,8 @@ export default {
|
|
|
115
30
|
}
|
|
116
31
|
|
|
117
32
|
//获取返回参数(场景类型名称为必填)
|
|
118
|
-
|
|
33
|
+
//获取返回参数(场景类型名称为必填)
|
|
34
|
+
let loading = { close(){}}
|
|
119
35
|
|
|
120
36
|
//获取显示内容
|
|
121
37
|
if (action === 'screen') {
|
|
@@ -159,6 +75,7 @@ export default {
|
|
|
159
75
|
|
|
160
76
|
//使用内容分类
|
|
161
77
|
if (action === 'cmsPublishEditxContent') {
|
|
78
|
+
loading = XdBus.getParentApi('loading')({});
|
|
162
79
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
163
80
|
.then(res => {
|
|
164
81
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -173,6 +90,7 @@ export default {
|
|
|
173
90
|
|
|
174
91
|
//位置列表
|
|
175
92
|
if (action === 'getListPostion') {
|
|
93
|
+
loading = XdBus.getParentApi('loading')({});
|
|
176
94
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
177
95
|
.then(res => {
|
|
178
96
|
loading.close();
|
|
@@ -186,6 +104,7 @@ export default {
|
|
|
186
104
|
|
|
187
105
|
//位置创建
|
|
188
106
|
if (action === 'addPostion') {
|
|
107
|
+
loading = XdBus.getParentApi('loading')({});
|
|
189
108
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
190
109
|
.then(res => {
|
|
191
110
|
loading.close();
|
|
@@ -200,6 +119,7 @@ export default {
|
|
|
200
119
|
|
|
201
120
|
//位置编辑
|
|
202
121
|
if (action === 'editPostion') {
|
|
122
|
+
loading = XdBus.getParentApi('loading')({});
|
|
203
123
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
204
124
|
.then(res => {
|
|
205
125
|
loading.close();
|
|
@@ -214,6 +134,7 @@ export default {
|
|
|
214
134
|
|
|
215
135
|
//位置删除
|
|
216
136
|
if (action === 'deleltePostion') {
|
|
137
|
+
loading = XdBus.getParentApi('loading')({});
|
|
217
138
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
218
139
|
.then(res => {
|
|
219
140
|
loading.close();
|
|
@@ -228,6 +149,7 @@ export default {
|
|
|
228
149
|
|
|
229
150
|
//获取广告位内容列表
|
|
230
151
|
if (action === 'getListContent') {
|
|
152
|
+
loading = XdBus.getParentApi('loading')({});
|
|
231
153
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
232
154
|
.then(res => {
|
|
233
155
|
loading.close();
|
|
@@ -241,6 +163,7 @@ export default {
|
|
|
241
163
|
|
|
242
164
|
//广告内容创建
|
|
243
165
|
if (action === 'addContent') {
|
|
166
|
+
loading = XdBus.getParentApi('loading')({});
|
|
244
167
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
245
168
|
.then(res => {
|
|
246
169
|
loading.close();
|
|
@@ -255,6 +178,7 @@ export default {
|
|
|
255
178
|
|
|
256
179
|
//广告内容编辑
|
|
257
180
|
if (action === 'editContent') {
|
|
181
|
+
loading = XdBus.getParentApi('loading')({});
|
|
258
182
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
259
183
|
.then(res => {
|
|
260
184
|
loading.close();
|
|
@@ -269,6 +193,7 @@ export default {
|
|
|
269
193
|
|
|
270
194
|
//广告内容删除
|
|
271
195
|
if (action === 'deleteContent') {
|
|
196
|
+
loading = XdBus.getParentApi('loading')({});
|
|
272
197
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
273
198
|
.then(res => {
|
|
274
199
|
loading.close();
|
|
@@ -283,6 +208,7 @@ export default {
|
|
|
283
208
|
|
|
284
209
|
//内容发布
|
|
285
210
|
if (action === 'publish') {
|
|
211
|
+
loading = XdBus.getParentApi('loading')({});
|
|
286
212
|
console.log('publish', data.params)
|
|
287
213
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
288
214
|
.then(res => {
|
|
@@ -297,6 +223,7 @@ export default {
|
|
|
297
223
|
|
|
298
224
|
//通知页面进行刷新
|
|
299
225
|
if (action === 'update') {
|
|
226
|
+
loading = XdBus.getParentApi('loading')({});
|
|
300
227
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
301
228
|
loading.close()
|
|
302
229
|
}
|
|
@@ -308,6 +235,7 @@ export default {
|
|
|
308
235
|
label: '用户服务协议:',
|
|
309
236
|
ele: 'xd-site-news',
|
|
310
237
|
valueKey: 'notices',
|
|
238
|
+
groupKey:'content',
|
|
311
239
|
value: {type: 'privacy'},
|
|
312
240
|
className: 'input70',
|
|
313
241
|
setting: {
|
|
@@ -328,7 +256,7 @@ export default {
|
|
|
328
256
|
}
|
|
329
257
|
|
|
330
258
|
//获取返回参数(场景类型名称为必填)
|
|
331
|
-
let loading =
|
|
259
|
+
let loading = { close(){}}
|
|
332
260
|
|
|
333
261
|
//获取显示内容
|
|
334
262
|
if (action === 'screen') {
|
|
@@ -372,6 +300,7 @@ export default {
|
|
|
372
300
|
|
|
373
301
|
//使用内容分类
|
|
374
302
|
if (action === 'cmsPublishEditxContent') {
|
|
303
|
+
loading = XdBus.getParentApi('loading')({});
|
|
375
304
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
376
305
|
.then(res => {
|
|
377
306
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -386,6 +315,7 @@ export default {
|
|
|
386
315
|
|
|
387
316
|
//位置列表
|
|
388
317
|
if (action === 'getListPostion') {
|
|
318
|
+
loading = XdBus.getParentApi('loading')({});
|
|
389
319
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
390
320
|
.then(res => {
|
|
391
321
|
loading.close();
|
|
@@ -399,6 +329,7 @@ export default {
|
|
|
399
329
|
|
|
400
330
|
//位置创建
|
|
401
331
|
if (action === 'addPostion') {
|
|
332
|
+
loading = XdBus.getParentApi('loading')({});
|
|
402
333
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
403
334
|
.then(res => {
|
|
404
335
|
loading.close();
|
|
@@ -413,6 +344,7 @@ export default {
|
|
|
413
344
|
|
|
414
345
|
//位置编辑
|
|
415
346
|
if (action === 'editPostion') {
|
|
347
|
+
loading = XdBus.getParentApi('loading')({});
|
|
416
348
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
417
349
|
.then(res => {
|
|
418
350
|
loading.close();
|
|
@@ -427,6 +359,7 @@ export default {
|
|
|
427
359
|
|
|
428
360
|
//位置删除
|
|
429
361
|
if (action === 'deleltePostion') {
|
|
362
|
+
loading = XdBus.getParentApi('loading')({});
|
|
430
363
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
431
364
|
.then(res => {
|
|
432
365
|
loading.close();
|
|
@@ -441,6 +374,7 @@ export default {
|
|
|
441
374
|
|
|
442
375
|
//获取广告位内容列表
|
|
443
376
|
if (action === 'getListContent') {
|
|
377
|
+
loading = XdBus.getParentApi('loading')({});
|
|
444
378
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
445
379
|
.then(res => {
|
|
446
380
|
loading.close();
|
|
@@ -454,6 +388,7 @@ export default {
|
|
|
454
388
|
|
|
455
389
|
//广告内容创建
|
|
456
390
|
if (action === 'addContent') {
|
|
391
|
+
loading = XdBus.getParentApi('loading')({});
|
|
457
392
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
458
393
|
.then(res => {
|
|
459
394
|
loading.close();
|
|
@@ -468,6 +403,7 @@ export default {
|
|
|
468
403
|
|
|
469
404
|
//广告内容编辑
|
|
470
405
|
if (action === 'editContent') {
|
|
406
|
+
loading = XdBus.getParentApi('loading')({});
|
|
471
407
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
472
408
|
.then(res => {
|
|
473
409
|
loading.close();
|
|
@@ -482,6 +418,7 @@ export default {
|
|
|
482
418
|
|
|
483
419
|
//广告内容删除
|
|
484
420
|
if (action === 'deleteContent') {
|
|
421
|
+
loading = XdBus.getParentApi('loading')({});
|
|
485
422
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
486
423
|
.then(res => {
|
|
487
424
|
loading.close();
|
|
@@ -496,6 +433,7 @@ export default {
|
|
|
496
433
|
|
|
497
434
|
//内容发布
|
|
498
435
|
if (action === 'publish') {
|
|
436
|
+
loading = XdBus.getParentApi('loading')({});
|
|
499
437
|
console.log('publish', data.params)
|
|
500
438
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
501
439
|
.then(res => {
|
|
@@ -510,6 +448,7 @@ export default {
|
|
|
510
448
|
|
|
511
449
|
//通知页面进行刷新
|
|
512
450
|
if (action === 'update') {
|
|
451
|
+
loading = XdBus.getParentApi('loading')({});
|
|
513
452
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
514
453
|
loading.close()
|
|
515
454
|
}
|
|
@@ -517,5 +456,89 @@ export default {
|
|
|
517
456
|
inline: false,
|
|
518
457
|
notice: '',
|
|
519
458
|
},
|
|
459
|
+
{
|
|
460
|
+
label: '是否使用体验码功能:',
|
|
461
|
+
ele: 'xd-radio',
|
|
462
|
+
valueKey: 'isPreview',
|
|
463
|
+
groupKey:'content',
|
|
464
|
+
value: 'N',
|
|
465
|
+
placeholder: '请选择是否使用体验码功能',
|
|
466
|
+
multiple: false,
|
|
467
|
+
className: 'input80',
|
|
468
|
+
list: [
|
|
469
|
+
{label: '是', value: 'Y'},
|
|
470
|
+
{label: '否', value: 'N'},
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
label: '站点名称颜色:',
|
|
475
|
+
ele: 'xd-color',
|
|
476
|
+
valueKey: 'logoTextColor',
|
|
477
|
+
groupKey:'style',
|
|
478
|
+
value: '',
|
|
479
|
+
placeholder: '请选择站点名称颜色',
|
|
480
|
+
classNmae: 'input60',
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
label: '快速授权失败访问地址:', //label
|
|
484
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
485
|
+
valueKey: 'error_url', //form[valueKey]
|
|
486
|
+
groupKey:'advanced',
|
|
487
|
+
placeholder: '请选择快速授权失败访问地址',
|
|
488
|
+
value: null,
|
|
489
|
+
setting: {
|
|
490
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
491
|
+
},
|
|
492
|
+
inline: false,
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
label: '登录成功跳转地址:', //label
|
|
496
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
497
|
+
valueKey: 'callback_url', //form[valueKey]
|
|
498
|
+
groupKey:'advanced',
|
|
499
|
+
placeholder: '请选择登录成功跳转地址',
|
|
500
|
+
value: null,
|
|
501
|
+
setting: {
|
|
502
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
503
|
+
},
|
|
504
|
+
inline: false,
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
label: '手机号登录地址:', //label
|
|
508
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
509
|
+
valueKey: 'phone_number_login_url', //form[valueKey]
|
|
510
|
+
groupKey:'advanced',
|
|
511
|
+
placeholder: '请选择手机号登录地址',
|
|
512
|
+
value: null,
|
|
513
|
+
setting: {
|
|
514
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
515
|
+
},
|
|
516
|
+
inline: false,
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
label: '收集手机号地址:', //label
|
|
520
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
521
|
+
valueKey: 'phone_number_collect_url', //form[valueKey]
|
|
522
|
+
groupKey:'advanced',
|
|
523
|
+
placeholder: '请选择收集手机号地址',
|
|
524
|
+
value: null,
|
|
525
|
+
setting: {
|
|
526
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
527
|
+
},
|
|
528
|
+
inline: false,
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
label: '忘记密码跳转地址:', //label
|
|
532
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
533
|
+
valueKey: 'forget_pwd_url', //form[valueKey]
|
|
534
|
+
groupKey:'advanced',
|
|
535
|
+
placeholder: '请选择跳转地址',
|
|
536
|
+
value: null,
|
|
537
|
+
setting: {
|
|
538
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
539
|
+
},
|
|
540
|
+
inline: false,
|
|
541
|
+
},
|
|
542
|
+
|
|
520
543
|
]
|
|
521
544
|
}
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-login {
|
|
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-login {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -3,52 +3,59 @@
|
|
|
3
3
|
export default {
|
|
4
4
|
style: [],
|
|
5
5
|
advanced: [],
|
|
6
|
-
content
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
6
|
+
content(data){
|
|
7
|
+
let showHotLine = 'N';
|
|
8
|
+
if(data.showHotLine) showHotLine = data.showHotLine;
|
|
9
|
+
return [
|
|
10
|
+
{
|
|
11
|
+
label: "是否弹出客服热线提示:",
|
|
12
|
+
ele: "xd-radio",
|
|
13
|
+
valueKey: "showHotLine",
|
|
14
|
+
groupKey: 'content',
|
|
15
|
+
value: showHotLine,
|
|
16
|
+
list: [
|
|
17
|
+
{label: "是", value: "Y"},
|
|
18
|
+
{label: "否", value: "N"}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
showHotLine === 'Y' && {
|
|
22
|
+
label: '客服热线:',
|
|
23
|
+
ele: 'el-input',
|
|
24
|
+
type: 'text',
|
|
25
|
+
groupKey: 'content',
|
|
26
|
+
valueKey: 'tell_hot',
|
|
27
|
+
value: data['tell_hot'],
|
|
28
|
+
placeholder: '请输入客服电话号码',
|
|
29
|
+
classNmae: 'input80',
|
|
30
|
+
rules: [
|
|
31
|
+
{
|
|
32
|
+
required: true,
|
|
33
|
+
message: '请输入客服电话号码',
|
|
34
|
+
trigger: 'blur'
|
|
26
35
|
},
|
|
27
|
-
|
|
28
|
-
|
|
36
|
+
{
|
|
37
|
+
validator: (rule, value, callback) => {
|
|
38
|
+
value = value.trim();
|
|
39
|
+
if (value.length > 15) callback('请输入正确的联系方式');
|
|
40
|
+
else callback()
|
|
41
|
+
},
|
|
42
|
+
trigger: 'blur'
|
|
43
|
+
}
|
|
29
44
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
label: '重新设置密码地址:',
|
|
49
|
+
ele: 'xd-select-pages-path',
|
|
50
|
+
valueKey: 'reset_pwd_url',
|
|
51
|
+
groupKey: 'advanced',
|
|
52
|
+
placeholder: '请选择跳转地址',
|
|
53
|
+
value: data.reset_pwd_url || null,
|
|
54
|
+
setting: {
|
|
55
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
56
|
+
},
|
|
57
|
+
inline: false,
|
|
40
58
|
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
label: "是否弹出客服热线提示:",
|
|
45
|
-
ele: "xd-radio",
|
|
46
|
-
valueKey: "showHotLine",
|
|
47
|
-
value: "N",
|
|
48
|
-
list: [
|
|
49
|
-
{label: "是", value: "Y"},
|
|
50
|
-
{label: "否", value: "N"}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
],
|
|
59
|
+
].filter(i=>i);
|
|
60
|
+
}
|
|
54
61
|
}
|
|
@@ -62,14 +62,16 @@
|
|
|
62
62
|
>
|
|
63
63
|
</view>
|
|
64
64
|
<xd-dailog :show.sync="showHotLine" :cancel="false" :confirm="false" :showClose="false" title="温馨提示">
|
|
65
|
-
<view
|
|
66
|
-
<view
|
|
65
|
+
<view class="phone">
|
|
66
|
+
<view>亲爱的用户,为了您的账户安全请联系管理员,或拨打客服热线</view>
|
|
67
|
+
<view class="contact_phone" :style="{color:mainColor}">{{ tell_hot }}</view>
|
|
67
68
|
<xd-button
|
|
68
69
|
type="primary"
|
|
69
70
|
:bgColor="mainColor"
|
|
70
71
|
style="width: 360rpx;margin-top: 30rpx;"
|
|
71
72
|
@click="showHotLine=false"
|
|
72
73
|
>知道了</xd-button>
|
|
74
|
+
</view>
|
|
73
75
|
</xd-dailog>
|
|
74
76
|
</view>
|
|
75
77
|
</view>
|
|
@@ -203,18 +205,6 @@ export default {
|
|
|
203
205
|
});
|
|
204
206
|
});
|
|
205
207
|
},
|
|
206
|
-
// onJfbScroll(options) {
|
|
207
|
-
// console.log('event.onJfbScroll', options)
|
|
208
|
-
// },
|
|
209
|
-
// onJfbReachBottom(options) {
|
|
210
|
-
// console.log('event.onJfbReachBottom', options)
|
|
211
|
-
// },
|
|
212
|
-
// onJfbShow(options) {
|
|
213
|
-
// console.log('event.onJfbShow', options)
|
|
214
|
-
// },
|
|
215
|
-
// onJfbHide(options) {
|
|
216
|
-
// console.log('event.onJfbHide', options)
|
|
217
|
-
// },
|
|
218
208
|
onJfbBack(options) {
|
|
219
209
|
this.$xdUniHelper.navigateBack();
|
|
220
210
|
},
|
|
@@ -255,7 +245,17 @@ export default {
|
|
|
255
245
|
}
|
|
256
246
|
|
|
257
247
|
}
|
|
248
|
+
.phone {
|
|
249
|
+
.contact_phone {
|
|
250
|
+
padding-top: 20rpx;
|
|
251
|
+
font-size: 36rpx;
|
|
252
|
+
font-weight: 500;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
258
255
|
}
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
259
|
}
|
|
260
260
|
.flex {
|
|
261
261
|
display: flex;
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-login-forget-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-login-forget-pwd {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|