123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482 |
- .makedetail-container {
- min-height: 100vh;
- background: #f8f9fa;
- padding: 0 0rpx;
- font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
- .nav-bar {
- width: 750rpx;
- height: 96rpx;
- background-color: #fff;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- padding: 0 24rpx;
- box-sizing: border-box;
- border-bottom: 1rpx solid #f0f0f0;
- box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.05);
- .left {
- width: 120rpx;
- .uni-btn-icon {
- font-size: 50rpx;
- color: #333;
- transition: color 0.2s;
-
- &:active {
- color: #2b85e4;
- }
- }
- }
- .center {
- flex: 1;
- text-align: center;
- font-size: 34rpx;
- font-weight: 600;
- color: #333;
- }
- .right {
- width: 260rpx;
- display: flex;
- align-items: center;
- font-size: 28rpx;
-
- image {
- width: 42rpx;
- height: 42rpx;
- }
-
- .coinM, .coinC {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- border: solid 1px #f0f0f0;
- border-radius: 40rpx;
- background: rgba(250,250,250,0.9);
- transition: transform 0.2s, box-shadow 0.2s;
- box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.05);
- margin-left: 16rpx;
-
- &:active {
- transform: scale(0.98);
- }
-
- text {
- padding: 6rpx 20rpx;
- font-weight: 500;
- }
- }
-
- .coinM {
- border-color: #ffecb3;
- background: rgba(255,248,225,0.4);
- }
-
- .coinC {
- border-color: #e3f2fd;
- background: rgba(227,242,253,0.4);
- }
- }
- }
- .preview-section {
- margin: 30rpx 30rpx;
-
- .preview-title {
- font-size: 30rpx;
- font-weight: 600;
- margin-bottom: 20rpx;
- color: #333;
- position: relative;
- padding-left: 20rpx;
-
- &:before {
- content: '';
- position: absolute;
- left: 0;
- top: 6rpx;
- height: 32rpx;
- width: 8rpx;
- background: #2b85e4;
- border-radius: 4rpx;
- }
- }
-
- .preview-card {
- height: 420rpx;
- background: linear-gradient(135deg, #3494E6, #EC6EAD);
- border-radius: 24rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- box-shadow: 0 8rpx 30rpx rgba(52, 148, 230, 0.15);
- overflow: hidden;
- position: relative;
-
- &:before {
- content: '';
- position: absolute;
- width: 200%;
- height: 200%;
- background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
- top: -50%;
- left: -50%;
- }
-
- .loading-icon {
- width: 80rpx;
- height: 80rpx;
- margin-bottom: 20rpx;
- animation: spin 2s linear infinite;
- }
-
- @keyframes spin {
- from { transform: rotate(0deg); }
- to { transform: rotate(360deg); }
- }
-
- .loading-text {
- color: #fff;
- font-size: 34rpx;
- margin-bottom: 16rpx;
- font-weight: 500;
- text-shadow: 0 2rpx 4rpx rgba(0,0,0,0.2);
- }
-
- .sub-text {
- color: rgba(255,255,255,0.9);
- font-size: 26rpx;
- }
- }
- }
- .description-section, .action-section, .environment-section, .image-section, .style-section {
- margin: 30rpx 30rpx;
- background: #fff;
- border-radius: 20rpx;
- padding: 30rpx;
- box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
- }
- .section-title {
- font-size: 30rpx;
- font-weight: 600;
- margin-bottom: 24rpx;
- color: #333;
- position: relative;
-
- .required {
- color: #ff4d4f;
- margin-left: 4rpx;
- }
- }
- .input-area {
- width: 100%;
- height: 200rpx;
- background: #f9f9f9;
- border-radius: 16rpx;
- padding: 24rpx;
- font-size: 28rpx;
- border: 1rpx solid #f0f0f0;
- transition: border-color 0.3s, box-shadow 0.3s;
-
- &:focus {
- border-color: #2b85e4;
- box-shadow: 0 0 0 2rpx rgba(43,133,228,0.2);
- }
- }
- .input-box {
- width: 100%;
- height: 88rpx;
- background: #f9f9f9;
- border-radius: 16rpx;
- padding: 0 24rpx;
- margin-bottom: 24rpx;
- border: 1rpx solid #f0f0f0;
- transition: border-color 0.3s, box-shadow 0.3s;
-
- &:focus {
- border-color: #2b85e4;
- box-shadow: 0 0 0 2rpx rgba(43,133,228,0.2);
- }
- }
- .tag-group {
- display: flex;
- flex-wrap: wrap;
- gap: 20rpx;
-
- .tag {
- padding: 12rpx 32rpx;
- background: #f5f7fa;
- border-radius: 36rpx;
- font-size: 26rpx;
- color: #666;
- transition: all 0.3s;
- border: 1rpx solid transparent;
- box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.03);
-
- &:active {
- background: #e3f2fd;
- color: #2b85e4;
- border-color: #2b85e4;
- }
- }
- }
- .style-scroll {
- white-space: nowrap;
- padding: 10rpx 0;
-
- .style-item {
- display: inline-block;
- margin-right: 24rpx;
- text-align: center;
- flex-direction: column;
- transition: transform 0.3s;
-
- &:active {
- transform: scale(0.97);
- }
-
- image {
- width: 180rpx;
- height: 180rpx;
- border-radius: 16rpx;
- margin-bottom: 12rpx;
- box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.1);
- transition: all 0.3s;
- border: 4rpx solid transparent;
- }
-
- text {
- display: block;
- font-size: 26rpx;
- color: #666;
- transition: color 0.3s;
- }
- }
- }
- .bottom-button {
- padding: 40rpx 30rpx;
-
- .generate-btn {
- width: 100%;
- height: 96rpx;
- background: linear-gradient(135deg, #2b85e4, #1976d2);
- color: #fff;
- border-radius: 48rpx;
- font-size: 34rpx;
- font-weight: 600;
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0 8rpx 20rpx rgba(43,133,228,0.3);
- letter-spacing: 2rpx;
- transition: transform 0.2s, box-shadow 0.2s;
-
- &:active {
- transform: scale(0.98);
- box-shadow: 0 4rpx 10rpx rgba(43,133,228,0.2);
- }
- }
-
- .promotion-link {
- text-align: center;
- margin-top: 30rpx;
- color: #2b85e4;
- font-size: 26rpx;
-
- text {
- position: relative;
-
- &:after {
- content: '';
- position: absolute;
- width: 100%;
- height: 1rpx;
- background: currentColor;
- bottom: -4rpx;
- left: 0;
- opacity: 0.5;
- }
- }
- }
- }
- .section-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 24rpx;
- .clear-text {
- display: flex;
- align-items: center;
- font-size: 24rpx;
- color: #999;
- transition: color 0.3s;
-
- &:active {
- color: #ff4d4f;
- }
- image {
- width: 28rpx;
- height: 28rpx;
- margin-right: 8rpx;
- }
- }
- }
- .word-count {
- text-align: right;
- font-size: 24rpx;
- color: #999;
- margin-top: 12rpx;
- }
- .style-item {
- &.active {
- image {
- border: 4rpx solid #2b85e4;
- box-shadow: 0 0 0 2rpx rgba(43,133,228,0.3);
- }
- text {
- color: #2b85e4;
- font-weight: 500;
- }
- }
- }
- .right-info {
- .coin, .diamond {
- display: flex;
- align-items: center;
-
- image {
- width: 40rpx;
- height: 40rpx;
- margin-right: 8rpx;
- }
-
- text {
- font-size: 28rpx;
- color: #333;
- }
- }
- }
- }
- /* 添加新样式 */
- .lyrics-overlay {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: rgba(0, 0, 0, 0.4);
- padding: 30rpx;
- .lyrics-text {
- color: #fff;
- font-size: 36rpx;
- text-align: center;
- text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.5);
- font-weight: 500;
- line-height: 1.6;
- }
- }
- .play-button {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 120rpx;
- height: 120rpx;
- background-color: rgba(0, 0, 0, 0.6);
- border-radius: 60rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 10;
- .fa {
- color: #fff;
- font-size: 60rpx;
- }
- &:active {
- background-color: rgba(0, 0, 0, 0.8);
- transform: translate(-50%, -50%) scale(0.95);
- }
- }
- .creation-details {
- margin-top: 30rpx;
- .detail-item {
- margin-bottom: 20rpx;
- .detail-label {
- font-size: 28rpx;
- color: #666;
- margin-right: 10rpx;
- }
- .detail-value {
- font-size: 28rpx;
- color: #333;
- }
- }
- }
- .status-info {
- margin-top: 40rpx;
- .queue-info {
- .queue-text {
- font-size: 28rpx;
- color: #666;
- margin-bottom: 10rpx;
- }
- .progress-bar {
- height: 16rpx;
- background-color: #f0f0f0;
- border-radius: 8rpx;
- overflow: hidden;
- .progress-fill {
- height: 100%;
- background: linear-gradient(90deg, #2979ff, #36d6ff);
- border-radius: 8rpx;
- }
- }
- }
- }
- .error-message {
- margin-top: 30rpx;
- padding: 20rpx;
- background-color: #fff5f5;
- border-radius: 12rpx;
- border-left: 8rpx solid #ff5151;
- .error-text {
- font-size: 28rpx;
- color: #ff5151;
- }
- }
|