table.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. @import "../../styles/index.scss";
  2. .table{
  3. @include wh(calc(100%),auto);
  4. box-sizing: border-box;
  5. background: #010E11;
  6. border-radius: 9px;
  7. border: 1px solid #29AAAE;
  8. .title{
  9. @include wh(100px,26px);
  10. line-height: 26px;
  11. font-size: 16px;
  12. font-weight: bold;
  13. padding: 5px;
  14. }
  15. .thead{
  16. min-height: rpx(50);
  17. display: flex;
  18. border-bottom: 1px solid #009a8c;
  19. box-sizing: border-box;
  20. color: #e6e6e6;
  21. .th{
  22. @include wh(calc(33% - 20px),rpx(50));
  23. line-height: rpx(50);
  24. text-align: center;
  25. border-right: 1px solid #009a8c;
  26. box-sizing: border-box;
  27. background-color: #009a8c40;
  28. }
  29. .th:first-child{
  30. border-top-left-radius: 5px;
  31. }
  32. .tools {
  33. @include wh(calc(1% + 60px), rpx(50));
  34. line-height: rpx(50);
  35. text-align: center;
  36. background-color: #009a8c40;
  37. border-top-right-radius: 5px;
  38. }
  39. .notopborder{
  40. border-top: none;
  41. }
  42. }
  43. .tbody{
  44. @include wh(100%,auto);
  45. .row{
  46. display: flex;
  47. color: #009a8c;
  48. border-bottom: 1px solid #009a8c;
  49. box-sizing: border-box;
  50. .col{
  51. @include wh(calc(33% - 20px),rpx(60));
  52. line-height: rpx(60);
  53. border-right: 1px solid #009a8c;
  54. text-align: center;
  55. box-sizing: border-box;
  56. .com{
  57. float: left;
  58. width: calc(100% - 35px);
  59. border: none;
  60. padding: 0px;
  61. color: #009a8c;
  62. background-color: transparent;
  63. line-height: rpx(60);
  64. }
  65. .prefix{
  66. float: left;
  67. width: 35px;
  68. }
  69. }
  70. .tools{
  71. @include wh(calc(1% + 60px),rpx(60));
  72. line-height: rpx(60);
  73. text-align: center;
  74. .item-btn{
  75. float: left;
  76. margin: rpx(15) 0px rpx(15) rpx(15);
  77. @include wh(rpx(30),rpx(30));
  78. border-radius: 50%;
  79. background-color: red;
  80. box-sizing: border-box;
  81. line-height: rpx(26);
  82. text-align: center;
  83. color: white;
  84. font-weight: bold;
  85. cursor:pointer;
  86. }
  87. }
  88. .notopborder{
  89. border-top: none;
  90. }
  91. }
  92. .row:last-child{
  93. border-bottom: 0px solid #009a8c;
  94. box-sizing: border-box;
  95. }
  96. }
  97. }
  98. .my-select{
  99. margin: 0px 5px 0px 5px;
  100. background-color: transparent;
  101. border: none;
  102. color: #009a8c;
  103. width: calc(100% - 5px - 5px);
  104. line-height: rpx(60);
  105. .my-option{
  106. color: #009a8c;
  107. background-color: transparent;
  108. border: none;
  109. line-height: rpx(60);
  110. }
  111. }