123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505 |
- @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;
- }
- }
- }
- }
- }
|