diypage.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .page-view {
  2. width: 100%;
  3. height: 100%;
  4. font-size: 12px;
  5. overflow-y: scroll;
  6. margin: none;
  7. overflow-x: hidden;
  8. }
  9. .page-view .diy-phone {
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .page-view .diy-phone .phone-body {
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .page-view .diy-phone .phone-body .phone-main {
  18. width: 100%;
  19. height: 100%;
  20. }
  21. .page-view .fui-goods-group {
  22. height: auto;
  23. overflow: hidden;
  24. background: #f9f9f9;
  25. display: flex;
  26. flex-wrap: wrap;
  27. }
  28. .page-view .fui-goods-group.block {
  29. padding: 4px;
  30. }
  31. .page-view .fui-goods-group.block .fui-goods-item {
  32. width: 48%;
  33. border-bottom: 0;
  34. background: none;
  35. padding: 5px 3px;
  36. overflow: hidden;
  37. position: relative;
  38. display: flex;
  39. flex-direction: column;
  40. justify-content: space-between;
  41. margin-top: 5px;
  42. background-color: #fff;
  43. }
  44. .page-view .fui-goods-group.block .fui-goods-item:nth-child(odd) {
  45. margin-right: 10px;
  46. }
  47. .page-view .fui-goods-group.block .fui-goods-item .tag {
  48. position: absolute;
  49. color: #fff;
  50. width: 150rpx;
  51. height: 80rpx;
  52. display: flex;
  53. align-items: flex-end;
  54. justify-content: center;
  55. text-align: center;
  56. top: -30rpx;
  57. left: -70rpx;
  58. margin: 0;
  59. padding: 0;
  60. background-color: red;
  61. transform: rotate(-45deg);
  62. }
  63. .page-view .fui-goods-group.block .fui-goods-item .image {
  64. width: 100%;
  65. height: 284rpx;
  66. overflow: hidden;
  67. margin: 0;
  68. background-position: center;
  69. background-repeat: no-repeat;
  70. background-size: cover;
  71. }
  72. .page-view .fui-goods-group.block .fui-goods-item .detail {
  73. padding: 10rpx;
  74. }
  75. .page-view .fui-goods-group.block .fui-goods-item .detail .name {
  76. height: 30px;
  77. overflow: hidden;
  78. }
  79. .page-view .fui-goods-group.block .fui-goods-item .detail .noheight {
  80. display: none;
  81. }
  82. .page-view .fui-goods-group.block .fui-goods-item .detail .price {
  83. position: relative;
  84. display: -webkit-box;
  85. display: -webkit-flex;
  86. display: -ms-flexbox;
  87. display: flex;
  88. -webkit-box-align: center;
  89. -webkit-align-items: center;
  90. -ms-flex-align: center;
  91. align-items: center;
  92. font-size: 14px;
  93. }
  94. .page-view .fui-goods-group.block .fui-goods-item .detail .price .text {
  95. -webkit-box-flex: 1;
  96. -webkit-flex: 1;
  97. -ms-flex: 1;
  98. flex: 1;
  99. color: #ed2822;
  100. padding-left: 0;
  101. }
  102. .page-view .fui-goods-group.block .fui-goods-item .detail .price .text .minprice {
  103. font-size: 15px;
  104. }
  105. .page-view .fui-goods-group.block .fui-goods-item .detail .price .text .buy {
  106. display: inline-block;
  107. height: 22px;
  108. color: #ff5555;
  109. border-radius: 10;
  110. background: #fff;
  111. padding: 0rem 5px;
  112. border: 1px solid transparent;
  113. }
  114. .page-view .fui-goods-group.block .fui-goods-item-one {
  115. height: 288rpx;
  116. width: 100%;
  117. display: flex;
  118. align-items: center;
  119. background-color: #ffffff;
  120. box-sizing: border-box;
  121. padding: 5px 0;
  122. position: relative;
  123. overflow: hidden;
  124. }
  125. .page-view .fui-goods-group.block .fui-goods-item-one .tag {
  126. position: absolute;
  127. color: #fff;
  128. width: 150rpx;
  129. height: 80rpx;
  130. display: flex;
  131. align-items: flex-end;
  132. justify-content: center;
  133. text-align: center;
  134. top: -30rpx;
  135. left: -70rpx;
  136. margin: 0;
  137. padding: 0;
  138. background-color: red;
  139. transform: rotate(-45deg);
  140. }
  141. .page-view .fui-goods-group.block .fui-goods-item-one .image {
  142. width: 45%;
  143. height: 288rpx;
  144. overflow: hidden;
  145. margin: 0;
  146. background-position: center;
  147. background-size: 100% 100%;
  148. -webkit-background-size: 100% 100%;
  149. }
  150. .page-view .fui-goods-group.block .fui-goods-item-one .detail .name {
  151. height: 30px;
  152. overflow: hidden;
  153. }
  154. .page-view .fui-goods-group.block .fui-goods-item-one .detail .noheight {
  155. display: none;
  156. }
  157. .page-view .fui-goods-group.block .fui-goods-item-one .detail .price {
  158. position: relative;
  159. display: -webkit-box;
  160. display: -webkit-flex;
  161. display: -ms-flexbox;
  162. display: flex;
  163. -webkit-box-align: center;
  164. -webkit-align-items: center;
  165. -ms-flex-align: center;
  166. align-items: center;
  167. font-size: 14px;
  168. margin-right: 10px;
  169. }
  170. .page-view .fui-goods-group.block .fui-goods-item-one .detail .price .text {
  171. -webkit-box-flex: 1;
  172. -webkit-flex: 1;
  173. -ms-flex: 1;
  174. flex: 1;
  175. color: #ed2822;
  176. padding-left: 0;
  177. }
  178. .page-view .fui-goods-group.block .fui-goods-item-one .detail .price .text .minprice {
  179. font-size: 15px;
  180. margin-right: 10px;
  181. }
  182. .page-view .fui-goods-group.block .fui-goods-item-one .detail .price .text .buy {
  183. display: inline-block;
  184. height: 1.1rem;
  185. color: #ff5555;
  186. line-height: 1rem;
  187. border-radius: 10;
  188. background: #fff;
  189. padding: 0rem 5px;
  190. width: 150px;
  191. border-radius: 0.1rem;
  192. border: 1px solid transparent;
  193. }
  194. .page-view .icongroup {
  195. display: flex;
  196. justify-content: space-between;
  197. flex-wrap: wrap;
  198. }
  199. .page-view .icongroup .icongroup-item {
  200. display: flex;
  201. flex-direction: column;
  202. justify-items: center;
  203. align-items: center;
  204. }
  205. .page-view .icongroup .icongroup-item .title {
  206. margin-top: 10px;
  207. }
  208. .page-view .banner {
  209. height: 400rpx;
  210. }
  211. .page-view .banner swiper {
  212. height: 100%;
  213. }