index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /* components/diy-store/index.wxss */
  2. .one_index {
  3. margin: 0 0 100rpx 0;
  4. }
  5. .one_index .one_info {
  6. background-size: 100%;
  7. height: 370rpx;
  8. display: flex;
  9. align-items: flex-end;
  10. padding: 30rpx;
  11. }
  12. .one_index .one_info .one_image {
  13. width: 120rpx;
  14. height: 120rpx;
  15. border-radius: 50%;
  16. }
  17. .one_index .one_info .one_right {
  18. color: #ffffff;
  19. width: calc(100% - 180rpx);
  20. margin: 15rpx 20rpx;
  21. }
  22. .one_index .one_info .one_right .one_name {
  23. font-size: 38rpx;
  24. font-weight: 700;
  25. margin-bottom: 10rpx;
  26. overflow: hidden;
  27. text-overflow: ellipsis;
  28. display: -webkit-box;
  29. -webkit-line-clamp: 1;
  30. -webkit-box-orient: vertical;
  31. }
  32. .one_index .one_info .one_right .one_desc {
  33. font-size: 28rpx;
  34. overflow: hidden;
  35. text-overflow: ellipsis;
  36. white-space: nowrap;
  37. }
  38. .two_index {
  39. margin: 0 0 100rpx 0;
  40. }
  41. .two_index .two_image {
  42. width: 100%;
  43. height: 370rpx;
  44. }
  45. .two_index .two_info {
  46. width: 100%;
  47. display: flex;
  48. margin: -80rpx 30rpx;
  49. }
  50. .two_index .two_info .two_avatar {
  51. width: 150rpx;
  52. height: 150rpx;
  53. border-radius: 50%;
  54. }
  55. .two_index .two_info .two_right {
  56. width: calc(100% - 190rpx);
  57. padding: 0 20rpx;
  58. }
  59. .two_index .two_info .two_right .two_name {
  60. font-size: 38rpx;
  61. color: #ffffff;
  62. font-weight: 700;
  63. overflow: hidden;
  64. text-overflow: ellipsis;
  65. display: -webkit-box;
  66. -webkit-line-clamp: 1;
  67. -webkit-box-orient: vertical;
  68. margin: 20rpx 0;
  69. }
  70. .two_index .two_info .two_right .two_desc {
  71. color: #999999;
  72. font-size: 24rpx;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. white-space: nowrap;
  76. }
  77. .three_index {
  78. margin: 0 0 100rpx 0;
  79. }
  80. .three_index .three_info {
  81. text-align: center;
  82. }
  83. .three_index .three_info .three_image {
  84. width: 100%;
  85. height: 370rpx;
  86. }
  87. .three_index .three_info .three_avatar {
  88. width: 150rpx;
  89. height: 150rpx;
  90. border-radius: 50%;
  91. margin: -80rpx 0 20rpx;
  92. }
  93. .three_index .three_info .three_name {
  94. font-size: 38rpx;
  95. font-weight: 700;
  96. margin-bottom: 20rpx;
  97. overflow: hidden;
  98. text-overflow: ellipsis;
  99. display: -webkit-box;
  100. -webkit-line-clamp: 1;
  101. -webkit-box-orient: vertical;
  102. }
  103. .three_index .three_info .three_desc {
  104. padding: 0 50rpx;
  105. color: #999999;
  106. font-size: 24rpx;
  107. overflow: hidden;
  108. text-overflow: ellipsis;
  109. white-space: nowrap;
  110. }
  111. .four_index {
  112. margin: 0 0 100rpx 0;
  113. }
  114. .four_index .four_info {
  115. display: flex;
  116. flex-direction: column;
  117. align-items: center;
  118. justify-content: center;
  119. width: 100%;
  120. height: 370rpx;
  121. background-size: 100%;
  122. }
  123. .four_index .four_info .four_avatar {
  124. width: 120rpx;
  125. height: 120rpx;
  126. border-radius: 50%;
  127. }
  128. .four_index .four_info .four_name {
  129. font-size: 38rpx;
  130. font-weight: 700;
  131. color: #ffffff;
  132. margin: 20rpx 0;
  133. overflow: hidden;
  134. text-overflow: ellipsis;
  135. display: -webkit-box;
  136. -webkit-line-clamp: 1;
  137. -webkit-box-orient: vertical;
  138. }
  139. .four_index .four_info .four_line {
  140. width: 410rpx;
  141. height: 2rpx;
  142. background: #f3ece7;
  143. }
  144. .four_index .four_info .four_desc {
  145. margin-top: 15rpx;
  146. color: #999999;
  147. font-size: 24rpx;
  148. overflow: hidden;
  149. text-overflow: ellipsis;
  150. white-space: nowrap;
  151. }