jufubao-mall 2.0.35 → 2.0.37
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/JfbMallNavigation/Api.js +35 -0
- package/src/components/JfbMallNavigation/Attr.js +18 -0
- package/src/components/JfbMallNavigation/JfbMallNavigation.vue +944 -0
- package/src/components/JfbMallNavigation/JfbMallNavigationLess.less +80 -0
- package/src/components/JfbMallNavigation/JfbMallNavigationMixin.js +30 -0
- package/src/components/JfbMallNavigation/Mock.js +148 -0
- package/src/components/JfbMallNavigation/cusAttr/advanced.js +6 -0
- package/src/components/JfbMallNavigation/cusAttr/content.js +108 -0
- package/src/components/JfbMallNavigation/cusAttr/style.js +960 -0
- package/src/components/JfbMallNewShopList/JfbMallNewShopList.vue +7 -1
- package/src/components/JfbMallProductInfo/cusAttr/content.js +0 -2
- package/src/components/JfbMallResourceShopList/JfbMallResourceShopList.vue +5 -0
- package/src/components/JfbMallShopVip/JfbMallShopVip.vue +1 -1
- package/src/components/JfbMallShopVip/cusAttr/content.js +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/**
|
|
3
|
+
* @description 接口配置,
|
|
4
|
+
* 在设置方法名字当时候,别忘记加上【模块名字】:Navigation
|
|
5
|
+
* @type {*[]}
|
|
6
|
+
*/
|
|
7
|
+
module.exports = [
|
|
8
|
+
{
|
|
9
|
+
//第一级菜单
|
|
10
|
+
mapFnName: 'getNavigationCategoryList',
|
|
11
|
+
title: '导航管理 - 列表1',
|
|
12
|
+
path: '/cms/v1/navigation-setting-category',
|
|
13
|
+
isRule: false,
|
|
14
|
+
params: {
|
|
15
|
+
template_id: ['模板ID', 'String', '必选'],
|
|
16
|
+
type: ['类型 left、top', 'String', '必选'],
|
|
17
|
+
city_code: ['城市编码', 'String', '必选'],
|
|
18
|
+
},
|
|
19
|
+
isConsole: true,
|
|
20
|
+
disabled: true,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
title: "导航管理 - 列表2",
|
|
24
|
+
path: "/cms/v1/navigation-setting-category/search",
|
|
25
|
+
mapFnName: "getNavigationSubList",
|
|
26
|
+
isRule: false,
|
|
27
|
+
params: {
|
|
28
|
+
template_id: ['模板ID', 'String', '必选'],
|
|
29
|
+
city_code: ['城市编码', 'String', '必选'],
|
|
30
|
+
category_id: ['分类ID', 'String', '必选'],
|
|
31
|
+
},
|
|
32
|
+
isConsole: true,
|
|
33
|
+
disabled: false,
|
|
34
|
+
}
|
|
35
|
+
];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
import style from "./cusAttr/style";
|
|
4
|
+
import advanced from "./cusAttr/advanced";
|
|
5
|
+
import content from "./cusAttr/content";
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
style: [],
|
|
9
|
+
advanced: [],
|
|
10
|
+
content: (data, gValue, gColor, oldData={})=>{
|
|
11
|
+
|
|
12
|
+
return [
|
|
13
|
+
...content(data, gValue,gColor,oldData),
|
|
14
|
+
...style(data, gValue,gColor,oldData),
|
|
15
|
+
...advanced(data),
|
|
16
|
+
].filter(i=>i)
|
|
17
|
+
},
|
|
18
|
+
}
|