@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; } .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; .pharmacy-logo { width: 221px; background-color: #0f2e3b; display: flex; justify-content: center; align-items: center; .pharmacy-logo__img { width: 32px; } .pharmacy-logo__name { font-size: 14px; color: #fff; } } .pharmacy-name { flex: 1; border-right: 1px solid #e5e9ed; display: flex; justify-content: space-between; align-items: center; .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; } } .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 { display: none; width: 336px; height: 100%; float: right; padding: 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; 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; .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: default; } &.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; .pharmacy-main__selectionItem { display: flex; justify-content: space-between; padding: 0 8px; .moreContent{ width: 150px; display: flex; justify-content: flex-end; text-align: justify; &.left{ justify-content: flex-start; } } span { color: #666; font-size: 12px; } 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; } } } } }