stu-course.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. page {
  28. background-color: #F5F5F5;
  29. }
  30. page .empty {
  31. margin-top: 40%;
  32. }
  33. page .per_course {
  34. margin: 12px 12px 0;
  35. background-color: #FFFFFF;
  36. color: #333333;
  37. padding: 12px;
  38. border-radius: 12px;
  39. }
  40. page .per_course .per_name {
  41. display: flex;
  42. justify-content: space-between;
  43. align-items: center;
  44. }
  45. page .per_course .per_name .name {
  46. font-size: 17px;
  47. font-weight: bold;
  48. }
  49. page .per_course .per_name .course_type {
  50. background-color: #E5FAF3;
  51. width: 54px;
  52. height: 24px;
  53. line-height: 24px;
  54. color: #00A421;
  55. font-size: 14px;
  56. text-align: center;
  57. }
  58. page .per_course .per_row {
  59. margin-top: 6px;
  60. }
  61. page .per_course .per_row .lable {
  62. width: 55px;
  63. height: 21px;
  64. display: inline-block;
  65. line-height: 21px;
  66. text-align: center;
  67. background-color: #F5F5F5;
  68. font-size: 12px;
  69. margin-right: 7px;
  70. }
  71. page .per_course .per_row .num {
  72. font-size: 15px;
  73. color: #FF4600;
  74. }
  75. page .per_course .time_row {
  76. margin-top: 6px;
  77. }
  78. page .per_course .time_row .lable {
  79. display: inline-block;
  80. width: 60px;
  81. height: 21px;
  82. line-height: 21px;
  83. text-align: center;
  84. font-size: 12px;
  85. }
  86. page .per_course .time_row .time {
  87. font-size: 14px;
  88. font-weight: bold;
  89. }
  90. page .train {
  91. min-height: 160px;
  92. margin: 12px 12px 0;
  93. background-color: #FFFFFF;
  94. color: #333333;
  95. padding: 12px;
  96. border-radius: 8px;
  97. }
  98. page .train .train_name {
  99. display: flex;
  100. justify-content: space-between;
  101. align-items: center;
  102. }
  103. page .train .train_name .name {
  104. font-size: 17px;
  105. font-weight: bold;
  106. }
  107. page .train .train_name .course_type {
  108. background-color: #DCE7FF;
  109. width: 54px;
  110. height: 24px;
  111. line-height: 24px;
  112. color: #4A80FF;
  113. font-size: 14px;
  114. text-align: center;
  115. }
  116. page .train .courseName {
  117. display: inline-block;
  118. color: #999999;
  119. font-size: 14px;
  120. margin-top: 6px;
  121. }
  122. page .train .train_row {
  123. margin-top: 6px;
  124. }
  125. page .train .train_row .lable {
  126. width: 55px;
  127. height: 21px;
  128. display: inline-block;
  129. line-height: 21px;
  130. text-align: center;
  131. background-color: #F5F5F5;
  132. font-size: 12px;
  133. margin-right: 7px;
  134. }
  135. page .train .train_row .num {
  136. font-size: 14px;
  137. font-weight: bold;
  138. }
  139. page .train .time_row {
  140. margin-top: 6px;
  141. display: flex;
  142. justify-content: space-between;
  143. }
  144. page .train .time_row .lable {
  145. display: inline-block;
  146. width: 60px;
  147. height: 21px;
  148. line-height: 21px;
  149. text-align: center;
  150. font-size: 12px;
  151. }
  152. page .train .time_row .time {
  153. font-size: 14px;
  154. font-weight: bold;
  155. }