community.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. .community .uicon-close {
  28. font-size: 30rpx !important;
  29. }
  30. .community {
  31. padding: 30rpx;
  32. background: #F9F9F9;
  33. border-radius: 16rpx;
  34. min-height: 100vh;
  35. }
  36. .community .item {
  37. padding: 30rpx;
  38. background: #fff;
  39. margin-bottom: 30rpx;
  40. border-radius: 16rpx;
  41. }
  42. .community .item .author-info {
  43. display: flex;
  44. align-items: center;
  45. }
  46. .community .item .author-info .head {
  47. width: 64rpx;
  48. height: 64rpx;
  49. border-radius: 50%;
  50. background: #999;
  51. }
  52. .community .item .author-info .name {
  53. font-size: 24rpx;
  54. font-weight: 400;
  55. color: #999999;
  56. margin-left: 10rpx;
  57. }
  58. .community .item .title {
  59. margin: 24rpx 0;
  60. }
  61. .community .item .handle-box {
  62. display: flex;
  63. align-items: center;
  64. margin-top: 30rpx;
  65. }
  66. .community .item .handle-box .btn {
  67. margin-right: 80rpx;
  68. }
  69. .community .item .handle-box .btn .icon {
  70. width: 33rpx;
  71. height: 35rpx;
  72. margin-right: 15rpx;
  73. }
  74. .community .send-btn {
  75. position: fixed;
  76. bottom: 150rpx;
  77. right: 30rpx;
  78. width: 88rpx;
  79. height: 88rpx;
  80. }
  81. .community .comment-box {
  82. padding: 30rpx;
  83. }
  84. .community .comment-box .comment-title {
  85. font-size: 28rpx;
  86. font-weight: bold;
  87. color: #0F0F0F;
  88. margin-bottom: 20rpx;
  89. }
  90. .community .comment-box .comment-item {
  91. display: flex;
  92. margin-bottom: 30rpx;
  93. }
  94. .community .comment-box .comment-item .head {
  95. width: 64rpx;
  96. height: 64rpx;
  97. border-radius: 50%;
  98. }
  99. .community .comment-box .comment-item .info {
  100. margin-left: 20rpx;
  101. }
  102. .community .comment-box .comment-item .info .user-name {
  103. font-size: 24rpx;
  104. color: #999999;
  105. }
  106. .community .comment-box .comment-item .info .content {
  107. font-size: 24rpx;
  108. color: #333333;
  109. margin: 10rpx 0 20rpx;
  110. }
  111. .community .comment-box .comment-item .info .time {
  112. font-size: 24rpx;
  113. color: #999999;
  114. }