UNPKG

tplus-pos

Version:

pos module

394 lines (340 loc) • 11.3 kB
.VoucherPattern { height:calc(~'100%-10px'); background: #EAEBED; margin-top: 10px; overflow: hidden; .opera span { color: #00A0E9 } .voucher-header { display : flex; margin : 0 auto; padding : 0; background : #FFFFFF; border-bottom: 3px solid #FF8C25; height : 58px; line-height : initial; width: 100%; .voucher-header_field { float : left; display: block; } .voucher-header_introField { height: 100%; .ant-avatar { display: block; float : left; height : 32px; width : 32px; svg { height: 24px; width : 24px; } } >div { float: left; } .voucher-header_introField_detail { margin-left: 8px; line-height: 16px; } padding:16px } .header_member { display : flex; border-right: 8px solid #EAEBED; .MemberContainer { height: auto; } } .header_search { display: flex; align-items: center; padding-left:20px; width: 100%; .keyboard { width: 50%; .u-input-group-btn { width : 20px; line-height: 32px; right : 12px !important; .product-jianpan, .product-saomiao { color : #666; font-size: 20px; } } input { width: 100%; height: 32px; line-height: 32px; background : #F4F4F4; border-color: #999999 !important; &:focus { border-color: #999999 !important; } } } .dropdownPanel { position : absolute; top : 32px; left : 0; width : 500px; height : 200px; background : #FFFFFF; -moz-box-shadow : 1px 1px 3px #333333; -webkit-box-shadow: 1px 1px 3px #333333; box-shadow : 1px 1px 3px #333333; border-bottom-right-radius:4px; border-bottom-left-radius: 4px; overflow: auto; cursor: default; z-index : 90; .item { height : 32px; line-height : 32px; padding:0 10px; display: flex; >div { overflow : hidden; white-space : nowrap; text-overflow: ellipsis; } } .select { color : #FF8C25; background: fade(#FF8C25, 20%) } .item:hover { color: #FF8C25; background: fade(#FF8C25, 20%) } .empty{ display: flex; justify-content: center; align-items: center; height: 100%; span{ display: block; color: #999999; } } } .shade{ position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index : 80; } } } .voucher-body { .touchTable { .u-table { height: 100% !important; .u-table-content { height: 100%; .u-table-scroll{ height: 100%; >div:first-child { height: 100%; .u-table-thead>tr>th { border-right: 1px solid #E6E6EB; text-align: center; .u-table-thead-th-drag-gap:hover .online{ background: #999; width: 2px; } } .u-table-body { height: 100%; max-height: calc(~"100% - 41px") !important; .u-table-tbody .u-table-row-holdEmpty>td { height : 1px; border-bottom: 0px !important } } } .u-table-placeholder{ position: absolute; top: 40px; left: 0; right: 0; padding: 0; height: calc(~"100% - 45px") !important; .defaultContainer{ height: 100% !important; } } } .u-table-fixed-left { height: 100%; >div:first-child { height: 100%; .u-table-thead>tr>th { border-right: 1px solid #E6E6EB; } .u-table-body-outer { height: 100%; .u-table-body-inner { height : 100%; max-height: calc(~"100% - 41px") !important; } } } } .u-table-fixed-right { height: 100%; >div:first-child { height: 100%; .u-table-body-outer { height: 100%; .u-table-body-inner { height : 100%; max-height: calc(~"100% - 41px") !important; } } } } } } } .voucher-table { background: #FFFFFF; .u-table-header { margin-bottom: 0 !important; } } .voucher-RetailDetails { height : 90px; position: absolute; bottom : 0; .voucher-RetailDetails-content { -webkit-overflow-scrolling: touch; width : 100%; margin-top : 5px; height : 85px; overflow : auto; box-shadow : 0px -5px 5px #E6E6EB; } .u-title { margin-bottom: 6px; } .left { display : inline-block; color : #000; font-weight: bold; margin-left: 15px; font-size : 16px; } .left2 { display : inline-block; margin-left: 15px; font-size : 14px; } width :100%; background-color: #f4f4f4; .u-row { margin: 0; } .col { overflow : hidden; display : block; text-overflow: ellipsis; white-space : nowrap; font-size : 14px; line-height : 24px; .title { margin-right: 8px; } } } td { border: none !important; } } .voucher-footer { padding : 0px 0px; height : 60px; background-color: #fff; border-top : solid 1px #ddd; box-shadow : none; display : flex; .left { width: 430px; .btn-container { height: 100%; display : flex; align-items : center; justify-content: space-between; padding : 0 27px; background : #FFFFFF; .action-btn { .footer-btn-common; } } } .right { width: calc(~"100% - 400px") } } .footer-btn-common { background : white !important; border : 1px solid #FF8C25; border-radius: 4px; font-family : PingFang-SC-Medium; font-size : 16px; color : #FF8C25; line-height : 22px; height : 40px; width : 82px !important; padding-left : 0; padding-right: 0; } #leftBottom[role=tooltip] { transform: translateX(12px); border : none; width : 400px !important; .tooltip-inner { max-width: 400px; width : 400px; padding : 0px 0px; border : none !important; } } .arrow { bottom: -10px !important; } .arrow:after { bottom: 0px !important; } .moreButtonPopover { .tooltip-arrow{ right: 60px !important; } .u-popover-content { padding: 0 0 !important; .overlayWrapped { width : 398px; z-index : 800; background-color: #fff; display : flex; flex-wrap : wrap; align-items : center; justify-content : space-between; padding : 12px 12px 0px 12px; background : #FFFFFF; border-radius : 4px; box-shadow : 0 2px 8px 0 #666; .action-btn { .footer-btn-common; border : 1px solid #999999; border-radius: 4px; color : #333333; } } } } }