index.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .red {
  2. color: #F01740;
  3. }
  4. .grey {
  5. color: #666666;
  6. }
  7. .title {
  8. font-weight: Medium;
  9. font-size: 36rpx;
  10. color: #222222;
  11. }
  12. .text-large {
  13. font-size: 36rpx;
  14. }
  15. .text {
  16. font-size: 30rpx;
  17. }
  18. .text-left {
  19. text-align: left;
  20. }
  21. .text-small {
  22. font-size: 24rpx;
  23. /* word-break: keep-all; */
  24. }
  25. .flex {
  26. display: flex;
  27. }
  28. .justify-between {
  29. justify-content: space-between;
  30. }
  31. .flex-aligin-center {
  32. display: flex;
  33. align-items: center;
  34. }
  35. .flex-1 {
  36. flex: 1;
  37. }
  38. .flex-grow-1 {
  39. flex-grow: 1;
  40. }
  41. .fixed-bottom {
  42. position: fixed;
  43. bottom: 0;
  44. left: 0;
  45. right: 0;
  46. }
  47. .w-100 {
  48. width: 100%;
  49. }
  50. .h-100 {
  51. height: 100%;
  52. }
  53. .page-section {
  54. margin: 20rpx;
  55. border-radius: 20rpx;
  56. background-color: #ffffff;
  57. }
  58. .page-section-spacing {
  59. padding: 20rpx;
  60. }
  61. .spacing-small {
  62. padding: 10rpx;
  63. }
  64. .ellipsis {
  65. width: 100%;
  66. overflow: hidden;
  67. text-overflow: ellipsis;
  68. display: -webkit-box;
  69. -webkit-line-clamp: 1;
  70. -webkit-box-orient: vertical;
  71. }
  72. .ellipsis-2 {
  73. width: 100%;
  74. overflow: hidden;
  75. text-overflow: ellipsis;
  76. display: -webkit-box;
  77. -webkit-line-clamp: 2;
  78. -webkit-box-orient: vertical;
  79. }
  80. .detail-tags {
  81. width: 100%;
  82. margin: 8rpx 0;
  83. overflow: hidden;
  84. text-overflow: ellipsis;
  85. display: -webkit-box;
  86. -webkit-line-clamp: 2;
  87. -webkit-box-orient: vertical;
  88. }
  89. .goods-tags {
  90. width: 100%;
  91. margin: 8rpx 0;
  92. overflow: hidden;
  93. text-overflow: ellipsis;
  94. display: -webkit-box;
  95. -webkit-line-clamp: 2;
  96. -webkit-box-orient: vertical;
  97. }
  98. .comment {
  99. padding: 40rpx 0;
  100. }
  101. .comment .comment-header {
  102. display: flex;
  103. align-items: center;
  104. justify-content: space-between;
  105. }
  106. .comment .comment-header .header-text {
  107. flex: 1;
  108. padding: 0 10rpx;
  109. }
  110. .comment .comment-header .header-avatar {
  111. width: 80rpx;
  112. height: 80rpx;
  113. }
  114. .comment .comment-header .header-avatar .header-avatar-image {
  115. width: 100%;
  116. height: 100%;
  117. margin: 0 auto;
  118. border-radius: 50%;
  119. }
  120. .comment .comment-content .comment-text {
  121. padding: 10rpx 0;
  122. }
  123. .comment .comment-content .comment-images {
  124. display: flex;
  125. flex-wrap: wrap;
  126. }
  127. .comment .comment-content .comment-image {
  128. width: 210rpx;
  129. height: 210rpx;
  130. margin: 6rpx;
  131. background: #999999;
  132. }