resource.wxss 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. .resource .search.data-v-081eb374 {
  28. background-color: #ffffff;
  29. padding: 0 10rpx;
  30. }
  31. .resource .top.data-v-081eb374 {
  32. display: flex;
  33. justify-content: space-between;
  34. margin: auto;
  35. background-color: #ffffff;
  36. padding: 10px 150rpx;
  37. font-size: 18px;
  38. }
  39. .resource .top .info1.data-v-081eb374 {
  40. font-weight: bold;
  41. position: relative;
  42. }
  43. .resource .top .info1 .yun.data-v-081eb374 {
  44. width: 80rpx;
  45. height: 0rpx;
  46. position: absolute;
  47. left: 50%;
  48. -webkit-transform: translate(-50%, -50%);
  49. transform: translate(-50%, -50%);
  50. box-shadow: 0px 0px 10px 2px #4a97f2;
  51. }
  52. .resource .top .info2.data-v-081eb374 {
  53. color: #666666;
  54. }
  55. .resource .scroll-view-height .contBox.data-v-081eb374 {
  56. width: 100%;
  57. padding: 10px 30rpx;
  58. display: flex;
  59. flex-wrap: wrap;
  60. justify-content: space-between;
  61. margin-bottom: 50px;
  62. }
  63. .resource .scroll-view-height .contBox .cont.data-v-081eb374 {
  64. background-color: #ffffff;
  65. width: 320rpx;
  66. padding: 20rpx 15rpx;
  67. border-radius: 10px;
  68. margin-bottom: 20rpx;
  69. }
  70. .resource .scroll-view-height .contBox .cont image.data-v-081eb374 {
  71. width: 100%;
  72. height: 80px;
  73. }
  74. .resource .scroll-view-height .contBox .cont .tit.data-v-081eb374 {
  75. width: 90%;
  76. margin: 10rpx 0;
  77. font-weight: bold;
  78. white-space: normal;
  79. display: -webkit-box;
  80. word-break: break-all;
  81. text-overflow: ellipsis;
  82. overflow: hidden;
  83. -webkit-box-orient: vertical;
  84. -webkit-line-clamp: 2;
  85. /*设置 需要显示的行数*/
  86. }
  87. .resource .scroll-view-height .contBox .cont .teacher.data-v-081eb374 {
  88. font-size: 14px;
  89. color: #999999;
  90. }