Skip to content

Commit

Permalink
chore: 🔨 增加一个图标 (#223)
Browse files Browse the repository at this point in the history
Co-authored-by: tk <[email protected]>
  • Loading branch information
nsnail and tk authored Nov 27, 2024
1 parent 37b45c9 commit e8b5684
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/seed-data/Sys_Menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
},
// ------------------------------ 档案管理 ------------------------------
{
"Icon": "sc-icon-App",
"Icon": "sc-icon-Archive",
"Id": 616214756757512,
"Name": "archive",
"Path": "/archive",
Expand All @@ -152,7 +152,7 @@
},
{
"Component": "sys/doc",
"Icon": "el-icon-set-up",
"Icon": "el-icon-document",
"Id": 616214756757516,
"Name": "archive/doc",
"ParentId": 616214756757512,
Expand Down
16 changes: 16 additions & 0 deletions src/frontend/admin/src/assets/icons/Archive.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<template>
<svg
class="icon"
height="256"
p-id="12104"
t="1732695436179"
version="1.1"
viewBox="0 0 1024 1024"
width="256"
xmlns="http://www.w3.org/2000/svg">
<path d="M256 512h512v85.333333H256z" fill="" p-id="12105"></path>
<path
d="M936.448 370.56l-85.333333-256.042667A42.538667 42.538667 0 0 0 810.666667 85.333333H213.333333a42.581333 42.581333 0 0 0-40.448 29.184l-85.333333 256 0.512 0.170667A39.594667 39.594667 0 0 0 85.333333 384v426.666667a42.666667 42.666667 0 0 0 42.666667 42.666666h768a42.666667 42.666667 0 0 0 42.666667-42.666666V384a41.088 41.088 0 0 0-2.688-13.312l0.469333-0.128zM244.096 170.666667H779.946667l56.874666 170.666666H187.178667l56.917333-170.666666zM853.333333 768H170.666667v-341.333333h682.666666v341.333333z"
p-id="12106"></path>
</svg>
</template>
3 changes: 2 additions & 1 deletion src/frontend/admin/src/assets/icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ export { default as ECharts } from './ECharts.vue'
export { default as Mobile } from './Mobile.vue'
export { default as Email } from './Email.vue'
export { default as SmsCode } from './SmsCode.vue'
export { default as MailCode } from './MailCode.vue'
export { default as MailCode } from './MailCode.vue'
export { default as Archive } from './Archive.vue'
2 changes: 1 addition & 1 deletion src/frontend/admin/src/config/iconSelect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e8b5684

Please sign in to comment.