123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300 |
- /* 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); }
- }
|