jufubao-base 1.0.134-beta8 → 1.0.134
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 +36 -78
- package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
- 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/JfbBaseCardBindV2.vue +1 -3
- 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/JfbBaseCardDetailEntry.vue +13 -4
- 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/Api.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +67 -86
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +5 -6
- 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 +17 -21
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
- package/src/components/JfbBaseCardV3/Attr.js +14 -18
- 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/JfbBaseClear.vue +9 -9
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
- package/src/components/JfbBaseConDialog/Api.js +2 -2
- package/src/components/JfbBaseConDialog/Attr.js +14 -23
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +35 -63
- 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/Api.js +1 -1
- 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/Api.js +1 -1
- package/src/components/JfbBaseLogin/Attr.js +88 -111
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +5 -4
- 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 +58 -109
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +54 -82
- 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 -5
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
- package/src/components/JfbBaseOrderList/Attr.js +44 -56
- 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 +143 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
- package/src/components/JfbBasePoster/MoreScreen.vue +2 -7
- package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +9 -10
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +34 -47
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +51 -52
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
- package/src/components/JfbBasePosterType/Attr.js +48 -82
- package/src/components/JfbBasePosterType/FourScreen.vue +4 -14
- 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 +19 -89
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +24 -46
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
- package/src/components/JfbBaseSuccess/Mock.js +0 -8
- package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
- 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 +94 -119
- 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/Attr.js +19 -27
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
- package/src/components/JfbBaseWalletDetail/Attr.js +6 -2
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
- package/src/components/JfbBaseWalletIndex/Attr.js +1 -3
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
- package/src/components/JfbBaseWalletItem/Attr.js +1 -3
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
- package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
- package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +28 -34
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
- package/src/components/JfbBaseCardShift/Mock.js +0 -21
- package/src/components/JfbBaseClear/Attr.js +0 -17
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import StyleForm from "@/utils/StyleForm";
|
|
3
|
-
let styleForm = new StyleForm(
|
|
4
|
-
{bgColor:null, border: null, shadow: null, spacing: '', margin: null,radius:null},
|
|
5
|
-
null,
|
|
6
|
-
'list',
|
|
7
|
-
true
|
|
8
|
-
);
|
|
3
|
+
let styleForm = new StyleForm({border: null, shadow: null, spacing: '', bgColor:'', margin: null,radius:null}, null, 'list');
|
|
9
4
|
export default {
|
|
10
5
|
style: [],
|
|
11
|
-
content: (data
|
|
6
|
+
content: (data)=>{
|
|
12
7
|
return [
|
|
13
8
|
{
|
|
14
9
|
label: '自定义按钮名称:',
|
|
15
10
|
ele: 'el-input',
|
|
16
11
|
type: 'text',
|
|
17
12
|
valueKey: 'custom_btn_name',
|
|
18
|
-
groupKey:'content',
|
|
19
13
|
value: data['custom_btn_name'] || '',
|
|
20
14
|
placeholder: '请输入自定义按钮名称',
|
|
21
15
|
className: 'input80'
|
|
22
16
|
},
|
|
17
|
+
{
|
|
18
|
+
"label": "自定义按钮跳转地址:",
|
|
19
|
+
"ele": "xd-select-pages-path",
|
|
20
|
+
"valueKey": "custom_btn_path",
|
|
21
|
+
"value": data['custom_btn_path'] || null,
|
|
22
|
+
"setting": {
|
|
23
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
24
|
+
},
|
|
25
|
+
"inline": false,
|
|
26
|
+
},
|
|
23
27
|
{
|
|
24
28
|
label: '是否显示码:',
|
|
25
29
|
ele: 'xd-radio',
|
|
26
30
|
valueKey: 'is_show_code',
|
|
27
|
-
groupKey:'content',
|
|
28
31
|
value:data['is_show_code']|| '',
|
|
29
32
|
placeholder: '请选择',
|
|
30
33
|
list: [
|
|
@@ -33,10 +36,9 @@ export default {
|
|
|
33
36
|
],
|
|
34
37
|
},
|
|
35
38
|
{
|
|
36
|
-
label: '
|
|
39
|
+
label: '是否显示商品:',
|
|
37
40
|
ele: 'xd-radio',
|
|
38
41
|
valueKey: 'is_show_product',
|
|
39
|
-
groupKey:'content',
|
|
40
42
|
value:data['is_show_product']|| '',
|
|
41
43
|
placeholder: '请选择',
|
|
42
44
|
list: [
|
|
@@ -45,9 +47,8 @@ export default {
|
|
|
45
47
|
],
|
|
46
48
|
},
|
|
47
49
|
{
|
|
48
|
-
label: '
|
|
50
|
+
label: '自定义内容:',
|
|
49
51
|
ele: 'xd-site-news',
|
|
50
|
-
groupKey:'content',
|
|
51
52
|
valueKey: 'notice',
|
|
52
53
|
value: data['notice'] || null,
|
|
53
54
|
className: 'input70',
|
|
@@ -69,12 +70,11 @@ export default {
|
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
//获取返回参数(场景类型名称为必填)
|
|
72
|
-
|
|
73
|
-
let loading = { close(){}}
|
|
73
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
74
74
|
|
|
75
75
|
//获取显示内容
|
|
76
76
|
if (action === 'screen') {
|
|
77
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
|
|
77
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_bucket_content_tip' })
|
|
78
78
|
.then(res => {
|
|
79
79
|
loading.close();
|
|
80
80
|
data.cb(res['list'])
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
91
91
|
XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
|
|
92
92
|
.then(res => {
|
|
93
93
|
loading.close()
|
|
94
|
-
data.cb({list: res.list, selectId: res.selected})
|
|
94
|
+
data.cb({ list: res.list, selectId: res.selected })
|
|
95
95
|
})
|
|
96
96
|
.catch(error => {
|
|
97
97
|
loading.close()
|
|
@@ -114,7 +114,6 @@ export default {
|
|
|
114
114
|
|
|
115
115
|
//使用内容分类
|
|
116
116
|
if (action === 'cmsPublishEditxContent') {
|
|
117
|
-
loading = XdBus.getParentApi('loading')({});
|
|
118
117
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
119
118
|
.then(res => {
|
|
120
119
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -129,7 +128,6 @@ export default {
|
|
|
129
128
|
|
|
130
129
|
//位置列表
|
|
131
130
|
if (action === 'getListPostion') {
|
|
132
|
-
loading = XdBus.getParentApi('loading')({});
|
|
133
131
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
134
132
|
.then(res => {
|
|
135
133
|
loading.close();
|
|
@@ -143,7 +141,6 @@ export default {
|
|
|
143
141
|
|
|
144
142
|
//位置创建
|
|
145
143
|
if (action === 'addPostion') {
|
|
146
|
-
loading = XdBus.getParentApi('loading')({});
|
|
147
144
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
148
145
|
.then(res => {
|
|
149
146
|
loading.close();
|
|
@@ -158,7 +155,6 @@ export default {
|
|
|
158
155
|
|
|
159
156
|
//位置编辑
|
|
160
157
|
if (action === 'editPostion') {
|
|
161
|
-
loading = XdBus.getParentApi('loading')({});
|
|
162
158
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
163
159
|
.then(res => {
|
|
164
160
|
loading.close();
|
|
@@ -173,7 +169,6 @@ export default {
|
|
|
173
169
|
|
|
174
170
|
//位置删除
|
|
175
171
|
if (action === 'deleltePostion') {
|
|
176
|
-
loading = XdBus.getParentApi('loading')({});
|
|
177
172
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
178
173
|
.then(res => {
|
|
179
174
|
loading.close();
|
|
@@ -188,7 +183,6 @@ export default {
|
|
|
188
183
|
|
|
189
184
|
//获取广告位内容列表
|
|
190
185
|
if (action === 'getListContent') {
|
|
191
|
-
loading = XdBus.getParentApi('loading')({});
|
|
192
186
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
193
187
|
.then(res => {
|
|
194
188
|
loading.close();
|
|
@@ -202,7 +196,6 @@ export default {
|
|
|
202
196
|
|
|
203
197
|
//广告内容创建
|
|
204
198
|
if (action === 'addContent') {
|
|
205
|
-
loading = XdBus.getParentApi('loading')({});
|
|
206
199
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
207
200
|
.then(res => {
|
|
208
201
|
loading.close();
|
|
@@ -217,7 +210,6 @@ export default {
|
|
|
217
210
|
|
|
218
211
|
//广告内容编辑
|
|
219
212
|
if (action === 'editContent') {
|
|
220
|
-
loading = XdBus.getParentApi('loading')({});
|
|
221
213
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
222
214
|
.then(res => {
|
|
223
215
|
loading.close();
|
|
@@ -232,7 +224,6 @@ export default {
|
|
|
232
224
|
|
|
233
225
|
//广告内容删除
|
|
234
226
|
if (action === 'deleteContent') {
|
|
235
|
-
loading = XdBus.getParentApi('loading')({});
|
|
236
227
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
237
228
|
.then(res => {
|
|
238
229
|
loading.close();
|
|
@@ -247,7 +238,6 @@ export default {
|
|
|
247
238
|
|
|
248
239
|
//内容发布
|
|
249
240
|
if (action === 'publish') {
|
|
250
|
-
loading = XdBus.getParentApi('loading')({});
|
|
251
241
|
console.log('publish', data.params)
|
|
252
242
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
253
243
|
.then(res => {
|
|
@@ -262,74 +252,14 @@ export default {
|
|
|
262
252
|
|
|
263
253
|
//通知页面进行刷新
|
|
264
254
|
if (action === 'update') {
|
|
265
|
-
loading = XdBus.getParentApi('loading')({});
|
|
266
255
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
267
256
|
loading.close()
|
|
268
257
|
}
|
|
269
258
|
},
|
|
270
259
|
inline: false,
|
|
271
|
-
notice: '
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
label: '背景颜色:',
|
|
275
|
-
ele: 'xd-color',
|
|
276
|
-
valueKey: 'boxBgColor',
|
|
277
|
-
groupKey:'style',
|
|
278
|
-
value: data['boxBgColor'] || '',
|
|
279
|
-
placeholder: '请选择背景颜色',
|
|
280
|
-
classNmae: 'input80',
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
label: '支付状态背景颜色:',
|
|
284
|
-
ele: 'xd-color',
|
|
285
|
-
valueKey: 'payBgColor',
|
|
286
|
-
groupKey:'style',
|
|
287
|
-
value: data['payBgColor'] || '',
|
|
288
|
-
placeholder: '请选择支付状态背景颜色',
|
|
289
|
-
classNmae: 'input80',
|
|
290
|
-
},
|
|
291
|
-
...styleForm.getForm(data, '二维码样式配置'),
|
|
292
|
-
{
|
|
293
|
-
ele: 'title',
|
|
294
|
-
label: '操作按钮样式设置',
|
|
295
|
-
size: 'small',
|
|
296
|
-
groupKey:'style',
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
label: '边框颜色:',
|
|
300
|
-
ele: 'xd-color',
|
|
301
|
-
valueKey: 'btnBorderColor',
|
|
302
|
-
groupKey:'style',
|
|
303
|
-
value: data['btnBorderColor'] || '',
|
|
304
|
-
classNmae: 'input80',
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
label: '背景颜色:',
|
|
308
|
-
ele: 'xd-color',
|
|
309
|
-
valueKey: 'btnBgColor',
|
|
310
|
-
groupKey:'style',
|
|
311
|
-
value: data.btnBgColor || '',
|
|
312
|
-
classNmae: 'input80',
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
label: '文字颜色:',
|
|
316
|
-
ele: 'xd-color',
|
|
317
|
-
valueKey: 'btnTextColor',
|
|
318
|
-
groupKey:'style',
|
|
319
|
-
value: data.btnTextColor || '',
|
|
320
|
-
classNmae: 'input80',
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"label": "自定义按钮跳转地址:",
|
|
324
|
-
"ele": "xd-select-pages-path",
|
|
325
|
-
"valueKey": "custom_btn_path",
|
|
326
|
-
"value": data['custom_btn_path'] || null,
|
|
327
|
-
"groupKey":'advanced',
|
|
328
|
-
"setting": {
|
|
329
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
330
|
-
},
|
|
331
|
-
"inline": false,
|
|
260
|
+
notice: '',
|
|
332
261
|
},
|
|
262
|
+
...styleForm.getForm(data, '内容配置')
|
|
333
263
|
].filter(i=>i)
|
|
334
264
|
},
|
|
335
265
|
advanced: [],
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
<view class="jfb-base-success__edit-icon" @click="delEdit">删除</view>
|
|
17
17
|
</view>
|
|
18
18
|
<!-- #endif -->
|
|
19
|
-
<view
|
|
19
|
+
<view
|
|
20
|
+
class="jfb-base-success__body"
|
|
21
|
+
|
|
22
|
+
>
|
|
20
23
|
<view class="x-line"></view>
|
|
21
24
|
<view
|
|
22
25
|
v-if="noUserLoding === true"
|
|
@@ -33,8 +36,8 @@
|
|
|
33
36
|
marginBottom: jfbListSpacing + 'rpx',
|
|
34
37
|
boxShadow: jfbListShadowComputed,
|
|
35
38
|
border: jfbListBorderComputed,
|
|
39
|
+
backgroundColor: jfbListBgColor,
|
|
36
40
|
borderRadius: jfbListRadius + 'rpx',
|
|
37
|
-
backgroundColor:payBgColor,
|
|
38
41
|
}"
|
|
39
42
|
>
|
|
40
43
|
<view class="jfb-base-success__body-icon-item">
|
|
@@ -82,7 +85,6 @@
|
|
|
82
85
|
border: jfbListBorderComputed,
|
|
83
86
|
backgroundColor: jfbListBgColor,
|
|
84
87
|
borderRadius: jfbListRadius + 'rpx',
|
|
85
|
-
padding:jfbListSpacing + 'rpx',
|
|
86
88
|
}"
|
|
87
89
|
v-if="
|
|
88
90
|
info.codes.length === 1 &&
|
|
@@ -91,7 +93,8 @@
|
|
|
91
93
|
"
|
|
92
94
|
class="jfb-base-success__body-card jfb-base-success__body-cashier"
|
|
93
95
|
>
|
|
94
|
-
<view class="jfb-base-success__body-cashier-text"
|
|
96
|
+
<view class="jfb-base-success__body-cashier-text"
|
|
97
|
+
>{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
95
98
|
<view style="position: relative">
|
|
96
99
|
<image
|
|
97
100
|
:style="{
|
|
@@ -102,12 +105,9 @@
|
|
|
102
105
|
></image>
|
|
103
106
|
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
104
107
|
</view>
|
|
105
|
-
<view
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
@click="showPassword = true"
|
|
109
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
110
|
-
>{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}</view>
|
|
108
|
+
<view v-if="info.codes[0].can_read_password" class="jfb-base-success__body-cashier-password" @click="showPassword = true">
|
|
109
|
+
{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}
|
|
110
|
+
</view>
|
|
111
111
|
<view v-else class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
|
|
112
112
|
<view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
|
|
113
113
|
<view
|
|
@@ -139,7 +139,6 @@
|
|
|
139
139
|
<view
|
|
140
140
|
class="jfb-base-success__body-card jfb-base-success__body-num"
|
|
141
141
|
v-if="item.show_type === 'text' && !item.password"
|
|
142
|
-
:style="{padding:jfbListSpacing + 'rpx'}"
|
|
143
142
|
>
|
|
144
143
|
<view class="jfb-base-success__body-num-info">
|
|
145
144
|
<view>{{ item.can_read_code }}</view>
|
|
@@ -147,7 +146,6 @@
|
|
|
147
146
|
<view
|
|
148
147
|
class="jfb-base-success__body-num-info-copy"
|
|
149
148
|
@click="copy(item.code)"
|
|
150
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
151
149
|
>复制</view>
|
|
152
150
|
<view
|
|
153
151
|
v-if="item['code_end_time']"
|
|
@@ -162,7 +160,6 @@
|
|
|
162
160
|
<view
|
|
163
161
|
class="jfb-base-success__body-card"
|
|
164
162
|
v-if="item.show_type === 'text' && item.password"
|
|
165
|
-
:style="{padding:jfbListSpacing + 'rpx'}"
|
|
166
163
|
>
|
|
167
164
|
<view
|
|
168
165
|
class="jfb-base-success__body-num"
|
|
@@ -177,7 +174,6 @@
|
|
|
177
174
|
<view
|
|
178
175
|
class="jfb-base-success__body-num-info-copy"
|
|
179
176
|
@click="copy(item.code)"
|
|
180
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
181
177
|
>复制</view>
|
|
182
178
|
</view>
|
|
183
179
|
<view
|
|
@@ -190,7 +186,6 @@
|
|
|
190
186
|
<view
|
|
191
187
|
class="jfb-base-success__body-num-info-copy"
|
|
192
188
|
@click="copy(item.password)"
|
|
193
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
194
189
|
>复制</view>
|
|
195
190
|
<view
|
|
196
191
|
v-if="item['code_end_time']"
|
|
@@ -208,7 +203,6 @@
|
|
|
208
203
|
<view
|
|
209
204
|
class="jfb-base-success__body-card"
|
|
210
205
|
v-if="item.show_type === 'qrcode'"
|
|
211
|
-
:style="{padding:jfbListSpacing + 'rpx'}"
|
|
212
206
|
>
|
|
213
207
|
<view class="jfb-base-success__body-num">
|
|
214
208
|
<!-- <view class="jfb-base-success__body-num-info">
|
|
@@ -216,8 +210,8 @@
|
|
|
216
210
|
</view> -->
|
|
217
211
|
<view
|
|
218
212
|
class="jfb-base-success__body-num-info-copy"
|
|
213
|
+
style="margin-top: 0;"
|
|
219
214
|
@click="handleShowCode(item)"
|
|
220
|
-
:style="{marginTop:0, borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
221
215
|
>查看二维码和密码</view>
|
|
222
216
|
<view
|
|
223
217
|
v-if="item['code_end_time']"
|
|
@@ -235,7 +229,6 @@
|
|
|
235
229
|
<view
|
|
236
230
|
class="jfb-base-success__body-card"
|
|
237
231
|
v-if="item.show_type === 'barcode'"
|
|
238
|
-
:style="{padding:jfbListSpacing + 'rpx'}"
|
|
239
232
|
>
|
|
240
233
|
<view class="jfb-base-success__body-num">
|
|
241
234
|
<view class="jfb-base-success__body-num-info">
|
|
@@ -244,7 +237,6 @@
|
|
|
244
237
|
<view
|
|
245
238
|
class="jfb-base-success__body-num-info-copy"
|
|
246
239
|
@click="handleShowCode(item)"
|
|
247
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
248
240
|
>查看一维码</view>
|
|
249
241
|
<view
|
|
250
242
|
v-if="item['code_end_time']"
|
|
@@ -262,7 +254,6 @@
|
|
|
262
254
|
<view
|
|
263
255
|
class="jfb-base-success__body-card jfb-base-success__body-num"
|
|
264
256
|
v-if="item.show_type === 'url'"
|
|
265
|
-
:style="{padding:jfbListSpacing + 'rpx'}"
|
|
266
257
|
>
|
|
267
258
|
<view class="code-url">
|
|
268
259
|
<view class="jfb-base-success__body-num-info">
|
|
@@ -271,13 +262,11 @@
|
|
|
271
262
|
<view
|
|
272
263
|
class="jfb-base-success__body-num-info-copy"
|
|
273
264
|
@click="handleToLink(item.code)"
|
|
274
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
275
265
|
>访问</view>
|
|
276
266
|
</view>
|
|
277
267
|
<view
|
|
278
268
|
class="jfb-base-success__body-num-info-copy"
|
|
279
269
|
@click="copy(item.code)"
|
|
280
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
281
270
|
>复制</view>
|
|
282
271
|
<view
|
|
283
272
|
v-if="item['code_end_time']"
|
|
@@ -308,13 +297,13 @@
|
|
|
308
297
|
</view>
|
|
309
298
|
<view
|
|
310
299
|
class="jfb-base-success__body-detail"
|
|
311
|
-
v-if="is_show_product === 'Y'"
|
|
300
|
+
v-if="is_show_product === 'Y' && info.productDetail"
|
|
312
301
|
>
|
|
313
|
-
<view class="jfb-base-success__body-detail-title"
|
|
302
|
+
<view class="jfb-base-success__body-detail-title">
|
|
314
303
|
<view :style="{ background: mainColor }"></view>
|
|
315
304
|
<view>商品详情</view>
|
|
316
305
|
</view>
|
|
317
|
-
<view class="jfb-base-success__body-detail-html
|
|
306
|
+
<view class="jfb-base-success__body-detail-html">
|
|
318
307
|
<xd-content-xss v-html="info.productDetail"></xd-content-xss>
|
|
319
308
|
</view>
|
|
320
309
|
</view>
|
|
@@ -373,7 +362,7 @@ let styleForm = new StyleForm(
|
|
|
373
362
|
{
|
|
374
363
|
border: null,
|
|
375
364
|
shadow: null,
|
|
376
|
-
spacing:
|
|
365
|
+
spacing: 24,
|
|
377
366
|
bgColor: "#FFFFFF",
|
|
378
367
|
margin: {
|
|
379
368
|
bottom: 20,
|
|
@@ -381,7 +370,7 @@ let styleForm = new StyleForm(
|
|
|
381
370
|
right: 20,
|
|
382
371
|
top: 20,
|
|
383
372
|
},
|
|
384
|
-
radius:
|
|
373
|
+
radius: null,
|
|
385
374
|
},
|
|
386
375
|
getContainerPropsValue,
|
|
387
376
|
"list"
|
|
@@ -413,20 +402,14 @@ export default {
|
|
|
413
402
|
is_show_product: "",
|
|
414
403
|
webViewPath: "/pages/webview/webview", //容器路径
|
|
415
404
|
isPreview: false,
|
|
416
|
-
boxBgColor:'',
|
|
417
|
-
payBgColor:'',
|
|
418
|
-
bgColor:'',
|
|
419
|
-
|
|
420
|
-
//按钮
|
|
421
|
-
btnTextColor:'',
|
|
422
|
-
btnBgColor:'',
|
|
423
|
-
btnBorderColor:'',
|
|
424
|
-
|
|
425
405
|
info: null,
|
|
426
406
|
timeer: null,
|
|
427
407
|
noUserLoding:null,
|
|
428
408
|
showPassword: false,
|
|
409
|
+
|
|
410
|
+
//请求参数
|
|
429
411
|
params: null,
|
|
412
|
+
|
|
430
413
|
showCode: false,
|
|
431
414
|
codeSrc: "",
|
|
432
415
|
logo: "",
|
|
@@ -446,7 +429,7 @@ export default {
|
|
|
446
429
|
},
|
|
447
430
|
created() {
|
|
448
431
|
this.isPreview = this.$configProject.isPreview;
|
|
449
|
-
this.noUserLoding = !this.$root['isLogined'];
|
|
432
|
+
this.noUserLoding = !this.$root['isLogined']; //判断是否需要已登陆
|
|
450
433
|
if(this.isPreview) this.noUserLoding = false;
|
|
451
434
|
this.init(this.container);
|
|
452
435
|
},
|
|
@@ -461,7 +444,7 @@ export default {
|
|
|
461
444
|
this.params = options;
|
|
462
445
|
this.order_id = options.order_id;
|
|
463
446
|
|
|
464
|
-
|
|
447
|
+
//已登陆
|
|
465
448
|
if(this.noUserLoding === false || this.isPreview ) {
|
|
466
449
|
setTimeout(()=>{
|
|
467
450
|
this.getStatus();
|
|
@@ -517,11 +500,6 @@ export default {
|
|
|
517
500
|
init(value) {
|
|
518
501
|
this.order_id = this.$xdUniHelper.parseURL()["params"].order_id;
|
|
519
502
|
this.bgColor = this.$colorChange(this.mainColor).alpha(0.1).toString();
|
|
520
|
-
this.boxBgColor = getContainerPropsValue(value, "content.boxBgColor", '#f8f8f8');
|
|
521
|
-
this.btnBgColor = getContainerPropsValue(value, "content.btnBgColor", '#e5e5e5');
|
|
522
|
-
this.btnTextColor = getContainerPropsValue(value, "content.btnTextColor", '#666');
|
|
523
|
-
this.btnBorderColor = getContainerPropsValue(value, "content.btnBorderColor", 'rgba(0,0,0,0)');
|
|
524
|
-
this.payBgColor = getContainerPropsValue(value, "content.payBgColor", '#fff');
|
|
525
503
|
this.custom_btn_path = getContainerPropsValue(
|
|
526
504
|
value,
|
|
527
505
|
"content.custom_btn_path",
|
|
@@ -600,7 +578,7 @@ export default {
|
|
|
600
578
|
}
|
|
601
579
|
|
|
602
580
|
//设置码状态
|
|
603
|
-
//info.codes = [info.codes[
|
|
581
|
+
//info.codes = [info.codes[3]]
|
|
604
582
|
info.codes =
|
|
605
583
|
info.codes &&
|
|
606
584
|
info.codes.map((item) => {
|
|
@@ -892,14 +870,14 @@ export default {
|
|
|
892
870
|
|
|
893
871
|
&-detail {
|
|
894
872
|
&-html {
|
|
895
|
-
padding: unit(20, rpx)
|
|
873
|
+
padding: unit(20, rpx) unit(30, rpx);
|
|
896
874
|
color: #999;
|
|
897
875
|
}
|
|
898
876
|
&-title {
|
|
899
877
|
display: flex;
|
|
900
878
|
align-items: center;
|
|
901
879
|
border-bottom: unit(2, rpx) solid #f6f6f6;
|
|
902
|
-
padding: unit(30, rpx) unit(
|
|
880
|
+
padding: unit(30, rpx) unit(30, rpx);
|
|
903
881
|
|
|
904
882
|
& > view:first-child {
|
|
905
883
|
width: unit(6, rpx);
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-success {
|
|
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-success {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|
|
@@ -55,14 +55,6 @@ module.exports = {
|
|
|
55
55
|
"password": "",
|
|
56
56
|
"can_read_password": "",
|
|
57
57
|
"show_type": "url"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
61
|
-
"can_read_code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
62
|
-
"code_url": "//sandbox-img.jufubao.cn/uploads/20230531/aed3f3d2d6932c6bc31b065c7ede7fb7.png",
|
|
63
|
-
"password": "10004",
|
|
64
|
-
"can_read_password": "密码:10004",
|
|
65
|
-
"show_type": "qrcode-pass"
|
|
66
58
|
}
|
|
67
59
|
],
|
|
68
60
|
"custom_content":{
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
<!-- #endif -->
|
|
19
19
|
<view class="jfb-base-test-api__body">
|
|
20
20
|
<view>
|
|
21
|
-
<xd-button @click="getUserStatus" type="primary"
|
|
21
|
+
<xd-button @click="getUserStatus" type="primary">获取用户登陆状态</xd-button>
|
|
22
22
|
</view>
|
|
23
23
|
<view>
|
|
24
|
-
<xd-button @click="getCardStatus" type="primary"
|
|
24
|
+
<xd-button @click="getCardStatus" type="primary">获取用户登陆卡状态</xd-button>
|
|
25
25
|
</view>
|
|
26
26
|
<view>
|
|
27
|
-
<xd-button @click="handleGetByIdCardDetail('101001000005193')" type="primary"
|
|
27
|
+
<xd-button @click="handleGetByIdCardDetail('101001000005193')" type="primary">获取登陆('101001000005193')</xd-button>
|
|
28
28
|
</view>
|
|
29
29
|
</view>
|
|
30
30
|
</view>
|
|
@@ -74,15 +74,15 @@
|
|
|
74
74
|
.catch(error => {
|
|
75
75
|
console.error(error)
|
|
76
76
|
})
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
// #endif
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
},
|
|
81
81
|
getUserStatus(){
|
|
82
82
|
jfbRootFnExec(this, 'checkLoginAndCardLogin')(
|
|
83
83
|
true,
|
|
84
84
|
'login',
|
|
85
|
-
false
|
|
85
|
+
false,//是否自动跳转到用户登陆页
|
|
86
86
|
)
|
|
87
87
|
.then(status=>{
|
|
88
88
|
console.log(status)
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
},
|
|
94
94
|
getCardStatus() {
|
|
95
95
|
jfbRootFnExec(this, 'checkLoginAndCardLogin')(
|
|
96
|
-
true || this.pageAttr.permission['can_card'],
|
|
96
|
+
true || this.pageAttr.permission['can_card'], //是否免登陆
|
|
97
97
|
'card', //检查卡类型
|
|
98
|
-
false
|
|
98
|
+
false,//是否自动跳转到卡登陆页
|
|
99
99
|
)
|
|
100
100
|
.then(status => {
|
|
101
101
|
this.$xdHideLoading();
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
WxMiniProgram.reLaunch({url: '/pages/in/in?a=1&b=3'});
|
|
111
111
|
console.error('11111');
|
|
112
112
|
})
|
|
113
|
-
|
|
113
|
+
|
|
114
114
|
// jfbRootExec('getByIdCardDetail', {
|
|
115
115
|
// vm: this,
|
|
116
116
|
// data: {
|