.subCount-page { width: 100%; height: 100%; display: flex; flex-direction: column; } .subCount-main-content { margin: 20px; flex: 1; } .subCount-main { background: #fff; padding: 0 14px; } .tab-list { justify-content: space-between; /* padding-top: 13px; */ height: 52px; align-items: center; border-bottom: 1px solid #DFE2E6; } .addNewBtn { width: 121px; display: flex; flex-direction: row; justify-content: center; align-items: center; /* padding: 7px 12px; */ height: 32px; border-radius: 3px; opacity: 1; height: 32px; border: none; background: #006AFF; font-weight: normal; line-height: normal; letter-spacing: 0.08em; color: #FFFFFF; } .addNewBtn img { margin-right: 8px; } table { width: 100%; margin-top: 20px; border-collapse: collapse; border-width: 0px 1px 0px 1px; border-color: #eee; border-style: solid; } th, td { border: 1px solid #ddd; border-width: 1px 0px 1px 0px; padding: 8px; text-align: left; color: #1E2226; } tr:hover { background-color: #F6F7FA; } .action-icon { display: none; cursor: pointer; margin: 0 5px; } tr:hover .action-icon { display: inline-block; } /* 表格 */ #dataTable tr { /* display: flex; */ } #dataTable td { /* display: flex; */ border-color: #EAECF0; padding: 18px 16px; line-height: 18px; } #dataTable th { min-width: 142px; /* 自动布局 */ /* display: flex; */ align-items: center; padding: 19px 16px; /* middle/middle_grey_1 */ background: #F6F7FA; /* middle/middle_line_2 */ border-width: 1px 0px 1px 0px; border-style: solid; border-color: #EAECF0; } .popover { display: none; position: absolute; /* border: 1px solid #ccc; */ padding: 32px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 1000; border-radius: 4px; background: #FFFFFF; } .popover::after { content: ''; position: absolute; bottom: -7px; left: 50%; width: 0; height: 0; margin-left: -5px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #fff; } .popover input { border-radius: 2px; background: #FFFFFF; border: 1px solid #DFE2E6; padding: 10px 12px; width: 252px; box-sizing: border-box; line-height: 18px; margin-left: 22px; margin-bottom: 32px; } .switch { position: relative; display: inline-block; width: 40px; height: 20px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #BABDC2; transition: 0.4s; border-radius: 34px; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 2px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked+.slider { background-color: #00C261; } input:checked+.slider:before { transform: translateX(19px); } #confirmBtn, #cancelBtn { width: 96px; height: 38px; display: flex; flex-direction: column; justify-content: center; align-items: center; /* padding: 10px 33px; */ line-height: 18px; border-radius: 2px; background: #006AFF; letter-spacing: 0.08em; color: #fff; margin-left: 20px; cursor: pointer; } #cancelBtn { color: #23242B; background: #FFFFFF; box-sizing: border-box; /* middle/middle_line_1 */ border: 1px solid #DFE2E6; } /* 弹框样式 */ .addChildNumWrap { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(544px - 156px); padding: 32px 78px; max-height: 650px; overflow-y: auto; background: #fff; border-radius: 6px; opacity: 1; background: #FFFFFF; box-shadow: 0px 4px 16px 0px rgba(17, 55, 143, 0.12); z-index: 1000; } .addChildNumWrap h3 { text-align: center; font-size: 20px; margin: 0; font-weight: bold; line-height: 26px; letter-spacing: 0.08em; color: #1F2026; } .temImg{ width: 220px; margin: 24px auto 12px; display: flex; justify-content: center; } .addChildNumWrap p { justify-content: center; } .btnGroups { margin-top: 32px; justify-content: center; align-items: center; } .name-top { width: 100%; text-align: left; } .name-input { box-sizing: border-box; margin: 12px 0 0px; width: 100%; padding: 10px 12px; border-radius: 4px; background: #FFFFFF; /* middle/middle_line_1 */ border: 1px solid #DFE2E6; } .code-filter{ width: 220px; height: 220px; opacity: 1; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(2px); position: absolute; cursor: pointer; top: 82px; left: 162px; } .code-filter img{ margin-bottom: 6px; }