index.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. .container {
  12. height: 100%;
  13. background-color: #f8f6f6;
  14. padding-bottom: 30rpx;
  15. }
  16. .content-box {
  17. height: 100%;
  18. }
  19. .user-section {
  20. position: relative;
  21. width: 690rpx;
  22. margin: 0 30rpx;
  23. margin-top: -100rpx;
  24. padding: 20rpx;
  25. border-radius: 15rpx;
  26. background-color: #ffffff;
  27. }
  28. .user-section .upVipBox {
  29. padding: 12rpx;
  30. background-color: #f5f5f5;
  31. border-radius: 10rpx;
  32. font-weight: bold;
  33. }
  34. .user-section .upVipBox .upViewTip {
  35. height: 78rpx;
  36. width: 78rpx;
  37. }
  38. .user-section .user-info-box {
  39. position: relative;
  40. height: 100%;
  41. width: 100%;
  42. color: white;
  43. display: flex;
  44. justify-content: space-between;
  45. z-index: 10;
  46. }
  47. .user-section .user-info-box .detail {
  48. display: flex;
  49. width: 100%;
  50. }
  51. .user-section .user-info-box .detail .portrait-box {
  52. height: 80rpx;
  53. width: 80rpx;
  54. }
  55. .user-section .user-info-box .detail .portrait-box .portrait {
  56. width: 100%;
  57. height: 100%;
  58. border: 5rpx solid #fff;
  59. border-radius: 50%;
  60. }
  61. .user-section .user-info-box .detail .info-box {
  62. margin: auto 20rpx;
  63. color: #303133;
  64. }
  65. .user-section .user-info-box .detail .info-box .username {
  66. font-size: 32rpx;
  67. font-weight: bold;
  68. }
  69. .user-section .user-info-box .config {
  70. flex-shrink: 0;
  71. line-height: 1;
  72. padding-top: 5rpx;
  73. margin: auto 0;
  74. padding: 16rpx 34rpx;
  75. border-radius: 26rpx;
  76. font-size: 24rpx;
  77. background-color: #e896b3;
  78. text-align: center;
  79. }
  80. .top-swiper {
  81. width: 750rpx;
  82. height: 580rpx;
  83. }
  84. .top-swiper .topImg {
  85. width: 750rpx;
  86. height: 580rpx;
  87. }
  88. .content-swiper {
  89. background-color: #ffffff;
  90. margin: 20rpx 30rpx;
  91. width: 690rpx;
  92. height: 238rpx;
  93. border-radius: 15rpx;
  94. }
  95. .content-swiper .contentImg {
  96. width: 690rpx;
  97. height: 238rpx;
  98. }
  99. .cate-section {
  100. justify-content: flex-start;
  101. background-color: #fff;
  102. padding: 30rpx 10rpx;
  103. padding-bottom: 10rpx;
  104. margin: 20rpx 30rpx 0rpx 30rpx;
  105. flex-wrap: wrap;
  106. border-radius: 15rpx;
  107. }
  108. .cate-section .cate-item {
  109. flex-grow: 0;
  110. width: 25%;
  111. flex-direction: column;
  112. text-align: center;
  113. align-items: center;
  114. justify-content: center;
  115. padding-bottom: 20rpx;
  116. }
  117. .cate-section .cate-item .img-wrapper {
  118. width: 90rpx;
  119. height: 90rpx;
  120. border-radius: 20rpx;
  121. position: relative;
  122. }
  123. .cate-section .cate-item .img-wrapper image {
  124. width: 90rpx;
  125. height: 90rpx;
  126. position: absolute;
  127. left: 50%;
  128. top: 50%;
  129. -webkit-transform: translate(-50%, -50%);
  130. transform: translate(-50%, -50%);
  131. }
  132. .cate-section .cate-item .item-title {
  133. margin-top: 15rpx;
  134. font-size: 26rpx;
  135. font-weight: bold;
  136. color: #6b4216;
  137. }
  138. .activty {
  139. padding-top: 30rpx;
  140. }
  141. .activty .action-title {
  142. color: #ee2f72;
  143. font-weight: bold;
  144. justify-content: center;
  145. }
  146. .activty .action-title .action-title-icon {
  147. width: 20rpx;
  148. height: 12rpx;
  149. }
  150. .activty .action-title-tip {
  151. font-size: 24rpx;
  152. color: #909399;
  153. text-align: center;
  154. }
  155. .productList {
  156. margin: 0 30rpx 20rpx 30rpx;
  157. border-radius: 20rpx;
  158. overflow: hidden;
  159. background-color: #ffffff;
  160. position: relative;
  161. line-height: 1;
  162. }
  163. .productList .tipLeft {
  164. background-color: #ff3342;
  165. border-radius: 20rpx;
  166. border-bottom-left-radius: 0rpx;
  167. padding: 15rpx 25rpx;
  168. position: absolute;
  169. left: 0;
  170. top: 0;
  171. z-index: 9;
  172. }
  173. .productList .productImg {
  174. height: 330rpx;
  175. width: 690rpx;
  176. }
  177. .productList .product-name {
  178. font-size: 30rpx;
  179. font-weight: bold;
  180. color: #303133;
  181. }
  182. .productList .mask,
  183. .productList .sales {
  184. font-size: 24rpx;
  185. color: #909399;
  186. }
  187. .productList .money {
  188. align-items: flex-end;
  189. line-height: 0;
  190. }
  191. .productList .money .payMoney {
  192. color: #ff4c4c;
  193. }
  194. .productList .money .oldMoney {
  195. text-decoration: line-through;
  196. color: #909399;
  197. font-size: 26rpx;
  198. }
  199. .productList .buttomPlay {
  200. font-size: 26rpx;
  201. background-color: #ee2f72;
  202. border-radius: 10rpx;
  203. padding: 10rpx 20rpx;
  204. }