courseIndex.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. .containers {
  28. font-family: PingFang SC, PingFang SC;
  29. font-weight: 400;
  30. font-size: 14px;
  31. color: #222;
  32. display: flex;
  33. flex-direction: column;
  34. height: 100vh;
  35. }
  36. .boxnav {
  37. flex-wrap: wrap;
  38. padding: 0 0 0 10px;
  39. }
  40. .boxnav-item {
  41. width: 50%;
  42. overflow: hidden;
  43. }
  44. .boxnav-item-info {
  45. border: 1px solid #f5f5f5;
  46. text-align: center;
  47. color: #222;
  48. background-color: #f5f5f5;
  49. border-radius: 3px;
  50. padding: 5px;
  51. margin: 0 10px 10px 0;
  52. }
  53. .boxnav-active {
  54. border: 1px solid #1677ff !important;
  55. color: #1677ff !important;
  56. background-color: #e7f1fe !important;
  57. }
  58. .headbox {
  59. background-color: #fff;
  60. }
  61. .headnav {
  62. padding: 15px 12px;
  63. margin: 0 -10px -10px 0;
  64. box-sizing: border-box;
  65. }
  66. .headnav image {
  67. height: 60px;
  68. width: 50px;
  69. position: absolute;
  70. z-index: 0;
  71. bottom: 0;
  72. right: 0;
  73. display: none;
  74. }
  75. .headnav-item {
  76. flex: 1;
  77. font-size: 16px;
  78. padding: 10px;
  79. border-radius: 10px;
  80. background: #f5f5f5;
  81. margin: 0 10px 10px 0;
  82. position: relative;
  83. z-index: 1;
  84. overflow: hidden;
  85. color: #555;
  86. }
  87. .headnav-active {
  88. background-color: #e7f1ff !important;
  89. }
  90. .headnav-active .headnav-num {
  91. color: #1677ff !important;
  92. }
  93. .headnav-active image {
  94. display: block !important;
  95. }
  96. .headnav-num {
  97. font-family: DIN, DIN;
  98. font-weight: bold;
  99. font-size: 25px;
  100. margin: 5px 0;
  101. }
  102. .searchbar {
  103. flex: 1;
  104. padding-bottom: 10px;
  105. }
  106. .searchbar .arrow-down {
  107. margin-left: 5px;
  108. }
  109. .searchbar-active {
  110. color: #1677ff !important;
  111. }
  112. .searchbar-active .arrow-down {
  113. -webkit-transform: rotate(180deg);
  114. transform: rotate(180deg);
  115. }
  116. .container-right {
  117. flex: 1;
  118. height: calc(100% - 80rpx);
  119. overflow-y: scroll;
  120. }
  121. .container-right .list {
  122. padding: 10px;
  123. box-sizing: border-box;
  124. width: 100%;
  125. }