Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project
jinfa-admin
Commits
3e5a0a7a
Commit
3e5a0a7a
authored
Oct 14, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix(菜单图标): 修改选中图标没颜色
parent
5242dbe3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
17 additions
and
25 deletions
+17
-25
afterSale.svg
src/asserts/menuIcon/afterSale.svg
+0
-0
card.svg
src/asserts/menuIcon/card.svg
+1
-2
commodity.svg
src/asserts/menuIcon/commodity.svg
+1
-2
content.svg
src/asserts/menuIcon/content.svg
+1
-0
home.svg
src/asserts/menuIcon/home.svg
+1
-2
logistics.svg
src/asserts/menuIcon/logistics.svg
+1
-2
machining.svg
src/asserts/menuIcon/machining.svg
+0
-0
marketing.svg
src/asserts/menuIcon/marketing.svg
+1
-2
member.svg
src/asserts/menuIcon/member.svg
+1
-2
order.svg
src/asserts/menuIcon/order.svg
+1
-2
purchase.svg
src/asserts/menuIcon/purchase.svg
+1
-2
settlement.svg
src/asserts/menuIcon/settlement.svg
+1
-2
shop.svg
src/asserts/menuIcon/shop.svg
+1
-2
system.svg
src/asserts/menuIcon/system.svg
+1
-2
transcation.svg
src/asserts/menuIcon/transcation.svg
+1
-2
CustomIcon.tsx
src/layouts/components/CustomIcon.tsx
+4
-1
No files found.
src/asserts/menuIcon/afterSale.svg
View file @
3e5a0a7a
This diff is collapsed.
Click to expand it.
src/asserts/menuIcon/card.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M20,4 C21.1045695,4 22,4.8954305 22,6 L22,18 C22,19.1045695 21.1045695,20 20,20 L4,20 C2.8954305,20 2,19.1045695 2,18 L2,6 C2,4.8954305 2.8954305,4 4,4 L20,4 Z M20,11 L4,11 L4,18 L20,18 L20,11 Z M18,14 C18.5522847,14 19,14.4477153 19,15 C19,15.5522847 18.5522847,16 18,16 L16,16 C15.4477153,16 15,15.5522847 15,15 C15,14.4477153 15.4477153,14 16,14 L18,14 Z M20,6 L4,6 L4,9 L20,9 L20,6 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M20,4 C21.1045695,4 22,4.8954305 22,6 L22,18 C22,19.1045695 21.1045695,20 20,20 L4,20 C2.8954305,20 2,19.1045695 2,18 L2,6 C2,4.8954305 2.8954305,4 4,4 L20,4 Z M20,11 L4,11 L4,18 L20,18 L20,11 Z M18,14 C18.5522847,14 19,14.4477153 19,15 C19,15.5522847 18.5522847,16 18,16 L16,16 C15.4477153,16 15,15.5522847 15,15 C15,14.4477153 15.4477153,14 16,14 L18,14 Z M20,6 L4,6 L4,9 L20,9 L20,6 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/commodity.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M13.0392305,2.27650426 L19.9607695,6.2445763 C20.6038476,6.61324865 21,7.29458326 21,8.03192796 L21,15.968072 C21,16.7054167 20.6038476,17.3867513 19.9607695,17.7554237 L13.0392305,21.7234957 C12.3961524,22.0921681 11.6038476,22.0921681 10.9607695,21.7234957 L4.03923048,17.7554237 C3.39615242,17.3867513 3,16.7054167 3,15.968072 L3,8.03192796 C3,7.29458326 3.39615242,6.61324865 4.03923048,6.2445763 L10.9607695,2.27650426 C11.6038476,1.90783191 12.3961524,1.90783191 13.0392305,2.27650426 Z M5.078,9.372 L5.07846097,15.968072 L10.96,19.34 L10.96,12.746 L5.078,9.372 Z M18.921,9.373 L17.196,10.362 L17.1961524,13.0122595 C17.1961524,13.5645443 16.7484372,14.0122595 16.1961524,14.0122595 L16.1176915,14.0122595 C15.5654067,14.0122595 15.1176915,13.5645443 15.1176915,13.0122595 L15.117,11.554 L13.039,12.747 L13.039,19.34 L18.921539,15.968072 L18.921,9.373 Z M12,4.06385592 L5.986,7.51 L12,10.96 L18.013,7.511 L12,4.06385592 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M13.0392305,2.27650426 L19.9607695,6.2445763 C20.6038476,6.61324865 21,7.29458326 21,8.03192796 L21,15.968072 C21,16.7054167 20.6038476,17.3867513 19.9607695,17.7554237 L13.0392305,21.7234957 C12.3961524,22.0921681 11.6038476,22.0921681 10.9607695,21.7234957 L4.03923048,17.7554237 C3.39615242,17.3867513 3,16.7054167 3,15.968072 L3,8.03192796 C3,7.29458326 3.39615242,6.61324865 4.03923048,6.2445763 L10.9607695,2.27650426 C11.6038476,1.90783191 12.3961524,1.90783191 13.0392305,2.27650426 Z M5.078,9.372 L5.07846097,15.968072 L10.96,19.34 L10.96,12.746 L5.078,9.372 Z M18.921,9.373 L17.196,10.362 L17.1961524,13.0122595 C17.1961524,13.5645443 16.7484372,14.0122595 16.1961524,14.0122595 L16.1176915,14.0122595 C15.5654067,14.0122595 15.1176915,13.5645443 15.1176915,13.0122595 L15.117,11.554 L13.039,12.747 L13.039,19.34 L18.921539,15.968072 L18.921,9.373 Z M12,4.06385592 L5.986,7.51 L12,10.96 L18.013,7.511 L12,4.06385592 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/content.svg
0 → 100644
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M14.5859139,2.00095128 C14.851055,2.00098248 15.1053306,2.10630949 15.2928323,2.29377378 L19.7070361,6.70709465 C19.8946157,6.89463678 20,7.149021 20,7.41427215 L20,19.5 C20,20.8254834 18.9684641,21.9100387 17.6643757,21.9946823 L17.5,22 L6.5,22 C5.1745166,22 4.08996133,20.9684641 4.00531768,19.6643757 L4,19.5 L4,4.5 C4,3.1745166 5.03153594,2.08996133 6.33562431,2.00531768 L6.5,2 L14.5859139,2.00095128 Z M13,4 L6.5,4 C6.25454011,4 6.05039163,4.17687516 6.00805567,4.41012437 L6,4.5 L6,19.5 C6,19.7454599 6.17687516,19.9496084 6.41012437,19.9919443 L6.5,20 L17.5,20 C17.7454599,20 17.9496084,19.8231248 17.9919443,19.5898756 L18,19.5 L18,9 L14.5,9 C13.6715729,9 13,8.32842712 13,7.5 L13,4 Z M15,15 C15.5522847,15 16,15.4477153 16,16 C16,16.5522847 15.5522847,17 15,17 L9,17 C8.44771525,17 8,16.5522847 8,16 C8,15.4477153 8.44771525,15 9,15 L15,15 Z M12,11 C12.5522847,11 13,11.4477153 13,12 C13,12.5522847 12.5522847,13 12,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L12,11 Z M15,4.828 L15,7 L17.172,7 L15,4.828 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/home.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M13.1519744,2.38002787 L20.1519744,7.42493158 C20.6836887,7.8081384 21,8.43188674 21,9.09719115 L21,19.960926 C21,21.0907242 20.1045695,22.0066067 19,22.0066067 L5,22.0066067 C3.8954305,22.0066067 3,21.0907242 3,19.960926 L3,9.09719115 C3,8.43188674 3.31631129,7.8081384 3.84802564,7.42493158 L10.8480256,2.38002787 C11.5388742,1.88213298 12.4611258,1.88213298 13.1519744,2.38002787 Z M12,4.015 L5.01738354,9.04746112 C5.01217766,9.051213 5.00618693,9.0608551 5.00277155,9.0743393 L5,9.09719115 L5,19.960926 L5.00454904,20.0025884 L19,20.0066067 L19,9.09719115 C19,9.08037689 18.9957446,9.06638066 18.9905939,9.05725059 L18.9826165,9.04746112 L12,4.015 Z M14,14 C14.5522847,14 15,14.4477153 15,15 C15,15.5522847 14.5522847,16 14,16 L10,16 C9.44771525,16 9,15.5522847 9,15 C9,14.4477153 9.44771525,14 10,14 L14,14 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M13.1519744,2.38002787 L20.1519744,7.42493158 C20.6836887,7.8081384 21,8.43188674 21,9.09719115 L21,19.960926 C21,21.0907242 20.1045695,22.0066067 19,22.0066067 L5,22.0066067 C3.8954305,22.0066067 3,21.0907242 3,19.960926 L3,9.09719115 C3,8.43188674 3.31631129,7.8081384 3.84802564,7.42493158 L10.8480256,2.38002787 C11.5388742,1.88213298 12.4611258,1.88213298 13.1519744,2.38002787 Z M12,4.015 L5.01738354,9.04746112 C5.01217766,9.051213 5.00618693,9.0608551 5.00277155,9.0743393 L5,9.09719115 L5,19.960926 L5.00454904,20.0025884 L19,20.0066067 L19,9.09719115 C19,9.08037689 18.9957446,9.06638066 18.9905939,9.05725059 L18.9826165,9.04746112 L12,4.015 Z M14,14 C14.5522847,14 15,14.4477153 15,15 C15,15.5522847 14.5522847,16 14,16 L10,16 C9.44771525,16 9,15.5522847 9,15 C9,14.4477153 9.44771525,14 10,14 L14,14 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/logistics.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M21,4 C21.5522847,4 22,4.44771525 22,5 C22,5.51283584 21.6139598,5.93550716 21.1166211,5.99327227 L21,6 L12.5,6 C12.2545401,6 12.0503916,6.17687516 12.0080557,6.41012437 L12,6.5 L12,17 L16.1706743,17.0000889 L16.1748959,16.9882237 C16.5900389,15.8291869 17.6981859,15 19,15 C20.6568542,15 22,16.3431458 22,18 C22,19.6568542 20.6568542,21 19,21 C17.6941178,21 16.5831148,20.1656226 16.1710242,19.0009007 L11.9999385,18.999 L9.82897577,19.0009007 L9.82510412,19.0117763 C9.40996112,20.1708131 8.30181405,21 7,21 C5.66822943,21 4.53914148,20.1322126 4.14734383,18.9312454 L4.16271839,18.9771055 C2.99476367,18.820068 2.08241288,17.8557842 2.0052859,16.6640999 L2.00000003,16.5002424 L1.999039,12.5362814 C1.99897468,12.2709809 2.1043364,12.016528 2.29193219,11.8289322 L5.829016,8.29184837 C6.01655555,8.10430882 6.27091476,7.99895172 6.53613573,7.99895515 L9.99993854,7.999 L9.99993854,7.999 L10,6.5 C10,5.1745166 11.0315359,4.08996133 12.3356243,4.00531768 L12.5,4 L21,4 Z M19,17 C18.4477153,17 18,17.4477153 18,18 C18,18.5522847 18.4477153,19 19,19 C19.5522847,19 20,18.5522847 20,18 C20,17.4477153 19.5522847,17 19,17 Z M7,17 C6.44771525,17 6,17.4477153 6,18 C6,18.5522847 6.44771525,19 7,19 C7.55228475,19 8,18.5522847 8,18 C8,17.4477153 7.55228475,17 7,17 Z M9.999,9.999 L6.95,9.999 L3.999,12.95 L4,16.5 C4,16.6665621 4.08144379,16.8141019 4.20668027,16.9049684 L4.1988404,16.9237298 C4.63143572,15.7985499 5.7224622,15 7,15 C8.23672335,15 9.29866225,15.7483412 9.75769756,16.8169044 L9.82932572,17.0000889 L9.999,17 L9.999,9.999 Z M21,8 C21.5522847,8 22,8.44771525 22,9 C22,9.55228475 21.5522847,10 21,10 L16,10 C15.4477153,10 15,9.55228475 15,9 C15,8.44771525 15.4477153,8 16,8 L21,8 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M21,4 C21.5522847,4 22,4.44771525 22,5 C22,5.51283584 21.6139598,5.93550716 21.1166211,5.99327227 L21,6 L12.5,6 C12.2545401,6 12.0503916,6.17687516 12.0080557,6.41012437 L12,6.5 L12,17 L16.1706743,17.0000889 L16.1748959,16.9882237 C16.5900389,15.8291869 17.6981859,15 19,15 C20.6568542,15 22,16.3431458 22,18 C22,19.6568542 20.6568542,21 19,21 C17.6941178,21 16.5831148,20.1656226 16.1710242,19.0009007 L11.9999385,18.999 L9.82897577,19.0009007 L9.82510412,19.0117763 C9.40996112,20.1708131 8.30181405,21 7,21 C5.66822943,21 4.53914148,20.1322126 4.14734383,18.9312454 L4.16271839,18.9771055 C2.99476367,18.820068 2.08241288,17.8557842 2.0052859,16.6640999 L2.00000003,16.5002424 L1.999039,12.5362814 C1.99897468,12.2709809 2.1043364,12.016528 2.29193219,11.8289322 L5.829016,8.29184837 C6.01655555,8.10430882 6.27091476,7.99895172 6.53613573,7.99895515 L9.99993854,7.999 L9.99993854,7.999 L10,6.5 C10,5.1745166 11.0315359,4.08996133 12.3356243,4.00531768 L12.5,4 L21,4 Z M19,17 C18.4477153,17 18,17.4477153 18,18 C18,18.5522847 18.4477153,19 19,19 C19.5522847,19 20,18.5522847 20,18 C20,17.4477153 19.5522847,17 19,17 Z M7,17 C6.44771525,17 6,17.4477153 6,18 C6,18.5522847 6.44771525,19 7,19 C7.55228475,19 8,18.5522847 8,18 C8,17.4477153 7.55228475,17 7,17 Z M9.999,9.999 L6.95,9.999 L3.999,12.95 L4,16.5 C4,16.6665621 4.08144379,16.8141019 4.20668027,16.9049684 L4.1988404,16.9237298 C4.63143572,15.7985499 5.7224622,15 7,15 C8.23672335,15 9.29866225,15.7483412 9.75769756,16.8169044 L9.82932572,17.0000889 L9.999,17 L9.999,9.999 Z M21,8 C21.5522847,8 22,8.44771525 22,9 C22,9.55228475 21.5522847,10 21,10 L16,10 C15.4477153,10 15,9.55228475 15,9 C15,8.44771525 15.4477153,8 16,8 L21,8 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/machining.svg
View file @
3e5a0a7a
This diff is collapsed.
Click to expand it.
src/asserts/menuIcon/marketing.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M5,12 C6.1045695,12 7,12.8954305 7,14 L7,20 C7,21.1045695 6.1045695,22 5,22 L4,22 C2.8954305,22 2,21.1045695 2,20 L2,14 C2,12.8954305 2.8954305,12 4,12 L5,12 Z M12,7 C13.1045695,7 14,7.8954305 14,9 L14,20 C14,21.1045695 13.1045695,22 12,22 L11,22 C9.8954305,22 9,21.1045695 9,20 L9,9 C9,7.8954305 9.8954305,7 11,7 L12,7 Z M19,2 C20.1045695,2 21,2.8954305 21,4 L21,20 C21,21.1045695 20.1045695,22 19,22 L18,22 C16.8954305,22 16,21.1045695 16,20 L16,4 C16,2.8954305 16.8954305,2 18,2 L19,2 Z M5,14 L4,14 L4,20 L5,20 L5,14 Z M12,9 L11,9 L11,20 L12,20 L12,9 Z M19,4 L18,4 L18,20 L19,20 L19,4 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M5,12 C6.1045695,12 7,12.8954305 7,14 L7,20 C7,21.1045695 6.1045695,22 5,22 L4,22 C2.8954305,22 2,21.1045695 2,20 L2,14 C2,12.8954305 2.8954305,12 4,12 L5,12 Z M12,7 C13.1045695,7 14,7.8954305 14,9 L14,20 C14,21.1045695 13.1045695,22 12,22 L11,22 C9.8954305,22 9,21.1045695 9,20 L9,9 C9,7.8954305 9.8954305,7 11,7 L12,7 Z M19,2 C20.1045695,2 21,2.8954305 21,4 L21,20 C21,21.1045695 20.1045695,22 19,22 L18,22 C16.8954305,22 16,21.1045695 16,20 L16,4 C16,2.8954305 16.8954305,2 18,2 L19,2 Z M5,14 L4,14 L4,20 L5,20 L5,14 Z M12,9 L11,9 L11,20 L12,20 L12,9 Z M19,4 L18,4 L18,20 L19,20 L19,4 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/member.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M14.5,6 C17.2614237,6 19.5,8.23857625 19.5,11 C19.5,12.5000624 18.8394215,13.8458384 17.7932929,14.7622997 C20.1367027,15.9075124 21.8009709,18.2419626 21.983436,20.9981172 C22.0199189,21.5491956 21.6027569,22.0255082 21.0516784,22.0619912 C20.5006,22.0984741 20.0242874,21.681312 19.9878045,21.1302336 C19.7972842,18.2524047 17.4000926,16 14.5,16 C11.6180849,16 9.23007699,18.2251329 9.01564942,21.0813365 C8.97430337,21.6320715 8.49432691,22.0450127 7.94359199,22.0036667 C7.39285707,21.9623206 6.97991581,21.4823442 7.02126186,20.9316092 C7.22610269,18.2031022 8.88289963,15.8980165 11.206636,14.7605307 C10.160308,13.8452873 9.5,12.4997552 9.5,11 C9.5,8.23857625 11.7385763,6 14.5,6 Z M9.5,2 C11.1647837,2 12.6395363,2.81361958 13.5483141,4.06491498 C12.7975778,4.16634654 12.0859119,4.38695651 11.4314932,4.70663451 C10.9111471,4.26545236 10.2365734,4 9.5,4 C7.84314575,4 6.5,5.34314575 6.5,7 C6.5,7.97554456 6.96563836,8.84233345 7.68678497,9.39023656 C7.56444451,9.90630066 7.5,10.4456244 7.5,11 C7.5,11.4548227 7.54337726,11.8995142 7.62622048,12.330163 C5.90050475,12.9532474 4.55755172,14.4221633 4.13654058,16.2756778 C4.01420954,16.814244 3.47844645,17.1516692 2.93988025,17.0293382 C2.40131404,16.9070071 2.06388877,16.3712441 2.18621982,15.8326779 C2.69909557,13.5747265 4.21275892,11.73628 6.20711202,10.7607303 C5.16057846,9.84583836 4.5,8.50006236 4.5,7 C4.5,4.23857625 6.73857625,2 9.5,2 Z M14.5,8 C12.8431458,8 11.5,9.34314575 11.5,11 C11.5,12.6568542 12.8431458,14 14.5,14 C16.1568542,14 17.5,12.6568542 17.5,11 C17.5,9.34314575 16.1568542,8 14.5,8 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M14.5,6 C17.2614237,6 19.5,8.23857625 19.5,11 C19.5,12.5000624 18.8394215,13.8458384 17.7932929,14.7622997 C20.1367027,15.9075124 21.8009709,18.2419626 21.983436,20.9981172 C22.0199189,21.5491956 21.6027569,22.0255082 21.0516784,22.0619912 C20.5006,22.0984741 20.0242874,21.681312 19.9878045,21.1302336 C19.7972842,18.2524047 17.4000926,16 14.5,16 C11.6180849,16 9.23007699,18.2251329 9.01564942,21.0813365 C8.97430337,21.6320715 8.49432691,22.0450127 7.94359199,22.0036667 C7.39285707,21.9623206 6.97991581,21.4823442 7.02126186,20.9316092 C7.22610269,18.2031022 8.88289963,15.8980165 11.206636,14.7605307 C10.160308,13.8452873 9.5,12.4997552 9.5,11 C9.5,8.23857625 11.7385763,6 14.5,6 Z M9.5,2 C11.1647837,2 12.6395363,2.81361958 13.5483141,4.06491498 C12.7975778,4.16634654 12.0859119,4.38695651 11.4314932,4.70663451 C10.9111471,4.26545236 10.2365734,4 9.5,4 C7.84314575,4 6.5,5.34314575 6.5,7 C6.5,7.97554456 6.96563836,8.84233345 7.68678497,9.39023656 C7.56444451,9.90630066 7.5,10.4456244 7.5,11 C7.5,11.4548227 7.54337726,11.8995142 7.62622048,12.330163 C5.90050475,12.9532474 4.55755172,14.4221633 4.13654058,16.2756778 C4.01420954,16.814244 3.47844645,17.1516692 2.93988025,17.0293382 C2.40131404,16.9070071 2.06388877,16.3712441 2.18621982,15.8326779 C2.69909557,13.5747265 4.21275892,11.73628 6.20711202,10.7607303 C5.16057846,9.84583836 4.5,8.50006236 4.5,7 C4.5,4.23857625 6.73857625,2 9.5,2 Z M14.5,8 C12.8431458,8 11.5,9.34314575 11.5,11 C11.5,12.6568542 12.8431458,14 14.5,14 C16.1568542,14 17.5,12.6568542 17.5,11 C17.5,9.34314575 16.1568542,8 14.5,8 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/order.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M15,2 C16.0543618,2 16.9181651,2.81587779 16.9945143,3.85073766 L17,4 L18.5,4 C19.8254834,4 20.9100387,5.03153594 20.9946823,6.33562431 L21,6.5 L21,19.5 C21,20.8254834 19.9684641,21.9100387 18.6643757,21.9946823 L18.5,22 L5.5,22 C4.1745166,22 3.08996133,20.9684641 3.00531768,19.6643757 L3,19.5 L3,6.5 C3,5.1745166 4.03153594,4.08996133 5.33562431,4.00531768 L5.5,4 L7,4 C7,2.9456382 7.81587779,2.08183488 8.85073766,2.00548574 L9,2 L15,2 Z M7,6 L5.5,6 C5.25454011,6 5.05039163,6.17687516 5.00805567,6.41012437 L5,6.5 L5,19.5 C5,19.7454599 5.17687516,19.9496084 5.41012437,19.9919443 L5.5,20 L18.5,20 C18.7454599,20 18.9496084,19.8231248 18.9919443,19.5898756 L19,19.5 L19,6.5 C19,6.25454011 18.8231248,6.05039163 18.5898756,6.00805567 L18.5,6 L17,6 L16.997313,6.10457516 L16.9790496,6.29045397 L16.9561401,6.41783482 C16.920492,6.58630638 16.8634227,6.74705788 16.7880427,6.89702014 C16.7468749,6.9790418 16.7002687,7.0577057 16.6487126,7.13262077 L16.5749865,7.23281498 L16.473837,7.35206491 L16.362998,7.46366343 L16.243947,7.56611618 L16.1770129,7.61715799 L16.0318851,7.71345574 L15.8866485,7.79320115 L15.7528835,7.85326123 L15.6007459,7.90804059 L15.4586324,7.94704433 L15.304394,7.97691611 L15.1583699,7.99382157 L15,8 L8.93099394,7.99883185 L8.86129633,7.99526539 L8.69942951,7.97755164 L8.58216518,7.95614013 L8.39311362,7.90624588 L8.30526866,7.87597079 C8.22516209,7.84635453 8.14763421,7.81176994 8.0728897,7.7725964 C7.99379341,7.73122713 7.91771559,7.68458651 7.84525817,7.6332682 L7.75660263,7.56663309 L7.64793509,7.47383696 L7.53633657,7.36299795 L7.43388382,7.24394696 L7.38284201,7.1770129 L7.28654426,7.03188509 L7.26815492,7.00073263 C7.22519735,6.92677014 7.18685588,6.84963721 7.15353574,6.76983145 L7.09195941,6.60074588 L7.05295567,6.45863242 L7.02308389,6.30439396 L7.00583798,6.1538819 L7,6 Z M13,15 C13.5522847,15 14,15.4477153 14,16 C14,16.5522847 13.5522847,17 13,17 L8,17 C7.44771525,17 7,16.5522847 7,16 C7,15.4477153 7.44771525,15 8,15 L13,15 Z M16,11 C16.5522847,11 17,11.4477153 17,12 C17,12.5522847 16.5522847,13 16,13 L8,13 C7.44771525,13 7,12.5522847 7,12 C7,11.4477153 7.44771525,11 8,11 L16,11 Z M15,4 L9,4 L9,6 L14.9998525,6.00088006 L15,4 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M15,2 C16.0543618,2 16.9181651,2.81587779 16.9945143,3.85073766 L17,4 L18.5,4 C19.8254834,4 20.9100387,5.03153594 20.9946823,6.33562431 L21,6.5 L21,19.5 C21,20.8254834 19.9684641,21.9100387 18.6643757,21.9946823 L18.5,22 L5.5,22 C4.1745166,22 3.08996133,20.9684641 3.00531768,19.6643757 L3,19.5 L3,6.5 C3,5.1745166 4.03153594,4.08996133 5.33562431,4.00531768 L5.5,4 L7,4 C7,2.9456382 7.81587779,2.08183488 8.85073766,2.00548574 L9,2 L15,2 Z M7,6 L5.5,6 C5.25454011,6 5.05039163,6.17687516 5.00805567,6.41012437 L5,6.5 L5,19.5 C5,19.7454599 5.17687516,19.9496084 5.41012437,19.9919443 L5.5,20 L18.5,20 C18.7454599,20 18.9496084,19.8231248 18.9919443,19.5898756 L19,19.5 L19,6.5 C19,6.25454011 18.8231248,6.05039163 18.5898756,6.00805567 L18.5,6 L17,6 L16.997313,6.10457516 L16.9790496,6.29045397 L16.9561401,6.41783482 C16.920492,6.58630638 16.8634227,6.74705788 16.7880427,6.89702014 C16.7468749,6.9790418 16.7002687,7.0577057 16.6487126,7.13262077 L16.5749865,7.23281498 L16.473837,7.35206491 L16.362998,7.46366343 L16.243947,7.56611618 L16.1770129,7.61715799 L16.0318851,7.71345574 L15.8866485,7.79320115 L15.7528835,7.85326123 L15.6007459,7.90804059 L15.4586324,7.94704433 L15.304394,7.97691611 L15.1583699,7.99382157 L15,8 L8.93099394,7.99883185 L8.86129633,7.99526539 L8.69942951,7.97755164 L8.58216518,7.95614013 L8.39311362,7.90624588 L8.30526866,7.87597079 C8.22516209,7.84635453 8.14763421,7.81176994 8.0728897,7.7725964 C7.99379341,7.73122713 7.91771559,7.68458651 7.84525817,7.6332682 L7.75660263,7.56663309 L7.64793509,7.47383696 L7.53633657,7.36299795 L7.43388382,7.24394696 L7.38284201,7.1770129 L7.28654426,7.03188509 L7.26815492,7.00073263 C7.22519735,6.92677014 7.18685588,6.84963721 7.15353574,6.76983145 L7.09195941,6.60074588 L7.05295567,6.45863242 L7.02308389,6.30439396 L7.00583798,6.1538819 L7,6 Z M13,15 C13.5522847,15 14,15.4477153 14,16 C14,16.5522847 13.5522847,17 13,17 L8,17 C7.44771525,17 7,16.5522847 7,16 C7,15.4477153 7.44771525,15 8,15 L13,15 Z M16,11 C16.5522847,11 17,11.4477153 17,12 C17,12.5522847 16.5522847,13 16,13 L8,13 C7.44771525,13 7,12.5522847 7,12 C7,11.4477153 7.44771525,11 8,11 L16,11 Z M15,4 L9,4 L9,6 L14.9998525,6.00088006 L15,4 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/purchase.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M14.5859139,2.00095128 C14.851055,2.00098248 15.1053306,2.10630949 15.2928323,2.29377378 L19.7070361,6.70709465 C19.8946157,6.89463678 20,7.149021 20,7.41427215 L20,19.5 C20,20.8254834 18.9684641,21.9100387 17.6643757,21.9946823 L17.5,22 L6.5,22 C5.1745166,22 4.08996133,20.9684641 4.00531768,19.6643757 L4,19.5 L4,4.5 C4,3.1745166 5.03153594,2.08996133 6.33562431,2.00531768 L6.5,2 L14.5859139,2.00095128 Z M13,4 L6.5,4 C6.25454011,4 6.05039163,4.17687516 6.00805567,4.41012437 L6,4.5 L6,19.5 C6,19.7454599 6.17687516,19.9496084 6.41012437,19.9919443 L6.5,20 L17.5,20 C17.7454599,20 17.9496084,19.8231248 17.9919443,19.5898756 L18,19.5 L18,9 L14.5,9 C13.6715729,9 13,8.32842712 13,7.5 L13,4 Z M15,15 C15.5522847,15 16,15.4477153 16,16 C16,16.5522847 15.5522847,17 15,17 L9,17 C8.44771525,17 8,16.5522847 8,16 C8,15.4477153 8.44771525,15 9,15 L15,15 Z M12,11 C12.5522847,11 13,11.4477153 13,12 C13,12.5522847 12.5522847,13 12,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L12,11 Z M15,4.828 L15,7 L17.172,7 L15,4.828 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M18,3 C19.1045695,3 20,3.8954305 20,5 L20,19 C20,20.1045695 19.1045695,21 18,21 L6,21 C4.8954305,21 4,20.1045695 4,19 L4,5 C4,3.8954305 4.8954305,3 6,3 L18,3 Z M18,5 L6,5 L6,19 L18,19 L18,5 Z M9.01455483,6.84843908 C9.47271039,6.85185459 9.87351798,7.16783705 9.98269571,7.61416379 L10.0039509,7.72972478 C10.1287467,8.72875909 10.9829383,9.48828151 12,9.48828151 C12.9630938,9.48828151 13.7801993,8.80720992 13.9701283,7.88655288 L13.9958935,7.73096736 C14.0650946,7.17977368 14.5680241,6.78904157 15.1192177,6.85824275 C15.6704114,6.92744393 16.0611435,7.43037333 15.9919423,7.981567 C15.7406355,9.98324841 14.0338204,11.5 12,11.5 C9.96525423,11.5 8.25793103,9.98189776 8.00774664,7.97908346 C7.93888814,7.42784687 8.32993285,6.92516048 8.88116944,6.85630198 C8.92602185,6.85069918 8.97055282,6.8481412 9.01455483,6.84843908 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/settlement.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M19,3 C20.1045695,3 21,3.8954305 21,5 L21,19 C21,20.1045695 20.1045695,21 19,21 L5,21 C3.8954305,21 3,20.1045695 3,19 L3,5 C3,3.8954305 3.8954305,3 5,3 L19,3 Z M19,5 L5,5 L5,19 L19,19 L19,5 Z M10.7227922,13.3033748 L10.7302561,13.3108387 C11.1187193,13.6993019 11.1187193,14.3291252 10.7302561,14.7175884 L7.71758839,17.7302561 C7.3291252,18.1187193 6.69930192,18.1187193 6.31083873,17.7302561 L6.30337483,17.7227922 C5.91491164,17.334329 5.91491164,16.7045057 6.30337483,16.3160426 L9.31604255,13.3033748 C9.70450574,12.9149116 10.334329,12.9149116 10.7227922,13.3033748 Z M14.7002719,13.3033748 L15.499,14.102 L16.2987261,13.3033748 C16.6871893,12.9149116 17.3170125,12.9149116 17.7054757,13.3033748 L17.7129396,13.3108387 C18.1014028,13.6993019 18.1014028,14.3291252 17.7129396,14.7175884 L16.913,15.517 L17.7129396,16.3160426 C18.1014028,16.7045057 18.1014028,17.334329 17.7129396,17.7227922 L17.7054757,17.7302561 C17.3170125,18.1187193 16.6871893,18.1187193 16.2987261,17.7302561 L15.499,16.931 L14.7002719,17.7302561 C14.3118087,18.1187193 13.6819854,18.1187193 13.2935223,17.7302561 L13.2860584,17.7227922 C12.8975952,17.334329 12.8975952,16.7045057 13.2860584,16.3160426 L14.085,15.517 L13.2860584,14.7175884 C12.8975952,14.3291252 12.8975952,13.6993019 13.2860584,13.3108387 L13.2935223,13.3033748 C13.6819854,12.9149116 14.3118087,12.9149116 14.7002719,13.3033748 Z M9,6 C9.55228475,6 10,6.44771525 10,7 L10,8 L11.0052778,8 C11.5546477,8 12,8.44535231 12,8.99472223 L12,9.00527777 C12,9.55464769 11.5546477,10 11.0052778,10 L10,10 L10,11 C10,11.5522847 9.55228475,12 9,12 C8.44771525,12 8,11.5522847 8,11 L8,10 L6.99472223,10 C6.44535231,10 6,9.55464769 6,9.00527777 L6,8.99472223 C6,8.44535231 6.44535231,8 6.99472223,8 L8,8 L8,7 C8,6.44771525 8.44771525,6 9,6 Z M17.0052778,8 C17.5546477,8 18,8.44535231 18,8.99472223 L18,9.00527777 C18,9.55464769 17.5546477,10 17.0052778,10 L13.9937202,10 C13.4443503,10 12.998998,9.55464769 12.998998,9.00527777 L12.998998,8.99472223 C12.998998,8.44535231 13.4443503,8 13.9937202,8 L17.0052778,8 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M19,3 C20.1045695,3 21,3.8954305 21,5 L21,19 C21,20.1045695 20.1045695,21 19,21 L5,21 C3.8954305,21 3,20.1045695 3,19 L3,5 C3,3.8954305 3.8954305,3 5,3 L19,3 Z M19,5 L5,5 L5,19 L19,19 L19,5 Z M10.7227922,13.3033748 L10.7302561,13.3108387 C11.1187193,13.6993019 11.1187193,14.3291252 10.7302561,14.7175884 L7.71758839,17.7302561 C7.3291252,18.1187193 6.69930192,18.1187193 6.31083873,17.7302561 L6.30337483,17.7227922 C5.91491164,17.334329 5.91491164,16.7045057 6.30337483,16.3160426 L9.31604255,13.3033748 C9.70450574,12.9149116 10.334329,12.9149116 10.7227922,13.3033748 Z M14.7002719,13.3033748 L15.499,14.102 L16.2987261,13.3033748 C16.6871893,12.9149116 17.3170125,12.9149116 17.7054757,13.3033748 L17.7129396,13.3108387 C18.1014028,13.6993019 18.1014028,14.3291252 17.7129396,14.7175884 L16.913,15.517 L17.7129396,16.3160426 C18.1014028,16.7045057 18.1014028,17.334329 17.7129396,17.7227922 L17.7054757,17.7302561 C17.3170125,18.1187193 16.6871893,18.1187193 16.2987261,17.7302561 L15.499,16.931 L14.7002719,17.7302561 C14.3118087,18.1187193 13.6819854,18.1187193 13.2935223,17.7302561 L13.2860584,17.7227922 C12.8975952,17.334329 12.8975952,16.7045057 13.2860584,16.3160426 L14.085,15.517 L13.2860584,14.7175884 C12.8975952,14.3291252 12.8975952,13.6993019 13.2860584,13.3108387 L13.2935223,13.3033748 C13.6819854,12.9149116 14.3118087,12.9149116 14.7002719,13.3033748 Z M9,6 C9.55228475,6 10,6.44771525 10,7 L10,8 L11.0052778,8 C11.5546477,8 12,8.44535231 12,8.99472223 L12,9.00527777 C12,9.55464769 11.5546477,10 11.0052778,10 L10,10 L10,11 C10,11.5522847 9.55228475,12 9,12 C8.44771525,12 8,11.5522847 8,11 L8,10 L6.99472223,10 C6.44535231,10 6,9.55464769 6,9.00527777 L6,8.99472223 C6,8.44535231 6.44535231,8 6.99472223,8 L8,8 L8,7 C8,6.44771525 8.44771525,6 9,6 Z M17.0052778,8 C17.5546477,8 18,8.44535231 18,8.99472223 L18,9.00527777 C18,9.55464769 17.5546477,10 17.0052778,10 L13.9937202,10 C13.4443503,10 12.998998,9.55464769 12.998998,9.00527777 L12.998998,8.99472223 C12.998998,8.44535231 13.4443503,8 13.9937202,8 L17.0052778,8 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/shop.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M18.4913972,3 C19.3843579,3 20.1691299,3.59195463 20.4144451,4.45055774 L22,10 C22,11.4801068 21.1961002,12.7724528 20.0011092,13.4642293 L20,20 C20,21.0543618 19.1841222,21.9181651 18.1492623,21.9945143 L18,22 L6,22 C4.9456382,22 4.08183488,21.1841222 4.00548574,20.1492623 L4,20 L3.99973,13.464715 C2.85833257,12.8043333 2.07353587,11.5961233 2.00489531,10.1996403 C2.00165054,10.0673125 2.01849772,9.93525799 2.05486191,9.80798333 L3.58555493,4.45055774 L3.58555493,4.45055774 C3.83087011,3.59195463 4.61564211,3 5.50860283,3 L18.4913972,3 Z M14.9990439,12.6447407 C14.2679883,13.4757894 13.1952121,14 12,14 C10.8047879,14 9.7320117,13.4757894 8.99904388,12.6447407 C8.2679883,13.4757894 7.19521212,14 6,14 L6,20 L18,20 L18,14 C16.8047879,14 15.7320117,13.4757894 14.9990439,12.6447407 Z M18.4913972,5 L5.50860283,5 L4.013,10.233 L4.01547804,10.2513035 C4.13249941,11.1899692 4.90099489,11.9233687 5.84890742,11.9943619 L6,12 C6.52479877,12 7.01284298,11.7989523 7.37969702,11.4467047 L7.49737735,11.3237571 L8.62215703,10.0451311 C8.80454681,9.83779423 9.12048268,9.8175706 9.32781956,9.99996037 C9.34366161,10.0138963 9.35860566,10.028821 9.37256208,10.044645 L10.4989975,11.3218125 L10.4989975,11.3218125 C10.8779654,11.7514914 11.4166054,12 12,12 C12.5247988,12 13.012843,11.7989523 13.379697,11.4467047 L13.4973774,11.3237571 L14.622157,10.0451311 C14.8045468,9.83779423 15.1204827,9.8175706 15.3278196,9.99996037 C15.3436616,10.0138963 15.3586057,10.028821 15.3725621,10.044645 L16.4989975,11.3218125 L16.4989975,11.3218125 C16.8779654,11.7514914 17.4166054,12 18,12 C19.0041541,12 19.835466,11.2599748 19.9783149,10.2955453 L19.985,10.231 L18.4913972,5 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M18.4913972,3 C19.3843579,3 20.1691299,3.59195463 20.4144451,4.45055774 L22,10 C22,11.4801068 21.1961002,12.7724528 20.0011092,13.4642293 L20,20 C20,21.0543618 19.1841222,21.9181651 18.1492623,21.9945143 L18,22 L6,22 C4.9456382,22 4.08183488,21.1841222 4.00548574,20.1492623 L4,20 L3.99973,13.464715 C2.85833257,12.8043333 2.07353587,11.5961233 2.00489531,10.1996403 C2.00165054,10.0673125 2.01849772,9.93525799 2.05486191,9.80798333 L3.58555493,4.45055774 L3.58555493,4.45055774 C3.83087011,3.59195463 4.61564211,3 5.50860283,3 L18.4913972,3 Z M14.9990439,12.6447407 C14.2679883,13.4757894 13.1952121,14 12,14 C10.8047879,14 9.7320117,13.4757894 8.99904388,12.6447407 C8.2679883,13.4757894 7.19521212,14 6,14 L6,20 L18,20 L18,14 C16.8047879,14 15.7320117,13.4757894 14.9990439,12.6447407 Z M18.4913972,5 L5.50860283,5 L4.013,10.233 L4.01547804,10.2513035 C4.13249941,11.1899692 4.90099489,11.9233687 5.84890742,11.9943619 L6,12 C6.52479877,12 7.01284298,11.7989523 7.37969702,11.4467047 L7.49737735,11.3237571 L8.62215703,10.0451311 C8.80454681,9.83779423 9.12048268,9.8175706 9.32781956,9.99996037 C9.34366161,10.0138963 9.35860566,10.028821 9.37256208,10.044645 L10.4989975,11.3218125 L10.4989975,11.3218125 C10.8779654,11.7514914 11.4166054,12 12,12 C12.5247988,12 13.012843,11.7989523 13.379697,11.4467047 L13.4973774,11.3237571 L14.622157,10.0451311 C14.8045468,9.83779423 15.1204827,9.8175706 15.3278196,9.99996037 C15.3436616,10.0138963 15.3586057,10.028821 15.3725621,10.044645 L16.4989975,11.3218125 L16.4989975,11.3218125 C16.8779654,11.7514914 17.4166054,12 18,12 C19.0041541,12 19.835466,11.2599748 19.9783149,10.2955453 L19.985,10.231 L18.4913972,5 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/system.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M20,3 C21.1045695,3 22,3.8954305 22,5 L22,15 C22,16.1045695 21.1045695,17 20,17 L13,17 L13,20 L19,20 C19.5522847,20 20,20.4477153 20,21 C20,21.5522847 19.5522847,22 19,22 L5,22 C4.44771525,22 4,21.5522847 4,21 C4,20.4477153 4.44771525,20 5,20 L11,20 L11,17 L4,17 C2.8954305,17 2,16.1045695 2,15 L2,5 C2,3.8954305 2.8954305,3 4,3 L20,3 Z M20,13 L4,13 L4,15 L20,15 L20,13 Z M20,5 L4,5 L4,11 L20,11 L20,5 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M20,3 C21.1045695,3 22,3.8954305 22,5 L22,15 C22,16.1045695 21.1045695,17 20,17 L13,17 L13,20 L19,20 C19.5522847,20 20,20.4477153 20,21 C20,21.5522847 19.5522847,22 19,22 L5,22 C4.44771525,22 4,21.5522847 4,21 C4,20.4477153 4.44771525,20 5,20 L11,20 L11,17 L4,17 C2.8954305,17 2,16.1045695 2,15 L2,5 C2,3.8954305 2.8954305,3 4,3 L20,3 Z M20,13 L4,13 L4,15 L20,15 L20,13 Z M20,5 L4,5 L4,11 L20,11 L20,5 Z"
fill-rule=
"evenodd"
></path></svg>
src/asserts/menuIcon/transcation.svg
View file @
3e5a0a7a
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
class=
"design-iconfont"
width=
"128"
height=
"128"
><path
d=
"M16.5857864,3 C16.8510029,3 17.1053568,3.10535684 17.2928932,3.29289322 L20.5606602,6.56066017 C20.8419647,6.84196474 21,7.22349561 21,7.62132034 L21,19 C21,20.1045695 20.1045695,21 19,21 L5,21 C3.8954305,21 3,20.1045695 3,19 L3,7.62132034 C3,7.22349561 3.15803526,6.84196474 3.43933983,6.56066017 L6.70710678,3.29289322 C6.89464316,3.10535684 7.14899707,3 7.41421356,3 L16.5857864,3 Z M19,9 L5,9 L5,19 L19,19 L19,9 Z M10.029244,13.3436392 C10.1932639,14.2942703 11.0231674,15 12,15 C12.9766662,15 13.8064732,14.2945066 13.9706792,13.3440842 C14.0647053,12.7998622 14.5821076,12.4349064 15.1263296,12.5289325 C15.6705515,12.6229586 16.0355074,13.1403609 15.9414812,13.6845829 C15.612268,15.5900649 13.9538912,17 12,17 C10.0457755,17 8.387205,15.5895921 8.05836471,13.6836906 C7.9644621,13.1394474 8.32953534,12.6221279 8.87377862,12.5282253 C9.4180219,12.4343227 9.93534135,12.7993959 10.029244,13.3436392 Z M16.171,5 L7.828,5 L5.827,7 L18.172,7 L16.171,5 Z"
fill-rule=
"evenodd"
fill=
"#97A0AF"
></path></svg>
\ No newline at end of file
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"currentColor"
class=
"icon"
width=
"128"
height=
"128"
><path
d=
"M16.5857864,3 C16.8510029,3 17.1053568,3.10535684 17.2928932,3.29289322 L20.5606602,6.56066017 C20.8419647,6.84196474 21,7.22349561 21,7.62132034 L21,19 C21,20.1045695 20.1045695,21 19,21 L5,21 C3.8954305,21 3,20.1045695 3,19 L3,7.62132034 C3,7.22349561 3.15803526,6.84196474 3.43933983,6.56066017 L6.70710678,3.29289322 C6.89464316,3.10535684 7.14899707,3 7.41421356,3 L16.5857864,3 Z M19,9 L5,9 L5,19 L19,19 L19,9 Z M10.029244,13.3436392 C10.1932639,14.2942703 11.0231674,15 12,15 C12.9766662,15 13.8064732,14.2945066 13.9706792,13.3440842 C14.0647053,12.7998622 14.5821076,12.4349064 15.1263296,12.5289325 C15.6705515,12.6229586 16.0355074,13.1403609 15.9414812,13.6845829 C15.612268,15.5900649 13.9538912,17 12,17 C10.0457755,17 8.387205,15.5895921 8.05836471,13.6836906 C7.9644621,13.1394474 8.32953534,12.6221279 8.87377862,12.5282253 C9.4180219,12.4343227 9.93534135,12.7993959 10.029244,13.3436392 Z M16.171,5 L7.828,5 L5.827,7 L18.172,7 L16.171,5 Z"
fill-rule=
"evenodd"
></path></svg>
src/layouts/components/CustomIcon.tsx
View file @
3e5a0a7a
...
...
@@ -14,6 +14,8 @@ import { ReactComponent as machining } from '../../asserts/menuIcon/machining.sv
import
{
ReactComponent
as
marketing
}
from
'../../asserts/menuIcon/marketing.svg'
import
{
ReactComponent
as
commodity
}
from
'../../asserts/menuIcon/commodity.svg'
import
{
ReactComponent
as
card
}
from
'../../asserts/menuIcon/card.svg'
import
{
ReactComponent
as
content
}
from
'../../asserts/menuIcon/content.svg'
import
Icon
from
'@ant-design/icons'
const
iconMap
=
{
...
...
@@ -31,6 +33,7 @@ const iconMap = {
machining
,
marketing
,
card
,
content
,
}
function
RenderComponent
({
type
,
...
props
}:
{
type
:
keyof
typeof
iconMap
})
{
...
...
@@ -40,7 +43,7 @@ function RenderComponent({ type, ...props }: { type: keyof typeof iconMap }) {
const
CustomIcon
:
FC
<
any
>
=
({
type
,
...
props
}:
{
type
:
keyof
typeof
iconMap
})
=>
{
// @处理未配置icon报错
return
type
?
<
Icon
component=
{
()
=>
<
RenderComponent
type=
{
type
}
{
...
props
}
/>
}
/>
:
null
return
type
?
<
Icon
c
lassName=
'icon'
c
omponent=
{
()
=>
<
RenderComponent
type=
{
type
}
{
...
props
}
/>
}
/>
:
null
}
export
default
CustomIcon
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment