Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
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
wangpeng
dinky
Commits
eac54892
Unverified
Commit
eac54892
authored
Nov 03, 2022
by
Licho
Committed by
GitHub
Nov 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: icon load from local (#1194)
parent
9a95f442
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
122 additions
and
8 deletions
+122
-8
background_image.svg
dlink-web/public/icons/background_image.svg
+70
-0
notice_empty.svg
dlink-web/public/icons/notice_empty.svg
+22
-0
notice_not_found.svg
dlink-web/public/icons/notice_not_found.svg
+22
-0
tenant_default.svg
dlink-web/public/icons/tenant_default.svg
+0
-0
user_avatar.png
dlink-web/public/icons/user_avatar.png
+0
-0
app.tsx
dlink-web/src/app.tsx
+1
-1
NoticeIcon.tsx
dlink-web/src/components/NoticeIcon/NoticeIcon.tsx
+1
-1
NoticeList.tsx
dlink-web/src/components/NoticeIcon/NoticeList.tsx
+1
-1
index.tsx
dlink-web/src/components/Studio/StudioMenu/index.tsx
+3
-3
index.less
dlink-web/src/pages/user/Login/index.less
+1
-1
index.tsx
dlink-web/src/pages/user/Login/index.tsx
+1
-1
No files found.
dlink-web/public/icons/background_image.svg
0 → 100644
View file @
eac54892
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"1361px"
height=
"609px"
viewBox=
"0 0 1361 609"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
<title>
Group 21
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Ant-Design-Pro-3.0"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"账户密码登录-校验"
transform=
"translate(-79.000000, -82.000000)"
>
<g
id=
"Group-21"
transform=
"translate(77.000000, 73.000000)"
>
<g
id=
"Group-18"
opacity=
"0.8"
transform=
"translate(74.901416, 569.699158) rotate(-7.000000) translate(-74.901416, -569.699158) translate(4.901416, 525.199158)"
>
<ellipse
id=
"Oval-11"
fill=
"#CFDAE6"
opacity=
"0.25"
cx=
"63.5748792"
cy=
"32.468367"
rx=
"21.7830479"
ry=
"21.766008"
></ellipse>
<ellipse
id=
"Oval-3"
fill=
"#CFDAE6"
opacity=
"0.599999964"
cx=
"5.98746479"
cy=
"13.8668601"
rx=
"5.2173913"
ry=
"5.21330997"
></ellipse>
<path
d=
"M38.1354514,88.3520215 C43.8984227,88.3520215 48.570234,83.6838647 48.570234,77.9254015 C48.570234,72.1669383 43.8984227,67.4987816 38.1354514,67.4987816 C32.3724801,67.4987816 27.7006688,72.1669383 27.7006688,77.9254015 C27.7006688,83.6838647 32.3724801,88.3520215 38.1354514,88.3520215 Z"
id=
"Oval-3-Copy"
fill=
"#CFDAE6"
opacity=
"0.45"
></path>
<path
d=
"M64.2775582,33.1704963 L119.185836,16.5654915"
id=
"Path-12"
stroke=
"#CFDAE6"
stroke-width=
"1.73913043"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></path>
<path
d=
"M42.1431708,26.5002681 L7.71190162,14.5640702"
id=
"Path-16"
stroke=
"#E0B4B7"
stroke-width=
"0.702678964"
opacity=
"0.7"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-dasharray=
"1.405357899873153,2.108036953469981"
></path>
<path
d=
"M63.9262187,33.521561 L43.6721326,69.3250951"
id=
"Path-15"
stroke=
"#BACAD9"
stroke-width=
"0.702678964"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-dasharray=
"1.405357899873153,2.108036953469981"
></path>
<g
id=
"Group-17"
transform=
"translate(126.850922, 13.543654) rotate(30.000000) translate(-126.850922, -13.543654) translate(117.285705, 4.381889)"
fill=
"#CFDAE6"
>
<ellipse
id=
"Oval-4"
opacity=
"0.45"
cx=
"9.13482653"
cy=
"9.12768076"
rx=
"9.13482653"
ry=
"9.12768076"
></ellipse>
<path
d=
"M18.2696531,18.2553615 C18.2696531,13.2142826 14.1798519,9.12768076 9.13482653,9.12768076 C4.08980114,9.12768076 0,13.2142826 0,18.2553615 L18.2696531,18.2553615 Z"
id=
"Oval-4"
transform=
"translate(9.134827, 13.691521) scale(-1, -1) translate(-9.134827, -13.691521) "
></path>
</g>
</g>
<g
id=
"Group-14"
transform=
"translate(216.294700, 123.725600) rotate(-5.000000) translate(-216.294700, -123.725600) translate(106.294700, 35.225600)"
>
<ellipse
id=
"Oval-2"
fill=
"#CFDAE6"
opacity=
"0.25"
cx=
"29.1176471"
cy=
"29.1402439"
rx=
"29.1176471"
ry=
"29.1402439"
></ellipse>
<ellipse
id=
"Oval-2"
fill=
"#CFDAE6"
opacity=
"0.3"
cx=
"29.1176471"
cy=
"29.1402439"
rx=
"21.5686275"
ry=
"21.5853659"
></ellipse>
<ellipse
id=
"Oval-2-Copy"
stroke=
"#CFDAE6"
opacity=
"0.4"
cx=
"179.019608"
cy=
"138.146341"
rx=
"23.7254902"
ry=
"23.7439024"
></ellipse>
<ellipse
id=
"Oval-2"
fill=
"#BACAD9"
opacity=
"0.5"
cx=
"29.1176471"
cy=
"29.1402439"
rx=
"10.7843137"
ry=
"10.7926829"
></ellipse>
<path
d=
"M29.1176471,39.9329268 L29.1176471,18.347561 C23.1616351,18.347561 18.3333333,23.1796097 18.3333333,29.1402439 C18.3333333,35.1008781 23.1616351,39.9329268 29.1176471,39.9329268 Z"
id=
"Oval-2"
fill=
"#BACAD9"
></path>
<g
id=
"Group-9"
opacity=
"0.45"
transform=
"translate(172.000000, 131.000000)"
fill=
"#E6A1A6"
>
<ellipse
id=
"Oval-2-Copy-2"
cx=
"7.01960784"
cy=
"7.14634146"
rx=
"6.47058824"
ry=
"6.47560976"
></ellipse>
<path
d=
"M0.549019608,13.6219512 C4.12262681,13.6219512 7.01960784,10.722722 7.01960784,7.14634146 C7.01960784,3.56996095 4.12262681,0.670731707 0.549019608,0.670731707 L0.549019608,13.6219512 Z"
id=
"Oval-2-Copy-2"
transform=
"translate(3.784314, 7.146341) scale(-1, 1) translate(-3.784314, -7.146341) "
></path>
</g>
<ellipse
id=
"Oval-10"
fill=
"#CFDAE6"
cx=
"218.382353"
cy=
"138.685976"
rx=
"1.61764706"
ry=
"1.61890244"
></ellipse>
<ellipse
id=
"Oval-10-Copy-2"
fill=
"#E0B4B7"
opacity=
"0.35"
cx=
"179.558824"
cy=
"175.381098"
rx=
"1.61764706"
ry=
"1.61890244"
></ellipse>
<ellipse
id=
"Oval-10-Copy"
fill=
"#E0B4B7"
opacity=
"0.35"
cx=
"180.098039"
cy=
"102.530488"
rx=
"2.15686275"
ry=
"2.15853659"
></ellipse>
<path
d=
"M28.9985381,29.9671598 L171.151018,132.876024"
id=
"Path-11"
stroke=
"#CFDAE6"
opacity=
"0.8"
></path>
</g>
<g
id=
"Group-10"
opacity=
"0.799999952"
transform=
"translate(1054.100635, 36.659317) rotate(-11.000000) translate(-1054.100635, -36.659317) translate(1026.600635, 4.659317)"
>
<ellipse
id=
"Oval-7"
stroke=
"#CFDAE6"
stroke-width=
"0.941176471"
cx=
"43.8135593"
cy=
"32"
rx=
"11.1864407"
ry=
"11.2941176"
></ellipse>
<g
id=
"Group-12"
transform=
"translate(34.596774, 23.111111)"
fill=
"#BACAD9"
>
<ellipse
id=
"Oval-7"
opacity=
"0.45"
cx=
"9.18534718"
cy=
"8.88888889"
rx=
"8.47457627"
ry=
"8.55614973"
></ellipse>
<path
d=
"M9.18534718,17.4450386 C13.8657264,17.4450386 17.6599235,13.6143199 17.6599235,8.88888889 C17.6599235,4.16345787 13.8657264,0.332739156 9.18534718,0.332739156 L9.18534718,17.4450386 Z"
id=
"Oval-7"
></path>
</g>
<path
d=
"M34.6597385,24.809694 L5.71666084,4.76878945"
id=
"Path-2"
stroke=
"#CFDAE6"
stroke-width=
"0.941176471"
></path>
<ellipse
id=
"Oval"
stroke=
"#CFDAE6"
stroke-width=
"0.941176471"
cx=
"3.26271186"
cy=
"3.29411765"
rx=
"3.26271186"
ry=
"3.29411765"
></ellipse>
<ellipse
id=
"Oval-Copy"
fill=
"#F7E1AD"
cx=
"2.79661017"
cy=
"61.1764706"
rx=
"2.79661017"
ry=
"2.82352941"
></ellipse>
<path
d=
"M34.6312443,39.2922712 L5.06366663,59.785082"
id=
"Path-10"
stroke=
"#CFDAE6"
stroke-width=
"0.941176471"
></path>
</g>
<g
id=
"Group-19"
opacity=
"0.33"
transform=
"translate(1282.537219, 446.502867) rotate(-10.000000) translate(-1282.537219, -446.502867) translate(1142.537219, 327.502867)"
>
<g
id=
"Group-17"
transform=
"translate(141.333539, 104.502742) rotate(275.000000) translate(-141.333539, -104.502742) translate(129.333539, 92.502742)"
fill=
"#BACAD9"
>
<circle
id=
"Oval-4"
opacity=
"0.45"
cx=
"11.6666667"
cy=
"11.6666667"
r=
"11.6666667"
></circle>
<path
d=
"M23.3333333,23.3333333 C23.3333333,16.8900113 18.1099887,11.6666667 11.6666667,11.6666667 C5.22334459,11.6666667 0,16.8900113 0,23.3333333 L23.3333333,23.3333333 Z"
id=
"Oval-4"
transform=
"translate(11.666667, 17.500000) scale(-1, -1) translate(-11.666667, -17.500000) "
></path>
</g>
<circle
id=
"Oval-5-Copy-6"
fill=
"#CFDAE6"
cx=
"201.833333"
cy=
"87.5"
r=
"5.83333333"
></circle>
<path
d=
"M143.5,88.8126685 L155.070501,17.6038544"
id=
"Path-17"
stroke=
"#BACAD9"
stroke-width=
"1.16666667"
></path>
<path
d=
"M17.5,37.3333333 L127.466252,97.6449735"
id=
"Path-18"
stroke=
"#BACAD9"
stroke-width=
"1.16666667"
></path>
<polyline
id=
"Path-19"
stroke=
"#CFDAE6"
stroke-width=
"1.16666667"
points=
"143.902597 120.302281 174.935455 231.571342 38.5 147.510847 126.366941 110.833333"
></polyline>
<path
d=
"M159.833333,99.7453842 L195.416667,89.25"
id=
"Path-20"
stroke=
"#E0B4B7"
stroke-width=
"1.16666667"
opacity=
"0.6"
></path>
<path
d=
"M205.333333,82.1372105 L238.719406,36.1666667"
id=
"Path-24"
stroke=
"#BACAD9"
stroke-width=
"1.16666667"
></path>
<path
d=
"M266.723424,132.231988 L207.083333,90.4166667"
id=
"Path-25"
stroke=
"#CFDAE6"
stroke-width=
"1.16666667"
></path>
<circle
id=
"Oval-5"
fill=
"#C1D1E0"
cx=
"156.916667"
cy=
"8.75"
r=
"8.75"
></circle>
<circle
id=
"Oval-5-Copy-3"
fill=
"#C1D1E0"
cx=
"39.0833333"
cy=
"148.75"
r=
"5.25"
></circle>
<circle
id=
"Oval-5-Copy-2"
fill-opacity=
"0.6"
fill=
"#D1DEED"
cx=
"8.75"
cy=
"33.25"
r=
"8.75"
></circle>
<circle
id=
"Oval-5-Copy-4"
fill-opacity=
"0.6"
fill=
"#D1DEED"
cx=
"243.833333"
cy=
"30.3333333"
r=
"5.83333333"
></circle>
<circle
id=
"Oval-5-Copy-5"
fill=
"#E0B4B7"
cx=
"175.583333"
cy=
"232.75"
r=
"5.25"
></circle>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
dlink-web/public/icons/notice_empty.svg
0 → 100644
View file @
eac54892
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"75px"
height=
"73px"
viewBox=
"0 0 75 73"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
<title>
bells (1)
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Ant-Design-Pro-3.0"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"通知为空"
transform=
"translate(-1161.000000, -172.000000)"
>
<g
id=
"Group-26-Copy"
transform=
"translate(1031.000000, 44.000000)"
>
<g
id=
"bells-(1)"
transform=
"translate(130.000000, 128.000000)"
>
<path
d=
"M60.4865,49.018595 L58.824,49.018595 L58.824,22.6239669 C58.824,12.9262978 51.449625,4.94310111 41.9615,3.88849432 L41.9615,2.1209969 C41.9615,0.948556947 41.0055625,0 39.824,0 C38.6424375,0 37.6865,0.948556947 37.6865,2.1209969 L37.6865,3.88849432 C28.198375,4.94310111 20.824,12.9262978 20.824,22.6239669 L20.824,49.018595 L19.1615,49.018595 C17.9799375,49.018595 17.024,49.967152 17.024,51.1395919 C17.024,52.3120319 17.9799375,53.2605888 19.1615,53.2605888 L35.549,53.2605888 L35.549,56.0885847 C35.549,58.4334646 37.460875,60.3305785 39.824,60.3305785 C42.187125,60.3305785 44.099,58.4334646 44.099,56.0885847 L44.099,53.2605888 L60.4865,53.2605888 C61.6680625,53.2605888 62.624,52.3120319 62.624,51.1395919 C62.624,49.967152 61.6680625,49.018595 60.4865,49.018595 Z M54.549,49.018595 L25.099,49.018595 L25.099,22.6239669 C25.099,14.5523954 31.689625,8.01265496 39.824,8.01265496 C47.958375,8.01265496 54.549,14.5523954 54.549,22.6239669 L54.549,49.018595 Z"
id=
"Shape"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
fill-rule=
"nonzero"
></path>
<path
d=
"M71.136,16.012278 L71.136,14.8111797 L71.136,14.8111797 C71.136,14.1396014 71.6804217,13.5951797 72.352,13.5951797 C72.5395074,13.5951797 72.7244747,13.6385426 72.892445,13.7218794 L74.1028889,14.3224285 L74.1028889,14.3224285 C74.7044928,14.6209081 74.9502237,15.3505699 74.6517442,15.9521739 C74.5336639,16.1901719 74.340887,16.3829489 74.1028889,16.5010291 L72.892445,17.1015783 L72.892445,17.1015783 C72.2908411,17.4000579 71.5611793,17.154327 71.2626997,16.552723 C71.179363,16.3847527 71.136,16.1997854 71.136,16.012278 Z"
id=
"Triangle-36"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
></path>
<ellipse
id=
"Oval-203"
stroke-opacity=
"0.4"
stroke=
"#A3B1BF"
stroke-width=
"1.824"
cx=
"16.416"
cy=
"7.61958858"
rx=
"2.432"
ry=
"2.41322314"
></ellipse>
<path
d=
"M70.4656602,47.2590131 L68.7663398,47.2590131 C68.3961213,47.2590131 68.096,47.5591345 68.096,47.9293529 C68.096,48.2995713 68.3961213,48.5996927 68.7663398,48.5996927 L70.4656602,48.5996927 L70.4656602,50.4107364 C70.4656602,50.7809549 70.7657816,51.0810762 71.136,51.0810762 L71.136,51.0810762 C71.5062184,51.0810762 71.8063398,50.7809549 71.8063398,50.4107364 L71.8063398,48.5996927 L73.5056602,48.5996927 C73.8758787,48.5996927 74.176,48.2995713 74.176,47.9293529 L74.176,47.9293529 C74.176,47.5591345 73.8758787,47.2590131 73.5056602,47.2590131 L73.5056602,47.2590131 L71.8063398,47.2590131 L71.8063398,45.6714159 L71.8063398,45.6714159 C71.8063398,45.3011975 71.5062184,45.0010762 71.136,45.0010762 C70.7657816,45.0010762 70.4656602,45.3011975 70.4656602,45.6714159 L70.4656602,47.2590131 Z"
id=
"Combined-Shape"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
></path>
<path
d=
"M2.36966024,37.0028148 L0.670339761,37.0028148 L0.670339761,37.0028148 C0.300121334,37.0028148 -4.53386812e-17,37.3029361 0,37.6731545 C4.53386812e-17,38.043373 0.300121334,38.3434943 0.670339761,38.3434943 L2.36966024,38.3434943 L2.36966024,40.1545381 C2.36966024,40.5247565 2.66978157,40.8248778 3.04,40.8248778 L3.04,40.8248778 C3.41021843,40.8248778 3.71033976,40.5247565 3.71033976,40.1545381 L3.71033976,38.3434943 L5.40966024,38.3434943 C5.77987867,38.3434943 6.08,38.043373 6.08,37.6731545 C6.08,37.3029361 5.77987867,37.0028148 5.40966024,37.0028148 L3.71033976,37.0028148 L3.71033976,35.4152176 L3.71033976,35.4152176 C3.71033976,35.0449992 3.41021843,34.7448778 3.04,34.7448778 C2.66978157,34.7448778 2.36966024,35.0449992 2.36966024,35.4152176 L2.36966024,37.0028148 Z"
id=
"Combined-Shape-Copy"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
></path>
<ellipse
id=
"Oval-4"
fill-opacity=
"0.25"
fill=
"#A3B1BF"
cx=
"40.128"
cy=
"71.1900826"
rx=
"19.456"
ry=
"1.80991736"
></ellipse>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
dlink-web/public/icons/notice_not_found.svg
0 → 100644
View file @
eac54892
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"87px"
height=
"83px"
viewBox=
"0 0 87 83"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
<title>
Group 6
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Ant-Design-Pro-3.0"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"消息为空"
transform=
"translate(-1155.000000, -163.000000)"
>
<g
id=
"Group-26-Copy"
transform=
"translate(1031.000000, 44.000000)"
>
<g
id=
"Group-6"
transform=
"translate(124.000000, 120.000000)"
>
<path
d=
"M82.7851852,20.5337889 L82.7851852,19.2238049 L82.7851852,19.2238049 C82.7851852,18.5037892 83.3688732,17.9201011 84.0888889,17.9201011 C84.2909964,17.9201011 84.4903362,17.9670906 84.6711654,18.0573583 L85.9832794,18.7123504 L85.9832794,18.7123504 C86.6274901,19.0339328 86.8890319,19.8168627 86.5674495,20.4610733 C86.4412034,20.7139761 86.2361822,20.9189973 85.9832794,21.0452434 L84.6711654,21.7002354 L84.6711654,21.7002354 C84.0269547,22.0218178 83.2440248,21.760276 82.9224424,21.1160653 C82.8321746,20.9352362 82.7851852,20.7358964 82.7851852,20.5337889 Z"
id=
"Triangle-36"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
></path>
<ellipse
id=
"Oval-203"
stroke-opacity=
"0.4"
stroke=
"#A3B1BF"
stroke-width=
"1.95555556"
cx=
"17.6"
cy=
"2.6031746"
rx=
"2.60740741"
ry=
"2.6031746"
></ellipse>
<path
d=
"M82.0620811,53.8230453 L80.24903,53.8230453 L80.24903,53.8230453 C79.8496706,53.8230453 79.5259259,54.14679 79.5259259,54.5461493 C79.5259259,54.9455087 79.8496706,55.2692534 80.24903,55.2692534 L82.0620811,55.2692534 L82.0620811,57.2028219 C82.0620811,57.6021812 82.3858258,57.9259259 82.7851852,57.9259259 L82.7851852,57.9259259 C83.1845445,57.9259259 83.5082892,57.6021812 83.5082892,57.2028219 L83.5082892,57.2028219 L83.5082892,55.2692534 L85.3213404,55.2692534 C85.7206997,55.2692534 86.0444444,54.9455087 86.0444444,54.5461493 C86.0444444,54.14679 85.7206997,53.8230453 85.3213404,53.8230453 L83.5082892,53.8230453 L83.5082892,52.1305115 L83.5082892,52.1305115 C83.5082892,51.7311521 83.1845445,51.4074074 82.7851852,51.4074074 C82.3858258,51.4074074 82.0620811,51.7311521 82.0620811,52.1305115 L82.0620811,53.8230453 Z"
id=
"Combined-Shape"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
></path>
<path
d=
"M2.5361552,42.7595532 L0.723104056,42.7595532 L0.723104056,42.7595532 C0.323744714,42.7595532 -4.89074141e-17,43.0832979 0,43.4826573 C4.89074141e-17,43.8820166 0.323744714,44.2057613 0.723104056,44.2057613 L2.5361552,44.2057613 L2.5361552,46.1393298 C2.5361552,46.5386891 2.85989992,46.8624339 3.25925926,46.8624339 L3.25925926,46.8624339 C3.6586186,46.8624339 3.98236332,46.5386891 3.98236332,46.1393298 L3.98236332,46.1393298 L3.98236332,44.2057613 L5.79541446,44.2057613 C6.1947738,44.2057613 6.51851852,43.8820166 6.51851852,43.4826573 C6.51851852,43.0832979 6.1947738,42.7595532 5.79541446,42.7595532 L3.98236332,42.7595532 L3.98236332,41.0670194 L3.98236332,41.0670194 C3.98236332,40.6676601 3.6586186,40.3439153 3.25925926,40.3439153 C2.85989992,40.3439153 2.5361552,40.6676601 2.5361552,41.0670194 L2.5361552,42.7595532 Z"
id=
"Combined-Shape-Copy"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
></path>
<ellipse
id=
"Oval-4"
fill-opacity=
"0.25"
fill=
"#A3B1BF"
cx=
"49.5407407"
cy=
"80.047619"
rx=
"20.8592593"
ry=
"1.95238095"
></ellipse>
<path
d=
"M71.6866074,29.4965409 L68.5468032,29.4965409 L68.5468032,28.4988753 C68.5468032,26.9683656 67.3796508,25.7212837 65.9494782,25.7212837 L56.5081472,25.7212837 C56.1136168,24.9390232 55.5218212,24.3721677 54.7108421,24.3721677 C40.9461157,24.3721677 28.5786844,12.0373933 28.5786844,12.0373933 C28.1786744,11.8163197 27.7622257,11.7142857 27.3567362,11.7142857 C26.0032778,11.7142857 24.7703704,12.8366595 24.7703704,14.3898434 L24.7703704,59.8006328 C24.7703704,61.3651538 26.0087574,62.4761905 27.3567362,62.4761905 C27.7951032,62.4761905 28.2499091,62.3571508 28.6718374,62.0963973 C28.6718374,62.0963973 40.0967795,47.3354816 54.8697502,47.3354816 C55.6259334,47.3354816 56.1684127,46.8083061 56.5300655,46.0770626 L56.7547286,46.0770626 C56.8314429,49.4952009 56.0588209,53.1344128 55.3409948,55.7589535 C54.9245461,57.2837946 55.5053825,58.8879955 56.7876062,59.7552844 C57.3684426,60.1464146 58.0314728,60.344814 58.6890234,60.344814 C59.4780841,60.344814 60.2616653,60.0613863 60.9082567,59.5115365 C64.700132,56.2521177 66.1193454,52.5052033 66.6453859,49.9373481 C66.9741612,48.3331472 67.0015592,46.9783627 66.9632021,46.0827311 C67.1604673,45.8219776 67.3467733,45.5385499 67.5275997,45.2551222 C68.5522827,43.6282471 68.5522827,42.9990375 68.5522827,42.6986041 L68.5522827,41.4175108 L71.6866074,41.4175108 C72.7770455,41.4175108 73.6592593,40.5048736 73.6592593,39.3768312 L73.6592593,31.5372205 C73.6592593,30.4091782 72.7770455,29.4965409 71.6866074,29.4965409 Z M53.1765573,43.310808 C49.8175696,43.5318816 46.4037859,44.3935019 43.0009614,45.8843317 C39.9159531,47.2391162 36.8364243,49.1154077 33.844569,51.4621893 C31.7842437,53.0777273 30.0526937,54.6932653 28.7101945,56.0537183 L28.7101945,17.5302225 C30.1568059,18.720619 32.0965802,20.2001117 34.3980074,21.6739358 C37.4227403,23.6125814 40.4748711,25.1657653 43.472206,26.2824706 C46.7709183,27.5125469 50.0148347,28.2267847 53.1382002,28.4081785 L53.1382002,28.5045439 C53.1382002,28.6349206 53.1491594,28.7596288 53.1710777,28.8786685 L53.1710777,43.2484539 C53.1765573,43.2711281 53.1765573,43.2881338 53.1765573,43.310808 Z M64.6014994,42.3584909 C64.4316322,42.7042727 64.0754589,43.2711281 63.861755,43.5545558 C63.6864081,43.6679269 63.5275001,43.8096408 63.3959899,43.9740289 C63.0233779,44.4388503 62.8644698,45.0510542 62.968582,45.6462524 C62.968582,45.6575895 63.1932452,47.1087395 62.7877556,49.0927335 C62.316511,51.4055037 61.2315525,53.4688575 59.560278,55.2487836 C60.3548183,51.9326793 61.0233281,47.6699264 60.5520835,43.781298 C60.426053,42.7609582 59.5876759,41.9957034 58.5958704,41.9957034 L57.1930957,41.9957034 L57.1930957,40.3008056 C57.1930957,40.1137433 57.1656978,39.9323496 57.1218611,39.7622929 L57.1218611,29.8026428 L64.6014994,29.8026428 L64.6014994,42.3584909 Z M69.7139555,37.3361517 L68.5468032,37.3361517 L68.5468032,33.5779001 L69.7139555,33.5779001 L69.7139555,37.3361517 Z"
id=
"Shape"
fill-opacity=
"0.4"
fill=
"#A3B1BF"
fill-rule=
"nonzero"
></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
dlink-web/public/icons/tenant_default.svg
0 → 100644
View file @
eac54892
This diff is collapsed.
Click to expand it.
dlink-web/public/icons/user_avatar.png
0 → 100644
View file @
eac54892
12 KB
dlink-web/src/app.tsx
View file @
eac54892
...
@@ -54,7 +54,7 @@ export async function getInitialState(): Promise<{
...
@@ -54,7 +54,7 @@ export async function getInitialState(): Promise<{
password
:
result
.
datas
.
user
.
password
,
password
:
result
.
datas
.
user
.
password
,
nickname
:
result
.
datas
.
user
.
nickname
,
nickname
:
result
.
datas
.
user
.
nickname
,
worknum
:
result
.
datas
.
user
.
worknum
,
worknum
:
result
.
datas
.
user
.
worknum
,
avatar
:
result
.
datas
.
user
.
avatar
?
result
.
datas
.
user
.
avatar
:
'
https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka
.png'
,
avatar
:
result
.
datas
.
user
.
avatar
?
result
.
datas
.
user
.
avatar
:
'
/icons/user_avatar
.png'
,
mobile
:
result
.
datas
.
user
.
mobile
,
mobile
:
result
.
datas
.
user
.
mobile
,
enabled
:
result
.
datas
.
user
.
enabled
,
enabled
:
result
.
datas
.
user
.
enabled
,
isDelete
:
result
.
datas
.
user
.
isDelete
,
isDelete
:
result
.
datas
.
user
.
isDelete
,
...
...
dlink-web/src/components/NoticeIcon/NoticeIcon.tsx
View file @
eac54892
...
@@ -138,7 +138,7 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
...
@@ -138,7 +138,7 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
};
};
NoticeIcon
.
defaultProps
=
{
NoticeIcon
.
defaultProps
=
{
emptyImage
:
'
https://gw.alipayobjects.com/zos/rmsportal/wAhyIChODzsoKIOBHcBk
.svg'
,
emptyImage
:
'
/icons/notice_empty
.svg'
,
};
};
NoticeIcon
.
Tab
=
NoticeList
;
NoticeIcon
.
Tab
=
NoticeList
;
...
...
dlink-web/src/components/NoticeIcon/NoticeList.tsx
View file @
eac54892
...
@@ -55,7 +55,7 @@ const NoticeList: React.FC<NoticeIconTabProps> = ({
...
@@ -55,7 +55,7 @@ const NoticeList: React.FC<NoticeIconTabProps> = ({
return
(
return
(
<
div
className=
{
styles
.
notFound
}
>
<
div
className=
{
styles
.
notFound
}
>
<
img
<
img
src=
"
https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ
.svg"
src=
"
/icons/notice_not_found
.svg"
alt=
"not found"
alt=
"not found"
/>
/>
<
div
>
{
emptyText
}
</
div
>
<
div
>
{
emptyText
}
</
div
>
...
...
dlink-web/src/components/Studio/StudioMenu/index.tsx
View file @
eac54892
...
@@ -163,9 +163,9 @@ const StudioMenu = (props: any) => {
...
@@ -163,9 +163,9 @@ const StudioMenu = (props: any) => {
message
.
error
(
'执行失败'
);
message
.
error
(
'执行失败'
);
}
}
let
newTabs
=
tabs
;
let
newTabs
=
tabs
;
for
(
let
i
=
0
;
i
<
newTabs
.
panes
.
length
;
i
++
)
{
for
(
const
element
of
newTabs
.
panes
)
{
if
(
newTabs
.
panes
[
i
]
.
key
==
key
)
{
if
(
element
.
key
==
key
)
{
newTabs
.
panes
[
i
]
.
console
.
result
=
res
.
datas
;
element
.
console
.
result
=
res
.
datas
;
break
;
break
;
}
}
}
}
...
...
dlink-web/src/pages/user/Login/index.less
View file @
eac54892
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
@media (min-width: @screen-md-min) {
@media (min-width: @screen-md-min) {
.container {
.container {
background-image: url('
https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu
.svg');
background-image: url('
/icons/background_image
.svg');
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center 110px;
background-position: center 110px;
background-size: 100%;
background-size: 100%;
...
...
dlink-web/src/pages/user/Login/index.tsx
View file @
eac54892
...
@@ -153,7 +153,7 @@ const Login: React.FC = () => {
...
@@ -153,7 +153,7 @@ const Login: React.FC = () => {
<
CheckCard
<
CheckCard
size=
{
"default"
}
size=
{
"default"
}
key=
{
item
?.
id
}
key=
{
item
?.
id
}
avatar=
"
https://gw.alipayobjects.com/zos/bmw-prod/f601048d-61c2-44d0-bf57-ca1afe7fd92e
.svg"
avatar=
"
/icons/tenant_default
.svg"
title=
{
item
?.
tenantCode
}
title=
{
item
?.
tenantCode
}
value=
{
item
?.
id
}
value=
{
item
?.
id
}
description=
{
item
?.
note
}
description=
{
item
?.
note
}
...
...
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