jufubao-base 1.0.131 → 1.0.132-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 +37 -8
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
- package/src/components/JfbBaseOrderList/Attr.js +55 -43
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
- package/src/components/JfbBasePay/Attr.js +2 -13
- package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
- package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
- package/src/components/JfbBasePay/Mock.js +2 -1
- package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
- package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
- package/src/components/JfbBasePoster/Attr.js +103 -83
- package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +44 -33
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
- package/src/components/JfbBasePosterType/Attr.js +82 -48
- package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
- package/src/components/JfbBaseRecharge/Attr.js +35 -23
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
- package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
- package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
- package/src/components/JfbBaseSearch/Attr.js +6 -148
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
- package/src/components/JfbBaseSetPwd/Attr.js +6 -147
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
- package/src/components/JfbBaseSuccess/Attr.js +78 -17
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +29 -4
- 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
|
@@ -8,10 +8,11 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
11
|
+
label: '合并票券说明:',
|
|
12
12
|
ele: 'xd-site-news',
|
|
13
13
|
valueKey: 'notice',
|
|
14
14
|
value: data.notice || null,
|
|
15
|
+
groupKey:'content',
|
|
15
16
|
className: 'input70',
|
|
16
17
|
setting: {
|
|
17
18
|
config: {
|
|
@@ -31,7 +32,8 @@ export default {
|
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
//获取返回参数(场景类型名称为必填)
|
|
34
|
-
|
|
35
|
+
//获取返回参数(场景类型名称为必填)
|
|
36
|
+
let loading = { close(){}}
|
|
35
37
|
|
|
36
38
|
//获取显示内容
|
|
37
39
|
if (action === 'screen') {
|
|
@@ -75,6 +77,7 @@ export default {
|
|
|
75
77
|
|
|
76
78
|
//使用内容分类
|
|
77
79
|
if (action === 'cmsPublishEditxContent') {
|
|
80
|
+
loading = XdBus.getParentApi('loading')({});
|
|
78
81
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
79
82
|
.then(res => {
|
|
80
83
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -89,6 +92,7 @@ export default {
|
|
|
89
92
|
|
|
90
93
|
//位置列表
|
|
91
94
|
if (action === 'getListPostion') {
|
|
95
|
+
loading = XdBus.getParentApi('loading')({});
|
|
92
96
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
93
97
|
.then(res => {
|
|
94
98
|
loading.close();
|
|
@@ -102,6 +106,7 @@ export default {
|
|
|
102
106
|
|
|
103
107
|
//位置创建
|
|
104
108
|
if (action === 'addPostion') {
|
|
109
|
+
loading = XdBus.getParentApi('loading')({});
|
|
105
110
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
106
111
|
.then(res => {
|
|
107
112
|
loading.close();
|
|
@@ -116,6 +121,7 @@ export default {
|
|
|
116
121
|
|
|
117
122
|
//位置编辑
|
|
118
123
|
if (action === 'editPostion') {
|
|
124
|
+
loading = XdBus.getParentApi('loading')({});
|
|
119
125
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
120
126
|
.then(res => {
|
|
121
127
|
loading.close();
|
|
@@ -130,6 +136,7 @@ export default {
|
|
|
130
136
|
|
|
131
137
|
//位置删除
|
|
132
138
|
if (action === 'deleltePostion') {
|
|
139
|
+
loading = XdBus.getParentApi('loading')({});
|
|
133
140
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
134
141
|
.then(res => {
|
|
135
142
|
loading.close();
|
|
@@ -144,6 +151,7 @@ export default {
|
|
|
144
151
|
|
|
145
152
|
//获取广告位内容列表
|
|
146
153
|
if (action === 'getListContent') {
|
|
154
|
+
loading = XdBus.getParentApi('loading')({});
|
|
147
155
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
148
156
|
.then(res => {
|
|
149
157
|
loading.close();
|
|
@@ -157,6 +165,7 @@ export default {
|
|
|
157
165
|
|
|
158
166
|
//广告内容创建
|
|
159
167
|
if (action === 'addContent') {
|
|
168
|
+
loading = XdBus.getParentApi('loading')({});
|
|
160
169
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
161
170
|
.then(res => {
|
|
162
171
|
loading.close();
|
|
@@ -171,6 +180,7 @@ export default {
|
|
|
171
180
|
|
|
172
181
|
//广告内容编辑
|
|
173
182
|
if (action === 'editContent') {
|
|
183
|
+
loading = XdBus.getParentApi('loading')({});
|
|
174
184
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
175
185
|
.then(res => {
|
|
176
186
|
loading.close();
|
|
@@ -185,6 +195,7 @@ export default {
|
|
|
185
195
|
|
|
186
196
|
//广告内容删除
|
|
187
197
|
if (action === 'deleteContent') {
|
|
198
|
+
loading = XdBus.getParentApi('loading')({});
|
|
188
199
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
189
200
|
.then(res => {
|
|
190
201
|
loading.close();
|
|
@@ -199,6 +210,7 @@ export default {
|
|
|
199
210
|
|
|
200
211
|
//内容发布
|
|
201
212
|
if (action === 'publish') {
|
|
213
|
+
loading = XdBus.getParentApi('loading')({});
|
|
202
214
|
console.log('publish', data.params)
|
|
203
215
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
204
216
|
.then(res => {
|
|
@@ -213,6 +225,7 @@ export default {
|
|
|
213
225
|
|
|
214
226
|
//通知页面进行刷新
|
|
215
227
|
if (action === 'update') {
|
|
228
|
+
loading = XdBus.getParentApi('loading')({});
|
|
216
229
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
217
230
|
loading.close()
|
|
218
231
|
}
|
|
@@ -220,10 +233,11 @@ export default {
|
|
|
220
233
|
inline: false,
|
|
221
234
|
},
|
|
222
235
|
{
|
|
223
|
-
label: '
|
|
224
|
-
ele: 'xd-select-pages-path',
|
|
225
|
-
valueKey: 'cardPath',
|
|
226
|
-
|
|
236
|
+
label: '票券合并成功跳转地址:',
|
|
237
|
+
ele: 'xd-select-pages-path',
|
|
238
|
+
valueKey: 'cardPath',
|
|
239
|
+
groupKey:'advanced',
|
|
240
|
+
placeholder: '请选择票券合并成功跳转地址',
|
|
227
241
|
value: data.cardPath || null,
|
|
228
242
|
setting: {
|
|
229
243
|
router: XdBus.getParentApi('getPagesTree'),
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
<view
|
|
84
84
|
v-if="isPreview && statusContent === true && content === '' "
|
|
85
85
|
class="xd-notice"
|
|
86
|
-
:style="{ color: dangerColor,fontSize: 24 + 'rpx' }"
|
|
87
|
-
|
|
86
|
+
:style="{ color: dangerColor,fontSize: 24 + 'rpx',backgroundColor:noticeBgc }"
|
|
87
|
+
>温馨提示未配置数据,因此该模块在正式环境将不显示</view>
|
|
88
88
|
<view class="bottom_btn-mask"></view>
|
|
89
89
|
<view class="bottom_btn" :style="prod_bottom">
|
|
90
90
|
<xd-button
|
|
@@ -140,24 +140,25 @@ export default {
|
|
|
140
140
|
randomKey: Date.now(),
|
|
141
141
|
valid_code:'',
|
|
142
142
|
valid_token: 'valid_token',
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
|
|
144
|
+
|
|
145
145
|
content: "",
|
|
146
146
|
contentBackgroundColor: '',
|
|
147
147
|
cardPath: '', //卡券主页
|
|
148
|
-
|
|
148
|
+
|
|
149
149
|
//提示文案
|
|
150
150
|
isPreview: false,
|
|
151
151
|
statusContent: false,
|
|
152
152
|
disabledKey: 'disabledKey',
|
|
153
153
|
toPlaceholder:'选择转入票券',
|
|
154
|
+
noticeBgc:'',
|
|
154
155
|
};
|
|
155
156
|
},
|
|
156
157
|
computed: {
|
|
157
158
|
...mapState({
|
|
158
159
|
brandInfo: (state) => state.brandInfo,
|
|
159
160
|
}),
|
|
160
|
-
|
|
161
|
+
|
|
161
162
|
themeOutStyle(){
|
|
162
163
|
if(this.fromSelect === null) {
|
|
163
164
|
return this.getCardThemes('1');
|
|
@@ -175,7 +176,7 @@ export default {
|
|
|
175
176
|
prod_bottom() {
|
|
176
177
|
return this.fixedStyle({height: 0, zIndex: 111});
|
|
177
178
|
},
|
|
178
|
-
|
|
179
|
+
|
|
179
180
|
disabled(){
|
|
180
181
|
this.disabledKey = Date.now();
|
|
181
182
|
return this.fromSelect === null || this.toSelect === null;
|
|
@@ -189,9 +190,11 @@ export default {
|
|
|
189
190
|
created() {
|
|
190
191
|
this.init(this.container);
|
|
191
192
|
this.isPreview = this.$configProject.isPreview;
|
|
193
|
+
this.noticeBgc = Color(this.dangerColor).alpha(0.1).toString();
|
|
192
194
|
this.switchValidToken();
|
|
193
195
|
this.validImageAPIUrl = this.brandInfo["api_host"] + "/common/v1/valid_code/image/show";
|
|
194
196
|
this.contentBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
|
|
197
|
+
|
|
195
198
|
},
|
|
196
199
|
methods: {
|
|
197
200
|
onJfbLoad(options) {
|
|
@@ -241,12 +244,12 @@ export default {
|
|
|
241
244
|
this.textColor = getContainerPropsValue(container, "content.textColor", this.warningColor);
|
|
242
245
|
this.cardPath = getContainerPropsValue(container, "content.cardPath", {value: ""}).value;
|
|
243
246
|
},
|
|
244
|
-
|
|
247
|
+
|
|
245
248
|
//刷新图片验证码
|
|
246
249
|
switchValidToken() {
|
|
247
250
|
this.valid_token = this.$xdUniHelper.randomChar(20);
|
|
248
251
|
},
|
|
249
|
-
|
|
252
|
+
|
|
250
253
|
handleToSubmit() {
|
|
251
254
|
// if (!this.valid_code) {
|
|
252
255
|
// uni.showToast({
|
|
@@ -255,7 +258,7 @@ export default {
|
|
|
255
258
|
// });
|
|
256
259
|
// return;
|
|
257
260
|
// }
|
|
258
|
-
|
|
261
|
+
|
|
259
262
|
let outPrice = this.$xdUniHelper.divisionFloatNumber(this.fromSelect.card_point, 100);
|
|
260
263
|
let outHtml = `${this.fromSelect.value}(剩余:${outPrice})`;
|
|
261
264
|
let inPrice = this.$xdUniHelper.divisionFloatNumber(this.toSelect.card_point, 100);
|
|
@@ -272,12 +275,12 @@ export default {
|
|
|
272
275
|
// valid_code: this.valid_code,
|
|
273
276
|
// valid_token: this.valid_token
|
|
274
277
|
};
|
|
275
|
-
|
|
278
|
+
|
|
276
279
|
if (action.confirm) {
|
|
277
280
|
if(this.$configProject.isPreview) return;
|
|
278
281
|
jfbRootExec("mergeCardEntry", { vm: this,data: params})
|
|
279
282
|
.then((res) => {
|
|
280
|
-
this.$xdAlert({content: '
|
|
283
|
+
this.$xdAlert({content: '票券合并成功!', time: 1000});
|
|
281
284
|
setTimeout(()=>{
|
|
282
285
|
this.$xdUniHelper.navigateTo({
|
|
283
286
|
url: this.cardPath
|
|
@@ -341,7 +344,7 @@ export default {
|
|
|
341
344
|
.capture {
|
|
342
345
|
width: unit(160, rpx);
|
|
343
346
|
height: unit(70, rpx);
|
|
344
|
-
|
|
347
|
+
|
|
345
348
|
& >image {
|
|
346
349
|
width: 100%;
|
|
347
350
|
height: 100%;
|
|
@@ -354,7 +357,7 @@ export default {
|
|
|
354
357
|
.align-center {
|
|
355
358
|
align-items: center;
|
|
356
359
|
}
|
|
357
|
-
|
|
360
|
+
|
|
358
361
|
&-btn {
|
|
359
362
|
padding-bottom: unit(20, rpx);
|
|
360
363
|
}
|
|
@@ -368,21 +371,21 @@ export default {
|
|
|
368
371
|
border-radius: unit(16, rpx);
|
|
369
372
|
overflow: hidden;
|
|
370
373
|
margin-bottom: unit(30, rpx);
|
|
371
|
-
|
|
374
|
+
|
|
372
375
|
&:last-child {
|
|
373
376
|
margin-bottom: 0;
|
|
374
377
|
}
|
|
375
|
-
|
|
378
|
+
|
|
376
379
|
&-box {
|
|
377
380
|
background-size: 100%;
|
|
378
381
|
background-repeat: no-repeat;
|
|
379
382
|
background-position: top center;
|
|
380
|
-
|
|
383
|
+
|
|
381
384
|
& >view:nth-child(2) {
|
|
382
385
|
padding: unit(40, rpx);
|
|
383
386
|
}
|
|
384
387
|
}
|
|
385
|
-
|
|
388
|
+
|
|
386
389
|
&-title {
|
|
387
390
|
height: unit(50, rpx);
|
|
388
391
|
background: rgba(102, 102, 102, 0.4);
|
|
@@ -391,13 +394,13 @@ export default {
|
|
|
391
394
|
align-items: center;
|
|
392
395
|
color: #fff;
|
|
393
396
|
font-size: unit(24, rpx);
|
|
394
|
-
|
|
397
|
+
|
|
395
398
|
&>view:nth-child(2) {
|
|
396
399
|
margin-left: unit(10, rpx);
|
|
397
400
|
}
|
|
398
401
|
}
|
|
399
|
-
|
|
400
|
-
|
|
402
|
+
|
|
403
|
+
|
|
401
404
|
}
|
|
402
405
|
}
|
|
403
406
|
|
|
@@ -406,13 +409,13 @@ export default {
|
|
|
406
409
|
justify-content: space-between;
|
|
407
410
|
align-items: center;
|
|
408
411
|
padding: 0 unit(30, rpx);
|
|
409
|
-
|
|
410
|
-
|
|
412
|
+
|
|
413
|
+
|
|
411
414
|
& > view:first-child, &> view:last-child {
|
|
412
415
|
flex-shrink: 0;
|
|
413
416
|
font-size: unit(32, rpx);
|
|
414
417
|
}
|
|
415
|
-
|
|
418
|
+
|
|
416
419
|
& > view:nth-child(2) {
|
|
417
420
|
flex: 1;
|
|
418
421
|
margin: 0 unit(20, rpx);
|
|
@@ -435,7 +438,7 @@ export default {
|
|
|
435
438
|
align-items: center;
|
|
436
439
|
height: unit(120, rpx);
|
|
437
440
|
background: #ffffff;
|
|
438
|
-
|
|
441
|
+
|
|
439
442
|
&-mask {
|
|
440
443
|
height: unit(120, rpx);
|
|
441
444
|
}
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-merge-entry {
|
|
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-merge-entry {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -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
|
+
}
|