index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. /* pages/dynamic/index.wxss */
  2. @import "../../../icon.wxss";
  3. page {
  4. background-color: #fff;
  5. }
  6. .section {
  7. display: flex;
  8. flex-direction: column;
  9. box-sizing: border-box;
  10. height: 100vh;
  11. padding-bottom: 108rpx;
  12. position: relative;
  13. z-index: 10;
  14. }
  15. .scroll-wrapper {
  16. flex: 1;
  17. height: 100%;
  18. }
  19. .list-item {
  20. position: relative;
  21. display: flex;
  22. margin: 0 28rpx 30rpx;
  23. padding-bottom: 30rpx;
  24. font-size: 24rpx;
  25. color: #333;
  26. }
  27. .list-item::after {
  28. content: "";
  29. position: absolute;
  30. bottom: 0;
  31. left: 0;
  32. right: 0;
  33. border-bottom: 1px solid #e5e5e5;
  34. height: 1px;
  35. transform-origin: 0 0;
  36. transform: scaleY(.5);
  37. }
  38. .list-item:last-child::after {
  39. content: none;
  40. }
  41. .list-item .avatar {
  42. width: 68rpx;
  43. height: 68rpx;
  44. margin-right: 20rpx;
  45. }
  46. .list-item .avatar image {
  47. width: 68rpx;
  48. height: 68rpx;
  49. border-radius: 50%;
  50. }
  51. .list-item .content {
  52. flex: 1;
  53. }
  54. .nickname {
  55. line-height: 68rpx;
  56. color: #FF5777;
  57. }
  58. .message {
  59. color: #333;
  60. line-height: 1.8;
  61. margin-bottom: 15rpx;
  62. }
  63. .show-img .ul {
  64. margin-bottom: 20rpx;
  65. font-size: 0
  66. }
  67. .show-img .li {
  68. width: 32%;
  69. display: inline-block;
  70. margin-right: 1%;
  71. background-position: center;
  72. background-size: cover;
  73. background-repeat: no-repeat;
  74. margin-bottom: 1%;
  75. }
  76. .ul.img-four .li:nth-child(2) {
  77. margin-right: 5%;
  78. }
  79. .img-other .li image,
  80. .img-four .li image {
  81. width:100%;
  82. height: 200rpx;
  83. }
  84. .ul.img-one .li {
  85. margin-right: 0;
  86. width: 80%;
  87. }
  88. .ul.img-one .li image {
  89. width: 300rpx;
  90. }
  91. .show-img .li:last-child {
  92. margin-right: 0;
  93. }
  94. .goods {
  95. background: #f2f2f2;
  96. padding: 10rpx;
  97. align-items: center;
  98. }
  99. .goods-cover {
  100. width: 80rpx;
  101. height: 80rpx;
  102. margin-right: 18rpx;
  103. }
  104. .goods-cover image {
  105. width: 80rpx;
  106. height: 80rpx;
  107. }
  108. .goods-name {
  109. overflow: hidden;
  110. padding-right: 22rpx;
  111. flex: 1;
  112. width: 0;
  113. /* text-overflow: ellipsis;
  114. display: -webkit-box;
  115. -webkit-box-orient: vertical;
  116. -webkit-line-clamp: 2; */
  117. }
  118. .goods-name .goods-title {
  119. width: 100%;
  120. overflow: hidden;
  121. text-overflow: ellipsis;
  122. white-space: nowrap;
  123. }
  124. .goods-name .goods-price {
  125. color: #ff5777;
  126. margin-top: 5rpx;
  127. font-weight: bold;
  128. }
  129. .buy {
  130. margin-top: 20rpx;
  131. justify-content: space-between;
  132. align-items: center;
  133. }
  134. .buy-avatars image {
  135. width: 50rpx;
  136. height: 50rpx;
  137. border-radius: 50%;
  138. margin-left: -10rpx;
  139. }
  140. .buy-avatars image:first-child {
  141. margin-left: 0;
  142. }
  143. .buy-btn {
  144. background-color: #FF5777;
  145. width: 160rpx;
  146. height: 60rpx;
  147. text-align: center;
  148. line-height: 60rpx;
  149. border-radius: 3px;
  150. color: #fff;
  151. }
  152. .buy-num {
  153. display: inline-block;
  154. color: #666;
  155. margin-left: 4px;
  156. font-size: 18rpx;
  157. vertical-align:top;
  158. line-height:60rpx;
  159. }
  160. .add_post {
  161. position: fixed;
  162. right: 30rpx;
  163. bottom: 200rpx;
  164. width: 60rpx;
  165. height: 60rpx;
  166. z-index: 1000;
  167. }
  168. .add_post text {
  169. font-size: 60rpx;
  170. color: #ff5777;
  171. }