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