-
}
- />
-
-
} className={styles.addButton}>
- 新增证照
-
+
+
{
}}
className={styles.licenseTable}
/>
-
+
);
};
diff --git a/src/pages/business_basic/components/LicenseManagement.less b/src/pages/business_basic/components/LicenseManagement.less
index 0fa0f53..96072ed 100644
--- a/src/pages/business_basic/components/LicenseManagement.less
+++ b/src/pages/business_basic/components/LicenseManagement.less
@@ -48,11 +48,77 @@
height: 100%;
min-height: 200px;
}
+
+ // 进度条区域样式
+ .progressSection {
+ margin-bottom: 20px;
+
+ .progressItem {
+ margin-bottom: 16px;
+
+ .progressLabel {
+ font-size: 12px;
+ color: #666;
+ margin-bottom: 8px;
+ font-weight: 400;
+ }
+
+ .progressWrapper {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+
+ .customProgress {
+ flex: 1;
+
+ :global(.ant-progress-bg) {
+ height: 8px !important;
+ border-radius: 4px;
+ }
+
+ :global(.ant-progress-outer) {
+ .ant-progress-inner {
+ background-color: #F0F0F0;
+ border-radius: 4px;
+ }
+ }
+ }
+
+ .progressPercent {
+ font-size: 12px;
+ color: #333;
+ font-weight: 500;
+ min-width: 30px;
+ text-align: right;
+ }
+ }
+ }
+ }
+
+ // 数字统计区域样式
+ .statsSection {
+ .statItem {
+ text-align: center;
+ padding: 8px;
+
+ .statNumber {
+ font-size: 24px;
+ font-weight: 600;
+ line-height: 1.2;
+ margin-bottom: 4px;
+ }
+
+ .statLabel {
+ font-size: 12px;
+ color: #666;
+ font-weight: 400;
+ }
+ }
+ }
}
}
.secondBlock {
-
width: 30%;
background-color: #fff;
display: flex;
@@ -63,8 +129,7 @@
.chartHeader {
display: flex;
align-items: center;
- margin-bottom: 16px;
- // height: 18px;
+ margin-bottom: 8px;
.colorBlock {
width: 2px;
@@ -78,61 +143,220 @@
font-size: 16px;
font-weight: 500;
color: #333333;
- line-height: 18px;
+ // line-height: 18px;
}
}
+ .chartContainer {
+ flex: 1;
+ width: 100%;
+ position: relative;
+ // 进度条区域样式
+ .progressSection {
+ // margin-bottom: 20px;
+
+ .progressItem {
+ // margin-bottom: 16px;
+
+ .progressLabel {
+ font-size: 10px;
+ color: #666;
+ // margin-bottom: 8px;
+ font-weight: 400;
+ }
+
+ .progressWrapper {
+ display: flex;
+ align-items: center;
+ gap: 5px;
+
+ .customProgress {
+ flex: 1;
+
+ :global(.ant-progress-bg) {
+ height: 8px !important;
+ border-radius: 4px;
+ }
+
+ :global(.ant-progress-outer) {
+ .ant-progress-inner {
+ background-color: #F0F0F0;
+ border-radius: 4px;
+ }
+ }
+ }
+
+ .progressPercent {
+ font-size: 12px;
+ color: #333;
+ font-weight: 500;
+ min-width: 30px;
+ text-align: right;
+ }
+ }
+ }
+ }
+
+ // 数字统计区域样式
+ .statsSection {
+ .statItem {
+ text-align: center;
+ padding: 0px 2px 2px 2px;
+
+ .statNumber {
+ font-size: 22px;
+ font-weight: 600;
+ line-height: 1.2;
+ margin-bottom: 4px;
+ }
+
+ .statLabel {
+ font-size: 12px;
+ color: #666;
+ font-weight: 400;
+ }
+ }
+ }
+ }
}
.thirdBlock {
flex: 1;
+ background-image: url('@/assets/business_basic/background_lqyj.svg');
background-color: #fff;
+ background-repeat: no-repeat;
+ background-size: cover;
+ background-position: center;
display: flex;
- align-items: center;
- justify-content: center;
- font-size: 16px;
- color: #333;
+ flex-direction: column;
+ padding: 10px 16px;
+ border-radius: 2px;
+
+ .chartHeader {
+ display: flex;
+ align-items: center;
+ margin-bottom: 8px;
+
+ .colorBlock {
+ width: 2px;
+ height: 18px;
+ background-color: #2E4CD4;
+ margin-right: 8px;
+ border-radius: 1px;
+ }
+
+ .chartTitle {
+ font-size: 16px;
+ font-weight: 500;
+ color: #333333;
+ }
+ }
+
+ .chartContainer {
+ flex: 1;
+ width: 100%;
+ position: relative;
+
+ // 透明块容器样式
+ .transparentBlock {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ padding: 4px 8px;
+
+ .licenseCard {
+ width: 60%;
+ height: auto;
+ background-color: #FFF9F4;
+ border: 1px solid #FFD7BB;
+ border-radius: 2px;
+ padding: 5px 8px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ // box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
+
+ .cardContent {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+
+ .licenseName {
+ font-size: 12px;
+ font-weight: 500;
+ color: #333;
+ line-height: 1.2;
+ }
+
+ .licenseNumber {
+ font-size: 12px;
+ color: #666;
+ font-weight: 400;
+ }
+ }
+
+ .expiryTag {
+ width: 38%;
+ background-color: #FFEDDE;
+ border-radius: 2px;
+ padding: 5px 12px;
+ margin-left: 12px;
+
+
+ .expiryText {
+ font-size: 12px;
+ font-weight: 500;
+ display: flex;
+ align-items: center;
+ color: #D46B08;
+ }
+ }
+ }
+ }
+ }
}
}
.listCard {
- border: none;
- border-radius: 8px;
- box-shadow: none;
-
- .listTitle {
- margin-bottom: 20px;
- font-size: 16px;
- font-weight: 600;
- color: #333;
- }
+ padding: 0;
+ padding: 15px 5px 15px 20px;
+ height: 35%;
+ // display: flex;
+ gap: 15px;
+ background-color: #fff;
+ // align-items: stretch;
- .listToolbar {
+ .chartHeader {
display: flex;
align-items: center;
- gap: 12px;
- margin-bottom: 20px;
-
- .searchInput {
- width: 300px;
+ margin-bottom: 8px;
+
+ .colorBlock {
+ width: 2px;
+ height: 18px;
+ background-color: #2E4CD4;
+ margin-right: 8px;
+ border-radius: 1px;
}
- .typeFilter {
- width: 120px;
- }
-
- .addButton {
- margin-left: auto;
+ .chartTitle {
+ font-size: 14px;
+ font-weight: 500;
+ color: #333333;
}
}
.licenseTable {
.ant-table-thead>tr>th {
- background-color: #fafafa;
- font-weight: 600;
- color: #333;
+ background-color: #F5F5FA;
+ font-weight: 200;
+ color: #333333;
+
}
.ant-table-tbody>tr>td {