home.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* padding / margin */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .container.data-v-516c5459 {
  28. display: flex;
  29. flex-direction: column;
  30. padding-bottom: calc(constant(safe-area-inset-bottom) + 20rpx);
  31. padding-bottom: calc(env(safe-area-inset-bottom) + 20rpx);
  32. }
  33. .filtration.data-v-516c5459 {
  34. padding: 0 20rpx;
  35. }
  36. .filtration_scroll_wrapper.data-v-516c5459 {
  37. display: flex;
  38. overflow: auto;
  39. }
  40. .filtration--item.data-v-516c5459 {
  41. padding: 20rpx 40rpx;
  42. background-color: #d3d3d3;
  43. border-radius: 8rpx;
  44. word-break: keep-all;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. }
  49. .filtration--item + .filtration--item.data-v-516c5459 {
  50. margin-left: 20rpx;
  51. }
  52. .filtration--item.actived.data-v-516c5459 {
  53. background-color: var(--uni-color-primary);
  54. color: #fff;
  55. font-weight: bold;
  56. }
  57. .timer-list.data-v-516c5459 {
  58. height: 100%;
  59. overflow: auto;
  60. }
  61. .timer + .timer.data-v-516c5459 {
  62. margin-top: 20rpx;
  63. }
  64. .date.data-v-516c5459 {
  65. --height: 46rpx;
  66. margin: 20rpx;
  67. padding: 0 20rpx 0 56rpx;
  68. position: relative;
  69. font-weight: bold;
  70. height: var(--height);
  71. align-items: center;
  72. background-color: #e8e8e8;
  73. border-radius: var(--height);
  74. display: inline-flex;
  75. }
  76. .date.data-v-516c5459::before {
  77. content: "";
  78. height: 12rpx;
  79. width: 12rpx;
  80. border-radius: 100%;
  81. border: 16rpx solid #b7bbca;
  82. position: absolute;
  83. left: 0;
  84. z-index: 1;
  85. }
  86. .date.data-v-516c5459::after {
  87. content: "";
  88. width: 1rpx;
  89. height: calc(100% + 20rpx);
  90. position: absolute;
  91. left: 20rpx;
  92. bottom: -100%;
  93. background-color: #dee0e9;
  94. }
  95. .date .divider.data-v-516c5459 {
  96. color: var(--uni-color-primary);
  97. margin: 0 8rpx;
  98. }
  99. .timer .wrapper.data-v-516c5459 {
  100. padding: 24rpx 24rpx 24rpx 76rpx;
  101. position: relative;
  102. align-items: center;
  103. background-color: #fff;
  104. display: flex;
  105. justify-content: space-between;
  106. }
  107. .wrapper.data-v-516c5459::before {
  108. content: "";
  109. height: 18rpx;
  110. width: 18rpx;
  111. border-radius: 100%;
  112. background-color: #dee0e9;
  113. position: absolute;
  114. left: 32rpx;
  115. }
  116. .wrapper.data-v-516c5459::after {
  117. content: "";
  118. width: 1rpx;
  119. height: calc(100% + 20rpx);
  120. position: absolute;
  121. left: 40rpx;
  122. top: 0;
  123. background-color: #dee0e9;
  124. }
  125. .wrapper.data-v-516c5459:last-child::after {
  126. height: 50%;
  127. }
  128. .wrapper + .wrapper.data-v-516c5459 {
  129. margin-top: 20rpx;
  130. }
  131. .arrow_right.data-v-516c5459 {
  132. width: 30rpx;
  133. height: 30rpx;
  134. }
  135. .dept.data-v-516c5459 {
  136. color: #909399;
  137. margin-bottom: 24rpx;
  138. font-size: 26rpx;
  139. position: relative;
  140. display: inline-block;
  141. }
  142. .unread .dept.data-v-516c5459::before {
  143. content: "";
  144. height: 14rpx;
  145. width: 14rpx;
  146. border-radius: 100%;
  147. position: absolute;
  148. right: -20rpx;
  149. top: -5rpx;
  150. background-color: #fa4844;
  151. }