/* pages/team/index.wxss */ .container { min-height: 100vh; background-color: var(--background-color); } /* 团队数据概览 */ .team-overview { display: flex; justify-content: space-between; padding: 30rpx; margin-bottom: 20rpx; background: #fff; } .overview-item { flex: 1; display: flex; flex-direction: column; align-items: center; } .item-value { font-size: 36rpx; color: #333; font-weight: bold; margin-bottom: 8rpx; } .item-label { font-size: 24rpx; color: #666; } /* 数据统计面板 */ .statistics-panel { margin: 20rpx; padding: 30rpx; background-color: var(--white); border-radius: 16rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1); } .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30rpx; } .panel-title { font-size: 32rpx; font-weight: bold; color: var(--text-color); } .time-select { display: flex; align-items: center; background-color: var(--background-color); border-radius: 8rpx; overflow: hidden; } .time-select view { padding: 12rpx 24rpx; font-size: 24rpx; color: var(--text-color-secondary); background-color: var(--background-color); transition: all 0.3s; } .time-select view.active { color: var(--white); background-color: var(--primary-color); } .statistics-content { margin-bottom: 30rpx; } .data-row { display: flex; justify-content: space-between; } .data-col { flex: 1; text-align: center; padding: 0 20rpx; } .data-label { font-size: 24rpx; color: var(--text-color-secondary); margin-bottom: 12rpx; } .data-value { font-size: 36rpx; font-weight: bold; color: var(--text-color); margin-bottom: 8rpx; } .data-trend { display: inline-flex; align-items: center; font-size: 24rpx; padding: 4rpx 12rpx; border-radius: 4rpx; } .data-trend.up { color: #52c41a; background-color: rgba(82, 196, 26, 0.1); } .data-trend.down { color: var(--primary-color); background-color: rgba(255, 77, 79, 0.1); } .chart-container { width: 100%; height: 400rpx; } /* 团队成员列表 */ .team-list { margin: 20rpx; padding: 30rpx; background-color: var(--white); border-radius: 16rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1); } .list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30rpx; } .header-title { font-size: 32rpx; font-weight: bold; color: var(--text-color); } .header-tabs { display: flex; align-items: center; background-color: var(--background-color); border-radius: 8rpx; overflow: hidden; } .header-tabs view { padding: 12rpx 24rpx; font-size: 24rpx; color: var(--text-color-secondary); background-color: var(--background-color); transition: all 0.3s; } .header-tabs view.active { color: var(--white); background-color: var(--primary-color); } /* 成员列表 */ .member-list { height: calc(100vh - 800rpx); } .member-item { padding: 30rpx 0; border-bottom: 2rpx solid var(--border-color); } .member-item:last-child { border-bottom: none; } .member-info { display: flex; align-items: center; margin-bottom: 20rpx; } .member-avatar { width: 80rpx; height: 80rpx; border-radius: 50%; margin-right: 20rpx; } .member-detail { flex: 1; } .member-name { font-size: 28rpx; color: var(--text-color); margin-bottom: 8rpx; } .member-time { font-size: 24rpx; color: var(--text-color-light); } .member-level { font-size: 24rpx; color: var(--primary-color); background-color: rgba(255, 77, 79, 0.1); padding: 4rpx 12rpx; border-radius: 4rpx; } .member-data { display: flex; justify-content: space-around; } .data-item { text-align: center; } .data-item text:first-child { font-size: 24rpx; color: var(--text-color-secondary); margin-bottom: 8rpx; } .data-item text:last-child { font-size: 28rpx; color: var(--text-color); font-weight: bold; } /* 加载状态 */ .loading-state { display: flex; align-items: center; justify-content: center; padding: 30rpx 0; } .loading-icon { width: 40rpx; height: 40rpx; margin-right: 16rpx; animation: rotate 1s linear infinite; } /* 空状态 */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60rpx 0; } .empty-icon { width: 160rpx; height: 160rpx; margin-bottom: 20rpx; } .empty-text { color: var(--text-color-light); font-size: 28rpx; } .btn-invite { width: 240rpx; height: 80rpx; line-height: 80rpx; text-align: center; background: #ff4d4f; color: #fff; font-size: 28rpx; border-radius: 40rpx; } /* 列表底部 */ .list-end { text-align: center; padding: 30rpx; color: #999; font-size: 24rpx; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }