@import "../../../../src/theme.less"; :host { width: 100%; background-color: #f9fafb; .ant-btn[disabled] { color: rgba(0, 0, 0, 0.25) !important; background-color: #f5f5f5 !important; } .red { color: red !important; font-weight: bold !important; } .green { color: @primary-color!important; font-weight: bold !important; } h1, h2, h3, p { margin: 0; } em { font-style: normal; } /* 修改垂直滚动条 */ ::-webkit-scrollbar { width: 4px; /* 修改宽度 */ border-radius: 2px; } /* 修改滚动条轨道背景色 */ ::-webkit-scrollbar-track { background-color: #f1f1f1; } /* 修改滚动条滑块颜色 */ ::-webkit-scrollbar-thumb { background-color: #888; } /* 修改滚动条滑块悬停时的颜色 */ ::-webkit-scrollbar-thumb:hover { background-color: #555; } .pharmacy { display: flex; flex-direction: column; height: 100%; } // 头部 start .pharmacy-header { // height: 88px; background-color: #fff; border-bottom: 1px solid #e5e9ed; box-sizing: border-box; display: flex; color: #000; .pharmacy-logo { width: 100px; background-color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; .pharmacy-logo__img { max-width: 100%; max-height: 50%; } .pharmacy-logo__name { font-size: 14px; color: @primary-color; margin-top: 8px; } } .pharmacy-name { flex: 1; // border-right: 1px solid #e5e9ed; display: flex; // justify-content: space-between; align-items: center; width: 60%; justify-content: center; position: relative; .pharmacy-name__title { font-size: 22px; color: #333; margin-left: 43px; line-height: 87px; .currentDate { margin-left: 24px; font-size: 16px; } } .pharmacy-name__total { margin-right: 16px; font-size: 16px; display: flex; .pharmacy-title{ width: 170px; font-weight: 600; font-size: 22px; } } .error-class{ color: red; } .right-btn{ position: absolute; right: 10px; } } .pharmacy-operate { width: 211px; display: flex; justify-content: center; align-items: center; position: relative; .pharmacy-operatePop { cursor: pointer; border: 1px solid #e5e9ed; background-color: #fff; position: absolute; left: 0; top: 100%; width: 100%; height: 34px; line-height: 34px; text-align: center; font-size: 14px; color: @primary-color; } &:after { content: ""; display: block; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid #666; } .pharmacy-operate__img { max-height: 40px; margin-right: 8px; } .pharmacy-operate__title { font-size: 20px; color: #666; padding-right: 24px; cursor: pointer; } } } .userInfo { width: 260px; height: 100%; padding: 8px 36px 8px 8px; box-sizing: border-box; font-size: 14px; border-left: 1px solid #e5e9ed; .wel { line-height: 15px; } .user { font-size: 20px; height: 36px; display: flex; justify-content: center; align-items: center; line-height: normal; img { height: 100%; margin-right: 8px; } } .userInfo-wrap { display: flex; justify-content: flex-end; .logOut { display: inline-block; text-align: right; color: @primary-color; line-height: 20px; cursor: pointer; margin-right: 8px; } } } // 头部 end // 主体部分 start .pharmacy-main { height: calc(100vh - 88px); min-height: 680px; flex: 1; padding: 16px; display: flex; justify-content: space-between; .pharmacy-main__list { display: flex; flex-direction: column; background-color: #f9fafb; // flex: 1; width: 33%; // margin: 0 4px; box-sizing: border-box; border: 1px solid #e5e9ed; // 标题 start .pharmacy-main__title { height: 40px; background-color: #fff; font-size: 16px; color: #333; font-weight: 700; padding-left: 8px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5e9ed; .autoUpdate { font-size: 14px; color: #49b856; margin-right: 8px; } .pharmacy-main__printAll { // width: 80px; height: 28px; line-height: 28px; margin-right: 16px; background-color: @primary-color; font-size: 14px; color: #fff; border-radius: 4px; text-align: center; display: flex; justify-content: center; } } // 标题 end // 搜索框 start .pharmacy-main__search { padding: 8px; position: relative; border-bottom: 1px solid #e5e9ed; .pharmacy-main__searchInput { border-radius: 100px; padding-right: 82px; border: 1px solid #e5e9ed; background-color: #fff; overflow: hidden; input { border: none; } .ant-input:focus { border-color: #fff; outline: 0; box-shadow: 0 0 0 2px #fff; } .pharmacy-main__searchText { cursor: pointer; position: absolute; top: 13px; right: 8px; width: 74px; height: 22px; border-left: 1px solid #e5e9ed; color: #999; padding-left: 8px; box-sizing: border-box; span { color: @primary-color; margin-left: 8px; } } } } // 搜索框 end // 列表 start .pharmacy-main__selectionWrap { flex: 1; // height: 630px; overflow: auto; &:first-child { border-top: 1px solid #e5e9ed; } .pharmacy-main__selection { box-sizing: border-box; border-bottom: 1px solid #e5e9ed; display: flex; cursor: pointer; &.noPointer{ cursor: pointer; } &.pharmacy-main__selection--more { color: @primary-color; height: 34px; cursor: pointer; .pharmacy-main__selectionInfo { justify-content: center; align-items: center; flex-direction: row; .pharmacy-main__selection--icon { margin-right: 8px; } } } &.pharmacy-main__selection--noData { height: calc(100vh - 212px); min-height: 556px; display: flex; justify-content: center; align-items: center; img { width: 100px; } } .pharmacy-main__selectionInfo { padding: 8px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; width: 100%; .pharmacy-main__selectionItem { display: flex; justify-content: space-between; padding: 0 8px; margin-bottom: 5px; // &:nth-of-typespan(1){ // text-align: left; // } // &:nth-of-typespan(2){ // text-align: right; // } .weight{ font-weight: 500; .sign-red{ color: red; } } .moreContent{ width: 150px; display: flex; justify-content: flex-end; text-align: justify; &.left{ justify-content: flex-start; } } .text-left{ text-align: left; } .text-right{ text-align: right; } span { color: #666; font-size: 14px; width: 50%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; // flex: 1; } strong { color: #333; font-weight: 700; font-size: 14px; } } } .pharmacy-main__selectionPrint { width: 90px; display: flex; justify-content: center; align-items: center; border-left: 1px solid #e5e9ed; .pharmacy-main__selectionPrintBtn { width: 60px; height: 28px; line-height: 28px; border-radius: 4px; border: 1px solid @primary-color; color: @primary-color; text-align: center; cursor: pointer; } } } } // 列表 end } } // 主体部分 end // 右侧悬浮菜单 .fixed { position: fixed; top: 40%; right: 0; z-index: 99; border-radius: 5px 0 0 5px; .fixedMark { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); z-index: 88; } // overflow: hidden; & > .left { width: 480px; // height: 280px; float: left; background: #fff; padding: 16px; border-radius: 5px; border: 1px solid #e5e9ed; // box-shadow: -8px 5px 15px #eae9e9; position: relative; z-index: 98; .con { background: #f9fafb; width: 100%; height: 100%; border-radius: 5px; border: 1px solid #e5e9ed; padding: 16px 20px; &.tableCon { padding: 0; .table { font-size: 14px; tr { td { padding: 15px 6px; text-align: center; & > .tdiv { overflow: hidden; .name { float: left; } .num { float: right; font-size: 12px; span { color: @primary-color; font-size: 14px; } } } .notOpen { color: #666; font-size: 12px; img { margin-bottom: 8px; } } } } } } .title { color: #333; text-align: center; } .conditions { & > .ant-row { margin: 8px 0; .ant-row { .ant-col-6 { margin: 2px 0; } } .checkAll { width: 100%; border-bottom: 1px solid rgb(233, 233, 233); color: @primary-color; } } } .btns { padding: 5px 20px 0 20px; } } } .right { // opacity: .5; width: 80px; float: left; background: rgba(255, 255, 255, 0.5); border-radius: 5px 0 0 5px; position: relative; z-index: 98; .fixedMenu { border: 1px solid #e5e9ed; color: rgba(0, 128, 0, 0.5); background: rgba(255, 255, 255, 0.5); text-align: center; border-radius: 5px 0 0 5px; // box-shadow: -3px 4px 15px rgba(234, 233, 233, .5); &.hujiaozhongxin { margin-bottom: 5px; } .menuItems { .item { height: 35px; line-height: 35px; padding: 0 6px; cursor: default; border-bottom: 1px solid #e5e9ed; user-select: none; &.checked { background: #fff; color: #52ab77; opacity: 1; box-shadow: -3px 4px 7px #eae9e9; } } .others { transition: height 0.4s linear; overflow: hidden; } } .arrow { cursor: pointer; } } } } } // 新增 &.add { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 999; .modalBody { width: 40%; height: auto; padding: 10px 20px; border-radius: 5px; background: #fff; .title { width: 100%; text-align: center; font-size: 18px; position: relative; i { position: absolute; right: 0; top: 0; font-size: 20px; color: #666; cursor: pointer; padding: 0 5px; } } .content { width: 100%; // height: auto; padding: 15px 0px 0 0px; // max-height: 500px; // overflow-y: auto; .ant-select{ width: 100%; } .ant-form-item { margin-bottom: 14px; display: flex; flex-wrap: wrap; .ant-form-item-label { text-align: left; font-weight: 500; } .ant-form-item-control-wrapper{ .ant-form-item-control{ width: 400px; } } } .select-item{ margin-top: 5px; display: flex; flex-wrap: wrap; padding: 3px 8px; border: 1px solid #e5e9ed; border-radius: 5px; margin-right: 10px; cursor: pointer; display: inline-block; } .activeClass{ color: #64BD7B; border-color: #64BD7B; } } .bottom-btn{ margin-top: 10px; .btn-right{ margin-right: 10px; } } } .no-width{ width: 30% !important; } } .pathology-box { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 99; .width-80{ width: 80% !important; } .pathology-content{ width: 80%; background: #fff; border-radius: 5px; padding: 10px 20px; color: #000; .title { width: 100%; text-align: center; font-size: 18px; position: relative; i { position: absolute; right: 0; top: 0; font-size: 20px; color: #666; cursor: pointer; padding: 0 5px; } } .content{ width: 100%; background: #f9fafb; border: 1px solid #e5e9ed; border-radius: 5px; margin-top: 12px; display: flex; // .addForm{ // display: flex; .font-weight-500{ color: #000; font-weight: 500; } .ant-select{ width: 100%; } .content-item{ height: auto; max-height: 460px; overflow-y: auto; width: 78%; padding: 15px; .form-title-box{ display: flex; margin-bottom: 10px; .form-title{ color: #333; margin-right: 40px; } .mar-ri-20{ margin-right: 20px !important; } .width-150{ width: 150px; } .width-200{ width: 200px; } } .center{ text-align: center; padding: 10px 0; } .disp-fl{ display: flex; align-items: center; .width-120{ width: 85px; } .ant-input{ width: 300px; } } .error-fix{ margin-top: 10px; color: red; text-align: center; } .form-list{ margin-bottom: 10px; .specimen-list{ display: flex; flex-wrap: wrap; .specimen-item-class{ text-decoration: underline; cursor: pointer; margin-right: 40px; color:#333; } } .indent{ text-indent: 2ch; color: #333; } } .ant-form-item { margin-bottom: 14px; display: flex; flex-wrap: wrap; .ant-form-item-label { text-align: left; font-weight: 500; } .ant-form-item-control-wrapper{ .ant-form-item-control{ width: 400px; } } } .add-icon-class{ border: 1px solid #e5e9ed; border-radius: 3px; width: 26px; height: 26px; line-height: 26px; text-align: center; position: relative; top: 7px; cursor: pointer; .form-icon{ } } } .content-item-right{ width: 25%; height: auto; max-height: 460px; overflow-y: auto; padding: 10px; .step-title{ font-size: 16px; font-weight: 500; margin-bottom: 10px; } } .boder-right{ border-right: 1px solid #e5e9ed; } .specimen-item{ display: flex; margin-bottom: 10px; .specimen-icon{ color: #64BD7B; cursor: pointer; font-size: 20px; position: relative; top: -4px; left: 2px; } } // } } .bottom-btn{ margin-top: 10px; .btn-right{ margin-right: 10px; } } } } .mask-style{ width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 999; display: flex; background: rgba(0,0,0,0.2); align-items: center; justify-content: center; } .spin-style{ z-index:9999; } .look{ .save { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 999; .modalBody-ga{ width: 80% !important; .list-template__searchBox{ margin-top: 10px; } .ant-select{ width: 20%; } } .modalBody { width: 350px; background: #fff; border-radius: 5px; padding: 10px 20px; color: #333; .title { width: 100%; text-align: center; font-size: 18px; position: relative; i { position: absolute; right: 0; top: 0; font-size: 20px; color: #666; cursor: pointer; padding: 0 5px; } } .content { width: 100%; height: 117px; background: #f9fafb; border: 1px solid #e5e9ed; border-radius: 5px; overflow: hidden; margin-top: 12px; div { text-align: center; margin: 0; &.icon { margin-top: 17px; i { color: #34b349; font-size: 30px !important; &.transport-wenhao { color: #f5a523; } &.transport-shibai { color: #ff3a52; } } } &.defeat { color: #333; font-size: 18px; } &:nth-child(3) { font-size: 14px; color: #666; } } } button { margin-top: 10px; &.btn { margin-left: 8px; } } } // 新增 &.add { .modalBody { width: 420px; height: auto; .content { width: 100%; height: auto; padding: 19px 14px 0 14px; max-height: 500px; overflow-y: auto; .ant-select{ width: 100%; } .ant-calendar-picker{ width: 100% !important; } .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; } } .addForm { .ant-form-item { margin-bottom: 14px; .ant-form-item-label { line-height: 14px; text-align: left; } } } .editForm { .ant-form-item { margin-bottom: 14px; .ant-form-item-label { line-height: 0; text-align: left; } } } } button { &:nth-child(1) { margin-right: 20px; } } } } } }