index.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. @import '../../app.less';
  2. .g-block {
  3. border: 1px solid #E3E3E3;
  4. border-radius: 4px;
  5. margin-bottom: 10px;
  6. overflow: hidden;
  7. min-height: 100px;
  8. }
  9. .g-top-block {
  10. border-radius: 4px;
  11. background: #fff;
  12. margin-bottom: 15px;
  13. overflow: hidden;
  14. min-height: 100px;
  15. border: 1px solid #E3E3E3;
  16. }
  17. .g-top-block.default {
  18. border-top: 5px solid #41A6F3;
  19. }
  20. .g-top-block.not {
  21. border-top: 5px solid #7660A4;
  22. }
  23. .g-top-block.end {
  24. border-top: 5px solid #A7A7B7;
  25. }
  26. .g-tag-block {
  27. border-radius: 4px;
  28. background: #fff;
  29. margin-bottom: 10px;
  30. overflow: hidden;
  31. position: relative;
  32. min-height: 100px;
  33. border: 1px solid #E3E3E3;
  34. .g-tag-block-tag {
  35. height: 36px;
  36. border-top-right-radius: 18px;
  37. border-bottom-right-radius: 18px;
  38. position: absolute;
  39. top: -18px;
  40. left: 0;
  41. line-height: 20px;
  42. padding-top: 16px;
  43. padding-left: 10px;
  44. padding-right: 16px;
  45. color: #fff;
  46. }
  47. }
  48. .g-tag-block.default {
  49. .g-tag-block-tag {
  50. background: #41A6F3;
  51. }
  52. }
  53. .g-tag-block.not {
  54. .g-tag-block-tag {
  55. background: #7660A4;
  56. }
  57. }
  58. .g-tag-block.end {
  59. .g-tag-block-tag {
  60. background: #A7A7B7;
  61. }
  62. }
  63. .g-link-block {
  64. border: 1px solid #E3E3E3;
  65. border-radius: 4px;
  66. margin-bottom: 10px;
  67. overflow: hidden;
  68. height: 60px;
  69. line-height: 60px;
  70. padding: 0 14px;
  71. display: flex;
  72. .g-link-block-title {
  73. display: inline-block;
  74. color: #303036;
  75. font-size: 16px;
  76. font-weight: 600;
  77. }
  78. .g-link-block-sub {
  79. display: inline-block;
  80. color: #686872;
  81. font-size: 12px;
  82. text-align: center;
  83. flex: 1;
  84. margin-right: 10px;
  85. }
  86. .g-link-block-icon {
  87. display: inline-block;
  88. width: 15px;
  89. height: 15px;
  90. border-radius: 50%;
  91. text-align: center;
  92. margin-top: 22px;
  93. line-height: 15px;
  94. }
  95. }
  96. .g-link-block.default {
  97. .g-link-block-icon {
  98. background: #41A6F3;
  99. }
  100. }
  101. .g-link-block.not {
  102. .g-link-block-icon {
  103. background: #7660A4;
  104. }
  105. }
  106. .g-link-block.end {
  107. .g-link-block-icon {
  108. background: #A7A7B7;
  109. }
  110. }
  111. .course-block {
  112. padding: 15px 20px;
  113. .title {
  114. color: #1A1A1F;
  115. font-size: 16px;
  116. margin-bottom: 15px;
  117. line-height: 16px;
  118. }
  119. .block-body {
  120. position: relative;
  121. .assets {
  122. width: 120px;
  123. height: 75px;
  124. position: absolute;
  125. }
  126. .info {
  127. padding-left: 130px;
  128. .teacher {
  129. font-size: 12px;
  130. color: #A7A7B7;
  131. margin-bottom: 5px;
  132. line-height: 12px;
  133. span {
  134. color: #1A1A1F;
  135. margin-left: 5px;
  136. }
  137. }
  138. .desc {
  139. font-size: 10px;
  140. color: #A7A7B7;
  141. white-space: nowrap;
  142. text-overflow: ellipsis;
  143. overflow: hidden;
  144. margin-bottom: 5px;
  145. }
  146. .division {
  147. height: 1px;
  148. background: #D8D8D8;
  149. margin-bottom: 5px;
  150. }
  151. .data {
  152. .result {
  153. float: right;
  154. font-size: 12px;
  155. color: #A7A7B7;
  156. span {
  157. color: #7660A4;
  158. margin-left: 7px;
  159. }
  160. }
  161. }
  162. }
  163. }
  164. }
  165. .course-co-block {
  166. padding: 20px 20px 15px;
  167. .title {
  168. font-size: 16px;
  169. color: #1A1A1F;
  170. margin-bottom: 5px;
  171. }
  172. .info {
  173. border-bottom: 1px solid #eee;
  174. padding-bottom: 5px;
  175. margin-bottom: 5px;
  176. .teacher {
  177. display: inline-block;
  178. font-size: 12px;
  179. color: #A7A7B7;
  180. margin-bottom: 5px;
  181. line-height: 12px;
  182. span {
  183. color: #1A1A1F;
  184. margin-left: 5px;
  185. }
  186. }
  187. .g-tag-wrapper {
  188. float: right;
  189. }
  190. }
  191. .desc {
  192. font-size: 12px;
  193. color: #686872;
  194. }
  195. }
  196. .data-block {
  197. padding: 10px 15px;
  198. position: relative;
  199. .assets {
  200. position: absolute;
  201. width: 75px;
  202. height: 80px;
  203. }
  204. .info {
  205. padding-left: 85px;
  206. .title {
  207. color: #1A1A1F;
  208. font-size: 16px;
  209. line-height: 16px;
  210. margin-bottom: 10px;
  211. }
  212. .desc {
  213. font-size: 10px;
  214. color: #A7A7B7;
  215. white-space: nowrap;
  216. text-overflow: ellipsis;
  217. overflow: hidden;
  218. margin-bottom: 5px;
  219. }
  220. .division {
  221. height: 1px;
  222. background: #D8D8D8;
  223. margin-bottom: 5px;
  224. }
  225. .data {
  226. .people {
  227. display: inline-block;
  228. font-size: 10px;
  229. color: #A7A7B7;
  230. }
  231. .g-money {
  232. float: right;
  233. }
  234. }
  235. }
  236. }
  237. .buy-block.end {
  238. .g-tag-wrapper {
  239. .g-tag {
  240. color: #A7A7B7;
  241. border-color: #A7A7B7;
  242. }
  243. }
  244. }
  245. .buy-block {
  246. padding-top: 25px;
  247. padding-left: 15px;
  248. padding-right: 15px;
  249. padding-bottom: 20px;
  250. .block-left {
  251. display: inline-block;
  252. .title {
  253. .g-tag-wrapper {
  254. margin-right: 5px;
  255. }
  256. margin-bottom: 4px;
  257. color: #303036;
  258. font-size: 16px;
  259. }
  260. .date {
  261. margin-bottom: 4px;
  262. font-size: 10px;
  263. color: #686872;
  264. }
  265. .desc {
  266. font-size: 10px;
  267. color: #686872;
  268. }
  269. }
  270. .block-right {
  271. float: right;
  272. padding-top: 5px;
  273. .btn {
  274. margin-bottom: 4px;
  275. text-align: right;
  276. .g-button {
  277. padding: 0 15px;
  278. }
  279. }
  280. .tip {
  281. font-size: 10px;
  282. color: #A7A7B7;
  283. }
  284. }
  285. }