/* 公用的 */ html { color: #333; } .layui-fluid { padding: 15px; } .layui-layer-btn a { margin: 0 5px 0 !important; } .ui-required:before { content: "*"; color: red; vertical-align: middle; } /* 滚动条 */ /* ::-webkit-scrollbar-thumb { background-color: rgba(50, 50, 50, 0.6) } ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); background-color: #f5f5f5; } ::-webkit-scrollbar { width: 6px; height: 6px; background-color: #f5f5f5; } */ /* 表格 */ .layui-table, .layui-table-view { margin-top: 0; } .layout-header .layui-form-item { margin-bottom: 0; } .layout-header .layui-form-item .layui-inline:first-child { width: 40%; } .layout-header.layui-card-header { padding: 0 0 5px; height: auto; } .layout-body.layui-card-body { padding: 0 0; } .search-icon { position: absolute; left: 10px; top: 50%; transform: translate(0, -50%); } .search-icon+input { padding-left: 35px; } .imgBox { height: 190px; overflow: hidden; border: 1px solid #ddd; } .imgBox img { max-width: 100%; } #detailBox { padding: 20px; background-color: #f2f2f2; } #detailBox .layui-card-header { border-left: 4px solid #009688; font-weight: bold; } #detailBox .layui-card-body ul li { padding: 5px; display: flex; align-items: center; } #detailBox .layui-card-body ul li span { flex: 1; } #detailBox .layui-card-body ul li img{ width: auto; max-height: 250px; vertical-align: text-top; } #detailBox .layui-card-body ul li span img { width: auto; max-width: 400px; max-height: 300px; vertical-align: text-top; } #detailBox .layui-card-body ul li span:first-child { flex: 1.5; } .layui-btn-container .counter { font-size: 14px; line-height: 38px; float: right; color: #FF5722 } .date-btn { position: relative; padding: 0 15px; } .date-btn .layui-icon { font-size: 26px; margin-right: 0; } .date-btn .dateClass { position: absolute; left: 0; right: 0; width: 100%; height: 100%; opacity: 0; } .chart-box { margin-top: 30px; } .goodsTotal { text-align: center; padding: 15px; border: 1px solid #ECECEC; margin: 15px 0 0; } .goodsTotal>div { border-right: 1px solid #ECECEC; } .goodsTotal>div:last-child { border: none; } .goodsTotal span { font-size: 28px; } .goodsTotal p { font-size: :16px; margin-top: 5px; } @media screen and (max-width: 450px) { .layout-header .layui-form-item .layui-inline { width: auto !important; } }