history.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. .art-wrap.data-v-24bfa630 {
  28. padding: 24rpx;
  29. background-color: #f2f2f2;
  30. }
  31. .art-wrap .tabs.data-v-24bfa630 {
  32. overflow-x: auto;
  33. overflow-y: hidden;
  34. display: flex;
  35. background-color: #fff;
  36. border-radius: 16rpx;
  37. }
  38. .art-wrap .tabs .tab.data-v-24bfa630 {
  39. height: 88rpx;
  40. line-height: 88rpx;
  41. display: inline-block;
  42. padding: 0 32rpx;
  43. flex: 1 0 auto;
  44. font-size: 28rpx;
  45. color: #35364F;
  46. position: relative;
  47. text-align: center;
  48. }
  49. .art-wrap .tabs .tab.data-v-24bfa630::after {
  50. display: block;
  51. width: 50%;
  52. border-bottom: 2px solid transparent;
  53. position: absolute;
  54. bottom: 0;
  55. left: 50%;
  56. -webkit-transform: translateX(-50%);
  57. transform: translateX(-50%);
  58. content: "";
  59. }
  60. .art-wrap .tabs .tab.active.data-v-24bfa630 {
  61. font-size: 34rpx;
  62. font-weight: 700;
  63. }
  64. .art-wrap .tabs .tab.active.data-v-24bfa630::after {
  65. border-bottom: 2px solid #15CD85;
  66. }
  67. .art-wrap .tab-container.data-v-24bfa630 {
  68. background-color: #f2f2f2;
  69. }
  70. .art-wrap .tab-container .item.data-v-24bfa630 {
  71. margin-top: 20rpx;
  72. }
  73. .art-wrap .tab-container .item .card.data-v-24bfa630 {
  74. background: #FFFFFF;
  75. border-radius: 10rpx;
  76. padding: 24rpx;
  77. }
  78. .art-wrap .tab-container .item .card .top.data-v-24bfa630 {
  79. display: flex;
  80. justify-content: space-between;
  81. align-items: center;
  82. padding-bottom: 20rpx;
  83. }
  84. .art-wrap .tab-container .item .card .top .lf.data-v-24bfa630 {
  85. flex: 1;
  86. display: flex;
  87. align-items: center;
  88. }
  89. .art-wrap .tab-container .item .card .top .lf .tag.data-v-24bfa630 {
  90. font-size: 20rpx;
  91. display: inline-block;
  92. padding: 4rpx 6rpx;
  93. border: 1px solid #15CD85;
  94. line-height: 1;
  95. color: #15CD85;
  96. border-radius: 4rpx;
  97. }
  98. .art-wrap .tab-container .item .card .top .lf .author.data-v-24bfa630 {
  99. display: inline-block;
  100. padding-left: 5px;
  101. line-height: 1;
  102. color: #666;
  103. }
  104. .art-wrap .tab-container .item .card .info.data-v-24bfa630 {
  105. font-size: 24rpx;
  106. font-weight: 500;
  107. color: #B0B0B0;
  108. line-height: 1;
  109. padding-top: 0.22rem;
  110. }
  111. .art-wrap .tab-container .item .card .info .title.data-v-24bfa630 {
  112. font-size: 32rpx;
  113. font-family: PingFang SC;
  114. font-weight: bold;
  115. color: #000000;
  116. line-height: 48rpx;
  117. text-overflow: ellipsis;
  118. overflow: hidden;
  119. -webkit-line-clamp: 2;
  120. display: -webkit-box;
  121. -webkit-box-orient: vertical;
  122. }
  123. .art-wrap .tab-container .item .card .info .footer.data-v-24bfa630 {
  124. display: flex;
  125. justify-content: space-between;
  126. align-items: center;
  127. padding-top: 10rpx;
  128. }