Browse Source

feat: 添加资产管理动态

dev-new-workspace
zhaowei 7 months ago
parent
commit
d643cc5c81
4 changed files with 17 additions and 1 deletions
  1. BIN
      react-ui/src/assets/img/workspace/statistics-bg.png
  2. BIN
      react-ui/src/assets/img/workspace/statistics.apng
  3. +13
    -1
      react-ui/src/pages/Workspace/components/AssetsManagement/index.less
  4. +4
    -0
      react-ui/src/pages/Workspace/components/AssetsManagement/index.tsx

BIN
react-ui/src/assets/img/workspace/statistics-bg.png View File

Before After
Width: 2704  |  Height: 348  |  Size: 681 kB Width: 4056  |  Height: 522  |  Size: 849 kB

BIN
react-ui/src/assets/img/workspace/statistics.apng View File

Before After
Width: 580  |  Height: 294  |  Size: 5.7 MB

+ 13
- 1
react-ui/src/pages/Workspace/components/AssetsManagement/index.less View File

@@ -1,9 +1,11 @@
.assets-management {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
height: 10.875rem;
color: white;
border-radius: 0.625rem;
box-shadow: 0px 3px 12px rgba(151, 150, 180, 0.08);
.backgroundFullImage(url(@/assets/img/workspace/statistics-bg.png));

@@ -16,7 +18,7 @@

&__line {
flex: none;
width: 64.9375rem;
width: 60rem;
height: 1px;
padding-left: 1.25rem;
background-image: linear-gradient(
@@ -53,4 +55,14 @@
font-size: 0.875rem;
}
}

&__img {
position: absolute;
top: 0;
right: 0;
width: 23.5625rem;
height: 100%;
margin-right: 0;
margin-left: auto;
}
}

+ 4
- 0
react-ui/src/pages/Workspace/components/AssetsManagement/index.tsx View File

@@ -81,6 +81,10 @@ function AssetsManagement() {
</div>
))}
</Flex>
<img
className={styles['assets-management__img']}
src={require('@/assets/img/workspace/statistics.apng')}
></img>
</div>
);
}


Loading…
Cancel
Save