jufubao-base 1.0.183 → 1.0.184-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseAddress/Attr.js +50 -1
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +120 -68
- package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
- package/src/components/JfbBaseCardDelay/Api.js +19 -30
- package/src/components/JfbBaseCardDelay/Attr.js +237 -35
- package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +279 -78
- package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +14 -0
- package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +121 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +206 -29
- package/src/components/JfbBaseCardGive/Api.js +18 -34
- package/src/components/JfbBaseCardGive/Attr.js +40 -32
- package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +502 -79
- package/src/components/JfbBaseCardGive/Mock.js +2 -9
- package/src/components/JfbBaseCardReceive/Api.js +10 -36
- package/src/components/JfbBaseCardReceive/Attr.js +9 -39
- package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +403 -80
- package/src/components/JfbBaseCardReceive/Mock.js +1 -7
- package/src/components/JfbBaseCardReceiveCover/Api.js +5 -43
- package/src/components/JfbBaseCardReceiveCover/Attr.js +119 -30
- package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +189 -82
- package/src/components/JfbBaseCardReceiveCover/Mock.js +1 -9
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
- package/src/components/JfbBaseOrderDetail/Attr.js +18 -74
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +26 -22
- package/src/components/JfbBaseOrderList/Attr.js +23 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +117 -86
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +246 -0
- package/src/components/JfbBasePay/Attr.js +12 -0
- package/src/components/JfbBasePay/JfbBasePay.vue +14 -8
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -1
- package/src/components/JfbBaseRechargeOrder/Api.js +11 -0
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +46 -27
- package/src/components/JfbBaseRechargeOrderDetail/Api.js +11 -0
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +142 -13
- package/src/components/JfbBaseRechargeSuccess/Api.js +11 -0
- package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -3
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +0 -1
- package/src/components/JfbBaseUserCenter/Attr.js +240 -48
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +101 -30
- package/src/components/JfbBaseUserInfo/Attr.js +179 -30
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +80 -44
- package/src/components/JfbBaseWallet/Attr.js +340 -2
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +167 -49
|
@@ -6,53 +6,37 @@
|
|
|
6
6
|
*/
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
mapFnName: 'getCardByIdFilmSquate',
|
|
11
|
-
title: '获取电影广场列表',
|
|
12
|
-
path: '/api/account/film/list-film-square',
|
|
9
|
+
mapFnName: 'getBaseByIdCardDetailGive',
|
|
13
10
|
isRule: false,
|
|
11
|
+
title: '获得绑定的卡详情',
|
|
12
|
+
prefix: 'detal',
|
|
13
|
+
path: '/card/v1/card-transfer/get-bind-card',
|
|
14
14
|
params: {
|
|
15
|
-
|
|
16
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
15
|
+
card_number: ['卡号', 'String', '必选'],
|
|
17
16
|
},
|
|
18
|
-
isConsole: true,
|
|
19
17
|
disabled: true,
|
|
20
18
|
},
|
|
21
19
|
{
|
|
22
|
-
|
|
23
|
-
mapFnName: 'updateCardFilmPaiqiDate',
|
|
24
|
-
title: '更新排期',
|
|
25
|
-
path: '/api/account/film/paiqi-date',
|
|
20
|
+
mapFnName: 'confirmGiveCard',
|
|
26
21
|
isRule: false,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
//设置方法名字当别忘记加上【模块名字】:Card
|
|
36
|
-
mapFnName: 'removeCardFilmAddress',
|
|
37
|
-
title: '删除我的配送地址',
|
|
38
|
-
path: '/api/account/film/paiqi-date',
|
|
39
|
-
isRule: false,
|
|
40
|
-
params: {
|
|
41
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
22
|
+
title: '确认赠送',
|
|
23
|
+
prefix: 'detal',
|
|
24
|
+
path: '/card/v1/card-transfer/create',
|
|
25
|
+
data: {
|
|
26
|
+
card_number: ['卡号', 'String', '必选'],
|
|
27
|
+
greeting: ['祝福语', 'String', '必选'],
|
|
42
28
|
},
|
|
43
|
-
isConsole: true,
|
|
44
29
|
disabled: true,
|
|
45
30
|
},
|
|
46
31
|
{
|
|
47
|
-
|
|
48
|
-
mapFnName: 'addCardFilmcart',
|
|
49
|
-
title: '添加购物车',
|
|
50
|
-
path: '/api/account/film/paiqi-date',
|
|
32
|
+
mapFnName: 'cancelGiveCard',
|
|
51
33
|
isRule: false,
|
|
52
|
-
|
|
53
|
-
|
|
34
|
+
title: '取消赠送',
|
|
35
|
+
prefix: 'detal',
|
|
36
|
+
path: '/card/v1/card-transfer/cancel',
|
|
37
|
+
data: {
|
|
38
|
+
transfer_auth_code: ['授权码', 'String', '必选'],
|
|
54
39
|
},
|
|
55
|
-
isConsole: true,
|
|
56
40
|
disabled: true,
|
|
57
41
|
},
|
|
58
42
|
];
|
|
@@ -8,49 +8,57 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-
|
|
13
|
-
valueKey: '
|
|
14
|
-
|
|
15
|
-
placeholder: '
|
|
16
|
-
|
|
11
|
+
label: '领取地址:',
|
|
12
|
+
ele: 'xd-select-pages-path',
|
|
13
|
+
valueKey: 'get_url',
|
|
14
|
+
groupKey:'advanced',
|
|
15
|
+
placeholder: '请选择领取地址',
|
|
16
|
+
value: data['get_url']||null,
|
|
17
|
+
setting: {
|
|
18
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
19
|
+
},
|
|
20
|
+
inline: false,
|
|
17
21
|
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
22
|
+
{ required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
label: '
|
|
26
|
+
label: '返回地址:',
|
|
27
27
|
ele: 'xd-select-pages-path',
|
|
28
|
-
valueKey: '
|
|
29
|
-
|
|
28
|
+
valueKey: 'back_url',
|
|
29
|
+
groupKey:'advanced',
|
|
30
|
+
placeholder: '请选择返回地址',
|
|
31
|
+
value: data['back_url']||null,
|
|
30
32
|
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
33
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
32
34
|
},
|
|
33
|
-
|
|
34
|
-
data.bgcolor && {
|
|
35
|
-
label: '高度:',
|
|
36
|
-
ele: 'el-input',
|
|
37
|
-
type: 'number',
|
|
38
|
-
valueKey: 'height',
|
|
39
|
-
value: data.height || 100,
|
|
40
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
41
|
-
className: 'input80',
|
|
35
|
+
inline: false,
|
|
42
36
|
rules: [
|
|
43
|
-
{
|
|
44
|
-
required: true,
|
|
45
|
-
message: '请输入占位框高度',
|
|
46
|
-
trigger: 'blur'
|
|
47
|
-
},
|
|
37
|
+
{ required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
|
|
48
38
|
]
|
|
49
39
|
},
|
|
50
40
|
{
|
|
51
|
-
label: '', //label
|
|
52
|
-
ele: '
|
|
53
|
-
|
|
41
|
+
label: '分享图片:', //label
|
|
42
|
+
ele: 'xd-upload', //package 名称
|
|
43
|
+
valueKey: 'shareImage', //form[valueKey]
|
|
44
|
+
value: data.shareImage || null, //v-model
|
|
45
|
+
defaultValue: data.shareImage || null, //默认图片对象
|
|
46
|
+
groupKey: "style",
|
|
47
|
+
slot: true, //按钮是否使用slot
|
|
48
|
+
oneWidth: 200, //单个图片显示宽度
|
|
49
|
+
oneHeight: 200, //单个图片显示高度
|
|
50
|
+
elinputClassName: 'input40',
|
|
51
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
52
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
53
|
+
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
54
|
+
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
55
|
+
size: 5, //5M
|
|
56
|
+
action: 'aliyun',
|
|
57
|
+
sort: true, //当上传图片列表时候,是否启用排序
|
|
58
|
+
maxlen: 100, //当上传图片列表时候,最大数量数量
|
|
59
|
+
rules: [
|
|
60
|
+
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
61
|
+
]
|
|
54
62
|
},
|
|
55
63
|
].filter(i=>i)
|
|
56
64
|
},
|