123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375 |
- .container {
- min-height: 100vh;
- background: #f7f7f7;
- padding: 30rpx 24rpx;
- box-sizing: border-box;
- }
- /* 顶部邀请卡片 */
- .invite-card {
- background: linear-gradient(135deg, #ff4d4f, #ff7875);
- border-radius: 24rpx;
- padding: 40rpx 30rpx;
- color: #fff;
- box-shadow: 0 8rpx 24rpx rgba(255, 77, 79, 0.2);
- margin-bottom: 24rpx;
- }
- .card-header {
- margin-bottom: 40rpx;
- }
- .header-title {
- margin-bottom: 30rpx;
- }
- .header-title .title {
- font-size: 40rpx;
- font-weight: 600;
- margin-bottom: 12rpx;
- display: block;
- }
- .header-title .subtitle {
- font-size: 26rpx;
- opacity: 0.9;
- }
- .header-rewards {
- display: flex;
- align-items: center;
- justify-content: space-around;
- background: rgba(255, 255, 255, 0.1);
- border-radius: 16rpx;
- padding: 24rpx;
- }
- .reward-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- flex: 1;
- }
- .reward-value {
- font-size: 44rpx;
- font-weight: 600;
- margin-bottom: 8rpx;
- }
- .reward-label {
- font-size: 24rpx;
- opacity: 0.9;
- }
- .reward-divider {
- width: 2rpx;
- height: 60rpx;
- background: rgba(255, 255, 255, 0.2);
- margin: 0 30rpx;
- }
- .card-body {
- background: rgba(255, 255, 255, 0.1);
- border-radius: 16rpx;
- padding: 24rpx;
- }
- .invite-code-box {
- margin-bottom: 24rpx;
- }
- .code-title {
- font-size: 26rpx;
- margin-bottom: 16rpx;
- opacity: 0.9;
- }
- .code-content {
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: rgba(255, 255, 255, 0.1);
- border-radius: 12rpx;
- padding: 20rpx;
- }
- .code {
- font-size: 36rpx;
- font-weight: 600;
- letter-spacing: 4rpx;
- }
- .copy-btn {
- background: #fff;
- color: #ff4d4f;
- font-size: 26rpx;
- padding: 8rpx 24rpx;
- border-radius: 30rpx;
- margin: 0;
- line-height: 1.6;
- }
- .share-btn {
- width: 100%;
- background: #fff;
- color: #ff4d4f;
- font-size: 32rpx;
- font-weight: 600;
- border-radius: 40rpx;
- padding: 20rpx 0;
- display: flex;
- align-items: center;
- justify-content: center;
- margin: 0;
- }
- .share-icon {
- width: 36rpx;
- height: 36rpx;
- margin-right: 12rpx;
- }
- /* 数据统计面板 */
- .stats-panel {
- background: #fff;
- border-radius: 24rpx;
- padding: 30rpx;
- display: flex;
- justify-content: space-around;
- margin-bottom: 24rpx;
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
- }
- .stats-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .stats-value {
- font-size: 36rpx;
- font-weight: 600;
- color: #333;
- margin-bottom: 8rpx;
- }
- .stats-label {
- font-size: 24rpx;
- color: #999;
- }
- /* 邀请规则卡片 */
- .rules-card {
- background: #fff;
- border-radius: 24rpx;
- padding: 30rpx;
- margin-bottom: 24rpx;
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
- }
- .rules-title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 30rpx;
- font-size: 32rpx;
- font-weight: 600;
- color: #333;
- }
- .rules-more {
- font-size: 26rpx;
- color: #999;
- font-weight: normal;
- }
- .rules-steps {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .step-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .step-circle {
- width: 60rpx;
- height: 60rpx;
- background: rgba(255, 77, 79, 0.1);
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #ff4d4f;
- font-weight: 600;
- margin-bottom: 12rpx;
- }
- .step-text {
- font-size: 24rpx;
- color: #666;
- }
- .step-arrow {
- width: 40rpx;
- height: 2rpx;
- background: #ddd;
- position: relative;
- margin: 0 8rpx;
- top: -20rpx;
- }
- .step-arrow::after {
- content: '';
- position: absolute;
- right: 0;
- top: -4rpx;
- width: 10rpx;
- height: 10rpx;
- border-top: 2rpx solid #ddd;
- border-right: 2rpx solid #ddd;
- transform: rotate(45deg);
- }
- /* 邀请记录列表 */
- .records-card {
- background: #fff;
- border-radius: 24rpx;
- padding: 30rpx;
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
- }
- .records-title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 24rpx;
- font-size: 32rpx;
- font-weight: 600;
- color: #333;
- }
- .records-count {
- font-size: 26rpx;
- color: #999;
- font-weight: normal;
- }
- .friend-list {
- max-height: 600rpx;
- overflow-y: auto;
- }
- .friend-item {
- display: flex;
- align-items: center;
- padding: 24rpx 0;
- border-bottom: 2rpx solid #f5f5f5;
- }
- .friend-item:last-child {
- border-bottom: none;
- }
- .friend-avatar {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- margin-right: 20rpx;
- background: #f5f5f5;
- }
- .friend-info {
- flex: 1;
- }
- .friend-name {
- font-size: 28rpx;
- color: #333;
- margin-bottom: 8rpx;
- display: block;
- }
- .friend-time {
- font-size: 24rpx;
- color: #999;
- }
- .friend-reward {
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- }
- .status-tag {
- font-size: 22rpx;
- padding: 4rpx 12rpx;
- border-radius: 20rpx;
- margin-bottom: 8rpx;
- }
- .status-tag.active {
- background: rgba(82, 196, 26, 0.1);
- color: #52c41a;
- }
- .status-tag.inactive {
- background: rgba(255, 77, 79, 0.1);
- color: #ff4d4f;
- }
- .reward-text {
- font-size: 26rpx;
- color: #ff4d4f;
- font-weight: 600;
- }
- /* 深色模式适配 */
- @media (prefers-color-scheme: dark) {
- .container {
- background: #1f1f1f;
- }
- .stats-panel,
- .rules-card,
- .records-card {
- background: #2d2d2d;
- box-shadow: none;
- }
- .stats-value {
- color: #fff;
- }
- .stats-label,
- .rules-more,
- .records-count {
- color: #666;
- }
- .rules-title,
- .records-title {
- color: #fff;
- }
- .step-text {
- color: #999;
- }
- .friend-name {
- color: #fff;
- }
- .friend-time {
- color: #666;
- }
- .friend-item {
- border-bottom-color: #333;
- }
- }
|