.ant-table-tbody tr:nth-of-type(2n){ background-color: #e9f7e9!important; } .ml8 { margin-left: 8px !important; } .mb8 { margin-bottom: 8px !important; } .mr8 { margin-right: 8px !important; } .mt8 { margin-top: 8px !important; } .ml16 { margin-left: 16px !important; } .line_height_normal{ line-height: normal !important; } .w100 { width: 100% !important; } .w135 { width: 135px !important; } .wp75 { width: 75% !important; } .wp60 { width: 60% !important; } .wp20 { width: 20% !important; } .dib { display: inline-block !important; } .red { color: #d81e06 !important; } .green { color: #49b856 !important; } .text_align_center{ text-align: center !important; } // 加载中 .loadingFull { height: 100%; text-align: center; } .loading-css { width: 50px; /*先将loading区域变成正方形*/ height: 50px; display: inline-block; /*将loading区域变成行内元素,防止旋转的时候,100%宽度都在旋转*/ border: 3px solid #f3f3f3; /*设置四周边框大小,并将颜色设置为浅白色*/ border-top: 3px solid red; /*将上边框颜色设置为红色高亮,以便旋转的时候能够看到旋转的效果*/ border-radius: 50%; /*将边框和内容区域都变成圆形*/ } .cur { cursor: pointer; } // flex布局 .display_flex { display: flex; } /*伸缩流方向*/ .flex-direction_column { flex-direction: column; } /** 垂直伸缩容器**/ .col-flex { flex-flow: column wrap; } /*主轴对齐*/ .justify-content_flex-center { justify-content: center; } .justify-content_flex-start { justify-content: flex-start !important; } .justify-content_flex-end { justify-content: flex-end; } .justify-content_space-between { justify-content: space-between; } .justify-content_space-around { justify-content: space-around; } .justify-content_space-evenly { justify-content: space-evenly; } /*侧轴对齐*/ .align-items_flex-start { align-items: flex-start; } .align-items_flex-end { align-items: flex-end; } .align-items_center { align-items: center; } .align-items_baseline { align-items: baseline; } .align-items_space-evenly { align-items: space-evenly; } /*伸缩性*/ .flex_auto { flex: auto; } .flex_1 { width: 0; flex: 1; } /*显示顺序*/ .order_2 { order: 2; } .order_3 { order: 3; } .flex-wrap { flex-wrap: wrap; } // button @lg-btn-height: 52px; @default-btn-height: 34px; @sm-btn-height: 28px; @mini-btn-height: 22px; .btn { border: 1px solid @primary-color; border-radius: 4px; color: #fff; cursor: pointer; &:focus { outline: none; } &.default { color: @primary-color; background: #fff; height: @default-btn-height; line-height: @default-btn-height; padding: 0 8px 24px; min-width: 80px; font-size: 14px; } &.ghost { color: #fff; background: linear-gradient(135deg, @bg-start, @bg-end); height: @default-btn-height; line-height: @default-btn-height; padding: 0 0 26px; min-width: 80px; font-size: 14px; } &.lg { height: @lg-btn-height; line-height: @lg-btn-height; } &.know { padding: 0 40px !important; } &.cancel { color: rgba(0, 0, 0, 0.25) !important; background: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.25); &:hover, &:focus { color: @primary-color !important; background: #fff; border-color: @primary-color; } } &[disabled] { color: rgba(0, 0, 0, 0.25); background: #f5f5f5; cursor: not-allowed; border: 1px solid rgba(0, 0, 0, 0.25); } .fl { float: left !important; } .fr { float: right !important; } .clearfixer :after { content: ""; display: block; clear: both; height: 0; } } // 可点击 .clickable{ text-decoration: underline; cursor: pointer } // list模板样式 start .list-template { padding: 8px; .list-template__content { .list-template__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; position: relative; overflow: hidden; z-index: 2; .list-template__searchBox { display: flex; align-items: center; flex-wrap: wrap; .list-template__searchItem { margin-bottom: 8px; .label { margin-left: 16px; color: #333; display: inline-block; width: 70px; text-align-last: justify; text-align: justify; &.label--big { width: 100px; } } .formItem { width: 135px; } } } .list-template__btns { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; row-gap: 8px; .dropdown{ position: relative; .dropdown-content { position: absolute; left: 8px; background-color: #fff; width: 80px; box-shadow: 0px 0px 4px 1px #D9D9D9; z-index: 999; border-radius: 4px; border: 1px solid rgba(0,0,0,0.15); color: rgba(0,0,0,0.65); } .dropdown-content .dropdownItem { padding: 4px 0; text-align: center; cursor: pointer; } .dropdown-content .dropdownItem:hover { background-color: #e9f7e9; } } } } .list-template__checkBoxes { height: 38px; border-top: 1px solid #e5e9ed; display: flex; align-items: center; } .list-template__chart { display: flex; .echarts{ flex: 1; margin-right: 8px; border: 1px solid #e8e8e8; margin-bottom: 8px; &:last-of-type{ margin-right: 0; } .echart-head{ height: 46px; padding: 0 24px; display: flex; align-items: center; font-size: 16px; font-weight: bold; position: relative; &:before{ content: ''; width: 10px; height: 10px; border-radius: 50%; background-color: @primary-color; position: absolute; top: 50%; left: 8px; transform: translateY(-50%); } } .echart{ height: 250px; } } } .list-template__bottom { background: #f9fafb; border: 1px solid #e5e9ed; border-radius: 8px; padding-bottom: 56px; position: relative; .list-template__nzTable { padding: 16px 16px 0; .thead { background-image: linear-gradient(to right, @bg-start, @bg-end); th { background: transparent; color: #fff; text-align: center; } } .ant-table-body { border-bottom: 1px solid #e5e9ed; } .ant-table-tbody { tr { text-align: center; color: #333; td { border: none; &.tab_hover:hover{ text-decoration: underline; cursor: pointer; } .coop { button{ color: #333; } span,button { display: inline-block; padding: 0 8px; cursor: pointer; position: relative; &::after { content: "|"; position: absolute; top: 0; right: 0; } &:hover, &:active { color: @primary-color; } &:nth-last-child(1) { &::after { content: ""; } } } } } } } } .list-template__pagination { height: 56px; display: flex; align-items: center; position: absolute; right: 8px; } } } } // list模板样式 end @keyframes arrow_move { /* 开始状态 */ 0% { left: 140px; } /* 结束状态 */ 100% { left: 150px; } } .wordBreak{ word-break: break-all; }