jufubao-base 1.0.133 → 1.0.134-beta10
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 +78 -41
- package/src/components/JfbBaseCard/JfbBaseCard.vue +12 -23
- 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/JfbBaseCardBindV2.vue +3 -1
- 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/JfbBaseCardDetailEntry.vue +4 -13
- 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/Api.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +86 -67
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -5
- 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 +21 -17
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
- package/src/components/JfbBaseCardV3/Attr.js +18 -14
- 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/JfbBaseClear/Attr.js +17 -0
- package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
- package/src/components/JfbBaseConDialog/Api.js +2 -2
- package/src/components/JfbBaseConDialog/Attr.js +23 -14
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +63 -35
- 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/Api.js +1 -1
- 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/Api.js +1 -1
- package/src/components/JfbBaseLogin/Attr.js +111 -88
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +4 -5
- 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 +109 -58
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +82 -54
- 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 +56 -44
- 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 +47 -34
- 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 +89 -19
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +48 -26
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
- package/src/components/JfbBaseSuccess/Mock.js +8 -0
- package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
- 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 +119 -94
- 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/Attr.js +27 -19
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/Attr.js +2 -6
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
- package/src/components/JfbBaseWalletIndex/Attr.js +3 -1
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
- package/src/components/JfbBaseWalletItem/Attr.js +3 -1
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
- package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
- package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
- 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
|
@@ -5,9 +5,10 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: [
|
|
7
7
|
{
|
|
8
|
-
label: '返回按钮地址:',
|
|
9
|
-
ele: 'xd-select-pages-path',
|
|
10
|
-
valueKey: 'back_url',
|
|
8
|
+
label: '返回按钮地址:',
|
|
9
|
+
ele: 'xd-select-pages-path',
|
|
10
|
+
valueKey: 'back_url',
|
|
11
|
+
groupKey:'advanced',
|
|
11
12
|
placeholder: '请选择返回按钮地址',
|
|
12
13
|
value: null,
|
|
13
14
|
setting: {
|
|
@@ -19,6 +20,7 @@ export default {
|
|
|
19
20
|
label: '提示内容:',
|
|
20
21
|
ele: 'xd-site-news',
|
|
21
22
|
valueKey: 'notice',
|
|
23
|
+
groupKey:'content',
|
|
22
24
|
value: null,
|
|
23
25
|
className: 'input70',
|
|
24
26
|
setting: {
|
|
@@ -39,7 +41,8 @@ export default {
|
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
//获取返回参数(场景类型名称为必填)
|
|
42
|
-
|
|
44
|
+
//获取返回参数(场景类型名称为必填)
|
|
45
|
+
let loading = { close(){}}
|
|
43
46
|
|
|
44
47
|
//获取显示内容
|
|
45
48
|
if (action === 'screen') {
|
|
@@ -83,6 +86,7 @@ export default {
|
|
|
83
86
|
|
|
84
87
|
//使用内容分类
|
|
85
88
|
if (action === 'cmsPublishEditxContent') {
|
|
89
|
+
loading = XdBus.getParentApi('loading')({});
|
|
86
90
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
87
91
|
.then(res => {
|
|
88
92
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -97,6 +101,7 @@ export default {
|
|
|
97
101
|
|
|
98
102
|
//位置列表
|
|
99
103
|
if (action === 'getListPostion') {
|
|
104
|
+
loading = XdBus.getParentApi('loading')({});
|
|
100
105
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
101
106
|
.then(res => {
|
|
102
107
|
loading.close();
|
|
@@ -110,6 +115,7 @@ export default {
|
|
|
110
115
|
|
|
111
116
|
//位置创建
|
|
112
117
|
if (action === 'addPostion') {
|
|
118
|
+
loading = XdBus.getParentApi('loading')({});
|
|
113
119
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
114
120
|
.then(res => {
|
|
115
121
|
loading.close();
|
|
@@ -124,6 +130,7 @@ export default {
|
|
|
124
130
|
|
|
125
131
|
//位置编辑
|
|
126
132
|
if (action === 'editPostion') {
|
|
133
|
+
loading = XdBus.getParentApi('loading')({});
|
|
127
134
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
128
135
|
.then(res => {
|
|
129
136
|
loading.close();
|
|
@@ -138,6 +145,7 @@ export default {
|
|
|
138
145
|
|
|
139
146
|
//位置删除
|
|
140
147
|
if (action === 'deleltePostion') {
|
|
148
|
+
loading = XdBus.getParentApi('loading')({});
|
|
141
149
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
142
150
|
.then(res => {
|
|
143
151
|
loading.close();
|
|
@@ -152,6 +160,7 @@ export default {
|
|
|
152
160
|
|
|
153
161
|
//获取广告位内容列表
|
|
154
162
|
if (action === 'getListContent') {
|
|
163
|
+
loading = XdBus.getParentApi('loading')({});
|
|
155
164
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
156
165
|
.then(res => {
|
|
157
166
|
loading.close();
|
|
@@ -165,6 +174,7 @@ export default {
|
|
|
165
174
|
|
|
166
175
|
//广告内容创建
|
|
167
176
|
if (action === 'addContent') {
|
|
177
|
+
loading = XdBus.getParentApi('loading')({});
|
|
168
178
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
169
179
|
.then(res => {
|
|
170
180
|
loading.close();
|
|
@@ -179,6 +189,7 @@ export default {
|
|
|
179
189
|
|
|
180
190
|
//广告内容编辑
|
|
181
191
|
if (action === 'editContent') {
|
|
192
|
+
loading = XdBus.getParentApi('loading')({});
|
|
182
193
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
183
194
|
.then(res => {
|
|
184
195
|
loading.close();
|
|
@@ -193,6 +204,7 @@ export default {
|
|
|
193
204
|
|
|
194
205
|
//广告内容删除
|
|
195
206
|
if (action === 'deleteContent') {
|
|
207
|
+
loading = XdBus.getParentApi('loading')({});
|
|
196
208
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
197
209
|
.then(res => {
|
|
198
210
|
loading.close();
|
|
@@ -207,6 +219,7 @@ export default {
|
|
|
207
219
|
|
|
208
220
|
//内容发布
|
|
209
221
|
if (action === 'publish') {
|
|
222
|
+
loading = XdBus.getParentApi('loading')({});
|
|
210
223
|
console.log('publish', data.params)
|
|
211
224
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
212
225
|
.then(res => {
|
|
@@ -221,6 +234,7 @@ export default {
|
|
|
221
234
|
|
|
222
235
|
//通知页面进行刷新
|
|
223
236
|
if (action === 'update') {
|
|
237
|
+
loading = XdBus.getParentApi('loading')({});
|
|
224
238
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
225
239
|
loading.close()
|
|
226
240
|
}
|
|
@@ -152,17 +152,32 @@ export default {
|
|
|
152
152
|
});
|
|
153
153
|
return;
|
|
154
154
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
155
|
+
|
|
156
|
+
let card_number = this.card_number;
|
|
157
|
+
if(this.$configProject.isPreview) card_number = '101001000005193';
|
|
158
|
+
let content = `您要将<view style="color:red">【${card_number}】</view>进行转换操作吗?`;
|
|
159
|
+
this.$xdConfirm({
|
|
160
|
+
title: "是否确认转换",
|
|
161
|
+
isHtml: true,
|
|
162
|
+
$vm: this,
|
|
163
|
+
content:content,
|
|
164
|
+
success:(action)=>{
|
|
165
|
+
if(action.confirm) {
|
|
166
|
+
jfbRootExec("changeCardBind", {
|
|
167
|
+
vm: this,
|
|
168
|
+
data: {
|
|
169
|
+
card_number: this.card_number,
|
|
170
|
+
},
|
|
171
|
+
})
|
|
172
|
+
.then((res) => {
|
|
173
|
+
debugger
|
|
174
|
+
this.success = true;
|
|
175
|
+
this.changeNumber = res["to_card_number"];
|
|
176
|
+
})
|
|
177
|
+
.catch();
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
});
|
|
166
181
|
},
|
|
167
182
|
handleToLink() {
|
|
168
183
|
this.$xdUniHelper.navigateTo({
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-shift {
|
|
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-card-shift {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
getByIdCardDetail: {
|
|
5
|
+
"card_number": "101001000005193",
|
|
6
|
+
"card_point": 100000000,
|
|
7
|
+
"card_type_name": "聚福宝福卡测试蛋糕",
|
|
8
|
+
"end_time": "2024-10-31 23:59:59",
|
|
9
|
+
"card_status": "Y",
|
|
10
|
+
"card_status_name": "开启",
|
|
11
|
+
"card_qrcode": "h.jufubao.HASDRcFaNi72jTf",
|
|
12
|
+
"card_qrcode_expire": 600,
|
|
13
|
+
"unit": "点",
|
|
14
|
+
"main_product_name": "",
|
|
15
|
+
"other_card_point": 0,
|
|
16
|
+
"is_exchange": "N",
|
|
17
|
+
"exchange_card_type_name": "福券",
|
|
18
|
+
"exchange_card_point": 90000000,
|
|
19
|
+
"request_id": "e73cd28f702858a7"
|
|
20
|
+
},
|
|
21
|
+
}
|
|
@@ -6,11 +6,12 @@ export default {
|
|
|
6
6
|
content: (data) => {
|
|
7
7
|
return [
|
|
8
8
|
{
|
|
9
|
-
label: '返回按钮地址:',
|
|
10
|
-
ele: 'xd-select-pages-path',
|
|
11
|
-
valueKey: 'back_url',
|
|
9
|
+
label: '返回按钮地址:',
|
|
10
|
+
ele: 'xd-select-pages-path',
|
|
11
|
+
valueKey: 'back_url',
|
|
12
|
+
groupKey:'advanced',
|
|
12
13
|
placeholder: '请选择返回按钮地址',
|
|
13
|
-
value: data
|
|
14
|
+
value: data['back_url'] || null,
|
|
14
15
|
setting: {
|
|
15
16
|
router: XdBus.getParentApi('getPagesTree'),
|
|
16
17
|
},
|
|
@@ -20,6 +21,7 @@ export default {
|
|
|
20
21
|
label: '提示内容:',
|
|
21
22
|
ele: 'xd-site-news',
|
|
22
23
|
valueKey: 'notice',
|
|
24
|
+
groupKey:'content',
|
|
23
25
|
value: data.notice || null,
|
|
24
26
|
className: 'input70',
|
|
25
27
|
setting: {
|
|
@@ -38,10 +40,10 @@ export default {
|
|
|
38
40
|
//当一个插件中出现使用内容分类时候需要设置code值,在页面引用时候容器id + code进行拼接
|
|
39
41
|
//data.params = Object.assign({}, data.params, {code: 'g_test_id'});
|
|
40
42
|
}
|
|
41
|
-
|
|
43
|
+
|
|
42
44
|
//获取返回参数(场景类型名称为必填)
|
|
43
|
-
let loading =
|
|
44
|
-
|
|
45
|
+
let loading = { close(){}}
|
|
46
|
+
|
|
45
47
|
//获取显示内容
|
|
46
48
|
if (action === 'screen') {
|
|
47
49
|
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
|
|
@@ -53,9 +55,9 @@ export default {
|
|
|
53
55
|
console.error(error);
|
|
54
56
|
loading.close();
|
|
55
57
|
});
|
|
56
|
-
|
|
58
|
+
|
|
57
59
|
}
|
|
58
|
-
|
|
60
|
+
|
|
59
61
|
//获取返回参数(广告位高度必选项)
|
|
60
62
|
if (action === 'getNewsInfo') {
|
|
61
63
|
XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
|
|
@@ -68,7 +70,7 @@ export default {
|
|
|
68
70
|
console.error(error);
|
|
69
71
|
});
|
|
70
72
|
}
|
|
71
|
-
|
|
73
|
+
|
|
72
74
|
//获取产品业务线列表
|
|
73
75
|
if (action === 'namespace') {
|
|
74
76
|
XdBus.getParentApi('getOptionsNamespaces')({})
|
|
@@ -81,9 +83,10 @@ export default {
|
|
|
81
83
|
console.error(error);
|
|
82
84
|
});
|
|
83
85
|
}
|
|
84
|
-
|
|
86
|
+
|
|
85
87
|
//使用内容分类
|
|
86
88
|
if (action === 'cmsPublishEditxContent') {
|
|
89
|
+
loading = XdBus.getParentApi('loading')({});
|
|
87
90
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
88
91
|
.then(res => {
|
|
89
92
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -95,9 +98,10 @@ export default {
|
|
|
95
98
|
console.error(error);
|
|
96
99
|
});
|
|
97
100
|
}
|
|
98
|
-
|
|
101
|
+
|
|
99
102
|
//位置列表
|
|
100
103
|
if (action === 'getListPostion') {
|
|
104
|
+
loading = XdBus.getParentApi('loading')({});
|
|
101
105
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
102
106
|
.then(res => {
|
|
103
107
|
loading.close();
|
|
@@ -108,9 +112,10 @@ export default {
|
|
|
108
112
|
console.error(error);
|
|
109
113
|
});
|
|
110
114
|
}
|
|
111
|
-
|
|
115
|
+
|
|
112
116
|
//位置创建
|
|
113
117
|
if (action === 'addPostion') {
|
|
118
|
+
loading = XdBus.getParentApi('loading')({});
|
|
114
119
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
115
120
|
.then(res => {
|
|
116
121
|
loading.close();
|
|
@@ -122,9 +127,10 @@ export default {
|
|
|
122
127
|
data.cb(false)
|
|
123
128
|
});
|
|
124
129
|
}
|
|
125
|
-
|
|
130
|
+
|
|
126
131
|
//位置编辑
|
|
127
132
|
if (action === 'editPostion') {
|
|
133
|
+
loading = XdBus.getParentApi('loading')({});
|
|
128
134
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
129
135
|
.then(res => {
|
|
130
136
|
loading.close();
|
|
@@ -136,9 +142,10 @@ export default {
|
|
|
136
142
|
data.cb(false)
|
|
137
143
|
});
|
|
138
144
|
}
|
|
139
|
-
|
|
145
|
+
|
|
140
146
|
//位置删除
|
|
141
147
|
if (action === 'deleltePostion') {
|
|
148
|
+
loading = XdBus.getParentApi('loading')({});
|
|
142
149
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
143
150
|
.then(res => {
|
|
144
151
|
loading.close();
|
|
@@ -150,9 +157,10 @@ export default {
|
|
|
150
157
|
data.cb(false)
|
|
151
158
|
});
|
|
152
159
|
}
|
|
153
|
-
|
|
160
|
+
|
|
154
161
|
//获取广告位内容列表
|
|
155
162
|
if (action === 'getListContent') {
|
|
163
|
+
loading = XdBus.getParentApi('loading')({});
|
|
156
164
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
157
165
|
.then(res => {
|
|
158
166
|
loading.close();
|
|
@@ -163,9 +171,10 @@ export default {
|
|
|
163
171
|
console.error(error);
|
|
164
172
|
});
|
|
165
173
|
}
|
|
166
|
-
|
|
174
|
+
|
|
167
175
|
//广告内容创建
|
|
168
176
|
if (action === 'addContent') {
|
|
177
|
+
loading = XdBus.getParentApi('loading')({});
|
|
169
178
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
170
179
|
.then(res => {
|
|
171
180
|
loading.close();
|
|
@@ -177,9 +186,10 @@ export default {
|
|
|
177
186
|
data.cb(false)
|
|
178
187
|
});
|
|
179
188
|
}
|
|
180
|
-
|
|
189
|
+
|
|
181
190
|
//广告内容编辑
|
|
182
191
|
if (action === 'editContent') {
|
|
192
|
+
loading = XdBus.getParentApi('loading')({});
|
|
183
193
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
184
194
|
.then(res => {
|
|
185
195
|
loading.close();
|
|
@@ -191,9 +201,10 @@ export default {
|
|
|
191
201
|
data.cb(false)
|
|
192
202
|
});
|
|
193
203
|
}
|
|
194
|
-
|
|
204
|
+
|
|
195
205
|
//广告内容删除
|
|
196
206
|
if (action === 'deleteContent') {
|
|
207
|
+
loading = XdBus.getParentApi('loading')({});
|
|
197
208
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
198
209
|
.then(res => {
|
|
199
210
|
loading.close();
|
|
@@ -205,9 +216,10 @@ export default {
|
|
|
205
216
|
data.cb(false)
|
|
206
217
|
});
|
|
207
218
|
}
|
|
208
|
-
|
|
219
|
+
|
|
209
220
|
//内容发布
|
|
210
221
|
if (action === 'publish') {
|
|
222
|
+
loading = XdBus.getParentApi('loading')({});
|
|
211
223
|
console.log('publish', data.params)
|
|
212
224
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
213
225
|
.then(res => {
|
|
@@ -219,18 +231,14 @@ export default {
|
|
|
219
231
|
console.error(error);
|
|
220
232
|
});
|
|
221
233
|
}
|
|
222
|
-
|
|
234
|
+
|
|
223
235
|
//通知页面进行刷新
|
|
224
236
|
if (action === 'update') {
|
|
237
|
+
loading = XdBus.getParentApi('loading')({});
|
|
225
238
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
226
239
|
loading.close()
|
|
227
240
|
}
|
|
228
241
|
},
|
|
229
|
-
inline: false,
|
|
230
|
-
notice: '',
|
|
231
|
-
rules: [
|
|
232
|
-
{required: true, message: '请配置温馨提示内容', trigger: 'change'},
|
|
233
|
-
],
|
|
234
242
|
},
|
|
235
243
|
].filter(i=>i)
|
|
236
244
|
},
|