index.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. page{
  2. background: #fff;
  3. }
  4. .wrapper {
  5. padding: 50rpx 50rpx;
  6. }
  7. .black{
  8. width: 100%;
  9. height: 100%;
  10. }
  11. .black::after{
  12. content:'';
  13. width: 100%;
  14. height: 470rpx;
  15. opacity: 0.5;
  16. z-index: 1;
  17. background-color: #000;
  18. position: absolute;
  19. top:0rpx;
  20. left: 0rpx;
  21. }
  22. .headerTitle{
  23. display:flex;
  24. flex-direction: column;
  25. justify-content:center;
  26. align-items:center;
  27. }
  28. .title {
  29. font-size: 50rpx;
  30. margin-bottom: 30rpx;
  31. color: #333;
  32. }
  33. .flex {
  34. display: flex;
  35. flex-wrap: wrap;
  36. }
  37. .flex-item {
  38. position: relative;
  39. width: 200rpx;
  40. justify-content: flex-start;
  41. }
  42. .flex-item::after {
  43. content: '';
  44. position: absolute;
  45. top: 20rpx;
  46. right: 12rpx;
  47. z-index: -1;
  48. width: 140rpx;
  49. height: 140rpx;
  50. border: 1px solid #ddd;
  51. border-radius: 8rpx;
  52. background-color: #efefef;
  53. }
  54. .flex-item::before{
  55. content: '';
  56. position: absolute;
  57. top: 35rpx;
  58. right: 2rpx;
  59. z-index: -1;
  60. width: 160rpx;
  61. height: 110rpx;
  62. border: 1px solid #ddd;
  63. border-radius: 8rpx;
  64. background-color: #efefef;
  65. }
  66. .img {
  67. width: 180rpx;
  68. height: 180rpx;
  69. }
  70. .img image {
  71. width: 100%;
  72. height: 100%;
  73. border: 1px solid #ddd;
  74. border-radius: 8rpx;
  75. }
  76. .txt {
  77. width: 190rpx;
  78. text-align: left;
  79. font-size: 28rpx;
  80. font-weight: 800;
  81. margin: 16rpx 0 40rpx;
  82. color: #666;
  83. overflow: hidden;
  84. text-overflow: ellipsis;
  85. display: -webkit-box;
  86. -webkit-line-clamp: 2;
  87. -webkit-box-orient: vertical;
  88. }
  89. .none {
  90. text-align: center;
  91. transform: translateY(50%);
  92. }
  93. .none-img {
  94. width: 200rpx;
  95. height: 200rpx;
  96. }
  97. .none-txt {
  98. font-size: 50rpx;
  99. color: #bfbfbf;
  100. }
  101. .none-btn {
  102. width: 250rpx;
  103. margin: 20rpx auto;
  104. }
  105. .mr-25 {
  106. margin-right: 25rpx;
  107. }