jufubao-base 1.0.119-beta8 → 1.0.119-beta9
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/JfbBaseConPhone/JfbBaseConPhone.vue +9 -0
- package/src/components/JfbBaseConFlashHome/Api.js +0 -60
- package/src/components/JfbBaseConFlashHome/Attr.js +0 -129
- package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHome.vue +0 -388
- package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeLess.less +0 -80
- package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeMixin.js +0 -30
- package/src/components/JfbBaseConFlashHome/Mock.js +0 -5
- package/src/components/JfbBaseConFlashList/Api.js +0 -60
- package/src/components/JfbBaseConFlashList/Attr.js +0 -117
- package/src/components/JfbBaseConFlashList/JfbBaseConFlashList.vue +0 -656
- package/src/components/JfbBaseConFlashList/JfbBaseConFlashListLess.less +0 -80
- package/src/components/JfbBaseConFlashList/JfbBaseConFlashListMixin.js +0 -30
- package/src/components/JfbBaseConFlashList/Mock.js +0 -5
|
@@ -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-con-flash-home'
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
created() {
|
|
23
|
-
|
|
24
|
-
//@AttrDataCreated
|
|
25
|
-
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
-
//@EndAttrDataCreated
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description API模型
|
|
5
|
-
* 建议:Ffff=>模块 Xxxx=>自定义名字
|
|
6
|
-
* 获取单记录(getByIdFfffXxxx)
|
|
7
|
-
* 获取列表记录(getByListFfffXxxx)
|
|
8
|
-
* 添加列表记录(addFfffXxxxx)
|
|
9
|
-
* 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
|
|
10
|
-
* 更新列表记录(updateFfffXxxxx)
|
|
11
|
-
* @type {*[]}
|
|
12
|
-
*/
|
|
13
|
-
module.exports = [
|
|
14
|
-
{
|
|
15
|
-
mapFnName: 'getByIdFilmSquate', //自定义方法名字(必选)
|
|
16
|
-
title: '获取电影广场列表',
|
|
17
|
-
path: '/api/account/film/list-film-square',
|
|
18
|
-
isRule: false,
|
|
19
|
-
params: {
|
|
20
|
-
last_key: ['当前页', 'Number', '必选'],
|
|
21
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
22
|
-
},
|
|
23
|
-
isConsole: true,
|
|
24
|
-
disabled: true,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
|
|
28
|
-
title: '更新排期',
|
|
29
|
-
path: '/api/account/film/paiqi-date',
|
|
30
|
-
isRule: false,
|
|
31
|
-
params: {
|
|
32
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
33
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
34
|
-
},
|
|
35
|
-
isConsole: true,
|
|
36
|
-
disabled: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
|
|
40
|
-
title: '删除我的配送地址',
|
|
41
|
-
path: '/api/account/film/paiqi-date',
|
|
42
|
-
isRule: false,
|
|
43
|
-
params: {
|
|
44
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
45
|
-
},
|
|
46
|
-
isConsole: true,
|
|
47
|
-
disabled: true,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
mapFnName: 'addFilmcart', //自定义方法名字(必选)
|
|
51
|
-
title: '添加购物车',
|
|
52
|
-
path: '/api/account/film/paiqi-date',
|
|
53
|
-
isRule: false,
|
|
54
|
-
params: {
|
|
55
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
56
|
-
},
|
|
57
|
-
isConsole: true,
|
|
58
|
-
disabled: true,
|
|
59
|
-
},
|
|
60
|
-
];
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
|
-
export default {
|
|
7
|
-
style: [],
|
|
8
|
-
content: (data) => {
|
|
9
|
-
return [
|
|
10
|
-
{
|
|
11
|
-
label: '是否展示原价:',
|
|
12
|
-
ele: 'xd-radio',
|
|
13
|
-
valueKey: 'isShowDiscount',
|
|
14
|
-
value: data.isShowDiscount || "Y",
|
|
15
|
-
rules: [
|
|
16
|
-
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
17
|
-
],
|
|
18
|
-
list: [
|
|
19
|
-
{"label": "显示", "value": "Y"},
|
|
20
|
-
{"label": "隐藏", "value": "N"},
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
data.isShowDiscount==='Y'&&{
|
|
24
|
-
label: '价差大于多少展示原价:',
|
|
25
|
-
ele: 'el-input',
|
|
26
|
-
type: 'number',
|
|
27
|
-
valueKey: 'differ',
|
|
28
|
-
value: data['differ'] || '',
|
|
29
|
-
placeholder: '价差',
|
|
30
|
-
className: 'input80',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
label: '场次背景图:', //label
|
|
34
|
-
ele: 'xd-upload', //package 名称
|
|
35
|
-
valueKey: 'sessionBackground', //form[valueKey]
|
|
36
|
-
value: data.sessionBackground || null, //v-model
|
|
37
|
-
defaultValue: data.sessionBackground || null, //默认图片对象
|
|
38
|
-
slot: true, //按钮是否使用slot
|
|
39
|
-
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*800像素',
|
|
40
|
-
type: ['jpg', 'png', 'jpeg'],
|
|
41
|
-
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
42
|
-
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
43
|
-
size: 5, //5M
|
|
44
|
-
action: 'aliyun',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
ele: 'title',
|
|
48
|
-
label: '多场次选中效果',
|
|
49
|
-
size: 'small', //default/mini/small
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: '第一场背景图:', //label
|
|
53
|
-
ele: 'xd-upload', //package 名称
|
|
54
|
-
valueKey: 'firstBackground', //form[valueKey]
|
|
55
|
-
value: data.firstBackground || null, //v-model
|
|
56
|
-
defaultValue: data.firstBackground || null, //默认图片对象
|
|
57
|
-
slot: true, //按钮是否使用slot
|
|
58
|
-
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*800像素',
|
|
59
|
-
type: ['jpg', 'png', 'jpeg'],
|
|
60
|
-
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
61
|
-
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
62
|
-
size: 5, //5M
|
|
63
|
-
action: 'aliyun',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
label: '中间场背景图:', //label
|
|
67
|
-
ele: 'xd-upload', //package 名称
|
|
68
|
-
valueKey: 'middleBackground', //form[valueKey]
|
|
69
|
-
value: data.middleBackground || null, //v-model
|
|
70
|
-
defaultValue: data.middleBackground || null, //默认图片对象
|
|
71
|
-
slot: true, //按钮是否使用slot
|
|
72
|
-
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*800像素',
|
|
73
|
-
type: ['jpg', 'png', 'jpeg'],
|
|
74
|
-
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
75
|
-
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
76
|
-
size: 5, //5M
|
|
77
|
-
action: 'aliyun',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
label: '最后场背景图:', //label
|
|
81
|
-
ele: 'xd-upload', //package 名称
|
|
82
|
-
valueKey: 'finalBackground', //form[valueKey]
|
|
83
|
-
value: data.finalBackground || null, //v-model
|
|
84
|
-
defaultValue: data.finalBackground || null, //默认图片对象
|
|
85
|
-
slot: true, //按钮是否使用slot
|
|
86
|
-
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*800像素',
|
|
87
|
-
type: ['jpg', 'png', 'jpeg'],
|
|
88
|
-
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
89
|
-
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
90
|
-
size: 5, //5M
|
|
91
|
-
action: 'aliyun',
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
ele: 'title',
|
|
95
|
-
label: '单场次选中效果',
|
|
96
|
-
size: 'small', //default/mini/small
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
label: '单场次背景图:', //label
|
|
100
|
-
ele: 'xd-upload', //package 名称
|
|
101
|
-
valueKey: 'singleBackground', //form[valueKey]
|
|
102
|
-
value: data.singleBackground || null, //v-model
|
|
103
|
-
defaultValue: data.singleBackground || null, //默认图片对象
|
|
104
|
-
slot: true, //按钮是否使用slot
|
|
105
|
-
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:800*800像素',
|
|
106
|
-
type: ['jpg', 'png', 'jpeg'],
|
|
107
|
-
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
108
|
-
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
109
|
-
size: 5, //5M
|
|
110
|
-
action: 'aliyun',
|
|
111
|
-
},
|
|
112
|
-
].filter(i=>i)
|
|
113
|
-
},
|
|
114
|
-
advanced: [
|
|
115
|
-
|
|
116
|
-
],
|
|
117
|
-
};
|