| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- /* pages/audio/audio.wxss */
- .container {
- min-height: 100vh;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- padding: 60rpx 30rpx;
- color: #fff;
- position: relative;
- overflow: hidden;
- }
- .container::before {
- content: '';
- position: absolute;
- top: -30%;
- right: -20%;
- width: 500rpx;
- height: 500rpx;
- background: rgba(255, 255, 255, 0.1);
- border-radius: 50%;
- pointer-events: none;
- }
- .container::after {
- content: '';
- position: absolute;
- bottom: -20%;
- left: -15%;
- width: 400rpx;
- height: 400rpx;
- background: rgba(255, 255, 255, 0.08);
- border-radius: 50%;
- pointer-events: none;
- }
- .header {
- text-align: center;
- margin-bottom: 80rpx;
- position: relative;
- z-index: 1;
- }
- .cover {
- width: 340rpx;
- height: 340rpx;
- border-radius: 24rpx;
- margin: 0 auto 50rpx;
- box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.4);
- transition: transform 0.3s ease;
- position: relative;
- overflow: hidden;
- }
- .cover::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
- opacity: 0;
- transition: opacity 0.3s ease;
- pointer-events: none;
- }
- .title {
- font-size: 40rpx;
- font-weight: 600;
- margin-bottom: 24rpx;
- text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.2);
- line-height: 1.4;
- }
- .narrator {
- font-size: 28rpx;
- opacity: 0.9;
- font-weight: 500;
- }
- .progress-section {
- display: flex;
- align-items: center;
- margin-bottom: 80rpx;
- position: relative;
- z-index: 1;
- gap: 20rpx;
- }
- .time-text {
- font-size: 26rpx;
- min-width: 90rpx;
- text-align: center;
- font-weight: 500;
- opacity: 0.95;
- }
- .progress-slider {
- flex: 1;
- }
- .controls {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 80rpx;
- position: relative;
- z-index: 1;
- gap: 40rpx;
- }
- .control-btn {
- display: flex;
- flex-direction: column;
- align-items: center;
- transition: all 0.3s ease;
- padding: 10rpx;
- }
- .control-btn:active {
- transform: scale(0.9);
- opacity: 0.8;
- }
- .control-btn .icon {
- font-size: 64rpx;
- margin-bottom: 12rpx;
- transition: transform 0.3s ease;
- }
- .control-btn:active .icon {
- transform: scale(1.1);
- }
- .control-btn .label {
- font-size: 24rpx;
- opacity: 0.9;
- font-weight: 500;
- }
- .play-btn {
- width: 140rpx;
- height: 140rpx;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.25);
- backdrop-filter: blur(10rpx);
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.3);
- border: 4rpx solid rgba(255, 255, 255, 0.3);
- transition: all 0.3s ease;
- position: relative;
- }
- .play-btn::before {
- content: '';
- position: absolute;
- top: -4rpx;
- left: -4rpx;
- right: -4rpx;
- bottom: -4rpx;
- border-radius: 50%;
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
- opacity: 0;
- transition: opacity 0.3s ease;
- pointer-events: none;
- }
- .play-btn:active {
- transform: scale(0.95);
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.4);
- }
- .play-btn:active::before {
- opacity: 1;
- }
- .play-btn .icon {
- font-size: 88rpx;
- margin: 0;
- text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.2);
- }
- .settings {
- background: rgba(255, 255, 255, 0.15);
- backdrop-filter: blur(20rpx);
- border-radius: 24rpx;
- padding: 40rpx;
- border: 2rpx solid rgba(255, 255, 255, 0.2);
- box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.2);
- position: relative;
- z-index: 1;
- }
- .setting-item {
- margin-bottom: 40rpx;
- }
- .setting-item:last-child {
- margin-bottom: 0;
- }
- .setting-label {
- font-size: 30rpx;
- margin-bottom: 24rpx;
- display: block;
- font-weight: 500;
- opacity: 0.95;
- }
- .speed-slider {
- margin-bottom: 12rpx;
- }
- .speed-text {
- font-size: 26rpx;
- opacity: 0.9;
- text-align: right;
- display: block;
- font-weight: 600;
- background: rgba(255, 255, 255, 0.2);
- padding: 8rpx 16rpx;
- border-radius: 12rpx;
- display: inline-block;
- float: right;
- }
- .chapter-list-btn {
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- background: rgba(255, 255, 255, 0.25);
- backdrop-filter: blur(10rpx);
- color: #fff;
- border-radius: 16rpx;
- font-size: 30rpx;
- font-weight: 500;
- border: 2rpx solid rgba(255, 255, 255, 0.3);
- transition: all 0.3s ease;
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.2);
- }
- .chapter-list-btn::after {
- border: none;
- }
- .chapter-list-btn:active {
- background: rgba(255, 255, 255, 0.35);
- transform: scale(0.98);
- box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.3);
- }
- .loading {
- text-align: center;
- padding: 200rpx 40rpx;
- font-size: 28rpx;
- color: #fff;
- display: flex;
- flex-direction: column;
- align-items: center;
- position: relative;
- z-index: 1;
- }
- .loading text {
- margin-top: 20rpx;
- opacity: 0.9;
- }
- .loading::before {
- content: '';
- width: 40rpx;
- height: 40rpx;
- border: 4rpx solid rgba(255, 255, 255, 0.3);
- border-top-color: #fff;
- border-radius: 50%;
- animation: spin 0.8s linear infinite;
- }
- @keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
|