index.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. @import "../../template/template.wxss";
  2. /**index.wxss**/
  3. page{
  4. background: #f1f1f1;
  5. }
  6. .userinfo {
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. }
  11. .userinfo-avatar {
  12. width: 128rpx;
  13. height: 128rpx;
  14. margin: 20rpx;
  15. border-radius: 50%;
  16. }
  17. .userinfo-nickname {
  18. color: #aaa;
  19. }
  20. .usermotto {
  21. margin-top: 200rpx;
  22. }
  23. /*banner*/
  24. .banner-box{
  25. width: 100%;
  26. }
  27. .banner-box .banner-weiper{
  28. height: 300rpx;
  29. }
  30. .select-banner{
  31. height: 100%;
  32. }
  33. .banner-1{
  34. background: #1AAD19;
  35. }
  36. .banner-2{
  37. background: #2782D7;
  38. }
  39. .banner-3{
  40. background: #fb752c;
  41. }
  42. /* 导航 */
  43. .nav-box{
  44. width: 100%;
  45. background: #fff;
  46. margin-bottom: 1rpx;
  47. }
  48. .nav-box .nav-selse-navigator{
  49. text-align: center;
  50. border-bottom: 5px solid #f1f1f1;
  51. }
  52. .nav-box .nav-selse-navigator:after{
  53. content: "";
  54. display: block;
  55. clear: both;
  56. }
  57. .nav-box .nav-selse-navigator navigator{
  58. float: left;
  59. width: 25%;
  60. padding: 20rpx 0;
  61. }
  62. .nav-box .nav-selse-navigator navigator image{
  63. width: 70rpx;
  64. height: 70rpx;
  65. margin-bottom: 10rpx;
  66. }
  67. .nav-box .nav-selse-navigator navigator .nav-text{
  68. font-size: 24rpx;
  69. color: #666;
  70. }
  71. /* 导航下的公告 */
  72. .nav-box .nav-notice{
  73. padding: 10rpx 0;
  74. border-bottom: 10rpx solid #f1f1f1;
  75. }
  76. .nav-box .nav-notice::after{
  77. content: "";
  78. display: block;
  79. clear: both;
  80. }
  81. .nav-box .nav-notice image{
  82. width: 50rpx;
  83. height:50rpx;
  84. float: left;
  85. margin-left: 10rpx;
  86. margin-right: 10rpx;
  87. }
  88. .nav-box .nav-notice text{
  89. display: block;
  90. height:100%;
  91. font-size: 24rpx;
  92. line-height: 50rpx;
  93. }
  94. .nav-box .nav-notice .notice-swiper{
  95. height: 50rpx;
  96. width: 85%;
  97. float: left;
  98. }
  99. .nav-box .nav-notice .notice-swiper swiper-item{
  100. height: 100%;
  101. }
  102. .nav-box .nav-notice .notice-swiper swiper-item text{
  103. float: left;
  104. }
  105. .nav-box .nav-notice .notice-swiper swiper-item .notice-data-style{
  106. color: #2782D7;
  107. }
  108. .notice-data-goods{
  109. width: 350rpx;
  110. text-overflow: ellipsis;
  111. overflow: hidden;
  112. white-space: nowrap;
  113. }
  114. /* 商品分类推荐展示窗口 */
  115. .listgoods-box{
  116. width: 100%;
  117. }
  118. .listgoods-box .classify{
  119. background: #fff;
  120. margin-bottom: 25rpx;
  121. height: 92rpx;
  122. }
  123. .listgoods-box .classify .classify-position:after{
  124. content: "";
  125. display: block;
  126. clear:both;
  127. }
  128. .listgoods-box .classify .classify-position{
  129. background: #fff;
  130. width: 100%;
  131. z-index: 999;
  132. }
  133. .listgoods-box .classify .classify-fixed{
  134. position: fixed;
  135. top: 0;
  136. }
  137. .listgoods-box .classify .classify-position view{
  138. float: left;
  139. width: 33.33333%;
  140. }
  141. .listgoods-box .classify view text{
  142. display: block;
  143. text-align: center;
  144. font-size: 30rpx;
  145. color: #333;
  146. width: 60%;
  147. margin: 0 auto;
  148. line-height: 90rpx;
  149. }
  150. .listgoods-box .classify view .classify-select{
  151. border-bottom: 6rpx solid #fb752c;
  152. color: #fb752c;
  153. }
  154. .listgoods-box .container-box:after{
  155. content: "";
  156. display: block;
  157. clear: both;
  158. }
  159. image{
  160. width: 100%;
  161. height: 100%;
  162. }
  163. .red-packet{
  164. background: rgba(0, 0, 0, 0.3);
  165. width: 100%;
  166. height: 100%;
  167. position: absolute;
  168. top: 0;
  169. left: 0;
  170. }
  171. .red-packet image{
  172. position: absolute;
  173. width: 524rpx;
  174. height: 632rpx;
  175. top: 50%;
  176. left: 50%;
  177. margin-left: -262rpx;
  178. margin-top: -316rpx;
  179. }
  180. .red-packet .close{
  181. position: absolute;
  182. left: 50%;
  183. top: 50%;
  184. margin-top: -310rpx;
  185. margin-left: 210rpx;
  186. z-index: 10;
  187. }
  188. .red-packet .btn{
  189. position: absolute;
  190. top: 50%;
  191. left: 50%;
  192. margin-top: 190rpx;
  193. margin-left: -254rpx;
  194. width: 600rpx;
  195. }
  196. .red-packet .btn::after{
  197. content: '';
  198. display: block;
  199. clear: both;
  200. }
  201. .red-packet .btn button::before{
  202. border: none;
  203. }
  204. .red-packet .btn button {
  205. width: 200rpx;
  206. height: 80rpx;
  207. float: left;
  208. margin-left: 30rpx;
  209. background: #fff;
  210. border-radius: 40rpx;
  211. font-size: 30rpx;
  212. color: #f8c323;
  213. }
  214. .red-packet text{
  215. width: 100%;
  216. position: absolute;
  217. top: 50%;
  218. margin-top: -110rpx;
  219. text-align: center;
  220. color: #e12e2e;
  221. font-weight: 600;
  222. font-size: 42rpx;
  223. }
  224. .ad {
  225. width: 100%;
  226. height: 140rpx;
  227. margin-bottom: 10rpx;
  228. background: #ccc;
  229. }
  230. .ad navigator{
  231. height: 100%;
  232. }
  233. .ad navigator image {
  234. height: 100%;
  235. }