.star-container { width: 100%; min-height: 100vh; background-color: #f5f5f5; .loading-area { position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; background: url("../../static/me/loadBackground.png") no-repeat top center / 100% auto, #fff; .svga-player { width: 200px; height: 200px; } } .star-content { width: 100%; padding: 20rpx; } .gender-popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: top center; align-items: center; z-index: 1000; } .character-page { width: 100%; min-height: 100vh; background-color: #f5f5f5; display: flex; flex-direction: column; position: relative; .character-container { flex: 1; display: flex; justify-content: center; align-items: center; padding: 40rpx; margin-bottom: 120rpx; // 为底部按钮留出空间 .character-image { width: 100%; // height: 800rpx; // 调整角色图片高度 object-fit: contain; } } .bottom-button { position: fixed; bottom: 40rpx; left: 40rpx; right: 40rpx; height: 98rpx; background: #333333; border-radius: 49rpx; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 32rpx; font-weight: 500; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); transition: all 0.2s ease; &:active { opacity: 0.95; transform: scale(0.98); } } } } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } } @keyframes moveBall { 0% { transform: translateY(0) scale(1); opacity: 1; } 98% { transform: translateY(180rpx) scale(0.1); opacity: 0.2; } 99% { transform: translateY(180rpx) scale(0.01); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 0; } } .form-page { width: 100%; min-height: 100vh; background: url("../../static/me/cz_bg_top.png") no-repeat top center / 100% auto, #f2f6f2; padding: 30rpx; box-sizing: border-box; .reserveASeat { width: 100vh; height: calc(108rpx + var(--status-bar-height)); } .PageHeader { background: url("../../static/me/cz_bg_top.png") no-repeat top center / 100% auto, #f2f6f2; // background-position-y: var(--status-bar-height); } .form-group { margin-bottom: 20rpx; background: #fff; border-radius: 20rpx; padding: 20rpx; padding-bottom: 26rpx; .label { display: flex; align-items: center; margin-bottom: 16rpx; font-size: 28rpx; color: #333; font-weight: 400; font-size: 28rpx; color: #1f1f1f; font-family: "PingFang SC-Bold"; .required { color: #ff4d4f; margin-right: 8rpx; display: none; &.error { animation: shake 0.5s ease-in-out; } } } .input { width: 100%; height: 88rpx; padding: 0 24rpx; font-size: 28rpx; background: #f2f6f2; border-radius: 16rpx; &.error { border: 2rpx solid #ff4d4f; } } .gender-options { display: flex; gap: 20rpx; .gender-option { width: 152rpx; height: 64rpx; border-radius: 16rpx; border: 2rpx solid #1f1f1f; display: flex; align-items: center; justify-content: center; font-weight: 400; font-size: 28rpx; color: #1f1f1f; font-family: "PingFang SC-Bold"; image { width: 32rpx; height: 32rpx; margin-bottom: -5rpx; margin-right: 4rpx; } .other { image { margin-top: -8rpx; } } &.selected { background: #f7ffea; border-color: #7ebc00; } } } .textarea-container { position: relative; .textarea { width: 100%; height: 240rpx; background: #f5f5f5; border-radius: 12rpx; padding: 24rpx; font-size: 28rpx; &.error { border: 2rpx solid #ff4d4f; } } .word-count { position: absolute; right: 24rpx; bottom: 24rpx; font-size: 24rpx; color: #999; } } .tags-scroll { width: 100%; white-space: nowrap; } .tags-container { display: inline-flex; padding: 20rpx 0; gap: 20rpx; .tag { &.selected { background: #333; color: #fff; } } } } .submit-button { position: fixed; bottom: 40rpx; left: 40rpx; right: 40rpx; height: 98rpx; background: #333333; border-radius: 49rpx; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 32rpx; font-weight: 500; transition: all 0.2s ease; &:active { opacity: 0.95; transform: scale(0.98); } } } @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5rpx); } 75% { transform: translateX(5rpx); } } .character-info { width: 100%; min-height: 100vh; background-color: #f2f6f2; position: relative; padding-bottom: 120rpx; .info-container { padding-bottom: 30rpx; .character-portrait { display: flex; flex-direction: column; align-items: center; margin-bottom: 40rpx; .portrait-image { width: 100%; // height: 600rpx; object-fit: contain; } } .info-section { padding: 0 20rpx; .character-name { font-size: 40rpx; font-weight: 600; color: #333; margin-bottom: 20rpx; height: 94rpx; background: #ffffff; border-radius: 20rpx; display: flex; align-items: center; padding: 22rpx 32rpx; font-weight: 400; font-size: 36rpx; font-family: PingFang SC-Bold; color: #1f1f1f; image { width: 32rpx; height: 32rpx; margin-bottom: -5rpx; margin-left: 8rpx; } .other { image { margin-top: -8rpx; } } } background: #f2f6f2; border-radius: 20rpx; padding: 30rpx; .description-box { background: #ffffff; border-radius: 16rpx; padding: 24rpx; margin-bottom: 30rpx; .description-title { font-weight: 400; font-size: 32rpx; color: #1f1f1f; font-family: "PingFang SC-Bold"; display: flex; align-items: center; justify-content: space-between; padding-bottom: 20rpx; .edit-button { font-size: 24rpx; color: #999; display: flex; align-items: center; justify-content: center; .fa{ color: #999 !important; font-size: 36rpx; margin-left: 10rpx; } } } .description-text { font-size: 28rpx; color: #666; line-height: 1.6; min-height: 280rpx; } } .tags-box { display: flex; flex-wrap: wrap; gap: 16rpx; padding: 16rpx 0; .tag-item { padding: 12rpx 18rpx 10rpx 18rpx; background: #fff; border-radius: 12rpx; border: 2rpx solid #E6E6E6; font-size: 24rpx; color: #666; } } } } .join-button { position: fixed; bottom: 40rpx; left: 40rpx; right: 40rpx; height: 98rpx; background: #1f1f1f; border-radius: 49rpx; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 32rpx; font-weight: 500; box-shadow: 0 4rpx 12rpx rgba(156, 39, 176, 0.3); transition: all 0.2s ease; } }