@import "~@/mixins.less"; @margin-top: 10px; @border-radius: 5px; // 标题小图标函数 .icon(@url: '', @width: 20px, @height: 20px) { content: ""; display: inline-block; width: @width; height: @height; position: absolute; top: 50%; left: 0; margin-top: -(@height / 2); background-image: url(@url); } .tasksBox { overflow: hidden; :global { .tasksBg { padding: 15px; background-color: #fff; } .marginTop { margin-top: @margin-top; } h2, h3 { font-weight: bold; font-size: 18px; line-height: 25px; color: #1890FF; margin-bottom: 0; position: relative; } .tasksTable { height: 470px; border-radius: @border-radius; .table { height: 375px; .operate-bar { .flex(center, center); } } .tableSearch { .flex(center, flex-end); margin-top: 20px; .ant-input-affix-wrapper { width: 260px; margin: 0 10px; height: 40px; } .ant-btn { height: 40px; width: 74px; border-radius: 5px; } } } .taskIssue { .flex(center); flex-wrap: wrap; height: 200px; border-radius: @border-radius; h2 { padding-left: 30px; &::before { .icon('../assets/taskIssue.png') } } .taskBtn { margin-left: 10px; border-radius: 20px; display: flex; align-items: center; height: 32px; font-size: 16px; &.ant-btn.ant-btn-background-ghost { color: #40a9ff; border-color: #40a9ff; &:hover, &:focus { color: #fff; border-color: #40a9ff; background: #40a9ff; } } &.ant-btn-primary { &:hover, &:focus { border-color: #1890FF; background: #1890FF; } } } .componentBox { width: 100%; p { margin-bottom: 0; border: 1px solid #AAAAAA; border-top: 0; font-size: 18px; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; &:first-child { border-top: 1px solid #AAAAAA; } &:nth-child(odd) { background-color: #EEEEEE; } span { font-weight: bold; } } } .ant-carousel { .size(); .slick-slider, .slick-list, .slick-track, .slick-slide, .slick-slide>div { .size(); } .slick-dots { bottom: 0; li { width: 8px; height: 8px; border-radius: 50%; button { width: 8px; height: 8px; border-radius: 50%; background-color: #666; } } } } .tasksCarousel { height: calc(100% - 8px); h2 { padding-left: 30px; font-size: 22px; &::before { .icon('../assets/annunciate.png') } } p { margin-top: @margin-top; line-height: 28px; font-size: 18px; } } } .taskInfo { border-radius: @border-radius; h2 { width: 100%; margin-bottom: 14px; margin-left: 5px; padding-left: 30px; &::before { .icon('../assets/taskInfo.png') } } .taskInfoBox { height: 100px; .leftBox, .centerBox { .flex(center); padding: 10px; background: #DCE2E8; .size(); } .centerBox { .timeBox { &:nth-child(2) { width: calc(25% - 55px); h3, p { font-size: 20px; color: #1890FF; } } width: calc(37.5% - 55px); margin-left: 10px; p { font-size: 16px; } .bothEndsAlign { .flex(center); p { text-align: justify; text-align-last: justify; width: 120px; font-weight: bold; } span { font-size: 16px; font-weight: bold; } } } } img { width: 32px; height: 32px; border-radius: 50%; margin-right: 20px; } h3 { color: #333; } p { line-height: 30px; margin-bottom: 0; font-size: 18px; } } } } } .taskConfirmModal { .size(100%, 100px); font-size: 22px; font-weight: bold; padding: 10px 20px 0 20px; } .pauseTitle { color: #1890FF; font-size: 18px; } .pauseReason { .size(100%, 100px); :global { textarea { border: 1px solid #AAA !important; } .ant-form-item[class*="formItemMargin"] { border: 1px solid #AAA !important; } } } .btnWg { background-color: #4899d0; border-color: #4899d0; width: 90px; height: 36px; border-radius: 5px; font-size: 20px !important; font-weight: bold; .flex(center, center); &:hover, &:active { background-color: #4899d0; border-color: #4899d0; } } .btnZt { background-color: #FAAD14; border-color: #FAAD14; width: 90px; height: 36px; border-radius: 5px; font-size: 20px !important; font-weight: bold; .flex(center, center); &:hover, &:active { background-color: #FAAD14; border-color: #FAAD14; } } .statusBtn { position: absolute; top: 26px; right: 0; } .machineStatus { .size(100vw, 100vh); margin-top: -20px; padding: 0; // background-image: url(@/mes/login/asstes/login.png); // background-size: 100% 100%; // cursor: none; :global { // * { // cursor: none; // } .ant-message-notice-content, .ant-message-custom-content { background: transparent; box-shadow: none; padding: 0; margin: 0; .size(); .anticon-check-circle { display: none; } >span { display: block; position: relative; .size(); } } } } // .machineStatusContent { // position: absolute; // right: 0; // top: 0; // .size(1076px, 100%); // .flex(flex-start, center); // padding-left: 160px; // flex-direction: column; // text-align: left; // color: #FFF; // :global { // .conent1 { // font-size: 64px; // } // .conent2 { // font-size: 160px; // font-weight: bold; // } // .conent3 { // font-size: 36px; // } // .conent4 { // font-size: 36px; // } // .conent5 { // margin-top: 80px; // font-size: 36px; // } // .conent6 { // font-size: 64px; // } // .conent7 { // display: flex; // gap: 24px; // position: absolute; // right: 24px; // top: 24px; // } // } // } .statusDropdown { font-size: 20px; } // .ztwwwww{ // pointer-events: none; // :global{ // [role="dialog"]{ // height: 100vh; // width: 100vw; // top: 0px; // padding: 0; // } // .ant-modal-content{ // height: 100%; // } // .ant-modal-body{ // // background-image: url(@/mes/login/asstes/login.png); // // background-size: 100% 100%; // height: calc(100% - 37.1px); // padding: 0 !important; // } // } // } // .notwwwww{ // pointer-events: none; // } // .modalBoxStyle{ // background-image: url(@/mes/login/asstes/login.png); // background-size: 100% 100%; // height: 100%; // width: 100%; // position: relative; // }