jufubao-base 1.0.117 → 1.0.119-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/JfbBaseCard/Attr.js +380 -287
- package/src/components/JfbBaseCard/JfbBaseCard.vue +51 -2
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +95 -18
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +1 -1
- package/src/components/JfbBaseCardInfo/Attr.js +21 -0
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +40 -4
- package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +33 -4
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +10 -9
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +10 -10
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +6 -1
- package/src/components/JfbBaseConFlashHome/Api.js +60 -0
- package/src/components/JfbBaseConFlashHome/Attr.js +129 -0
- package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHome.vue +388 -0
- package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeLess.less +80 -0
- package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeMixin.js +30 -0
- package/src/components/JfbBaseConFlashHome/Mock.js +5 -0
- package/src/components/JfbBaseConFlashList/Api.js +60 -0
- package/src/components/JfbBaseConFlashList/Attr.js +117 -0
- package/src/components/JfbBaseConFlashList/JfbBaseConFlashList.vue +656 -0
- package/src/components/JfbBaseConFlashList/JfbBaseConFlashListLess.less +80 -0
- package/src/components/JfbBaseConFlashList/JfbBaseConFlashListMixin.js +30 -0
- package/src/components/JfbBaseConFlashList/Mock.js +5 -0
- package/src/components/JfbBaseConList/JfbBaseConList.vue +4 -2
- package/src/components/JfbBaseConPhone/Api.js +70 -0
- package/src/components/JfbBaseConPhone/Attr.js +10 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +486 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +80 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneMixin.js +30 -0
- package/src/components/JfbBaseConPhone/Mock.js +26 -0
- package/src/components/JfbBaseMySetting/Api.js +43 -0
- package/src/components/JfbBaseMySetting/Attr.js +23 -0
- package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +236 -0
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +80 -0
- package/src/components/JfbBaseMySetting/JfbBaseMySettingMixin.js +30 -0
- package/src/components/JfbBaseMySetting/Mock.js +5 -0
- package/src/components/JfbBaseMySetting/XdListItem.vue +135 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +33 -8
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBaseSaasBlessDetail/Api.js +59 -0
- package/src/components/JfbBaseSaasBlessDetail/Attr.js +24 -0
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +315 -0
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailLess.less +80 -0
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailMixin.js +30 -0
- package/src/components/JfbBaseSaasBlessDetail/Mock.js +5 -0
- package/src/components/JfbBaseSaasBlessDialog/Api.js +25 -0
- package/src/components/JfbBaseSaasBlessDialog/Attr.js +50 -0
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +274 -0
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogLess.less +80 -0
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogMixin.js +30 -0
- package/src/components/JfbBaseSaasBlessDialog/Mock.js +5 -0
- package/src/components/JfbBaseSaasBlessReceive/Api.js +25 -0
- package/src/components/JfbBaseSaasBlessReceive/Attr.js +24 -0
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +183 -0
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveLess.less +80 -0
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveMixin.js +30 -0
- package/src/components/JfbBaseSaasBlessReceive/Mock.js +5 -0
- package/src/components/JfbBaseSaasHome/Api.js +48 -0
- package/src/components/JfbBaseSaasHome/Attr.js +35 -0
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +356 -0
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeLess.less +80 -0
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeMixin.js +30 -0
- package/src/components/JfbBaseSaasHome/Mock.js +5 -0
- package/src/components/JfbBaseSaasLogin/Api.js +39 -0
- package/src/components/JfbBaseSaasLogin/Attr.js +37 -0
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +410 -0
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginLess.less +80 -0
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginMixin.js +30 -0
- package/src/components/JfbBaseSaasLogin/Mock.js +5 -0
- package/src/components/JfbBaseSaasNewsDetail/Api.js +27 -0
- package/src/components/JfbBaseSaasNewsDetail/Attr.js +14 -0
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +144 -0
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailLess.less +80 -0
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailMixin.js +30 -0
- package/src/components/JfbBaseSaasNewsDetail/Mock.js +5 -0
- package/src/components/JfbBaseSaasNewsList/Api.js +26 -0
- package/src/components/JfbBaseSaasNewsList/Attr.js +24 -0
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +181 -0
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListLess.less +80 -0
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListMixin.js +30 -0
- package/src/components/JfbBaseSaasNewsList/Mock.js +5 -0
- package/src/components/JfbBaseSassPhoneCollect/Api.js +39 -0
- package/src/components/JfbBaseSassPhoneCollect/Attr.js +438 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollect.vue +266 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectLess.less +80 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectMixin.js +30 -0
- package/src/components/JfbBaseSassPhoneCollect/Mock.js +5 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +34 -8
|
@@ -0,0 +1,117 @@
|
|
|
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
|
+
};
|