jufubao-base 1.0.132-beta1 → 1.0.132-beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
- package/src/components/JfbBaseAddress/Attr.js +11 -5
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
- package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
- package/src/components/JfbBaseBackground/Attr.js +9 -8
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
- package/src/components/JfbBaseBlock/Attr.js +12 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
- package/src/components/JfbBaseCard/Attr.js +76 -34
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
- package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
- package/src/components/JfbBaseCardDetail/Attr.js +4 -3
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
- package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
- package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
- package/src/components/JfbBaseCardEntry/Attr.js +86 -67
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +3 -2
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
- package/src/components/JfbBaseCardInfo/Attr.js +22 -16
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
- package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
- package/src/components/JfbBaseCardMerge/Attr.js +21 -8
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
- package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
- package/src/components/JfbBaseCardShift/Attr.js +18 -4
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
- package/src/components/JfbBaseCardShift/Mock.js +21 -0
- package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
- package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
- package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
- package/src/components/JfbBaseCardV2/Attr.js +19 -15
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
- package/src/components/JfbBaseCardV3/Attr.js +16 -12
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
- package/src/components/JfbBaseCity/Attr.js +2 -4
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
- package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
- package/src/components/JfbBaseConDialog/Api.js +1 -1
- package/src/components/JfbBaseConDialog/Attr.js +30 -20
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
- package/src/components/JfbBaseConDialog/Mock.js +20 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
- package/src/components/JfbBaseConList/Attr.js +149 -224
- package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
- package/src/components/JfbBaseEntry/Attr.js +33 -21
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
- package/src/components/JfbBaseFastLink/Api.js +1 -54
- package/src/components/JfbBaseFastLink/Attr.js +168 -116
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
- package/src/components/JfbBaseFooter/Attr.js +28 -22
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
- package/src/components/JfbBaseHeader/Attr.js +89 -91
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
- package/src/components/JfbBaseLogin/Attr.js +111 -88
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -1
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
- package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
- package/src/components/JfbBaseMapSearch/Attr.js +0 -15
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
- package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
- package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
- package/src/components/JfbBaseNotice/Attr.js +97 -56
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
- package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +9 -3
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
- package/src/components/JfbBaseOrderList/Attr.js +55 -43
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
- package/src/components/JfbBasePay/Attr.js +2 -13
- package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
- package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
- package/src/components/JfbBasePay/Mock.js +2 -1
- package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
- package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
- package/src/components/JfbBasePoster/Attr.js +103 -83
- package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +44 -33
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
- package/src/components/JfbBasePosterType/Attr.js +82 -48
- package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
- package/src/components/JfbBaseRecharge/Attr.js +35 -23
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
- package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
- package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
- package/src/components/JfbBaseSearch/Attr.js +6 -148
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
- package/src/components/JfbBaseSetPwd/Attr.js +6 -147
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
- package/src/components/JfbBaseSuccess/Attr.js +78 -17
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +1 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
- package/src/components/JfbBaseUserCenter/Attr.js +72 -53
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
- package/src/components/JfbBaseUserInfo/Attr.js +54 -45
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
- package/src/components/JfbBaseUserOrder/Attr.js +118 -92
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
- package/src/components/JfbBaseVideo/Attr.js +72 -19
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
- package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
- package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
- package/src/components/JfbBaseLine/Attr.js +0 -59
- package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
- package/src/components/JfbBasePosterType/Screen.vue +0 -284
- package/src/components/JfbBaseSearch/Api.js +0 -60
- package/src/components/JfbBaseSearch/Mock.js +0 -5
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
<text>券号:</text>
|
|
178
178
|
<text>{{item.card_number}}</text>
|
|
179
179
|
</view>
|
|
180
|
-
<view @click.stop="toDetail(item)">
|
|
180
|
+
<view @click.stop="toDetail(item)" v-if="isShowCode === 'Y'">
|
|
181
181
|
<view>
|
|
182
182
|
<xd-font-icon icon="iconerweima" width="56" height="56" size="50" color="#fff"></xd-font-icon>
|
|
183
183
|
</view>
|
|
@@ -436,6 +436,7 @@ export default {
|
|
|
436
436
|
tabIndex: 1,
|
|
437
437
|
isBack: null, //是否使用返回键
|
|
438
438
|
inCallback: null, //内部跳转地址
|
|
439
|
+
isShowCode: 'N',
|
|
439
440
|
|
|
440
441
|
|
|
441
442
|
//页面跳转地址
|
|
@@ -487,8 +488,8 @@ export default {
|
|
|
487
488
|
this.bindUrl = getContainerPropsValue(container,"content.bind_url",{value: ""}).value;
|
|
488
489
|
this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
|
|
489
490
|
this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
|
|
490
|
-
//this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
|
|
491
491
|
this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
|
|
492
|
+
this.isShowCode = getContainerPropsValue(container, "content.isShowCode", "N");
|
|
492
493
|
},
|
|
493
494
|
|
|
494
495
|
handleToLink(path) {
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-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-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: {
|
|
@@ -16,9 +17,10 @@ export default {
|
|
|
16
17
|
inline: false,
|
|
17
18
|
},
|
|
18
19
|
{
|
|
19
|
-
label: '我的票券跳转地址:',
|
|
20
|
-
ele: 'xd-select-pages-path',
|
|
21
|
-
valueKey: 'my_card_url',
|
|
20
|
+
label: '我的票券跳转地址:',
|
|
21
|
+
ele: 'xd-select-pages-path',
|
|
22
|
+
valueKey: 'my_card_url',
|
|
23
|
+
groupKey:'advanced',
|
|
22
24
|
placeholder: '请选择我的票券跳转地址',
|
|
23
25
|
value: null,
|
|
24
26
|
setting: {
|
|
@@ -26,12 +28,24 @@ export default {
|
|
|
26
28
|
},
|
|
27
29
|
inline: false,
|
|
28
30
|
},
|
|
31
|
+
{
|
|
32
|
+
label: "票券过期是否展示余额",
|
|
33
|
+
ele: "xd-radio",
|
|
34
|
+
valueKey: "is_show_balance",
|
|
35
|
+
groupKey:'content',
|
|
36
|
+
value: "N",
|
|
37
|
+
list: [
|
|
38
|
+
{label: "是", value: "Y"},
|
|
39
|
+
{label: "否", value: "N"},
|
|
40
|
+
]
|
|
41
|
+
},
|
|
29
42
|
{
|
|
30
43
|
label: '券号框自定义文案:',
|
|
31
44
|
ele: 'el-input',
|
|
32
45
|
type: 'text',
|
|
33
46
|
valueKey: 'card_num_placeholder',
|
|
34
47
|
value: '',
|
|
48
|
+
groupKey:'content',
|
|
35
49
|
placeholder: '请输入券号框自定义文案',
|
|
36
50
|
className: 'input80'
|
|
37
51
|
},
|
|
@@ -39,20 +53,12 @@ export default {
|
|
|
39
53
|
label: '密码框自定义文案:',
|
|
40
54
|
ele: 'el-input',
|
|
41
55
|
type: 'text',
|
|
56
|
+
groupKey:'content',
|
|
42
57
|
valueKey: 'card_pwd_placeholder',
|
|
43
58
|
value: '',
|
|
44
59
|
placeholder: '请输入密码框自定义文案',
|
|
45
60
|
className: 'input80'
|
|
46
61
|
},
|
|
47
|
-
|
|
48
|
-
label: "票券过期是否展示余额",
|
|
49
|
-
ele: "xd-radio",
|
|
50
|
-
valueKey: "is_show_balance",
|
|
51
|
-
value: "N",
|
|
52
|
-
list: [
|
|
53
|
-
{label: "是", value: "Y"},
|
|
54
|
-
{label: "否", value: "N"},
|
|
55
|
-
]
|
|
56
|
-
}
|
|
62
|
+
|
|
57
63
|
],
|
|
58
64
|
};
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-info {
|
|
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-info {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -5,10 +5,11 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: [
|
|
7
7
|
{
|
|
8
|
-
label: '
|
|
9
|
-
ele: 'xd-select-pages-path',
|
|
10
|
-
valueKey: 'back_url',
|
|
11
|
-
|
|
8
|
+
label: '票券绑定成功回跳地址:',
|
|
9
|
+
ele: 'xd-select-pages-path',
|
|
10
|
+
valueKey: 'back_url',
|
|
11
|
+
groupKey:'advanced',
|
|
12
|
+
placeholder: '请选择票券绑定成功回跳地址',
|
|
12
13
|
value: null,
|
|
13
14
|
setting: {
|
|
14
15
|
router: XdBus.getParentApi('getPagesTree'),
|
|
@@ -16,9 +17,10 @@ export default {
|
|
|
16
17
|
inline: false,
|
|
17
18
|
},
|
|
18
19
|
{
|
|
19
|
-
label: '我的票券跳转地址:',
|
|
20
|
-
ele: 'xd-select-pages-path',
|
|
21
|
-
valueKey: 'my_card_url',
|
|
20
|
+
label: '我的票券跳转地址:',
|
|
21
|
+
ele: 'xd-select-pages-path',
|
|
22
|
+
valueKey: 'my_card_url',
|
|
23
|
+
groupKey:'advanced',
|
|
22
24
|
placeholder: '请选择我的票券跳转地址',
|
|
23
25
|
value: null,
|
|
24
26
|
setting: {
|
|
@@ -27,27 +29,30 @@ export default {
|
|
|
27
29
|
inline: false,
|
|
28
30
|
},
|
|
29
31
|
{
|
|
30
|
-
label: '
|
|
32
|
+
label: '票券号码框自定义文案:',
|
|
31
33
|
ele: 'el-input',
|
|
32
34
|
type: 'text',
|
|
33
35
|
valueKey: 'card_num_placeholder',
|
|
36
|
+
groupKey:'content',
|
|
34
37
|
value: '',
|
|
35
|
-
placeholder: '
|
|
38
|
+
placeholder: '请输入票券号码框自定义文案',
|
|
36
39
|
className: 'input80'
|
|
37
40
|
},
|
|
38
41
|
{
|
|
39
|
-
label: '
|
|
42
|
+
label: '票券密码框自定义文案:',
|
|
40
43
|
ele: 'el-input',
|
|
41
44
|
type: 'text',
|
|
42
45
|
valueKey: 'card_pwd_placeholder',
|
|
46
|
+
groupKey:'content',
|
|
43
47
|
value: '',
|
|
44
|
-
placeholder: '
|
|
48
|
+
placeholder: '票券请输入密码框自定义文案',
|
|
45
49
|
className: 'input80'
|
|
46
50
|
},
|
|
47
51
|
{
|
|
48
52
|
label: "票券过期是否展示余额",
|
|
49
53
|
ele: "xd-radio",
|
|
50
54
|
valueKey: "is_show_balance",
|
|
55
|
+
groupKey:'content',
|
|
51
56
|
value: "N",
|
|
52
57
|
list: [
|
|
53
58
|
{label: "是", value: "Y"},
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-info-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-info-entry {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -8,9 +8,10 @@ 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
|
+
groupKey:'content',
|
|
14
15
|
value: data.notice || null,
|
|
15
16
|
className: 'input70',
|
|
16
17
|
setting: {
|
|
@@ -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'),
|
|
@@ -232,6 +246,5 @@ export default {
|
|
|
232
246
|
},
|
|
233
247
|
].filter(i=>i)
|
|
234
248
|
},
|
|
235
|
-
advanced: [
|
|
236
|
-
],
|
|
249
|
+
advanced: [],
|
|
237
250
|
};
|
|
@@ -57,14 +57,7 @@
|
|
|
57
57
|
class="capture"
|
|
58
58
|
@click="switchValidToken"
|
|
59
59
|
>
|
|
60
|
-
<image
|
|
61
|
-
style="width: 100%; height: 100%"
|
|
62
|
-
:src="
|
|
63
|
-
validImageAPIUrl +
|
|
64
|
-
'?image_width=180&image_height=80&token=' +
|
|
65
|
-
mergeForm.valid_token
|
|
66
|
-
"
|
|
67
|
-
/>
|
|
60
|
+
<image style="width: 100%; height: 100%" :src="validImageAPIUrl +'?image_width=180&image_height=80&token=' + mergeForm.valid_token"/>
|
|
68
61
|
</view>
|
|
69
62
|
</view>
|
|
70
63
|
</xd-form-item>
|
|
@@ -79,8 +72,8 @@
|
|
|
79
72
|
<view
|
|
80
73
|
v-if="isPreview && statusContent === true && content === '' "
|
|
81
74
|
class="xd-notice"
|
|
82
|
-
:style="{ color: dangerColor,fontSize: 24 + 'rpx' }"
|
|
83
|
-
|
|
75
|
+
:style="{ color: dangerColor,fontSize: 24 + 'rpx',backgroundColor:noticeBgc }"
|
|
76
|
+
>温馨提示未配置数据,因此该模块在正式环境将不显示</view>
|
|
84
77
|
</view>
|
|
85
78
|
</template>
|
|
86
79
|
|
|
@@ -116,23 +109,24 @@ export default {
|
|
|
116
109
|
data() {
|
|
117
110
|
return {
|
|
118
111
|
mergeForm: {},
|
|
119
|
-
|
|
112
|
+
|
|
120
113
|
fromList: [],
|
|
121
114
|
toList: [],
|
|
122
115
|
fromSelect: null,
|
|
123
116
|
toSelect: null,
|
|
124
117
|
randomKey: Date.now(),
|
|
125
|
-
|
|
126
|
-
|
|
118
|
+
|
|
119
|
+
|
|
127
120
|
content: "",
|
|
128
121
|
contentBackgroundColor: '',
|
|
129
|
-
|
|
122
|
+
|
|
130
123
|
selfMask: true,
|
|
131
124
|
cardPath: '', //卡券主页
|
|
132
|
-
|
|
125
|
+
|
|
133
126
|
//提示文案
|
|
134
127
|
isPreview: false,
|
|
135
128
|
statusContent: false,
|
|
129
|
+
noticeBgc:'',
|
|
136
130
|
};
|
|
137
131
|
},
|
|
138
132
|
computed: {
|
|
@@ -151,6 +145,7 @@ export default {
|
|
|
151
145
|
this.switchValidToken();
|
|
152
146
|
this.validImageAPIUrl = this.brandInfo["api_host"] + "/common/v1/valid_code/image/show";
|
|
153
147
|
this.contentBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
|
|
148
|
+
this.noticeBgc = Color(this.dangerColor).alpha(0.1).toString();
|
|
154
149
|
},
|
|
155
150
|
methods: {
|
|
156
151
|
onJfbLoad(options) {
|
|
@@ -182,9 +177,10 @@ export default {
|
|
|
182
177
|
},
|
|
183
178
|
})
|
|
184
179
|
.then((res) => {
|
|
185
|
-
|
|
180
|
+
if(res.list.length > 0) {
|
|
181
|
+
this.content = res.list[0].content;
|
|
182
|
+
}
|
|
186
183
|
this.statusContent = true;
|
|
187
|
-
console.log(this.content, "this.content");
|
|
188
184
|
})
|
|
189
185
|
.catch((error) => {
|
|
190
186
|
console.error(error);
|
|
@@ -195,11 +191,7 @@ export default {
|
|
|
195
191
|
* @param container {object} 业务组件对象自己
|
|
196
192
|
*/
|
|
197
193
|
init(container) {
|
|
198
|
-
this.textColor = getContainerPropsValue(
|
|
199
|
-
container,
|
|
200
|
-
"content.textColor",
|
|
201
|
-
this.warningColor
|
|
202
|
-
);
|
|
194
|
+
this.textColor = getContainerPropsValue(container, "content.textColor", this.warningColor);
|
|
203
195
|
this.cardPath = getContainerPropsValue(container, "content.cardPath", {value: ""}).value;
|
|
204
196
|
},
|
|
205
197
|
//刷新图片验证码
|
|
@@ -208,13 +200,6 @@ export default {
|
|
|
208
200
|
this.$set(this.mergeForm, "valid_token", valid_token);
|
|
209
201
|
},
|
|
210
202
|
handleToSubmit() {
|
|
211
|
-
// if (!this.mergeForm.valid_code) {
|
|
212
|
-
// uni.showToast({
|
|
213
|
-
// title: "验证码不能为空!",
|
|
214
|
-
// icon: "none",
|
|
215
|
-
// });
|
|
216
|
-
// return;
|
|
217
|
-
// }
|
|
218
203
|
this.$xdConfirm({
|
|
219
204
|
title: "是否确认合并卡",
|
|
220
205
|
isHtml: true,
|
|
@@ -322,7 +307,7 @@ export default {
|
|
|
322
307
|
.align-center {
|
|
323
308
|
align-items: center;
|
|
324
309
|
}
|
|
325
|
-
|
|
310
|
+
|
|
326
311
|
&-btn {
|
|
327
312
|
padding-bottom: unit(20, rpx);
|
|
328
313
|
}
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-card-merge {
|
|
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 {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|