resource.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. position: relative;
  30. display: flex;
  31. width: 750rpx;
  32. height: 88rpx;
  33. justify-content: center;
  34. align-items: center;
  35. }
  36. .resource .search .inpSer.data-v-081eb374 {
  37. width: 690rpx;
  38. height: 65rpx;
  39. margin: auto;
  40. background-color: #f0f2f5;
  41. border-radius: 5rpx;
  42. color: rgba(0, 0, 0, 0.26);
  43. position: relative;
  44. }
  45. .resource .search .inpSer .inpTxt.data-v-081eb374 {
  46. color: #000;
  47. padding-left: 60rpx;
  48. height: 100%;
  49. width: 100%;
  50. }
  51. .resource .search .inpSer input.data-v-081eb374::-webkit-input-placeholder {
  52. color: #000;
  53. }
  54. .resource .search .inpSer input.data-v-081eb374::placeholder {
  55. color: #000;
  56. }
  57. .resource .search .inpSer .ico.data-v-081eb374 {
  58. position: absolute;
  59. top: 50%;
  60. left: 20rpx;
  61. -webkit-transform: translate(0, -50%);
  62. transform: translate(0, -50%);
  63. display: flex;
  64. align-items: center;
  65. }
  66. .resource .search .inpSer .ico image.data-v-081eb374 {
  67. margin-right: 10rpx;
  68. }
  69. .resource .top.data-v-081eb374 {
  70. display: flex;
  71. justify-content: space-between;
  72. margin: auto;
  73. background-color: #ffffff;
  74. padding: 10px 150rpx;
  75. }
  76. .resource .top .info1.data-v-081eb374 {
  77. font-weight: bold !important;
  78. position: relative;
  79. color: rgba(0, 0, 0, 0.8);
  80. font-size: 34rpx;
  81. line-height: 48rpx;
  82. width: 136rpx;
  83. height: 48rpx;
  84. text-align: center;
  85. }
  86. .resource .top .info1 .yun.data-v-081eb374 {
  87. width: 134rpx;
  88. height: 32rpx;
  89. position: absolute;
  90. left: 0;
  91. bottom: -10rpx;
  92. }
  93. .resource .top .info1 .yun image.data-v-081eb374 {
  94. width: 100%;
  95. height: 100%;
  96. }
  97. .resource .top .info2.data-v-081eb374 {
  98. color: rgba(0, 0, 0, 0.6);
  99. font-size: 34rpx;
  100. font-weight: 400;
  101. line-height: 48rpx;
  102. width: 136rpx;
  103. height: 48rpx;
  104. text-align: center;
  105. font-family: 微软雅黑;
  106. }
  107. .resource .scroll-view-height .contBox.data-v-081eb374 {
  108. width: 100%;
  109. padding: 10px 30rpx;
  110. display: flex;
  111. flex-wrap: wrap;
  112. justify-content: space-between;
  113. margin-bottom: 50px;
  114. }
  115. .resource .scroll-view-height .contBox .cont.data-v-081eb374 {
  116. background-color: #ffffff;
  117. width: 332rpx;
  118. padding: 20rpx 15rpx;
  119. border-radius: 10px;
  120. margin-bottom: 20rpx;
  121. }
  122. .resource .scroll-view-height .contBox .cont image.data-v-081eb374 {
  123. width: 300rpx;
  124. height: 170rpx;
  125. border-radius: 10rpx;
  126. }
  127. .resource .scroll-view-height .contBox .cont .tit.data-v-081eb374 {
  128. width: 257rpx;
  129. margin: 10rpx 0;
  130. font-weight: bold;
  131. white-space: normal;
  132. display: -webkit-box;
  133. word-break: break-all;
  134. text-overflow: ellipsis;
  135. overflow: hidden;
  136. -webkit-box-orient: vertical;
  137. -webkit-line-clamp: 2;
  138. /*设置 需要显示的行数*/
  139. }
  140. .resource .scroll-view-height .contBox .cont .teacher.data-v-081eb374 {
  141. color: #999999;
  142. }