Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
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
poc
poc-fe
Commits
36337e19
Commit
36337e19
authored
Nov 08, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 更换page-logo
parent
bcebac61
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
5 deletions
+111
-5
page-logo.svg
src/assets/svgs/page-logo.svg
+106
-0
sidebar.vue
src/layout/components/sidebar/sidebar.vue
+1
-1
uno.config.ts
uno.config.ts
+4
-4
No files found.
src/assets/svgs/page-logo.svg
0 → 100644
View file @
36337e19
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"243px"
height=
"50px"
viewBox=
"0 0 243 50"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<title>
logo
</title>
<defs>
<linearGradient
x1=
"56.7217735%"
y1=
"112.991457%"
x2=
"41.197196%"
y2=
"-10.6481058%"
id=
"linearGradient-1"
>
<stop
stop-color=
"#00FFCC"
offset=
"0%"
></stop>
<stop
stop-color=
"#00F8CC"
offset=
"7.67773506%"
></stop>
<stop
stop-color=
"#01E5CB"
offset=
"22%"
></stop>
<stop
stop-color=
"#03C5C9"
offset=
"37%"
></stop>
<stop
stop-color=
"#0699C7"
offset=
"54%"
></stop>
<stop
stop-color=
"#0960C4"
offset=
"73%"
></stop>
<stop
stop-color=
"#0C1DC0"
offset=
"92%"
></stop>
<stop
stop-color=
"#0E00BF"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"72.9721306%"
y1=
"-178.631592%"
x2=
"54.5408072%"
y2=
"192.830724%"
id=
"linearGradient-2"
>
<stop
stop-color=
"#0E00BF"
offset=
"0%"
></stop>
<stop
stop-color=
"#0C1DC0"
offset=
"8%"
></stop>
<stop
stop-color=
"#0960C4"
offset=
"27%"
></stop>
<stop
stop-color=
"#0699C7"
offset=
"46%"
></stop>
<stop
stop-color=
"#03C5C9"
offset=
"63%"
></stop>
<stop
stop-color=
"#01E5CB"
offset=
"78%"
></stop>
<stop
stop-color=
"#00F8CC"
offset=
"92.3222649%"
></stop>
<stop
stop-color=
"#00FFCC"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"24.8129724%"
y1=
"10.6775741%"
x2=
"53.6705404%"
y2=
"81.5960815%"
id=
"linearGradient-3"
>
<stop
stop-color=
"#5BFFC5"
offset=
"0%"
></stop>
<stop
stop-color=
"#01E5CB"
offset=
"22%"
></stop>
<stop
stop-color=
"#03C5C9"
offset=
"40.4347171%"
></stop>
<stop
stop-color=
"#0699C7"
offset=
"54%"
></stop>
<stop
stop-color=
"#0960C4"
offset=
"73%"
></stop>
<stop
stop-color=
"#0C1DC0"
offset=
"92%"
></stop>
<stop
stop-color=
"#0E00BF"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"41.7965617%"
y1=
"111.576076%"
x2=
"110.990164%"
y2=
"-86.665386%"
id=
"linearGradient-4"
>
<stop
stop-color=
"#00FFCC"
offset=
"0%"
></stop>
<stop
stop-color=
"#00F8CC"
offset=
"7.67773506%"
></stop>
<stop
stop-color=
"#01E5CB"
offset=
"22%"
></stop>
<stop
stop-color=
"#03C5C9"
offset=
"37%"
></stop>
<stop
stop-color=
"#0699C7"
offset=
"54%"
></stop>
<stop
stop-color=
"#0960C4"
offset=
"73%"
></stop>
<stop
stop-color=
"#0C1DC0"
offset=
"92%"
></stop>
<stop
stop-color=
"#0E00BF"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"48.8999218%"
y1=
"111.576076%"
x2=
"41.991571%"
y2=
"-19.1174766%"
id=
"linearGradient-5"
>
<stop
stop-color=
"#00FFCC"
offset=
"0%"
></stop>
<stop
stop-color=
"#00F8CC"
offset=
"7.67773506%"
></stop>
<stop
stop-color=
"#01E5CB"
offset=
"22%"
></stop>
<stop
stop-color=
"#03C5C9"
offset=
"37%"
></stop>
<stop
stop-color=
"#0699C7"
offset=
"54%"
></stop>
<stop
stop-color=
"#0960C4"
offset=
"73%"
></stop>
<stop
stop-color=
"#0C1DC0"
offset=
"92%"
></stop>
<stop
stop-color=
"#0E00BF"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-6"
>
<stop
stop-color=
"#003E60"
offset=
"0%"
></stop>
<stop
stop-color=
"#08003B"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-7"
>
<stop
stop-color=
"#003E60"
offset=
"0%"
></stop>
<stop
stop-color=
"#08003B"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-8"
>
<stop
stop-color=
"#003E60"
offset=
"0%"
></stop>
<stop
stop-color=
"#08003B"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-9"
>
<stop
stop-color=
"#003E60"
offset=
"0%"
></stop>
<stop
stop-color=
"#08003B"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-10"
>
<stop
stop-color=
"#003E60"
offset=
"0%"
></stop>
<stop
stop-color=
"#08003B"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-11"
>
<stop
stop-color=
"#003E60"
offset=
"0%"
></stop>
<stop
stop-color=
"#08003B"
offset=
"100%"
></stop>
</linearGradient>
<linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-12"
>
<stop
stop-color=
"#003E60"
offset=
"0%"
></stop>
<stop
stop-color=
"#08003B"
offset=
"100%"
></stop>
</linearGradient>
</defs>
<g
id=
"页面-1"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"logo"
>
<rect
id=
"矩形"
fill=
"#FFFFFF"
transform=
"translate(121.500000, 25.000000) scale(-1, 1) translate(-121.500000, -25.000000) "
x=
"0"
y=
"0"
width=
"243"
height=
"50"
></rect>
<g
id=
"编组-20"
transform=
"translate(67.000000, 15.000000)"
fill-rule=
"nonzero"
>
<g
id=
"编组-19"
>
<polygon
id=
"路径备份-31"
fill=
"url(#linearGradient-1)"
points=
"4.45610368 20 4.45610368 1.27488528 3.17622614 4.78681422e-13 0 4.78681422e-13 0 20"
></polygon>
<polygon
id=
"路径备份-32"
fill=
"url(#linearGradient-2)"
points=
"4.45610368 8.99213795 4.45610368 9.89825286e-13 3.17622614 4.78681422e-13 0 4.78681422e-13"
></polygon>
<path
d=
"M20.0961538,9.57362844e-13 L20.0961538,20 L15.6400502,20 L15.6400502,7.83707865 L15.5526756,7.83707865 L11.1402592,16.4325843 L8.91220736,16.4325843 L6.39903846,11.487 L6.39903846,2.853 L10.5991931,10.6263899 L10.6865677,10.6263899 L15.771112,9.57362844e-13 L20.0961538,9.57362844e-13 Z"
id=
"形状结合备份"
fill=
"url(#linearGradient-3)"
></path>
<path
d=
"M20.0961538,4.78681422e-13 L15.6400502,9.48857676 L15.5526756,9.48857676 L11.7522062,16.4325843 L8.91220736,16.4325843 L7.92752985,14.495 L10.0815298,10.589 L10.0917642,10.5898876 L10.4565298,9.909 L10.9528133,9.00955425 L10.9455298,8.997 L15.771112,4.78681422e-13 L20.0961538,4.78681422e-13 Z"
id=
"形状结合"
fill=
"url(#linearGradient-4)"
></path>
<polygon
id=
"路径"
fill=
"url(#linearGradient-5)"
points=
"15.6400502 9.48857676 15.6400502 20 20.0961538 20 20.0961538 4.78681422e-13"
></polygon>
</g>
<path
d=
"M28.0288462,6.31578947 C29.0308704,6.31578947 29.8815473,6.4915661 30.5808768,6.84311936 C31.2802062,7.19467262 31.8177505,7.66048068 32.1935096,8.24054356 C32.4231402,8.59209681 32.5797065,8.99638306 32.6632085,9.45340229 C32.7467105,9.91042153 32.7884615,10.4113849 32.7884615,10.9562925 L32.7884615,10.9562925 L32.7884615,15.359497 L32.7834514,15.6811682 C32.7700911,16.1030321 32.7300101,16.4967718 32.6632085,16.8623872 C32.5797065,17.3194064 32.4231402,17.7236927 32.1935096,18.0752459 C31.8177505,18.6553088 31.2802062,19.1211169 30.5808768,19.4726701 C29.8815473,19.8242234 29.0308704,20 28.0288462,20 C27.0268219,20 26.176145,19.8242234 25.4768155,19.4726701 C24.7774861,19.1211169 24.2399418,18.6553088 23.8641827,18.0752459 C23.6345521,17.7236927 23.4779858,17.3194064 23.3944838,16.8623872 C23.3109818,16.4053679 23.2692308,15.9044046 23.2692308,15.359497 L23.2692308,15.359497 L23.2692308,10.9562925 L23.2742409,10.6346212 C23.2876012,10.2127573 23.3276822,9.81901768 23.3944838,9.45340229 C23.4779858,8.99638306 23.6345521,8.59209681 23.8641827,8.24054356 C24.2399418,7.66048068 24.7774861,7.19467262 25.4768155,6.84311936 C26.176145,6.4915661 27.0268219,6.31578947 28.0288462,6.31578947 Z M28.0288462,8.42105263 C27.5423077,8.42105263 27.15625,8.55026455 26.8706731,8.80868839 C26.5850962,9.06711223 26.4423077,9.45474798 26.4423077,9.97159566 L26.4423077,9.97159566 L26.4423077,15.2915622 L26.4490009,15.4793233 C26.4802359,15.9032999 26.6207933,16.2283486 26.8706731,16.4544695 C27.15625,16.7128933 27.5423077,16.8421053 28.0288462,16.8421053 C28.5153846,16.8421053 28.9014423,16.7128933 29.1870192,16.4544695 C29.4725962,16.1960457 29.6153846,15.8084099 29.6153846,15.2915622 L29.6153846,15.2915622 L29.6153846,9.97159566 L29.6086914,9.78383459 C29.5774564,9.35985798 29.436899,9.03480925 29.1870192,8.80868839 C28.9014423,8.55026455 28.5153846,8.42105263 28.0288462,8.42105263 Z"
id=
"形状结合"
fill=
"url(#linearGradient-6)"
></path>
<path
d=
"M44.4230769,4.13406683e-13 L44.4230769,19.8328691 L41.2395965,19.8328691 L41.2395965,18.551532 L41.0349937,18.7511606 C40.9009037,18.8811513 40.7714376,19.004952 40.6465952,19.1225627 C40.4593317,19.2989786 40.251261,19.452182 40.0223834,19.5821727 C39.7935057,19.7121634 39.5334174,19.814299 39.2421185,19.8885794 C38.9508197,19.9628598 38.6075032,20 38.212169,20 C36.880517,20 35.9546028,19.5543175 35.4344262,18.6629526 C35.2471627,18.3472609 35.1119168,17.9572888 35.0286885,17.4930362 C34.9454603,17.0287837 34.9038462,16.4066852 34.9038462,15.6267409 L34.9038462,15.6267409 L34.9047825,9.95236769 C34.9104004,9.0816156 34.9412989,8.42896936 34.9974779,7.99442897 C35.1223203,7.06592386 35.6112863,6.36954503 36.4643758,5.90529248 C36.85971,5.66388115 37.4527112,5.54317549 38.2433796,5.54317549 C38.8675914,5.54317549 39.4241803,5.66852368 39.9131463,5.91922006 C40.4021122,6.16991643 40.8234552,6.5273909 41.1771753,6.99164345 L41.1771753,6.99164345 L41.2395965,6.99164345 L41.2395965,4.13406683e-13 L44.4230769,4.13406683e-13 Z M39.6477532,8.42105263 C39.0403656,8.42105263 38.6267136,8.58145363 38.4067974,8.90225564 C38.1868812,9.22305764 38.0769231,9.59732665 38.0769231,10.0250627 L38.0769231,10.0250627 L38.0769231,14.9974937 L38.0828137,15.1996658 C38.1103032,15.6597048 38.2340061,16.0378725 38.4539223,16.3341688 C38.7052551,16.6727931 39.1031988,16.8421053 39.6477532,16.8421053 C40.1294745,16.8421053 40.5169459,16.6861598 40.8101676,16.374269 C41.1033892,16.0623782 41.25,15.6569201 41.25,15.1578947 L41.25,15.1578947 L41.25,9.89139515 L41.2428822,9.7345447 C41.2096657,9.37684489 41.0601914,9.07713729 40.7944593,8.83542189 C40.4907654,8.55917572 40.1085301,8.42105263 39.6477532,8.42105263 Z"
id=
"形状结合"
fill=
"url(#linearGradient-7)"
></path>
<path
d=
"M51.2980769,6.31578947 C52.0287196,6.31578947 52.691517,6.42125545 53.2864689,6.6321874 C53.8814208,6.84311936 54.3876518,7.1331508 54.8051619,7.50228172 C55.6401822,8.29327654 56.0576923,9.28641449 56.0576923,10.4816956 L56.0576923,10.4816956 L56.0576923,14.1730048 L49.732414,14.1730048 L49.732414,15.9922929 L49.7390191,16.1459601 C49.7698431,16.4939429 49.9085511,16.7679072 50.155143,16.9678532 C50.4369623,17.1963628 50.8179403,17.3106176 51.2980769,17.3106176 C51.9034666,17.3106176 52.3053201,17.1612075 52.5036374,16.8623872 C52.7019547,16.5635669 52.8219889,16.2647466 52.8637399,15.9659264 L52.8637399,15.9659264 L56.0576923,15.9659264 L56.0519863,16.1984203 C55.9987306,17.2691734 55.5726847,18.1408692 54.7738487,18.8135078 C54.3563386,19.1826387 53.8553264,19.4726701 53.2708122,19.6836021 C52.6862981,19.894534 52.0287196,20 51.2980769,20 C50.2960526,20 49.4453758,19.8242234 48.7460463,19.4726701 C48.0467169,19.1211169 47.5091726,18.6553088 47.1334135,18.0752459 C46.9037829,17.7236927 46.7472166,17.3194064 46.6637146,16.8623872 C46.5802126,16.4053679 46.5384615,15.9044046 46.5384615,15.359497 L46.5384615,15.359497 L46.5384615,10.9562925 L46.5434717,10.6346212 C46.556832,10.2127573 46.596913,9.81901768 46.6637146,9.45340229 C46.7472166,8.99638306 46.9037829,8.59209681 47.1334135,8.24054356 C47.5091726,7.66048068 48.0467169,7.19467262 48.7460463,6.84311936 C49.4453758,6.4915661 50.2960526,6.31578947 51.2980769,6.31578947 Z M51.2980769,8.42105263 C50.8115385,8.42105263 50.4254808,8.55263158 50.1399038,8.81578947 C49.8543269,9.07894737 49.7115385,9.47368421 49.7115385,10 L49.7115385,10 L49.7115385,11.5789474 L52.8846154,11.5789474 L52.8846154,10 L52.8779222,9.80879934 C52.8466872,9.37705592 52.7061298,9.04605263 52.45625,8.81578947 C52.1706731,8.55263158 51.7846154,8.42105263 51.2980769,8.42105263 Z"
id=
"形状结合"
fill=
"url(#linearGradient-6)"
></path>
<path
d=
"M62.4038462,20 L62.4038462,17.3259053 C61.865722,17.270195 61.4992409,17.1448468 61.3044028,16.9498607 C61.1095648,16.7548747 61.0121457,16.3881151 61.0121457,15.8495822 L61.0121457,15.8495822 L61.0121457,4.13406683e-13 L58.1730769,4.13406683e-13 L58.1730769,16.0445682 C58.1730769,16.8802228 58.270496,17.553389 58.465334,18.0640669 C58.6601721,18.5747447 58.9431511,18.9693593 59.3142713,19.2479109 C59.6853914,19.5450325 60.1307355,19.7446611 60.6503036,19.8467967 C61.1698718,19.9489322 61.754386,20 62.4038462,20 L62.4038462,20 Z"
id=
"路径"
fill=
"url(#linearGradient-8)"
></path>
<polygon
id=
"路径"
fill=
"url(#linearGradient-7)"
points=
"79.3269231 20 79.3269231 17.1348315 73.0016447 17.1348315 73.0016447 4.13406683e-13 69.8076923 4.13406683e-13 69.8076923 20"
></polygon>
<path
d=
"M84.6153846,4.13406683e-13 L84.6153846,4.13406683e-13 L84.6153846,4.13406683e-13 L81.4423077,4.13406683e-13 L81.4423077,3.15789474 L81.4574899,3.15789474 C83.201547,3.15789474 84.6153846,1.7440571 84.6153846,4.13406683e-13 Z"
id=
"路径"
fill=
"url(#linearGradient-9)"
></path>
<polygon
id=
"路径"
fill=
"url(#linearGradient-10)"
points=
"84.6153846 20 84.6153846 5.26510598 81.4423077 5.26510598 81.4423077 20"
></polygon>
<path
d=
"M89.9142497,20 L89.9142497,10.9038679 C89.9142497,10.2992374 90.0286885,9.83687288 90.2575662,9.51677439 C90.4864439,9.1966759 90.9025851,9.03662665 91.5059899,9.03662665 C92.0053594,9.03662665 92.39029,9.17889265 92.6607818,9.46342464 C92.9312736,9.74795664 93.0665195,10.1391881 93.0665195,10.6371191 L93.0665195,20 L96.25,20 L96.25,9.62347389 C96.25,9.0188434 96.1563682,8.50757498 95.9691047,8.08966862 C95.7818411,7.67176225 95.5321564,7.3294347 95.2200504,7.06268595 C94.9079445,6.79593721 94.5542245,6.60476728 94.1588903,6.48917616 C93.7635561,6.37358503 93.3682219,6.31578947 92.9728878,6.31578947 C92.2446406,6.31578947 91.6464376,6.45360966 91.1782787,6.72925003 C90.7101198,7.00489039 90.3095839,7.35610957 89.9766709,7.78290756 L89.9142497,7.78290756 L89.9142497,5.26510598 L86.7307692,5.26510598 L86.7307692,20 L89.9142497,20 Z"
id=
"路径"
fill=
"url(#linearGradient-11)"
></path>
<polygon
id=
"路径"
fill=
"url(#linearGradient-12)"
points=
"102.470665 20 102.470665 16.011236 103.934702 13.8483146 106.683507 20 110 20 105.637766 11.5449438 109.253042 5.75842697 106.205454 5.75842697 102.530422 11.9662921 102.470665 11.9662921 102.470665 4.13406683e-13 99.4230769 4.13406683e-13 99.4230769 20"
></polygon>
</g>
</g>
</g>
</svg>
\ No newline at end of file
src/layout/components/sidebar/sidebar.vue
View file @
36337e19
...
...
@@ -90,7 +90,7 @@ function handleMenuValueChange(key: string) {
<
template
>
<div
class=
"flex h-full flex-col justify-between overflow-hidden"
>
<div
class=
"flex flex-1 flex-col overflow-hidden"
>
<div
class=
"bg-
px-page_logo-png
mx-auto flex h-[50px] w-full shrink-0 bg-contain bg-center bg-no-repeat"
/>
<div
class=
"bg-
svg-page_logo
mx-auto flex h-[50px] w-full shrink-0 bg-contain bg-center bg-no-repeat"
/>
<div
class=
"px-3 py-5"
>
<n-button
...
...
uno.config.ts
View file @
36337e19
...
...
@@ -5,7 +5,7 @@ export default defineConfig({
[
/^bg-svg-
([\w
-
]
+
)
$/
,
([,
dirFname
])
=>
{
let
url
=
'@/assets/
image
s/'
let
url
=
'@/assets/
svg
s/'
const
dirFnameArr
=
dirFname
.
split
(
'-'
)
...
...
@@ -13,12 +13,12 @@ export default defineConfig({
const
[
dirStr
,
fname
]
=
dirFnameArr
const
dirPath
=
dirStr
.
split
(
'_'
).
join
(
'/'
)
url
+=
`
${
dirPath
}
/
${
fname
.
replace
(
/_/g
,
'-'
)}
`
url
+=
`
${
dirPath
}
/
${
fname
.
replace
(
/_/g
,
'-'
)}
.svg
`
}
else
{
url
+=
`
${
dirFname
.
replace
(
/_/g
,
'-'
)}
`
url
+=
`
${
dirFname
.
replace
(
/_/g
,
'-'
)}
.svg
`
}
return
{
'background-image'
:
`url(
@/assets/svgs/
${
url
}
.svg
)`
,
'background-size'
:
'cover'
}
return
{
'background-image'
:
`url(
${
url
}
)`
,
'background-size'
:
'cover'
}
},
],
[
...
...
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