index.module.scss 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. .Tab5 {
  2. background-color: #554a3e;
  3. padding: 10px 0 20px 20px;
  4. position: relative;
  5. :global {
  6. .tab5Top {
  7. height: 40px;
  8. display: flex;
  9. .tab5TopRow {
  10. height: 40px;
  11. line-height: 40px;
  12. color: #F0D99C;
  13. font-size: 18px;
  14. margin-right: 20px;
  15. }
  16. .tab5TopRowAc {
  17. color: #fff;
  18. font-weight: 700;
  19. position: relative;
  20. &::before {
  21. content: '';
  22. position: absolute;
  23. bottom: 6px;
  24. left: 0;
  25. width: 100%;
  26. height: 4px;
  27. background-color: #F0D99C;
  28. }
  29. }
  30. }
  31. .tab5Main {
  32. padding-top: 6px;
  33. margin-top: 10px;
  34. width: 100%;
  35. height: calc(100% - 50px);
  36. overflow-y: auto;
  37. padding-right: 20px;
  38. .tab5Row {
  39. border: 1px solid #F0D99C;
  40. border-radius: 6px;
  41. margin-bottom: 20px;
  42. position: relative;
  43. height: 240px;
  44. .tab5RowSon {
  45. position: absolute;
  46. top: -5px;
  47. left: -5px;
  48. width: 100%;
  49. height: 100%;
  50. border-radius: 6px;
  51. overflow: hidden;
  52. &::before {
  53. content: '';
  54. position: absolute;
  55. z-index: 10;
  56. top: 0;
  57. left: 0;
  58. width: 100%;
  59. height: 100%;
  60. background-color: rgba(0, 0, 0, .2);
  61. }
  62. &>p {
  63. z-index: 10;
  64. position: absolute;
  65. bottom: 0px;
  66. left: 0px;
  67. height: 40px;
  68. line-height: 40px;
  69. width: 100%;
  70. color: #fff;
  71. font-size: 16px;
  72. padding: 0 5px 0 15px;
  73. letter-spacing: 2px;
  74. background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. white-space: nowrap;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }