index.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. .home {
  2. width: 100vw;
  3. height: 100vh;
  4. background-color: rgb(247, 247, 247);
  5. position: relative;
  6. /* z-index: -1; */
  7. .bg-box {
  8. position: absolute;
  9. top: 0;
  10. left: 0;
  11. width: 100vw;
  12. // height: 654rpx;
  13. z-index: 1;
  14. background: linear-gradient(
  15. 136deg,
  16. rgba(239, 83, 14, 0.63) 13%,
  17. rgba(239, 83, 14, 0.27) 54%
  18. );
  19. // background: url('https://jufeng-shop-1317254189.cos.ap-guangzhou.myqcloud.com/1720408189735-bg_index.png') no-repeat center center;
  20. background-size: 100% 100%;
  21. }
  22. .header-top {
  23. margin-left: 32rpx;
  24. position: relative;
  25. z-index: 2;
  26. @include flex(flex-start, null, 12rpx);
  27. .shop-title {
  28. font-size: 36rpx;
  29. color: #000;
  30. }
  31. .shop-state {
  32. width: 148rpx;
  33. height: 48rpx;
  34. border-radius: 24rpx;
  35. background-color: #fff;
  36. box-sizing: border-box;
  37. padding: 0 16rpx;
  38. @include flex(space-between, null, 6rpx);
  39. text {
  40. font-size: 24rpx;
  41. }
  42. }
  43. }
  44. .main {
  45. position: relative;
  46. z-index: 2;
  47. border-radius: 36rpx 36rpx 0 0;
  48. margin-top: 30rpx;
  49. padding: 28rpx 0;
  50. box-sizing: border-box;
  51. width: 100%;
  52. height: 479rpx;
  53. @include flex(center, column,30rpx);
  54. background: rgba(255, 255, 255, 0.8);
  55. .main-tool {
  56. width: 100%;
  57. .tool-list {
  58. @include flex(center);
  59. .tool-item {
  60. flex: 1;
  61. @include flex(center,column,10rpx);
  62. .item-img{
  63. width: 100rpx;
  64. height: 100rpx;
  65. border-radius: 50%;
  66. @include flex(center);
  67. image{
  68. width: 50rpx;
  69. height: 50rpx;
  70. display: block;
  71. }
  72. }
  73. .item-text{
  74. font-size: 28rpx;
  75. color: #666666;
  76. }
  77. }
  78. }
  79. }
  80. .main-container{
  81. width: 100%;
  82. .tube-list{
  83. @include flex(center);
  84. flex-wrap: wrap;
  85. margin-top: 40rpx;
  86. .tube-item{
  87. width: 25%;
  88. @include flex(center,column,10rpx);
  89. margin-top: 20rpx;
  90. image{
  91. width: 40rpx;
  92. height: 40rpx;
  93. }
  94. text{
  95. font-size: 24rpx;
  96. color: #666666;
  97. }
  98. }
  99. }
  100. }
  101. }
  102. // .header-content {
  103. // position: relative;
  104. // z-index: 2;
  105. // width: 694rpx;
  106. // height: 294rpx;
  107. // margin: 60rpx auto 40rpx;
  108. // background: rgba(255, 255, 255, 0.5);
  109. // border-radius: 32rpx;
  110. // }
  111. // .main-tool {
  112. // position: relative;
  113. // z-index: 2;
  114. // .tool-list {
  115. // padding: 40rpx 60rpx 50rpx;
  116. // background-color: #fff;
  117. // height: 208rpx;
  118. // width: 100%;
  119. // border-radius: 28px 28px 0px 0px;
  120. // box-sizing: border-box;
  121. // @include flex(space-between, null, 60rpx);
  122. // .tool-item {
  123. // @include flex(center, column, 10rpx);
  124. // image {
  125. // width: 48rpx;
  126. // height: 48rpx;
  127. // }
  128. // text {
  129. // color: #666666;
  130. // font-size: 28rpx;
  131. // }
  132. // }
  133. // }
  134. // }
  135. .summarize-box {
  136. padding: 0 32rpx;
  137. box-sizing: border-box;
  138. @include flex(space-between);
  139. margin: 32rpx 0;
  140. .summarize-left {
  141. font-size: 36rpx;
  142. color: #3d3d3d;
  143. }
  144. .summarize-right {
  145. @include flex(center, null);
  146. font-size: 28rpx;
  147. color: #999999;
  148. }
  149. }
  150. .statistics-list {
  151. @include flex(space-between, null, 18rpx);
  152. flex-wrap: wrap;
  153. padding: 0 12rpx;
  154. box-sizing: border-box;
  155. .statistics-item {
  156. width: 354rpx;
  157. height: 286rpx;
  158. padding: 32rpx;
  159. box-sizing: border-box;
  160. background-color: #fff;
  161. border-radius: 28rpx;
  162. .statistics-trans {
  163. color: #666666;
  164. font-size: 28rpx;
  165. margin-bottom: 24rpx;
  166. }
  167. .statistics-price {
  168. @include flex(space-between);
  169. .price {
  170. color: #333333;
  171. font-size: 36rpx;
  172. }
  173. .text {
  174. margin-right: 10rpx;
  175. color: #666666;
  176. font-size: 24rpx;
  177. }
  178. }
  179. .proportion {
  180. @include flex(flex-end);
  181. margin: 20rpx 0 12rpx;
  182. display: none;
  183. .proportion-box {
  184. @include flex(center, null, 5rpx);
  185. text {
  186. font-size: 28rpx;
  187. }
  188. image {
  189. width: 20rpx;
  190. height: 28rpx;
  191. display: block;
  192. }
  193. }
  194. }
  195. .chart-img {
  196. width: 100%;
  197. height: 80rpx;
  198. margin-top: 30rpx;
  199. image {
  200. width: 100%;
  201. height: 100%;
  202. }
  203. }
  204. .empty {
  205. position: relative;
  206. width: 100%;
  207. height: 135rpx;
  208. .left {
  209. position: absolute;
  210. right: 25rpx;
  211. top: 20rpx;
  212. width: 28rpx;
  213. height: 5rpx;
  214. background-color: #666666;
  215. }
  216. .bottom {
  217. width: 100%;
  218. position: absolute;
  219. left: 0;
  220. bottom: 0;
  221. height: 5rpx;
  222. background-color: #666666;
  223. }
  224. }
  225. }
  226. }
  227. }