@yueglobal/ui 1.0.0

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.
Files changed (51) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +148 -0
  3. package/dist/assets/gw-logo.png +0 -0
  4. package/dist/assets/hs-logo.png +0 -0
  5. package/dist/assets/hs-wx.png +0 -0
  6. package/dist/assets/platform-logo.png +0 -0
  7. package/dist/assets/yldm-applet.png +0 -0
  8. package/dist/assets/ylqq-title.png +0 -0
  9. package/dist/assets/yxh-applet.png +0 -0
  10. package/dist/components/svg-icon/declaration.svg +23 -0
  11. package/dist/components/svg-icon/expo.svg +23 -0
  12. package/dist/components/svg-icon/home.svg +13 -0
  13. package/dist/components/svg-icon/hwc.svg +20 -0
  14. package/dist/components/svg-icon/index.d.ts +20 -0
  15. package/dist/components/svg-icon/index.js +95 -0
  16. package/dist/components/svg-icon/insurance.svg +14 -0
  17. package/dist/components/svg-icon/law.svg +23 -0
  18. package/dist/components/svg-icon/location.svg +9 -0
  19. package/dist/components/svg-icon/selection.svg +16 -0
  20. package/dist/components/svg-icon/single-window.svg +8 -0
  21. package/dist/components/svg-icon/taxation.svg +13 -0
  22. package/dist/components/svg-icon/trade-data.svg +18 -0
  23. package/dist/components/svg-icon/training.svg +17 -0
  24. package/dist/index.d.ts +4 -0
  25. package/dist/index.js +2 -0
  26. package/dist/yue-page-footer/data/privacy-policy.d.ts +3 -0
  27. package/dist/yue-page-footer/data/privacy-policy.js +97 -0
  28. package/dist/yue-page-footer/data/terms-of-service.d.ts +3 -0
  29. package/dist/yue-page-footer/data/terms-of-service.js +129 -0
  30. package/dist/yue-page-footer/index.d.ts +7 -0
  31. package/dist/yue-page-footer/index.js +93 -0
  32. package/dist/yue-page-footer/index.less +168 -0
  33. package/dist/yue-page-footer/info-modal/index.d.ts +6 -0
  34. package/dist/yue-page-footer/info-modal/index.js +56 -0
  35. package/dist/yue-page-header/breadcrumb/index.d.ts +5 -0
  36. package/dist/yue-page-header/breadcrumb/index.js +82 -0
  37. package/dist/yue-page-header/first-menus/index.d.ts +7 -0
  38. package/dist/yue-page-header/first-menus/index.js +115 -0
  39. package/dist/yue-page-header/first-menus/index.less +86 -0
  40. package/dist/yue-page-header/helper.d.ts +71 -0
  41. package/dist/yue-page-header/helper.js +326 -0
  42. package/dist/yue-page-header/index.d.ts +23 -0
  43. package/dist/yue-page-header/index.js +75 -0
  44. package/dist/yue-page-header/index.less +43 -0
  45. package/dist/yue-page-header/right-content/index.d.ts +10 -0
  46. package/dist/yue-page-header/right-content/index.js +50 -0
  47. package/dist/yue-page-header/right-content/index.less +35 -0
  48. package/dist/yue-page-header/second-menus/index.d.ts +8 -0
  49. package/dist/yue-page-header/second-menus/index.js +132 -0
  50. package/dist/yue-page-header/second-menus/index.less +161 -0
  51. package/package.json +67 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,148 @@
1
+ # @yueglobal/ui
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/@yueglobal/ui.svg?style=flat)](https://npmjs.org/package/@yueglobal/ui)
4
+ [![NPM downloads](http://img.shields.io/npm/dm/@yueglobal/ui.svg?style=flat)](https://npmjs.org/package/@yueglobal/ui)
5
+
6
+ 粤链全球 - 组件库
7
+
8
+ ## 安装使用
9
+
10
+ ```shell
11
+ yarn add @yueglobal/ui
12
+ ```
13
+
14
+ ```ts
15
+ import {
16
+ // 页面头部组件
17
+ YuePageHeader,
18
+ // 页面底部组件
19
+ YuePageFooter,
20
+ } from '@yueglobal/ui';
21
+ ```
22
+
23
+ ## YuePageHeader
24
+
25
+ 页面头部组件,包含一级和二级导航菜单、面包屑、以及登录/用户信息等功能。
26
+
27
+ ### 属性
28
+
29
+ | 属性 | 说明 | 类型 | 默认值 |
30
+ | ----------------- | ----------------------------------- | ------------------------------------------- | ------ |
31
+ | `width` | 内容宽度 | `string` \| `number` | `80%` |
32
+ | `backgroundColor` | 头部背景色 | `string` | `#fff` |
33
+ | `rightContent` | 顶部右侧的登录/用户信息按钮 | `ReactNode` | |
34
+ | `menuItems` | 各业务系统的菜单 | `YueMenuItem`[] | |
35
+ | `pageTitle` | 缺值时从一级菜单取值 | `string` | |
36
+ | `pageIcon` | 页面图标 | `ReactNode` | |
37
+ | `breadcrumbs` | 自定义面包屑数据 | `YueBreadcrumb`[] | |
38
+ | `routes` | 路由数据,用于自动生成面包屑 | any | |
39
+ | `pathname` | 当前的路由 | `string` | |
40
+ | `onRouteChange` | 点击菜单/面包屑时触发的路由切换事件 | `({ key: string; label?: string }) => void` | |
41
+ | `onLocaleChange` | 切换语言时的回调事件 | `({locale: string}) => void` | |
42
+
43
+ - 业务子系统:`pageTitle`或`pageIcon`缺省时会根据`url`自动从一级菜单匹配值
44
+
45
+ - 面包屑:若`breadcrumbs`缺省,则会根据`routes`、`pathname`自动生成面包屑的数据
46
+
47
+ - `routes`是`umijs`的路由列表,需按如下方式取值:
48
+
49
+ ```ts
50
+ import { useAppData } from '@umijs/max';
51
+ // .......
52
+ const { routes } = useAppData();
53
+ ```
54
+
55
+ ### YueMenuItem
56
+
57
+ | 属性 | 说明 | 类型 | 备注 |
58
+ | ---------- | ---------- | --------------- | ------------------------------ |
59
+ | `key` | 唯一标识 | `string` | `必填`,可传路由地址如 `/home` |
60
+ | `label` | 菜单项文案 | `string` | `必填` |
61
+ | `icon` | 菜单项图标 | `ReactNode` | |
62
+ | `children` | 子菜单项 | `YueMenuItem`[] | |
63
+
64
+ ### YueBreadcrumb
65
+
66
+ | 属性 | 说明 | 类型 | 备注 |
67
+ | ------- | ---------------------- | -------- | ---------------------- |
68
+ | `key` | 唯一标识,用于路由跳转 | `string` | 可传路由地址如 `/home` |
69
+ | `label` | 面包屑项文案 | `string` | |
70
+
71
+ ### 使用示例
72
+
73
+ ```tsx | pure
74
+ import React from 'react';
75
+ import { YuePageHeader } from '@yueglobal/ui';
76
+ import { useAppData, useLocation, useModel, history } from '@umijs/max';
77
+
78
+ const Index = () => {
79
+ const { routes } = useAppData();
80
+ const { pathname } = useLocation();
81
+ const { initialState } = useModel('@@initialState');
82
+
83
+ const menuItems = [
84
+ { key: '/home', label: '首页' },
85
+ {
86
+ key: '/exhibition',
87
+ label: '展会',
88
+ children: [
89
+ { key: '/exhibition/international', label: '国际展会' },
90
+ { key: '/exhibition/domestic', label: '国内展会' },
91
+ ],
92
+ },
93
+ { key: '/business', label: '商务' },
94
+ ];
95
+
96
+ const onRouteChange = (item: { key: string; label?: string }) => {
97
+ console.log('点击的菜单key: ', item.key);
98
+ // 在这里处理路由跳转逻辑, 比如
99
+ if (item.key.startsWith('/')) {
100
+ history.push(item.key);
101
+ }
102
+ };
103
+
104
+ const onLocaleChange = ({ locale }: { locale: string }) => {
105
+ console.log('切换语言为:', locale);
106
+ };
107
+
108
+ return (
109
+ <YuePageHeader
110
+ width={1440}
111
+ pageTitle="会展服务"
112
+ menuItems={menuItems}
113
+ pathname={pathname}
114
+ routes={routes}
115
+ rightContent={
116
+ !!initialState?.isLogin ? <div>用户名</div> : <div>登录</div>
117
+ }
118
+ onRouteChange={onRouteChange}
119
+ onLocaleChange={onLocaleChange}
120
+ />
121
+ );
122
+ };
123
+
124
+ export default Index;
125
+ ```
126
+
127
+ ## YuePageFooter
128
+
129
+ 页面底部组件,显示版权信息、联系方式和相关链接。
130
+
131
+ ### 属性
132
+
133
+ | 属性 | 说明 | 类型 | 默认值 |
134
+ | ------- | -------- | -------------------- | ------ |
135
+ | `width` | 内容宽度 | `string` \| `number` | `80%` |
136
+
137
+ ### 使用示例
138
+
139
+ ```tsx | pure
140
+ import React from 'react';
141
+ import { YuePageFooter } from '@yueglobal/ui';
142
+
143
+ const Index = () => {
144
+ return <YuePageFooter width={1440} />;
145
+ };
146
+
147
+ export default Index;
148
+ ```
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,23 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M908.9,151.9c0-48.3-39.1-87.4-87.4-87.4H202.6c-48.3,0-87.4,39.1-87.4,87.4v678.3c0,1.6,0,3.2,0.1,4.8
5
+ c-0.1,1.9-0.1,3.8-0.1,5.6c0,65.7,53.2,118.9,118.9,118.9c36.3,0,68.8-16.3,90.6-42h4c21.8,25.7,54.3,42,90.6,42
6
+ c36.3,0,68.8-16.3,90.6-42h4c21.8,25.7,54.3,42,90.6,42c36.3,0,68.8-16.3,90.6-42h4c21.8,25.7,54.3,42,90.6,42
7
+ c65.7,0,118.9-53.2,118.9-118.9c0-1.9,0-3.8-0.1-5.6c0.1-1.6,0.1-3.2,0.1-4.8V151.9z M838.9,830.2c-0.1,2.7-0.2,5.4-0.1,8.1
8
+ l0.1,2.4c0,27-22,49-49,49c-14.4,0-28-6.3-37.3-17.3c-13.3-15.6-32.8-24.7-53.3-24.7h-4c-20.5,0-40,9-53.3,24.7
9
+ c-9.3,11-23,17.3-37.3,17.3c-14.4,0-28-6.3-37.3-17.3c-13.3-15.6-32.8-24.7-53.3-24.7h-4c-20.5,0-40,9-53.3,24.7
10
+ c-9.3,11-22.9,17.3-37.3,17.3c-14.4,0-28-6.3-37.3-17.3c-13.3-15.6-32.8-24.7-53.3-24.7h-4c-20.5,0-40,9-53.3,24.7
11
+ c-9.3,11-23,17.3-37.3,17.3c-27,0-49-22-49-49l0.1-2.4c0.1-2.4,0.1-4.7,0-7.1l0-679.4c0-9.6,7.8-17.5,17.5-17.5h618.9
12
+ c9.6,0,17.5,7.8,17.5,17.5V830.2z"/>
13
+ <path d="M301,295.1h154.6h37.7h37.3H648h75c19.3,0,34.9-15.7,34.9-34.9c0-19.3-15.6-35-34.9-35h-75H530.7h-37.3h-37.7H301
14
+ c-19.3,0-35,15.7-35,35C266.1,279.4,281.7,295.1,301,295.1z"/>
15
+ <path d="M527.8,382.8c0-19.3-15.6-35-34.9-35H300.5c-19.3,0-35,15.7-35,35c0,19.3,15.7,35,35,35h192.3
16
+ C512.1,417.7,527.8,402.1,527.8,382.8z"/>
17
+ <path d="M717.4,681.3c-22.9,24.1-52.7,39.8-85.6,45v-36.9H680v-47.1h-48.2l0-34.2c44.6-11.3,76.2-51.4,76.2-98.2
18
+ c0-54.6-43.4-99.2-97.5-101.2l-3.8-0.1c-55.8,0-101.3,45.4-101.3,101.4l0,2.7c1.3,46.9,34.2,86.1,79.2,96v33.5h-48.9v47.1h48.9v37
19
+ c-33.4-5.1-64.4-21.5-87.5-46.1l29.4-17.6l-103.5-57.3l1.9,118.3l31.2-18.7c32.5,38.4,78.6,63.2,128.6,69v46.5h47.1v-46.6
20
+ c49.1-6,94.5-30.3,126.6-67.9l29.6,17.8l2-118.3l-103.5,57.3L717.4,681.3z M552.6,510.1c0-29.9,24.3-54.2,54.2-54.2
21
+ c29.9,0,54.2,24.3,54.2,54.2c0,29.9-24.3,54.2-54.2,54.2C576.9,564.3,552.6,540,552.6,510.1z"/>
22
+ </g>
23
+ </svg>
@@ -0,0 +1,23 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path class="st0" d="M867.6,894.9h-21.6V673.1c31.6-12.8,53.9-43.7,53.9-79.9c0-47.6-38.6-86.2-86.2-86.2
5
+ c-47.6,0-86.2,38.6-86.2,86.2c0,36.2,22.3,67.1,53.9,79.9v221.8H242.6V673.1c31.6-12.8,53.9-43.7,53.9-79.9
6
+ c0-47.6-38.6-86.2-86.2-86.2c-47.6,0-86.2,38.6-86.2,86.2c0,36.2,22.3,67.1,53.9,79.9v221.8h-21.6c-17.9,0-32.3,14.5-32.3,32.3
7
+ s14.5,32.3,32.3,32.3h711.2c17.9,0,32.3-14.5,32.3-32.3S885.5,894.9,867.6,894.9z M813.8,571.6c11.9,0,21.6,9.6,21.6,21.6
8
+ c0,11.9-9.6,21.6-21.6,21.6c-11.9,0-21.6-9.6-21.6-21.6C792.2,581.3,801.8,571.6,813.8,571.6z M210.3,571.6
9
+ c11.9,0,21.6,9.6,21.6,21.6c0,11.9-9.6,21.6-21.6,21.6c-11.9,0-21.6-9.6-21.6-21.6C188.7,581.3,198.4,571.6,210.3,571.6z"/>
10
+ <path class="st0" d="M661.6,723.8C661.6,723.8,661.6,723.8,661.6,723.8c-82.6,82.6-216.5,82.6-299.1,0c-12.6-12.6-33.1-12.6-45.7,0
11
+ c-12.6,12.6-12.6,33.1,0,45.7c107.8,107.8,282.7,107.8,390.5,0c0.6-0.5,1.1-1.1,1.6-1.6c12.2-13.1,11.5-33.5-1.6-45.7
12
+ C694.2,710,673.8,710.7,661.6,723.8z"/>
13
+ <path class="st0" d="M414.3,446.9c3.6,0.1,7.1,0.1,10.8,0.1c33.2,0,69-3.2,105.4-9.6c40.9-7.2,79.7-18,113.8-31.3c0,0,0.1,0,0.1,0
14
+ c8.6-3.4,12.8-13.1,9.4-21.7c-2.6-6.6-8.9-10.6-15.6-10.6c-2.1,0-4.1,0.4-6.2,1.2c-32,12.5-68.6,22.7-107.4,29.5
15
+ c-34.5,6.1-68.3,9.1-99.5,9.1c-3.4,0-6.8,0-10.1-0.1c-0.1,0-0.2,0-0.4,0c-9.1,0-16.5,7.3-16.7,16.4
16
+ C397.7,439.1,405.1,446.7,414.3,446.9z"/>
17
+ <path class="st0" d="M293.8,489.3C343.9,559,425.4,601.4,512,601.4c121.7,0,226.8-81.2,258.7-196.3
18
+ c58.2-49.6,59.9-100.2,55.2-127.4c-4.8-27.2-23.7-74.1-95.3-100.8C680.4,107,598.9,64.4,512,64.4c-121.9,0-227,81.3-258.7,196.6
19
+ c-58.1,49.6-59.9,100.1-55.1,127.3C203,415.6,222,462.5,293.8,489.3z M308.8,296.5c17.2-96.6,101.6-170,203.2-170
20
+ c76.2,0,142.8,41.3,178.5,102.7c41.6,11.1,69.2,31.1,74.2,59.2c5,28.2-14.2,56.4-49.5,81.1C697.9,466.1,613.5,539.3,512,539.3
21
+ c-76.1,0-142.5-41.2-178.3-102.4c-41.7-11.1-69.4-31.1-74.4-59.3C254.4,349.4,273.5,321.2,308.8,296.5z"/>
22
+ </g>
23
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" width="1em" height="1em" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M586.5,115.1c-46.5-30.4-106.5-30.2-152.9,0.5l-370,245.1l40.7,61.3l32.4-21.5v391.9c0,76.7,62.4,139.1,139.1,139.1h471.8
5
+ c76.7,0,139.1-62.4,139.1-139.1V398.9l33.4,21.8l40.2-61.7L586.5,115.1z M546.3,176.7l266.9,174.1v441.7
6
+ c0,36.1-29.4,65.5-65.5,65.5H275.8c-36.1,0-65.5-29.4-65.5-65.5V351.8l264-174.9C496.1,162.5,524.4,162.4,546.3,176.7z"/>
7
+ <path d="M347.4,436.5c-20.7,20.1-31.4,45.5-31.1,73.4c0.9,68.9,70.1,142.2,137.7,204.7c15.1,14,34.7,21.7,55.1,21.7
8
+ c19.8,0,39-7.4,54-20.7c66.5-59.4,190.3-170.1,115.8-273.2c-27-37.4-59.2-47.8-81.4-50c-35.8-3.5-68,11.3-89.6,25.1
9
+ C483.5,403.8,412.3,373.3,347.4,436.5z M484.4,490.4l24.9,22.1l24.5-22.7c9.4-8.8,35.6-26.2,56.5-24.1c10.6,1,20.1,7.6,29,19.9
10
+ c25.3,35-5.2,85.7-105.2,175.2c-2.9,2.6-7.2,2.5-10.1-0.1C428.7,590.8,390.4,539.8,390,508.9c-0.1-7.7,2.6-13.6,8.8-19.7
11
+ c12-11.7,25.3-17.6,39.5-17.6C460.8,471.5,479.3,486,484.4,490.4z"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M582.6,99.2c-16.8-2-32.1,10-34.1,26.8c-2,16.6,9.8,31.8,26.4,34c60.9,7.8,118.8,30.9,168.4,67
5
+ c-110.9,25.2-144.7,101.6-151.7,167.7c-10.3,95.5,57.7,145.6,102.7,178.8c15.8,11.7,39.7,29.3,40.8,37.5c0.2,1.2-1,5.2-6.3,11.9
6
+ c-58.5,73.8-80.3,135-64.7,182c4.8,14.3,14.7,31.5,34.8,45.8c-52.6,27.8-111.2,42.3-170.8,42.3c-2.9,0-5.7-0.3-8.6-0.4
7
+ c38.4-64.6,24.7-113.4,3.3-144.8c-51.8-76.2-129.3-99.8-202.2-61.5c-5.1,2.7-9.2,1.6-33-20.7c-23.4-22.1-60.6-56.5-115-46.3
8
+ c-4.8-18.4-8.6-37.3-10.6-56.7c-1.8-16.8-16.8-29.1-33.6-27.4c-16.8,1.7-29.1,16.7-27.4,33.6c21.8,219.4,206.7,386.4,427.2,385.7
9
+ c236.7,0,429.3-192.6,429.3-429.3C957.3,309.5,796.2,126.4,582.6,99.2z M450.4,884.7C337,860.6,241.7,784.2,193.6,678.8
10
+ c17.6,0.7,31.7,12.7,51.8,31.6c23,21.7,57.8,54.3,103.5,30.4c60.7-31.9,103.1,12.5,123,41.7C479.7,793.8,499.6,823.2,450.4,884.7z
11
+ M758.3,811.7c-20.1-5.8-32.4-14.4-36.2-25.9c-8.2-24.7,12.2-71.3,54.6-124.6c15.2-19.2,21.6-38.7,19-58.1
12
+ c-4.5-34-34-55.8-65.2-78.7c-41.6-30.7-84.6-62.3-78.1-122.9c5.3-49.1,27.1-113.4,150.2-120.9c60.1,67.3,93.3,154.3,93.3,244.6
13
+ C895.9,640.9,842.1,744.2,758.3,811.7z"/>
14
+ <path d="M304,559c5.3,0,10.7-1.2,15.5-3.6l202.5-100.9c11.9-5.9,19.2-17.8,19.3-31.1V209.9c0-13-7.2-24.8-18.7-30.8L320,73.5
15
+ c-10-5.2-21.9-5.3-32-0.1l-202.4,104c-11.7,6-18.9,17.8-18.9,30.9v215c0,13.3,7.4,25.2,19.3,31.1l202.5,100.9
16
+ C293.3,557.8,298.6,559,304,559z M253.1,253.8l145.4-77.9l47.9,25l-144.3,77L253.1,253.8z M195.8,371.4c15,0,27.3-12.2,27.3-27.3
17
+ v-44.4l53.6,26.4v162.4l-155.4-77.5V249.7l47.3,23.3v71.2C168.5,359.2,180.8,371.4,195.8,371.4z M152.5,204.3l151.3-77.7l36.1,18.8
18
+ l-147.1,78.8L152.5,204.3z M331.2,488.6V324.1l155.4-82.9v169.9L331.2,488.6z"/>
19
+ </g>
20
+ </svg>
@@ -0,0 +1,20 @@
1
+ import { CSSProperties, FC } from 'react';
2
+ export interface SvgIconProps {
3
+ style?: CSSProperties;
4
+ className?: string;
5
+ title?: string;
6
+ onClick?: (e?: any) => void;
7
+ [key: string]: any;
8
+ }
9
+ export declare const DeclarationIcon: FC<SvgIconProps>;
10
+ export declare const ExpoIcon: FC<SvgIconProps>;
11
+ export declare const HwcIcon: FC<SvgIconProps>;
12
+ export declare const InsuranceIcon: FC<SvgIconProps>;
13
+ export declare const LawIcon: FC<SvgIconProps>;
14
+ export declare const LocationIcon: FC<SvgIconProps>;
15
+ export declare const SelectionIcon: FC<SvgIconProps>;
16
+ export declare const SingleWindowIcon: FC<SvgIconProps>;
17
+ export declare const HomeIcon: FC<SvgIconProps>;
18
+ export declare const TaxationIcon: FC<SvgIconProps>;
19
+ export declare const TrainingIcon: FC<SvgIconProps>;
20
+ export declare const TradeDataIcon: FC<SvgIconProps>;
@@ -0,0 +1,95 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["children", "style", "className"];
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
+ import React, { memo } from 'react';
12
+ import { ReactComponent as Declaration } from "./declaration.svg";
13
+ import { ReactComponent as Expo } from "./expo.svg";
14
+ import { ReactComponent as Home } from "./home.svg";
15
+ import { ReactComponent as Hwc } from "./hwc.svg";
16
+ import { ReactComponent as Insurance } from "./insurance.svg";
17
+ import { ReactComponent as Law } from "./law.svg";
18
+ import { ReactComponent as Location } from "./location.svg";
19
+ import { ReactComponent as Selection } from "./selection.svg";
20
+ import { ReactComponent as SingleWindow } from "./single-window.svg";
21
+ import { ReactComponent as Taxation } from "./taxation.svg";
22
+ import { ReactComponent as TradeData } from "./trade-data.svg";
23
+ import { ReactComponent as Training } from "./training.svg";
24
+ var SvgIcon = /*#__PURE__*/memo(function (_ref) {
25
+ var children = _ref.children,
26
+ style = _ref.style,
27
+ className = _ref.className,
28
+ props = _objectWithoutProperties(_ref, _excluded);
29
+ return /*#__PURE__*/React.createElement("span", _extends({}, props, {
30
+ className: 'anticon ' + (className || ''),
31
+ style: _objectSpread({
32
+ fill: 'currentcolor'
33
+ }, style)
34
+ }), children);
35
+ });
36
+
37
+ // 通关申报
38
+ export var DeclarationIcon = /*#__PURE__*/memo(function (props) {
39
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Declaration, null));
40
+ });
41
+
42
+ // 会展服务
43
+ export var ExpoIcon = /*#__PURE__*/memo(function (props) {
44
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Expo, null));
45
+ });
46
+
47
+ // 海外仓储
48
+ export var HwcIcon = /*#__PURE__*/memo(function (props) {
49
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Hwc, null));
50
+ });
51
+
52
+ // 金融保险
53
+ export var InsuranceIcon = /*#__PURE__*/memo(function (props) {
54
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Insurance, null));
55
+ });
56
+
57
+ // 专业咨询
58
+ export var LawIcon = /*#__PURE__*/memo(function (props) {
59
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Law, null));
60
+ });
61
+
62
+ // 当前位置
63
+ export var LocationIcon = /*#__PURE__*/memo(function (props) {
64
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Location, null));
65
+ });
66
+
67
+ // 选品中心
68
+ export var SelectionIcon = /*#__PURE__*/memo(function (props) {
69
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Selection, null));
70
+ });
71
+
72
+ // 单一窗口
73
+ export var SingleWindowIcon = /*#__PURE__*/memo(function (props) {
74
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(SingleWindow, null));
75
+ });
76
+
77
+ // 首页
78
+ export var HomeIcon = /*#__PURE__*/memo(function (props) {
79
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Home, null));
80
+ });
81
+
82
+ // 税务管理
83
+ export var TaxationIcon = /*#__PURE__*/memo(function (props) {
84
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Taxation, null));
85
+ });
86
+
87
+ // 出海培训
88
+ export var TrainingIcon = /*#__PURE__*/memo(function (props) {
89
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(Training, null));
90
+ });
91
+
92
+ // 外贸数据
93
+ export var TradeDataIcon = /*#__PURE__*/memo(function (props) {
94
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement(TradeData, null));
95
+ });
@@ -0,0 +1,14 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M857.4,179.1L857.4,179.1L526.8,66.5c-4-1.4-9.3-2-14.7-2c-5.4,0-10.7,0.7-14.7,2L166.8,179.1
5
+ c-8.1,2.7-14.7,12.1-14.7,20.6v469.3c0,8.6,5.5,19.8,12.3,25.2l335.3,261.3c3.4,2.6,7.8,4,12.3,4c4.5,0,9-1.4,12.3-4l335.3-261.3
6
+ c6.7-5.3,12.3-16.5,12.3-25.2V199.8C872,191.2,865.4,182,857.4,179.1z M802,650.4L512.1,876.3L222.2,650.4v-416l289.9-98.8
7
+ L802,234.4V650.4z"/>
8
+ <path d="M490.7,564.3c5.7,5.7,13.3,8.8,21.3,8.8c0,0,0.1,0,0.1,0c8,0,15.7-3.2,21.3-8.9l74.5-74.5c11.8-11.8,11.8-30.9,0-42.7
9
+ l-74.5-74.5c-11.8-11.8-30.9-11.8-42.7,0l-74.5,74.5c-11.8,11.8-11.8,30.9,0,42.7L490.7,564.3z M480.2,468.4l31.8-31.8l31.8,31.8
10
+ L512,500.2L480.2,468.4z"/>
11
+ <path d="M302.9,468.4c0,115.3,93.8,209.1,209.1,209.1s209.1-93.8,209.1-209.1S627.3,259.4,512,259.4S302.9,353.1,302.9,468.4z
12
+ M660.6,468.4c0,82-66.7,148.6-148.6,148.6s-148.6-66.7-148.6-148.6S430,319.8,512,319.8S660.6,386.5,660.6,468.4z"/>
13
+ </g>
14
+ </svg>
@@ -0,0 +1,23 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path class="st0" d="M857.4,610.2H421.7c-19.5,0-33.6,13-33.6,30.8c0,9,3.5,17.5,9.8,23.8c6.3,6.4,14.8,9.9,23.8,9.9h435.7
5
+ c18.5,0,33.6-15.1,33.6-33.7C891,623.2,876.9,610.2,857.4,610.2z"/>
6
+ <path class="st0" d="M318.7,258.3c-3,5.4-4.6,11.2-4.6,16.9c0,72.7,60,131.9,133.8,131.9c73.4,0,133.8-59.1,134.6-131.9
7
+ c0-5.7-1.6-11.5-4.7-17.1L501,127.4h105.5v384.3h-68c-19.5,0-33.1,12.4-33.1,30c0,18.6,14.7,33.7,32.7,33.7h214.6
8
+ c8.6,0,16.7-3.5,22.9-9.8c6.3-6.4,9.7-15.3,9.4-23.9c0-17.7-13.3-30-32.3-30h-82.5V127.4h105.1l-76.9,130.9
9
+ c-3,5.4-4.6,11.2-4.6,16.9c0,72.7,60,131.9,133.8,131.9c73.4,0,133.8-59.1,134.6-131.9c0-5.7-1.6-11.5-4.7-17.1l-100-170.3
10
+ c-2-3.2-4.4-5.9-7.2-8.3c-6.5-10.3-20-15.8-32.9-15.8H458.9c-14.5,0-29.6,6.4-35.7,18.3c-1.7,1.8-3.2,3.8-4.5,6L318.7,258.3z
11
+ M870.4,253h-84.9c-4.6,0-8.9,0.7-12.8,1.9l54.9-92.9l54.1,92.4C878.2,253.5,874.5,253,870.4,253z M785.5,314.4H870
12
+ c6.6,0,12.6-1.2,17.7-3.5c-13.6,19.8-37.1,34.4-60.4,34.4c-16.5,0-34-7.4-48.1-20.2c-5.1-4.6-9.5-9.7-13-15.1
13
+ C771.6,312.8,778.1,314.4,785.5,314.4z M405.7,314.4h84.5c6.6,0,12.6-1.2,17.7-3.5c-13.6,19.8-37.1,34.4-60.4,34.4
14
+ c-23.9,0-47.8-15.1-61.2-35.4C391.7,312.8,398.3,314.4,405.7,314.4z M490.7,253h-84.9c-4.6,0-8.9,0.7-12.8,1.9l54.9-92.9l54.1,92.4
15
+ C498.5,253.5,494.7,253,490.7,253z"/>
16
+ <path class="st0" d="M514.6,765.1c-7.5,0-14.9,2.5-20.9,7l-110.9,83.4v-85c0-14.6-9.1-27.6-22.8-32.7
17
+ c-138.8-51.4-228.5-166.4-228.5-293.2c0-93,47.7-176.9,123.7-235.5l70-118.7C169.8,152.3,61.7,287.8,61.7,444.8
18
+ c0,149,97.8,283.8,251.2,349.5v131.2c0,13.2,7.5,25.2,19.3,31.2c4.9,2.4,10.2,3.6,15.6,3.6c7.5,0,14.9-2.5,21-7l157.6-118.5
19
+ c124.6-2.8,236.9-49.1,316.9-122H724.1C663.8,745.8,591.9,765.1,514.6,765.1z"/>
20
+ <path class="st0" d="M884.9,460.3c0,1.4,0.1,2.9,0.1,4.3c0,34.5-6.6,67.8-18.8,99H940c9.6-31.6,14.8-64.7,14.8-98.9
21
+ c0-14.3-0.9-28.4-2.7-42.3C933.6,440.6,907.2,452.7,884.9,460.3z"/>
22
+ </g>
23
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <path class="st0" d="M723.2,644.5c115.6-114.6,116.4-301.1,1.9-416.7c-0.6-0.6-1.2-1.2-1.9-1.9C606.6,110,417.4,110,300.9,225.9
4
+ C185.3,340.5,184.5,527,299,642.6c0.6,0.6,1.2,1.2,1.9,1.9L512,854.4L723.2,644.5z M248.3,697.4C103.5,553.8,102.5,320,246.1,175.2
5
+ c0.7-0.7,1.5-1.5,2.2-2.2c145.6-144.8,381.8-144.8,527.4,0c144.8,143.6,145.8,377.4,2.2,522.2c-0.7,0.7-1.5,1.5-2.2,2.2L512,959.6
6
+ L248.3,697.4L248.3,697.4z M512,512c41.2,0,74.6-33.4,74.6-74.6s-33.4-74.6-74.6-74.6s-74.6,33.4-74.6,74.6S470.8,512,512,512z
7
+ M512,586.6c-82.4,0-149.2-66.8-149.2-149.2c0-82.4,66.8-149.2,149.2-149.2c0,0,0,0,0,0c82.4,0,149.2,66.8,149.2,149.2
8
+ C661.2,519.8,594.4,586.6,512,586.6z"/>
9
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M915.7,855.5l-49.9-487.8c-5.2-54.3-50.6-96.9-103.5-96.9H699v-20.7c-0.6-102.7-84.5-186.3-187-186.3
5
+ c-102.8,0-186.4,83.6-186.4,186.4v20.7h-63.9c-52.9,0-98.3,42.5-103.5,96.8l-49.9,487.9c-2.6,27.9,5.5,54.1,22.8,74
6
+ c16.9,19.5,41.9,30.7,68.5,30.7H825c26.6,0,50.8-10.9,67.9-30.7C910.2,909.7,918.3,883.4,915.7,855.5z M261.1,345.7h64.6v67.6
7
+ c0,13.2,7.3,25.5,18.9,32.1c11.6,6.5,25.4,6.5,37,0c11.7-6.6,18.9-18.9,18.9-32.1v-67.6h223.5v68.2c0,13.2,7.3,25.5,18.9,32.1
8
+ c11.6,6.5,25.4,6.5,37,0c11.7-6.6,18.9-18.9,18.9-32.1v-68.2h63.3c15.6,0,30.1,13.7,31.7,29.9l49.9,487.7
9
+ c0.4,4.6-0.1,11.2-4.6,16.2c-3.7,4.2-8.8,6.5-14.3,6.5H199c-6.1,0-11.1-2.2-14.9-6.5c-4.4-5-4.9-11.6-4.6-16l49.9-487.9
10
+ C230.9,359.7,245.7,345.7,261.1,345.7z M400.6,270.8v-39c0-51.7,50.3-93.8,112.1-93.8c61.5,0,111.5,42.1,111.5,93.8v39H400.6z"/>
11
+ <path d="M496.3,815.2c37.9,0,73.3-11.1,103.2-30.1l66.8,64.8l0,0c5.8,5.6,13.5,8.5,21.1,8.5c7.6,0,15.3-2.8,21.1-8.5
12
+ c5.8-5.6,8.9-13,8.9-21s-3.2-15.4-8.9-21l-64.2-62.2c27.9-33.5,44.8-76.5,44.8-123.3c0-106.3-86.5-192.8-192.8-192.8
13
+ c-106.3,0-192.8,86.5-192.8,192.8S390,815.2,496.3,815.2z M496.3,755.1c-73.2,0-132.7-59.5-132.7-132.7s59.5-132.7,132.7-132.7
14
+ c73.2,0,132.7,59.5,132.7,132.7S569.5,755.1,496.3,755.1z"/>
15
+ </g>
16
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <path class="st0" d="M959.6,512c0-247.2-200.4-447.6-447.6-447.6S64.4,264.8,64.4,512S264.8,959.6,512,959.6S959.6,759.2,959.6,512z
4
+ M652.1,474.7H325.5l0,0c-20.6,0-37.3,16.7-37.3,37.3c0,20.6,16.7,37.3,37.3,37.3h313.8l-35.4,35.4c-14.6,14.6-14.6,38.2,0,52.8
5
+ s38.2,14.6,52.8,0L762.1,532c0,0,0,0,0,0c14.6-14.6,14.5-38.2,0-52.7L656.7,373.7c-14.6-14.6-38.2-14.6-52.8,0
6
+ c-14.6,14.6-14.6,38.2,0,52.8L652.1,474.7L652.1,474.7z M512,885c-206,0-373-167-373-373s167-373,373-373s373,167,373,373
7
+ S718,885,512,885L512,885z"/>
8
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M512,64.4C264.8,64.4,64.4,264.8,64.4,512S264.8,959.6,512,959.6S959.6,759.2,959.6,512S759.2,64.4,512,64.4z M512,889.6
5
+ c-208.2,0-377.6-169.4-377.6-377.6S303.8,134.4,512,134.4S889.6,303.8,889.6,512S720.2,889.6,512,889.6z"/>
6
+ <path d="M692.9,296.4c-14.8-12.4-36.8-10.5-49.3,4.3l-317,377.6c-12.4,14.8-10.5,36.8,4.3,49.3c14.8,12.4,36.8,10.5,49.3-4.3
7
+ l317-377.6C709.6,330.8,707.7,308.8,692.9,296.4z"/>
8
+ <path d="M639.6,543.5c-53.1,0-96.2,43-96.2,96.2c0,53.1,43,96.2,96.2,96.2s96.2-43,96.2-96.2S692.7,543.5,639.6,543.5z
9
+ M639.6,683.3c-24.1,0-43.7-19.6-43.7-43.7c0-24.1,19.6-43.7,43.7-43.7c24.1,0,43.7,19.6,43.7,43.7S663.7,683.3,639.6,683.3z"/>
10
+ <path d="M480.5,384.4c0-53.1-43-96.2-96.2-96.2s-96.2,43-96.2,96.2c0,53.1,43,96.2,96.2,96.2S480.5,437.5,480.5,384.4z
11
+ M340.7,384.4c0-24.1,19.6-43.7,43.7-43.7s43.7,19.6,43.7,43.7s-19.6,43.7-43.7,43.7S340.7,408.5,340.7,384.4z"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,18 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M952.6,74.1l-6.4-6.4H804.9c-12.8-3.1-23.5-1.8-30.8,4c-6.6,5.1-10.2,13.6-10.2,24c0,20.5,13.8,34.3,34.3,34.3h45.3
5
+ L657.7,315.8L518.9,183.3c-6.6-6.6-15.2-10.3-24-10.3s-17.4,3.7-24.1,10.3L132.2,521.9c-6.6,6.6-10.3,15.2-10.3,24.1
6
+ c0,8.9,3.7,17.4,10.3,24.1c6.6,6.6,15.2,10.3,24.1,10.3s17.4-3.6,24-10.3L498,258.7l132.5,132.5c13.7,13.7,34.4,13.7,48.1,0
7
+ l213.1-213.1v45.3c0,20.5,13.8,34.3,34.3,34.3s34.3-13.8,34.3-34.3V82.8C960.4,79.5,958.3,74.6,952.6,74.1z"/>
8
+ <path d="M862.1,389.5L862.1,389.5h-63.9c-51.1,0-95.8,44.7-95.8,95.8v376.9c0,51.1,44.7,95.8,95.8,95.8h63.9
9
+ c51.1,0,95.8-44.7,95.8-95.8V485.3C958,434.2,913.2,389.5,862.1,389.5z M894.1,862.2c0,19.2-12.8,31.9-31.9,31.9h-63.9
10
+ c-19.2,0-31.9-12.8-31.9-31.9V485.3c0-19.2,12.8-31.9,31.9-31.9h63.9c19.2,0,31.9,12.8,31.9,31.9V862.2z"/>
11
+ <path d="M542.7,517.2h-63.9c-51.1,0-95.8,44.7-95.8,95.8v249.1c0,51.1,44.7,95.8,95.8,95.8h63.9c51.1,0,95.8-44.7,95.8-95.8V613
12
+ C638.6,561.9,593.8,517.2,542.7,517.2z M574.7,862.2c0,19.2-12.8,31.9-31.9,31.9h-63.9c-19.2,0-31.9-12.8-31.9-31.9V613
13
+ c0-19.2,12.8-31.9,31.9-31.9h63.9c19.2,0,31.9,12.8,31.9,31.9V862.2z"/>
14
+ <path d="M223.3,645h-63.9c-51.1,0-95.8,44.7-95.8,95.8v121.4c0,51.1,44.7,95.8,95.8,95.8h63.9c51.1,0,95.8-44.7,95.8-95.8V740.8
15
+ C319.2,689.7,274.4,645,223.3,645z M255.3,862.2c0,19.2-12.8,31.9-31.9,31.9h-63.9c-19.2,0-31.9-12.8-31.9-31.9V740.8
16
+ c0-19.2,12.8-31.9,31.9-31.9h63.9c19.2,0,31.9,12.8,31.9,31.9L255.3,862.2L255.3,862.2z"/>
17
+ </g>
18
+ </svg>
@@ -0,0 +1,17 @@
1
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" x="0px" y="0px"
2
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
3
+ <g>
4
+ <path d="M847.7,64.4H176.3c-61.7,0-111.9,50.2-111.9,111.9v477.5c0,61.7,50.2,111.9,111.9,111.9h197.6L340.2,914
5
+ c-4.6,20.1,8,40.1,28.1,44.6c2.7,0.6,5.5,0.9,8.3,0.9h270.9c11.1,0,21.6-4.9,28.6-13.4c7.1-8.5,10-19.7,8-30.6l-27.4-149.8h191
6
+ c61.7,0,111.9-50.2,111.9-111.9V176.3C959.6,114.6,909.4,64.4,847.7,64.4z M295.8,691.1l0-142.2l0.3-6.8
7
+ c3.3-34.1,31.6-59.8,65.8-59.8c0,0,0,0,0,0c36.5,0,66.1,29.7,66.2,66.1v142.7H295.8z M423.3,885l27.2-119.3h130.5L602.7,885H423.3z
8
+ M885,653.8L885,653.8c0,20.6-16.7,37.3-37.3,37.3H533l93.1-130.3L568,519.3l-68.5,95.9l0-67.1l-0.3-8.7
9
+ c-4.6-72.3-64.8-128.9-137.3-128.9c-0.1,0-0.2,0-0.3,0c-75.8,0.2-137.4,62-137.2,137.9v142.7h-48.1c-20.6,0-37.3-16.7-37.3-37.3
10
+ v-38.1h0V176.3c0-20.6,16.7-37.3,37.3-37.3h671.3c20.6,0,37.3,16.7,37.3,37.3v396.9h0V653.8z"/>
11
+ <path d="M362,181.7c-61.8,0-112.1,50.3-112.1,112.1S300.2,405.8,362,405.8s112.1-50.3,112.1-112.1S423.8,181.7,362,181.7z
12
+ M402.7,293.8c0,22.4-18.3,40.7-40.7,40.7c-22.4,0-40.7-18.3-40.7-40.7c0-22.4,18.3-40.7,40.7-40.7
13
+ C384.4,253.1,402.7,271.3,402.7,293.8z"/>
14
+ <rect x="601.6" y="274.8" width="196.3" height="70.6"/>
15
+ <rect x="601.6" y="405.4" width="196.3" height="70.6"/>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,4 @@
1
+ export { default as YuePageFooter } from './yue-page-footer';
2
+ export { default as YuePageHeader } from './yue-page-header';
3
+ export type { YuePageHeaderProps } from './yue-page-header';
4
+ export type { YueBreadcrumb, YueMenuItem } from './yue-page-header/helper';
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default as YuePageFooter } from "./yue-page-footer";
2
+ export { default as YuePageHeader } from "./yue-page-header";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.NamedExoticComponent<{}>;
3
+ export default _default;