index.wxss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. .dh {
  28. position: relative;
  29. }
  30. .dh::after {
  31. content: '';
  32. background-color: red;
  33. left: 0;
  34. top: 0;
  35. width: 0%;
  36. height: 100%;
  37. position: absolute;
  38. -webkit-animation: go 1s infinite;
  39. animation: go 1s infinite;
  40. z-index: 0;
  41. }
  42. @-webkit-keyframes go {
  43. to {
  44. width: 100%;
  45. background-color: greenyellow;
  46. }
  47. }
  48. @keyframes go {
  49. to {
  50. width: 100%;
  51. background-color: greenyellow;
  52. }
  53. }
  54. .jsbox .bt {
  55. width: 140rpx;
  56. margin-bottom: 10rpx;
  57. font-size: 26rpx;
  58. font-family: PingFang SC;
  59. font-weight: 400;
  60. display: -webkit-box;
  61. display: -webkit-flex;
  62. display: flex;
  63. -webkit-box-align: center;
  64. -webkit-align-items: center;
  65. align-items: center;
  66. -webkit-box-pack: justify;
  67. -webkit-justify-content: space-between;
  68. justify-content: space-between;
  69. }
  70. .jsbox .ts {
  71. font-size: 22rpx;
  72. font-family: PingFang SC;
  73. font-weight: 400;
  74. color: #E31818;
  75. }
  76. .jsbox .js {
  77. height: 70rpx;
  78. background: #F5F5F5;
  79. border: 1rpx solid #E8E8E8;
  80. border-radius: 10rpx;
  81. display: -webkit-box;
  82. display: -webkit-flex;
  83. display: flex;
  84. -webkit-box-align: center;
  85. -webkit-align-items: center;
  86. align-items: center;
  87. -webkit-box-pack: justify;
  88. -webkit-justify-content: space-between;
  89. justify-content: space-between;
  90. font-size: 48rpx;
  91. padding: 0 20rpx;
  92. box-sizing: border-box;
  93. overflow: hidden;
  94. }
  95. .jsbox .js .jsbtn {
  96. height: 50rpx;
  97. background: -webkit-linear-gradient(left, #E31818, #ED3E24, #ED4F24);
  98. background: linear-gradient(90deg, #E31818, #ED3E24, #ED4F24);
  99. border-radius: 25rpx;
  100. font-size: 24rpx;
  101. color: #FFFFFF;
  102. font-weight: 400;
  103. font-family: PingFang SC;
  104. display: -webkit-box;
  105. display: -webkit-flex;
  106. display: flex;
  107. -webkit-box-pack: center;
  108. -webkit-justify-content: center;
  109. justify-content: center;
  110. -webkit-box-align: center;
  111. -webkit-align-items: center;
  112. align-items: center;
  113. margin: 0;
  114. z-index: 1;
  115. }
  116. .jsbox .js .timeText {
  117. z-index: 1;
  118. }
  119. .content {
  120. width: 100%;
  121. padding-bottom: 10rpx;
  122. }
  123. .item-box {
  124. background-color: #fff;
  125. border-radius: 10rpx;
  126. margin: 10rpx 30rpx;
  127. }
  128. .item-box .item-titBox {
  129. display: -webkit-box;
  130. display: -webkit-flex;
  131. display: flex;
  132. -webkit-box-pack: justify;
  133. -webkit-justify-content: space-between;
  134. justify-content: space-between;
  135. -webkit-box-align: center;
  136. -webkit-align-items: center;
  137. align-items: center;
  138. padding: 20rpx;
  139. border-bottom: 1rpx solid #e8e8e8;
  140. }
  141. .item-box .item-titBox .item-tit {
  142. border-left: 8rpx solid #E31818;
  143. font-size: 30rpx;
  144. line-height: 58rpx;
  145. padding: 11rpx;
  146. }
  147. .item-box .item-titBox .item-tit-right {
  148. font-size: 26rpx;
  149. color: #666666;
  150. line-height: 58rpx;
  151. padding: 11rpx;
  152. }
  153. .item-box .video-box {
  154. padding: 30rpx 20rpx;
  155. }
  156. .item-box .video-box .myVideo {
  157. width: 650rpx;
  158. height: 360rpx;
  159. border-radius: 10rpx;
  160. }
  161. .item-box .video-box .tit-box {
  162. width: 100%;
  163. display: -webkit-box;
  164. display: -webkit-flex;
  165. display: flex;
  166. -webkit-box-pack: justify;
  167. -webkit-justify-content: space-between;
  168. justify-content: space-between;
  169. padding: 10rpx 0 26rpx;
  170. }
  171. .item-box .video-box .tit-box .video-box-tit {
  172. height: 31rpx;
  173. font-size: 20rpx;
  174. border: 1rpx solid #E31A19;
  175. border-radius: 2rpx;
  176. padding: 5rpx 9rpx;
  177. color: #E31818;
  178. display: -webkit-box;
  179. display: -webkit-flex;
  180. display: flex;
  181. -webkit-box-pack: center;
  182. -webkit-justify-content: center;
  183. justify-content: center;
  184. -webkit-box-align: center;
  185. -webkit-align-items: center;
  186. align-items: center;
  187. }
  188. .item-box .video-box .tit-box .video-box-btn {
  189. margin: 0;
  190. height: 40rpx;
  191. background: -webkit-linear-gradient(left, #E31818, #ED3E24, #ED4F24);
  192. background: linear-gradient(90deg, #E31818, #ED3E24, #ED4F24);
  193. border-radius: 20rpx;
  194. display: -webkit-box;
  195. display: -webkit-flex;
  196. display: flex;
  197. -webkit-box-pack: center;
  198. -webkit-justify-content: center;
  199. justify-content: center;
  200. -webkit-box-align: center;
  201. -webkit-align-items: center;
  202. align-items: center;
  203. color: #FFFFFF;
  204. font-size: 20rpx;
  205. }
  206. .top-box {
  207. margin: 10rpx 20rpx;
  208. }
  209. .unbind {
  210. position: absolute;
  211. width: 100%;
  212. height: 100%;
  213. left: 0;
  214. top: 0;
  215. background-color: rgba(35, 34, 33, 0.2);
  216. z-index: 10;
  217. display: -webkit-box;
  218. display: -webkit-flex;
  219. display: flex;
  220. -webkit-box-pack: center;
  221. -webkit-justify-content: center;
  222. justify-content: center;
  223. -webkit-box-align: center;
  224. -webkit-align-items: center;
  225. align-items: center;
  226. text-align: center;
  227. color: red;
  228. }
  229. .timingBox {
  230. height: 335rpx;
  231. background-color: #ffffff;
  232. margin: 10rpx;
  233. border-radius: 10rpx;
  234. display: -webkit-box;
  235. display: -webkit-flex;
  236. display: flex;
  237. -webkit-box-orient: vertical;
  238. -webkit-box-direction: normal;
  239. -webkit-flex-direction: column;
  240. flex-direction: column;
  241. -webkit-box-pack: justify;
  242. -webkit-justify-content: space-between;
  243. justify-content: space-between;
  244. padding: 2% 5%;
  245. box-sizing: border-box;
  246. position: relative;
  247. overflow: hidden;
  248. }
  249. .timingBox .classHourStatistics {
  250. display: -webkit-box;
  251. display: -webkit-flex;
  252. display: flex;
  253. -webkit-box-pack: justify;
  254. -webkit-justify-content: space-between;
  255. justify-content: space-between;
  256. }
  257. .timingBox .classHourStatistics .timing-item {
  258. height: 80rpx;
  259. display: -webkit-box;
  260. display: -webkit-flex;
  261. display: flex;
  262. -webkit-box-orient: vertical;
  263. -webkit-box-direction: normal;
  264. -webkit-flex-direction: column;
  265. flex-direction: column;
  266. -webkit-box-pack: justify;
  267. -webkit-justify-content: space-between;
  268. justify-content: space-between;
  269. -webkit-box-align: center;
  270. -webkit-align-items: center;
  271. align-items: center;
  272. font-size: .8rem;
  273. padding: 25rpx 15rpx;
  274. border-radius: 10rpx;
  275. }
  276. .timingBox .classHourStatistics .timing-item .timing-time {
  277. font-size: .8rem;
  278. border-radius: 10rpx;
  279. }