微信小店联盟带货小程序

index.wxss 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. /* pages/team/index.wxss */
  2. .container {
  3. min-height: 100vh;
  4. background-color: var(--background-color);
  5. }
  6. /* 团队数据概览 */
  7. .team-overview {
  8. display: flex;
  9. justify-content: space-between;
  10. padding: 30rpx;
  11. margin-bottom: 20rpx;
  12. background: #fff;
  13. }
  14. .overview-item {
  15. flex: 1;
  16. display: flex;
  17. flex-direction: column;
  18. align-items: center;
  19. }
  20. .item-value {
  21. font-size: 36rpx;
  22. color: #333;
  23. font-weight: bold;
  24. margin-bottom: 8rpx;
  25. }
  26. .item-label {
  27. font-size: 24rpx;
  28. color: #666;
  29. }
  30. /* 数据统计面板 */
  31. .statistics-panel {
  32. margin: 20rpx;
  33. padding: 30rpx;
  34. background-color: var(--white);
  35. border-radius: 16rpx;
  36. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
  37. }
  38. .panel-header {
  39. display: flex;
  40. justify-content: space-between;
  41. align-items: center;
  42. margin-bottom: 30rpx;
  43. }
  44. .panel-title {
  45. font-size: 32rpx;
  46. font-weight: bold;
  47. color: var(--text-color);
  48. }
  49. .time-select {
  50. display: flex;
  51. align-items: center;
  52. background-color: var(--background-color);
  53. border-radius: 8rpx;
  54. overflow: hidden;
  55. }
  56. .time-select view {
  57. padding: 12rpx 24rpx;
  58. font-size: 24rpx;
  59. color: var(--text-color-secondary);
  60. background-color: var(--background-color);
  61. transition: all 0.3s;
  62. }
  63. .time-select view.active {
  64. color: var(--white);
  65. background-color: var(--primary-color);
  66. }
  67. .statistics-content {
  68. margin-bottom: 30rpx;
  69. }
  70. .data-row {
  71. display: flex;
  72. justify-content: space-between;
  73. }
  74. .data-col {
  75. flex: 1;
  76. text-align: center;
  77. padding: 0 20rpx;
  78. }
  79. .data-label {
  80. font-size: 24rpx;
  81. color: var(--text-color-secondary);
  82. margin-bottom: 12rpx;
  83. }
  84. .data-value {
  85. font-size: 36rpx;
  86. font-weight: bold;
  87. color: var(--text-color);
  88. margin-bottom: 8rpx;
  89. }
  90. .data-trend {
  91. display: inline-flex;
  92. align-items: center;
  93. font-size: 24rpx;
  94. padding: 4rpx 12rpx;
  95. border-radius: 4rpx;
  96. }
  97. .data-trend.up {
  98. color: #52c41a;
  99. background-color: rgba(82, 196, 26, 0.1);
  100. }
  101. .data-trend.down {
  102. color: var(--primary-color);
  103. background-color: rgba(255, 77, 79, 0.1);
  104. }
  105. .chart-container {
  106. width: 100%;
  107. height: 400rpx;
  108. }
  109. /* 团队成员列表 */
  110. .team-list {
  111. margin: 20rpx;
  112. padding: 30rpx;
  113. background-color: var(--white);
  114. border-radius: 16rpx;
  115. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
  116. }
  117. .list-header {
  118. display: flex;
  119. justify-content: space-between;
  120. align-items: center;
  121. margin-bottom: 30rpx;
  122. }
  123. .header-title {
  124. font-size: 32rpx;
  125. font-weight: bold;
  126. color: var(--text-color);
  127. }
  128. .header-tabs {
  129. display: flex;
  130. align-items: center;
  131. background-color: var(--background-color);
  132. border-radius: 8rpx;
  133. overflow: hidden;
  134. }
  135. .header-tabs view {
  136. padding: 12rpx 24rpx;
  137. font-size: 24rpx;
  138. color: var(--text-color-secondary);
  139. background-color: var(--background-color);
  140. transition: all 0.3s;
  141. }
  142. .header-tabs view.active {
  143. color: var(--white);
  144. background-color: var(--primary-color);
  145. }
  146. /* 成员列表 */
  147. .member-list {
  148. height: calc(100vh - 800rpx);
  149. }
  150. .member-item {
  151. padding: 30rpx 0;
  152. border-bottom: 2rpx solid var(--border-color);
  153. }
  154. .member-item:last-child {
  155. border-bottom: none;
  156. }
  157. .member-info {
  158. display: flex;
  159. align-items: center;
  160. margin-bottom: 20rpx;
  161. }
  162. .member-avatar {
  163. width: 80rpx;
  164. height: 80rpx;
  165. border-radius: 50%;
  166. margin-right: 20rpx;
  167. }
  168. .member-detail {
  169. flex: 1;
  170. }
  171. .member-name {
  172. font-size: 28rpx;
  173. color: var(--text-color);
  174. margin-bottom: 8rpx;
  175. }
  176. .member-time {
  177. font-size: 24rpx;
  178. color: var(--text-color-light);
  179. }
  180. .member-level {
  181. font-size: 24rpx;
  182. color: var(--primary-color);
  183. background-color: rgba(255, 77, 79, 0.1);
  184. padding: 4rpx 12rpx;
  185. border-radius: 4rpx;
  186. }
  187. .member-data {
  188. display: flex;
  189. justify-content: space-around;
  190. }
  191. .data-item {
  192. text-align: center;
  193. }
  194. .data-item text:first-child {
  195. font-size: 24rpx;
  196. color: var(--text-color-secondary);
  197. margin-bottom: 8rpx;
  198. }
  199. .data-item text:last-child {
  200. font-size: 28rpx;
  201. color: var(--text-color);
  202. font-weight: bold;
  203. }
  204. /* 加载状态 */
  205. .loading-state {
  206. display: flex;
  207. align-items: center;
  208. justify-content: center;
  209. padding: 30rpx 0;
  210. }
  211. .loading-icon {
  212. width: 40rpx;
  213. height: 40rpx;
  214. margin-right: 16rpx;
  215. animation: rotate 1s linear infinite;
  216. }
  217. /* 空状态 */
  218. .empty-state {
  219. display: flex;
  220. flex-direction: column;
  221. align-items: center;
  222. justify-content: center;
  223. padding: 60rpx 0;
  224. }
  225. .empty-icon {
  226. width: 160rpx;
  227. height: 160rpx;
  228. margin-bottom: 20rpx;
  229. }
  230. .empty-text {
  231. color: var(--text-color-light);
  232. font-size: 28rpx;
  233. }
  234. .btn-invite {
  235. width: 240rpx;
  236. height: 80rpx;
  237. line-height: 80rpx;
  238. text-align: center;
  239. background: #ff4d4f;
  240. color: #fff;
  241. font-size: 28rpx;
  242. border-radius: 40rpx;
  243. }
  244. /* 列表底部 */
  245. .list-end {
  246. text-align: center;
  247. padding: 30rpx;
  248. color: #999;
  249. font-size: 24rpx;
  250. }
  251. @keyframes spin {
  252. 0% { transform: rotate(0deg); }
  253. 100% { transform: rotate(360deg); }
  254. }