index.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. .single-item {
  2. display: inline-block;
  3. width: 350px;
  4. position: relative;
  5. border: 1px solid #E5E5E5FF;
  6. border-radius: 4px;
  7. background: #FBFBFBFF;
  8. .img {
  9. width: 100%;
  10. height: 250px;
  11. position: relative;
  12. background: #eee;
  13. padding-top: 10px;
  14. margin-bottom: 10px;
  15. .title {
  16. font-weight: 500;
  17. color: rgba(255, 255, 255, 1);
  18. line-height: 24px;
  19. font-size: 16px;
  20. margin-left: 15px;
  21. .tag {
  22. display: inline-block;
  23. font-size: 12px;
  24. color: #fff;
  25. width: 44px;
  26. height: 24px;
  27. background: rgba(104, 101, 253, 1);
  28. border-radius: 2px;
  29. text-align: center;
  30. margin-right: 5px;
  31. }
  32. }
  33. .left {
  34. position: absolute;
  35. bottom: 10px;
  36. left: 20px;
  37. color: #fff;
  38. font-size: 12px;
  39. span {
  40. margin-right: 10px;
  41. }
  42. }
  43. .right {
  44. position: absolute;
  45. right: 20px;
  46. bottom: 10px;
  47. color: #fff;
  48. font-size: 12px;
  49. }
  50. }
  51. .name {
  52. margin-bottom: 5px;
  53. padding-left: 15px;
  54. span {
  55. margin-right: 20px;
  56. color: #5E677BFF;
  57. }
  58. }
  59. .money {
  60. padding-left: 15px;
  61. color: #F09842FF;
  62. font-weight: 600;
  63. font-size: 20px;
  64. margin-bottom: 5px;
  65. }
  66. .action {
  67. padding: 0 15px;
  68. margin-bottom: 20px;
  69. overflow: hidden;
  70. .default.button {
  71. color: #4292F0;
  72. }
  73. }
  74. .buyed {
  75. position: absolute;
  76. bottom: 15px;
  77. left: 15px;
  78. }
  79. }
  80. .package-item {
  81. display: inline-block;
  82. width: 350px;
  83. position: relative;
  84. .block {
  85. background: rgba(251, 251, 251, 1);
  86. border-radius: 4px;
  87. border: 1px solid rgba(229, 229, 229, 1);
  88. padding: 15px;
  89. .title {
  90. font-weight: 500;
  91. line-height: 24px;
  92. font-size: 16px;
  93. .tag {
  94. display: inline-block;
  95. font-size: 12px;
  96. color: #fff;
  97. width: 44px;
  98. height: 24px;
  99. background: rgba(104, 101, 253, 1);
  100. border-radius: 2px;
  101. text-align: center;
  102. margin-right: 5px;
  103. }
  104. }
  105. .t {
  106. border-radius: 3px;
  107. border: 1px solid rgba(65, 166, 243, 1);
  108. }
  109. }
  110. .action {
  111. margin-bottom: 20px;
  112. overflow: hidden;
  113. .default.button {
  114. color: #4292F0;
  115. }
  116. }
  117. .buyed {
  118. position: absolute;
  119. bottom: 15px;
  120. left: 15px;
  121. }
  122. }
  123. .data-item {
  124. display: inline-block;
  125. width: 290px;
  126. background: rgba(251, 251, 251, 1);
  127. border-radius: 4px;
  128. border: 1px solid rgba(229, 229, 229, 1);
  129. padding: 10px;
  130. .action {
  131. margin-bottom: 10px;
  132. overflow: hidden;
  133. .default.button {
  134. color: #4292F0;
  135. }
  136. }
  137. .buyed {
  138. position: absolute;
  139. bottom: 15px;
  140. left: 15px;
  141. }
  142. }
  143. .textbook-item {
  144. display: inline-block;
  145. width: 350px;
  146. >.assets {
  147. height: 250px;
  148. }
  149. }