/*一般公用样式*/ ::-webkit-scrollbar { width: 0; } /*让页面平滑滚动*/ body { scroll-behavior: smooth; margin: 0; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; -khtml-user-select: none; user-select: none; } p { margin: 0; padding: 0; } /*表格公用样式*/ table { /*设置相邻单元格的边框间的距离*/ border-spacing: 0; /*表格设置合并边框模型*/ border-collapse: collapse; display: table; width: 100%; border: 1px solid #d9e1ec; box-sizing: border-box; table-layout: fixed; } tr, td { border: 1px solid #d9e1ec; text-align: center; } td { padding: 1vh 0; overflow: hidden; text-overflow: ellipsis; word-break: break-all; box-sizing: border-box; } /*头部统计远离边界*/ .statistics { width: 100%; margin: 0 auto; } .statistics ul { list-style: none; margin: 0; padding: 0; } .statistics li { text-align: center; color: #4b5162; padding: 1vh 0; } /*题头的字体颜色*/ .table_title { color: #4b5162; } /*头部统计*/ .flex_between { display: flex; display: -webkit-flex; justify-content: space-between; -webkit-justify-content: space-between; } /*优化表格样式*/ .table_column { border: 1px; } .table_column td { color: #3d4f5e; background: linear-gradient(#f8fcff, #def2ff); border-color: #d9e1ec; } .content { display: block; overflow: scroll; table-layout: fixed; -webkit-overflow-scrolling: touch; height: 100px; } .table_content, .table_content tr:first-child, .table_content tr:first-child td { border-top: 0; } .table_content td { color: #4b5162; border-color: #d9e1ec; } .table_content tr:nth-child(odd) { background: #fff; } .table_content tr:nth-child(even) { background: #f7fbff; } .none { display: none; } .visibility-hidden { visibility: hidden; } /*选择序号进行跳转*/ .table-serial-btn { width: 40px;; height: 40px; border-radius: 40px; font-size: 0.8rem; background: #157dfe; color: #fff; opacity: 0.5; outline: none; border: 0; position: fixed; margin-bottom: 1rem; margin-right: 1rem; bottom: 0; right: 0; } .serial-menu { width: 100%; } .serial-content { width: 90%; margin: 5px auto; display: flex; justify-content: space-between; flex-wrap: wrap; } .serial-btn { width: 80px;; height: 40px; font-size: 1rem; background: #157dfe; color: #fff; border-radius: 1rem; margin-bottom: 1rem; outline: none; border: 0; } .serial-box { width: 60%; margin-left: 20%; display: flex; display: -webkit-flex; justify-content: space-between; -webkit-justify-content: space-between; position: fixed; bottom: 0; } .serial-box .cancel { width: 30%; background: #f1f1f1; color: #939393; font-size: 0.8rem; padding: 0.6rem 0; } .serial-box .determine { width: 30%; background: #157dfe; color: #fff; font-size: 0.8rem; padding: 0.6rem 0; }