/* 树形结构区域样式 */ .treeWrap { background: #fff; border-radius: 6px; padding: 0 0 0 0; } .treeSearchInput { width: 100%; height: 36px; } .customTree { background: #fff; border: none; .ant-tree-switcher { margin-right: 4px; } .ant-tree-node-content-wrapper { font-size: 14px; min-height: 32px; padding: 2px 0 2px 0; } .ant-tree-treenode-selected { background: #F0F5FF !important; border-radius: 6px; } } .folderIcon { display: inline-block; width: 18px; height: 18px; background: url('@/assets/business_firekeynotearea/tree-parent-node.svg') no-repeat center center; background-size: contain; margin-right: 6px; vertical-align: text-bottom; } .childIconSelected { display: inline-block; width: 18px; height: 18px; background: url('@/assets/business_firekeynotearea/tree-child-node-selected.svg') no-repeat center center; background-size: contain; margin-right: 6px; vertical-align: text-bottom; } .childIcon { display: inline-block; width: 18px; height: 18px; background: url('@/assets/business_firekeynotearea/tree-child-node.svg') no-repeat center center; background-size: contain; margin-right: 6px; vertical-align: text-bottom; } /* 搜索与操作栏样式 */ .searchWrap { display: flex; align-items: center; justify-content: space-between; margin: 10px 15px 0 15px; height: 40px; } .searchInput { // flex: 1; // height: 40px; // border: 1px solid #E3E6EB; // border-radius: 6px; // padding: 0 16px; // font-size: 14px; // color: #333; // background: #fff; // outline: none; // box-shadow: none; // transition: border-color 0.2s; } .searchInput:focus { border-color: #2E4CD4; } .selectAll { // height: 40px; // border: 1px solid #E3E6EB; // border-radius: 6px; // background: #fff; // font-size: 14px; // color: #333; // padding: 0 32px 0 16px; // margin-left: 12px; } .selectAll:focus { border-color: #2E4CD4; } .addBtn { background: #2E4CD4; margin-left: 15px; } .addBtn:hover { background: #1d3bb3; } .Rcontainer { padding: 8px 0px 0px 6px; height: 100%; display: flex; flex-direction: column; gap: 10px; .RcontainerTop { height: 16%; // background-color: #fff; border-radius: 4px; display: flex; flex-direction: column; .sectionContent { height: 100%; display: flex; flex-direction: column; // padding: 15px; .blocksContainer { flex: 1; display: flex; gap: 10px; height: 100%; .blockItem { flex: 1; height: 100%; display: flex; background: linear-gradient(170.5deg, #F5F7FF 6.87%, #FFFFFF 47.65%); border-radius: 2px; // border: 2px solid #FFFFFF; &.bgBlock1 { background: url('@/assets/business_firekeynotearea/keyparts_bg.png') no-repeat center center, linear-gradient(170.5deg, #F5F7FF 6.87%, #FFFFFF 47.65%); background-size: cover; } &.bgBlock2 { background: url('@/assets/business_firekeynotearea/keyparts_bg.png') no-repeat center center, linear-gradient(170.5deg, #F5F7FF 6.87%, #FFFFFF 47.65%); background-size: cover; } &.bgBlock3 { background: url('@/assets/business_firekeynotearea/keyparts_bg.png') no-repeat center center, linear-gradient(170.5deg, #F5F7FF 6.87%, #FFFFFF 47.65%); background-size: cover; } &.bgBlock4 { background: url('@/assets/business_firekeynotearea/keyparts_bg.png') no-repeat center center, linear-gradient(170.5deg, #F5F7FF 6.87%, #FFFFFF 47.65%); background-size: cover; } &.bgBlock5 { background: url('@/assets/business_firekeynotearea/keyparts_bg.png') no-repeat center center, linear-gradient(170.5deg, #F5F7FF 6.87%, #FFFFFF 47.65%); background-size: cover; } .blockLeft { width: 60%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 15px; padding-left: 20px; gap: 15px; .blockTitle { font-family: PingFang SC; font-weight: 400; font-size: 12px; color: #333333; line-height: 1.2; } .blockNumber { font-family: PingFang SC; font-weight: 700; font-size: 24px; color: #333333; line-height: 1.2; } .blockChange { font-family: PingFang SC; font-weight: 400; font-size: 12px; color: #1269FF; line-height: 1.2; display: flex; align-items: center; gap: 4px; .arrow { font-size: 14px; font-weight: bold; } .checkIcon { font-size: 16px; color: #1269FF; } } } .blockRight { flex: 1; height: 100%; background-color: transparent; border-radius: 0 4px 4px 0; display: flex; align-items: center; justify-content: center; .blockImage { // width: 80%; height: 65%; // height: 80%; object-fit: contain; margin-right: -5px; } } } } } } .RcontainerBottom { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; .sectionContent { flex: 1 1 0; min-height: 0; display: flex; flex-direction: row; gap: 10px; padding: 0; .leftBlock { width: calc(100% - 28% - 10px); height: 100%; background-color: #fff; padding: 0; display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; .tableHeader { display: flex; justify-content: space-between; align-items: center; padding: 8px 15px 5px 15px; .tableTitle { display: flex; align-items: center; gap: 8px; font-family: PingFang SC; font-weight: 500; font-size: 14px; color: #333333; .titleIcon { width: 3px; height: 16px; background-color: #2E4CD4; } } .tableActions { display: flex; gap: 8px; margin-top: 5px; .actionButton { display: flex; align-items: center; gap: 4px; height: 28px; border: 1px solid #DFE4F6; border-radius: 4px; color: #2E4CD4; font-weight: 500; font-size: 12px; padding: 0px 8px; background: transparent; cursor: pointer; transition: all 0.2s ease; &:hover { background-color: #f0f2ff; border-color: #2E4CD4; } &:active { background-color: #e6ebff; } .buttonIcon { font-size: 14px; font-weight: bold; } } } } .tableContainer { flex: 1; overflow: hidden; margin: 10px 15px 0 15px; // 上边距10px,左右边距15px :global(.ant-table) { font-size: 12px; } :global(.ant-table-thead > tr > th) { background-color: #f5f5fa; font-weight: 500; font-size: 14px; color: #333333; border-bottom: 1px solid #f0f0f0; padding: 8px 12px; text-align: center; } :global(.ant-table-tbody > tr > td) { padding: 8px 12px; border-bottom: 1px solid #f0f0f0; text-align: center; color: #666666; } :global(.ant-table-tbody > tr:hover > td) { background-color: #f5f5f5; } :global(.ant-pagination) { margin-top: 16px; text-align: right; } } } .rightBlock { width: 28%; flex-shrink: 0; height: 100%; background: #fff; padding: 0 15px 0 15px; display: flex; flex-direction: column; gap: 10px; min-width: 260px; .leftBlockTitle { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: PingFang SC; font-weight: 500; font-size: 14px; color: #333333; margin-bottom: 10px; .titleIcon { width: 3px; height: 16px; background-color: #2E4CD4; } } } } } }