123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337 |
- .make-music-detail {
- width: 100%;
- min-height: 100vh;
- background: linear-gradient(to bottom, #ffffff, #f8f9fa);
- display: flex;
- flex-direction: column;
- .nav-bar {
- width: 750rpx;
- height: 96rpx;
- background: rgba(255, 255, 255, 0.95);
- backdrop-filter: blur(10px);
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- padding: 0 24rpx;
- box-sizing: border-box;
- border-bottom: 1rpx solid rgba(0,0,0,0.05);
- box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
- position: sticky;
- top: 0;
- z-index: 100;
- .left {
- width: 120rpx;
- .uni-btn-icon {
- font-size: 50rpx;
- color: #2b2b2b;
- transition: all 0.3s ease;
-
- &:active {
- color: #007AFF;
- transform: scale(0.95);
- }
- }
- }
- .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);
- }
- }
- }
- .content {
- flex: 1;
- padding: 30rpx;
- .input-section {
- margin-bottom: 40rpx;
- animation: fadeIn 0.5s ease;
- .label {
- font-size: 32rpx;
- font-weight: 600;
- margin-bottom: 20rpx;
- display: block;
- color: #2b2b2b;
- }
- .input-field {
- width: 100%;
- height: 88rpx;
- border-radius: 16rpx;
- border: 2rpx solid #e8e8e8;
- padding: 0 30rpx;
- font-size: 28rpx;
- background: #fff;
- transition: all 0.3s ease;
-
- &:focus {
- border-color: #007AFF;
- box-shadow: 0 0 0 2rpx rgba(0,122,255,0.1);
- }
- }
- .textarea-field {
- width: 100%;
- border-radius: 16rpx;
- border: 2rpx solid #e8e8e8;
- padding: 30rpx;
- font-size: 28rpx;
- background: #fff;
- transition: all 0.3s ease;
-
- &:focus {
- border-color: #007AFF;
- box-shadow: 0 0 0 2rpx rgba(0,122,255,0.1);
- }
- }
- .textarea-footer {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- margin-top: 16rpx;
- .ai-btn {
- color: #007AFF;
- font-size: 28rpx;
- font-weight: 500;
- padding: 10rpx 20rpx;
- border-radius: 30rpx;
- background: rgba(0,122,255,0.1);
- transition: all 0.3s ease;
-
- &:active {
- background: rgba(0,122,255,0.2);
- transform: scale(0.98);
- }
- }
- }
- .count {
- font-size: 24rpx;
- color: #999;
- }
- }
- .style-section {
- .label {
- font-size: 32rpx;
- font-weight: 600;
- margin-bottom: 20rpx;
- display: block;
- color: #2b2b2b;
- }
- .tabs {
- display: flex;
- gap: 40rpx;
- margin-bottom: 30rpx;
- border-bottom: 2rpx solid #f0f0f0;
- padding-bottom: 15rpx;
- text {
- font-size: 28rpx;
- color: #666;
- position: relative;
- padding-bottom: 15rpx;
- transition: all 0.3s ease;
-
- &.active {
- color: #007AFF;
- font-weight: 600;
-
- &:after {
- content: '';
- position: absolute;
- bottom: -17rpx;
- left: 0;
- width: 100%;
- height: 4rpx;
- background: #007AFF;
- border-radius: 4rpx;
- }
- }
- }
- }
- .tags {
- display: flex;
- flex-wrap: wrap;
- gap: 20rpx;
- .tag {
- padding: 12rpx 30rpx;
- background: #f5f5f5;
- border-radius: 40rpx;
- font-size: 28rpx;
- transition: all 0.3s ease;
- border: 2rpx solid transparent;
- &.active {
- background: rgba(0,122,255,0.1);
- color: #007AFF;
- border-color: #007AFF;
- }
-
- &:active {
- transform: scale(0.98);
- }
- }
- }
- }
- }
- .preview-section {
- padding: 30rpx;
-
- .preview-card {
- background: #fff;
- border-radius: 20rpx;
- padding: 40rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
-
- .loading-icon {
- width: 120rpx;
- height: 120rpx;
- margin-bottom: 30rpx;
- animation: rotate 2s linear infinite;
- }
-
- .loading-text {
- font-size: 32rpx;
- color: #333;
- margin-bottom: 16rpx;
- text-align: center;
- }
-
- .sub-text {
- font-size: 28rpx;
- color: #999;
- }
- }
- }
- .bottom-section {
- padding: 40rpx 30rpx;
- background: rgba(255,255,255,0.95);
- backdrop-filter: blur(10px);
- border-top: 2rpx solid rgba(0,0,0,0.05);
- .submit-btn {
- width: 100%;
- height: 88rpx;
- background: linear-gradient(135deg, #007AFF, #00b4ff);
- color: #fff;
- border-radius: 44rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 32rpx;
- font-weight: 600;
- transition: all 0.3s ease;
- box-shadow: 0 8rpx 20rpx rgba(0,122,255,0.3);
- &:active {
- transform: scale(0.98);
- box-shadow: 0 4rpx 10rpx rgba(0,122,255,0.2);
- }
- .small {
- font-size: 24rpx;
- margin-left: 10rpx;
- font-weight: normal;
- opacity: 0.9;
- }
- }
- .promotion-text {
- text-align: center;
- margin-top: 20rpx;
- .link-text {
- color: #007AFF;
- font-size: 24rpx;
- text-decoration: underline;
- opacity: 0.9;
- transition: opacity 0.3s ease;
-
- &:active {
- opacity: 0.7;
- }
- }
- }
- }
- }
- @keyframes fadeIn {
- from {
- opacity: 0;
- transform: translateY(10rpx);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
- @keyframes rotate {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
- }
|