This commit is contained in:
Pan 2019-01-15 14:24:36 +08:00
parent f6ede59859
commit c39ef38f15
5 changed files with 18 additions and 3 deletions

1
src/icons/svg/donate.svg Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1547533298036" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2337" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><defs><style type="text/css"></style></defs><path d="M799.835567 409.343969c-7.124258 0-17.45658 1.125637-26.720571 0-51.567469 15.005762-88.169085 59.042721-106.883309 106.749256-23.420409-29.151947-62.499449-52.284807-106.883309-53.374628-5.526877 1.088798-15.553231 2.187829-26.720572 0-75.839269 22.039969-132.216277 117.15628-120.243594 200.153576 32.484855 177.732937 359.762737 234.369865 360.730784 253.528204-0.968048 15.081487 15.32094-79.065753 66.802452-160.122861 51.226708-80.33977 121.281227-110.282732 106.883309-226.841402-13.123902-72.211649-76.882018-120.089076-146.96519-120.092145zM345.58176 903.057487c-0.069585 0-0.159636-0.097214-0.241501-0.152473-0.11461 0.100284-0.048095 0.152473 0.241501 0.152473z" p-id="2338"></path><path d="M733.033116 129.128963c-115.27442-8.884344-205.739804 94.891184-253.848499 173.466773-28.197202-65.910129-108.804055-148.775418-173.685761-146.778948-111.029746-0.483001-231.309156 76.278267-240.48719 213.497489C54.354955 565.682643 190.689017 610.455359 265.419022 729.590713c49.859571 75.175143 75.201749 170.110329 79.921237 173.314301 1.494027-1.316995 37.989219-12.054547 120.485095-53.222155-58.424644-36.85028-103.33346-92.574419-120.243594-160.122861-15.33015-119.972419 42.422182-261.34831 146.965189-280.216029 27.203572-11.225669 95.869465-34.045397 160.325475 26.686802 29.960359-66.275449 71.678506-82.142835 120.243595-93.405343 9.8176-1.951445 23.158443-3.786233 40.080858 0 53.009308-3.783163 105.278765 18.951631 146.965189 53.374628-2.736321-9.131985-1.047866-20.48352 0-26.686802 7.274684-149.553131-88.768743-228.409107-227.12895-240.184291z" p-id="2339"></path></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -62,7 +62,8 @@ export default {
theme: 'Theme', theme: 'Theme',
clipboardDemo: 'Clipboard', clipboardDemo: 'Clipboard',
i18n: 'I18n', i18n: 'I18n',
externalLink: 'External Link' externalLink: 'External Link',
donate: 'Donate'
}, },
navbar: { navbar: {
logOut: 'Log Out', logOut: 'Log Out',

View File

@ -62,7 +62,8 @@ export default {
theme: 'Tema', theme: 'Tema',
clipboardDemo: 'Clipboard', clipboardDemo: 'Clipboard',
i18n: 'I18n', i18n: 'I18n',
externalLink: 'Enlace externo' externalLink: 'Enlace externo',
donate: 'Donate'
}, },
navbar: { navbar: {
logOut: 'Salir', logOut: 'Salir',

View File

@ -62,7 +62,8 @@ export default {
theme: '换肤', theme: '换肤',
clipboardDemo: 'Clipboard', clipboardDemo: 'Clipboard',
i18n: '国际化', i18n: '国际化',
externalLink: '外链' externalLink: '外链',
donate: '打赏'
}, },
navbar: { navbar: {
logOut: '退出登录', logOut: '退出登录',

View File

@ -365,5 +365,16 @@ export const asyncRouterMap = [
] ]
}, },
{
path: 'external-link',
component: Layout,
children: [
{
path: 'https://panjiachen.gitee.io/vue-element-admin-site/zh/donate/',
meta: { title: 'donate', icon: 'donate' }
}
]
},
{ path: '*', redirect: '/404', hidden: true } { path: '*', redirect: '/404', hidden: true }
] ]