jufubao-base 1.0.237-beta4 → 1.0.237
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 +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +8 -0
- package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
- package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +6 -25
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -11
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -8
- package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
- package/src/components/JfbBaseTfkSearch/listMixins.js +1 -1
- package/src/components/JfbBaseUserInfo/Attr.js +10 -114
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +114 -312
- package/src/components/JfbBaseBalance/Api.js +0 -46
- package/src/components/JfbBaseBalance/Attr.js +0 -316
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -331
- package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
- package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
- package/src/components/JfbBaseBalance/Mock.js +0 -9
- package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
- package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
- package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
- package/src/components/JfbBaseConsumpCode/Api.js +0 -133
- package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -961
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
- package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
- package/src/components/JfbBaseOpenVip/Api.js +0 -39
- package/src/components/JfbBaseOpenVip/Attr.js +0 -290
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -430
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
- package/src/components/JfbBaseOpenVip/Mock.js +0 -7
- package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -125
- package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
- package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
- package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
- package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
- package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -223
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
- package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -13
- package/src/components/JfbBasePersonalData/Api.js +0 -26
- package/src/components/JfbBasePersonalData/Attr.js +0 -12
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -198
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
- package/src/components/JfbBasePersonalData/Mock.js +0 -13
- package/src/components/JfbBasePointsCard/Api.js +0 -18
- package/src/components/JfbBasePointsCard/Attr.js +0 -187
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -208
- package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
- package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
- package/src/components/JfbBasePointsCard/Mock.js +0 -5
- package/src/components/JfbBasePointsDetail/Api.js +0 -48
- package/src/components/JfbBasePointsDetail/Attr.js +0 -304
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
- package/src/components/JfbBasePointsDetail/Mock.js +0 -6
- package/src/components/JfbBasePosterGroup/Api.js +0 -22
- package/src/components/JfbBasePosterGroup/Attr.js +0 -146
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -265
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
- package/src/components/JfbBasePosterGroup/Mock.js +0 -13
- package/src/components/JfbBaseSavingDetail/Api.js +0 -41
- package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -679
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
- package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
- package/src/components/JfbBaseShare/Api.js +0 -20
- package/src/components/JfbBaseShare/Attr.js +0 -14
- package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -270
- package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
- package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
- package/src/components/JfbBaseShare/Mock.js +0 -16
- package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
- package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -334
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
- package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
- package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
- package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
- package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
- package/src/components/JfbBaseWithdraw/Api.js +0 -48
- package/src/components/JfbBaseWithdraw/Attr.js +0 -328
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -245
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
- package/src/components/JfbBaseWithdraw/Mock.js +0 -7
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @desc 获取绝对路径完整地址
|
|
3
|
-
* @param @path
|
|
4
|
-
**/
|
|
5
|
-
//例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
|
|
6
|
-
@basePath: 'business/';
|
|
7
|
-
@doMain: '//sandbox-img.jufubao.cn/';
|
|
8
|
-
|
|
9
|
-
.getBusinessImageUrl(@path, @size: 'size8') {
|
|
10
|
-
@url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
|
|
11
|
-
background-image: url(@url);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//start
|
|
15
|
-
.jfb-base-code-open-vip {
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
|
|
18
|
-
&__body{
|
|
19
|
-
position: relative;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
z-index: 2
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.editx,&.editx:hover {
|
|
25
|
-
position: relative;
|
|
26
|
-
min-height: unit(100, rpx);
|
|
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
|
-
}
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
&__edit {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
position: absolute;
|
|
46
|
-
right: unit(0, rpx);
|
|
47
|
-
top: unit(-52, rpx);
|
|
48
|
-
height: unit(50, rpx);
|
|
49
|
-
line-height: unit(50, rpx);
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
align-items: center;
|
|
53
|
-
background: rgba(0, 0, 0, .6);
|
|
54
|
-
border-radius: unit(10, rpx);
|
|
55
|
-
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
|
-
color: #fff;
|
|
57
|
-
font-size: unit(22, rpx);
|
|
58
|
-
|
|
59
|
-
&-icon{
|
|
60
|
-
padding: 0 unit(20, rpx);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&.editx {
|
|
64
|
-
box-sizing: border-box;
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
//end
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
/**notPreview**/
|
|
73
|
-
.jfb-base-code-open-vip {
|
|
74
|
-
//&:before {
|
|
75
|
-
//content: " ";
|
|
76
|
-
//display: table;
|
|
77
|
-
//}
|
|
78
|
-
}
|
|
79
|
-
/**endNotPreview**/
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//@AttrImport
|
|
5
|
-
import Attr from "./Attr";
|
|
6
|
-
//@EndAttrImport
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
data() {
|
|
11
|
-
return {
|
|
12
|
-
//#ifdef H5
|
|
13
|
-
|
|
14
|
-
//@AttrData
|
|
15
|
-
Attr:{}, //对外开发编辑属性
|
|
16
|
-
//@EndAttrData
|
|
17
|
-
|
|
18
|
-
// #endif
|
|
19
|
-
cssRoot: 'jfb-base-code-open-vip'
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
created() {
|
|
23
|
-
|
|
24
|
-
//@AttrDataCreated
|
|
25
|
-
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
-
//@EndAttrDataCreated
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* @description 接口配置,
|
|
4
|
-
* 在设置方法名字当时候,别忘记加上【模块名字】:Consump
|
|
5
|
-
* @type {*[]}
|
|
6
|
-
*/
|
|
7
|
-
module.exports = [
|
|
8
|
-
{
|
|
9
|
-
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
10
|
-
mapFnName: 'getConsumpCode',
|
|
11
|
-
title: '获取支付码',
|
|
12
|
-
path: '/store/v1/order/get-quick-pay-code',
|
|
13
|
-
isRule: false,
|
|
14
|
-
params: {
|
|
15
|
-
shop_id: ['门店ID', 'Number', '必选'],
|
|
16
|
-
temp_order_id: ['临时订单号第一次获取为空,再次获取需要传上次获取到数据', 'Number', '非必选'],
|
|
17
|
-
},
|
|
18
|
-
isConsole: true,
|
|
19
|
-
disabled: true,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
23
|
-
mapFnName: 'getConsumpCodeScanStatus',
|
|
24
|
-
title: '获取支付码扫码状态',
|
|
25
|
-
path: '/store/v1/order/get-quick-pay-scan-status',
|
|
26
|
-
isRule: false,
|
|
27
|
-
params: {
|
|
28
|
-
temp_order_id: ['临时订单号', 'Number', '必选'],
|
|
29
|
-
},
|
|
30
|
-
isConsole: true,
|
|
31
|
-
disabled: true,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
mapFnName: "getConsumpListUserPayChannel",
|
|
35
|
-
title: "获取用户可用支付渠道",
|
|
36
|
-
path: "/pay/v1/pay-channel/list-user-pay-channel",
|
|
37
|
-
isRule: false,
|
|
38
|
-
params: {
|
|
39
|
-
providers: ['支付方式id 多个用逗号分隔', "String", '必选']
|
|
40
|
-
},
|
|
41
|
-
isConsole: true,
|
|
42
|
-
disabled: true
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
path: '/store/v1/order/async-submit-status',
|
|
46
|
-
title: "获取异步下单的状态",
|
|
47
|
-
mapFnName: "getConsumpAsyncSubmitStatus",
|
|
48
|
-
isRule: false,
|
|
49
|
-
params: {
|
|
50
|
-
request_order_id: ['temp_order_id', 'Number', '必选'],
|
|
51
|
-
},
|
|
52
|
-
isConsole: true,
|
|
53
|
-
disabled: true,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
mapFnName: "setConsumpThirdPlace",
|
|
57
|
-
title: "第三方渠道下单",
|
|
58
|
-
path: "/pay/v1/order/third-place",
|
|
59
|
-
isRule: false,
|
|
60
|
-
data: {
|
|
61
|
-
order_id: ['订单号', "String", "必填"],
|
|
62
|
-
channel_provider_id: ['支付渠道id', "String", '必选']
|
|
63
|
-
},
|
|
64
|
-
isConsole: true,
|
|
65
|
-
disabled: true
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
mapFnName: "updateConsumpPay",
|
|
69
|
-
title: "修改订单为支付中",
|
|
70
|
-
path: "/order/v1/order/update-to-paying",
|
|
71
|
-
isRule: false,
|
|
72
|
-
data: {
|
|
73
|
-
main_order_id: ['订单号', "String", "必填"],
|
|
74
|
-
},
|
|
75
|
-
isConsole: true,
|
|
76
|
-
disabled: true
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
80
|
-
mapFnName: 'batchConsumpUseCardCreated',
|
|
81
|
-
title: '批量使用卡券下单',
|
|
82
|
-
path: '/store/v1/order/batch-use-card-created',
|
|
83
|
-
isRule: false,
|
|
84
|
-
data: {
|
|
85
|
-
temp_order_id: ['临时订单号', 'Number', '必选'],
|
|
86
|
-
},
|
|
87
|
-
isConsole: true,
|
|
88
|
-
disabled: true,
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
92
|
-
mapFnName: 'getConsumpShopList',
|
|
93
|
-
title: '获取附近门店列表',
|
|
94
|
-
path: '/mall/v1/shop/msearch',
|
|
95
|
-
isRule: false,
|
|
96
|
-
params: {},
|
|
97
|
-
isConsole: true,
|
|
98
|
-
disabled: true,
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
mapFnName: 'getConsumpSettleMainInfo',
|
|
102
|
-
title: '门店核销 - 展示主界面数据',
|
|
103
|
-
// path: '/store/v1/cash/settle/main-info',
|
|
104
|
-
path: "/store/v1/order/main-info",
|
|
105
|
-
isRule: false,
|
|
106
|
-
params: {
|
|
107
|
-
shop_id: ['门店id', 'Number', '必选'],
|
|
108
|
-
},
|
|
109
|
-
isConsole: true,
|
|
110
|
-
disabled: true,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
mapFnName: 'addConsumpCashierTempOrderData',
|
|
114
|
-
title: '门店核销 - 保存临时购物数据',
|
|
115
|
-
path: "/store/v1/order/save-cart-order-data",
|
|
116
|
-
isRule: false,
|
|
117
|
-
data: {
|
|
118
|
-
shop_id: ['门店id', 'Number', '必选'],
|
|
119
|
-
settle_tag_id: ['结算标签id', 'Number', '必选'],
|
|
120
|
-
},
|
|
121
|
-
isConsole: true,
|
|
122
|
-
disabled: true,
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
mapFnName: 'getConsumpBaseUserInfo',
|
|
126
|
-
title: '获取用户信息',
|
|
127
|
-
path: '/passport/v1/user/get',
|
|
128
|
-
params: {},
|
|
129
|
-
isRule: false,
|
|
130
|
-
isConsole: true,
|
|
131
|
-
disabled: true,
|
|
132
|
-
}
|
|
133
|
-
];
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
|
-
export default {
|
|
7
|
-
style: [],
|
|
8
|
-
content: (data) => {
|
|
9
|
-
return [
|
|
10
|
-
{
|
|
11
|
-
label: '开通路径:',
|
|
12
|
-
groupKey:'advanced',
|
|
13
|
-
className: 'input100',
|
|
14
|
-
ele: 'xd-select-pages-path',
|
|
15
|
-
valueKey: 'openPath',
|
|
16
|
-
value: data['openPath'] || null,
|
|
17
|
-
setting: {
|
|
18
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
label: '切换门店路径:',
|
|
23
|
-
groupKey:'advanced',
|
|
24
|
-
className: 'input100',
|
|
25
|
-
ele: 'xd-select-pages-path',
|
|
26
|
-
valueKey: 'shopPath',
|
|
27
|
-
value: data['shopPath'] || null,
|
|
28
|
-
setting: {
|
|
29
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
label: '支付成功跳转路径:',
|
|
34
|
-
ele: 'xd-select-pages-path',
|
|
35
|
-
valueKey: 'successPath',
|
|
36
|
-
value: data.successPath || null,
|
|
37
|
-
placeholder: '请选择支付成功跳转路径',
|
|
38
|
-
className: 'input100',
|
|
39
|
-
groupKey:'advanced',
|
|
40
|
-
setting: {
|
|
41
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
42
|
-
},
|
|
43
|
-
inline: false,
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
label: '核销支付路径:',
|
|
47
|
-
ele: 'xd-select-pages-path',
|
|
48
|
-
valueKey: 'cash_pay_path',
|
|
49
|
-
placeholder: '请选择核销支付路径',
|
|
50
|
-
value: data.cash_pay_path || null,
|
|
51
|
-
className: 'input100',
|
|
52
|
-
groupKey:'advanced',
|
|
53
|
-
setting: {
|
|
54
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
55
|
-
},
|
|
56
|
-
inline: false,
|
|
57
|
-
},
|
|
58
|
-
].filter(i=>i)
|
|
59
|
-
},
|
|
60
|
-
advanced: [],
|
|
61
|
-
};
|