123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- .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;
- }
|