报表数据
parent
2da3e23700
commit
8f446722da
@ -0,0 +1,199 @@
|
||||
.analyze-reports-data {
|
||||
padding: 16px;
|
||||
background-color: rgba(15, 121, 120, 0.05);
|
||||
min-height: 100vh;
|
||||
/* 响应式调整 */
|
||||
}
|
||||
.analyze-reports-data .search-button {
|
||||
background-image: url('../../assets/img/assetmangement1.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
height: 36px;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.analyze-reports-data .reset-button {
|
||||
background-image: url('../../assets/img/assetmangement2.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
color: #006665;
|
||||
border-radius: 4px;
|
||||
height: 36px;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.analyze-reports-data .del-button {
|
||||
background-image: url('../../assets/img/assetmangement3.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
color: #000;
|
||||
border-radius: 4px;
|
||||
height: 36px;
|
||||
width: 88px;
|
||||
border-color: #d9d9d9;
|
||||
background-color: #E5B7B733;
|
||||
}
|
||||
.analyze-reports-data .content-row {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item {
|
||||
background-color: #fff;
|
||||
padding: 16px;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item:hover {
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
.first-row .analyze-reports-data .content-row .content-item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(#fff, #fff) padding-box, /* 外层渐变背景作为边框 */ conic-gradient(from 102.21deg at 52.75% 38.75%, rgba(249, 249, 249, 0.5) -32.95deg, rgba(64, 64, 64, 0.5) 10.52deg, rgba(64, 64, 64, 0.35) 32.12deg, #FFFFFF 60.28deg, rgba(255, 255, 255, 0.5) 107.79deg, rgba(64, 64, 64, 0.35) 187.59deg, #F9F9F9 207.58deg, #FFFFFF 287.31deg, rgba(249, 249, 249, 0.5) 327.05deg, rgba(64, 64, 64, 0.5) 370.52deg);
|
||||
/* 关键:设置透明边框,让渐变背景透出来 */
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item.common-bg {
|
||||
background-image: none;
|
||||
background-size: auto;
|
||||
background-position: initial;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .item-inner {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-value {
|
||||
font-size: 26px;
|
||||
font-weight: 600;
|
||||
line-height: 32px;
|
||||
color: #333333;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-title {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
margin-top: 20px;
|
||||
color: #666666;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-desc {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-section {
|
||||
flex: 1;
|
||||
padding-right: 12px;
|
||||
text-align: left;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .chart-section {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .chart-container {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 200px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container .progress-title {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 20px;
|
||||
color: #333;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container .ant-progress {
|
||||
width: 80%;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container .progress-text {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: #006665;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-form .ant-form-item {
|
||||
margin-bottom: 16px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
@media (max-width: 1200px) {
|
||||
.analyze-reports-data .content-row .content-item .chart-container {
|
||||
height: 180px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container {
|
||||
height: 180px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .item-inner {
|
||||
flex-direction: column;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-section {
|
||||
padding-right: 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-value {
|
||||
font-size: 24px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .chart-section {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.analyze-reports-data {
|
||||
padding: 8px;
|
||||
}
|
||||
.analyze-reports-data .content-row {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item {
|
||||
padding: 8px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .chart-container {
|
||||
height: 150px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container {
|
||||
height: 150px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container .progress-title {
|
||||
font-size: 14px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .progress-container .progress-text {
|
||||
font-size: 20px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .item-inner {
|
||||
flex-direction: column;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-section {
|
||||
padding-right: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-title {
|
||||
font-size: 12px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-value {
|
||||
font-size: 20px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .data-desc {
|
||||
font-size: 10px;
|
||||
}
|
||||
.analyze-reports-data .content-row .content-item .chart-section {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,256 @@
|
||||
.analyze-reports-data {
|
||||
padding: 16px;
|
||||
background-color: rgba(15, 121, 120, 0.05);
|
||||
min-height: 100vh;
|
||||
.search-button{
|
||||
background-image: url('../../assets/img/assetmangement1.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position:center;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
height: 36px;
|
||||
border-color:#d9d9d9 ;
|
||||
}
|
||||
.reset-button{
|
||||
background-image: url('../../assets/img/assetmangement2.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position:center;
|
||||
color: rgba(0, 102, 101, 1);
|
||||
border-radius: 4px;
|
||||
height: 36px;
|
||||
border-color:#d9d9d9 ;
|
||||
}
|
||||
.del-button{
|
||||
background-image: url('../../assets/img/assetmangement3.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position:center;
|
||||
color: #000;
|
||||
border-radius: 4px;
|
||||
height: 36px;
|
||||
width:88px;
|
||||
border-color:#d9d9d9 ;
|
||||
background-color: #E5B7B733;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.content-row {
|
||||
margin-bottom: 16px;
|
||||
|
||||
.content-item {
|
||||
background-color: #fff;
|
||||
padding: 16px;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
// 只有第一行有渐变边框
|
||||
.first-row & {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(#fff, #fff) padding-box,
|
||||
/* 外层渐变背景作为边框 */
|
||||
conic-gradient(from 102.21deg at 52.75% 38.75%,
|
||||
rgba(249, 249, 249, 0.5) -32.95deg,
|
||||
rgba(64, 64, 64, 0.5) 10.52deg,
|
||||
rgba(64, 64, 64, 0.35) 32.12deg,
|
||||
#FFFFFF 60.28deg,
|
||||
rgba(255, 255, 255, 0.5) 107.79deg,
|
||||
rgba(64, 64, 64, 0.35) 187.59deg,
|
||||
#F9F9F9 207.58deg,
|
||||
#FFFFFF 287.31deg,
|
||||
rgba(249, 249, 249, 0.5) 327.05deg,
|
||||
rgba(64, 64, 64, 0.5) 370.52deg
|
||||
);
|
||||
/* 关键:设置透明边框,让渐变背景透出来 */
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
|
||||
&.common-bg {
|
||||
// 仅设置背景图片相关属性,不覆盖渐变边框
|
||||
background-image: none;
|
||||
background-size: auto;
|
||||
background-position: initial;
|
||||
}
|
||||
|
||||
.item-inner {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// 数据显示样式
|
||||
.data-value {
|
||||
font-size: 26px;
|
||||
font-weight: 600;
|
||||
line-height: 32px;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.data-title {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
margin-top: 20px;
|
||||
color: #666666;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.data-desc {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.data-section {
|
||||
flex: 1;
|
||||
padding-right: 12px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.chart-section {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 200px;
|
||||
|
||||
.progress-title {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 20px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.ant-progress {
|
||||
width: 80%;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.progress-text {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: #006665;
|
||||
}
|
||||
}
|
||||
|
||||
.data-form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.ant-form-item {
|
||||
margin-bottom: 16px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 响应式调整 */
|
||||
@media (max-width: 1200px) {
|
||||
.content-row {
|
||||
.content-item {
|
||||
.chart-container {
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
.item-inner {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.data-section {
|
||||
padding-right: 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.data-value {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.chart-section {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
padding: 8px;
|
||||
|
||||
.content-row {
|
||||
margin-bottom: 8px;
|
||||
|
||||
.content-item {
|
||||
padding: 8px;
|
||||
|
||||
.chart-container {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
height: 150px;
|
||||
|
||||
.progress-title {
|
||||
font-size: 14px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.progress-text {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.item-inner {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.data-section {
|
||||
padding-right: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.data-title {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.data-value {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.data-desc {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.chart-section {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue