/* pages/countdown/countdown.wxss */ .container { min-height: 100vh; background-color: #F5F5F5; padding: 30rpx; } /* 添加区域 */ .add-section { background-color: #ffffff; border-radius: 16rpx; padding: 30rpx; margin-bottom: 30rpx; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06); } .add-title { font-size: 32rpx; font-weight: bold; color: #333333; margin-bottom: 25rpx; } .add-form { display: flex; flex-direction: column; gap: 20rpx; } .form-input, .date-picker { width: 100%; height: 80rpx; line-height: 80rpx; padding: 0 25rpx; background-color: #F5F5F5; border-radius: 12rpx; font-size: 28rpx; box-sizing: border-box; } .date-picker { color: #333333; } .add-btn { height: 80rpx; line-height: 80rpx; background-color: #F39C12; color: #ffffff; border-radius: 40rpx; font-size: 30rpx; font-weight: bold; } /* 倒计时列表 */ .countdown-list { display: flex; flex-direction: column; gap: 20rpx; } .countdown-card { background-color: #ffffff; border-radius: 16rpx; padding: 30rpx; border-left: 8rpx solid #4A90E2; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06); } .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15rpx; } .event-name { font-size: 32rpx; font-weight: bold; color: #333333; flex: 1; } .delete-btn { width: 50rpx; height: 50rpx; line-height: 50rpx; text-align: center; font-size: 48rpx; color: #CCCCCC; font-weight: 300; } .event-date { font-size: 26rpx; color: #999999; margin-bottom: 25rpx; } .countdown-display { display: flex; justify-content: space-between; gap: 15rpx; } .time-block { flex: 1; text-align: center; } .time-value { height: 90rpx; line-height: 90rpx; background-color: #4A90E2; color: #ffffff; border-radius: 12rpx; font-size: 36rpx; font-weight: bold; margin-bottom: 10rpx; } .time-label { font-size: 22rpx; color: #999999; } .expired-tip { display: flex; align-items: center; justify-content: center; gap: 10rpx; padding: 30rpx; background-color: #FFF0E6; border-radius: 12rpx; } .expired-icon { font-size: 40rpx; } .expired-text { font-size: 28rpx; color: #F39C12; font-weight: bold; } /* 空状态 */ .empty-state { display: flex; flex-direction: column; align-items: center; padding: 100rpx 0; } .empty-icon { font-size: 100rpx; margin-bottom: 20rpx; } .empty-text { font-size: 28rpx; color: #999999; }