/**app.wxss**/ .container { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 200rpx 0; box-sizing: border-box; } /* 全局样式 */ page { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); background-attachment: fixed; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif; } /* 通用容器 */ .content { padding: 40rpx; } /* 按钮样式 */ .btn { border-radius: 12rpx; font-size: 32rpx; padding: 24rpx 48rpx; transition: all 0.3s ease; } .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.4); } .btn-secondary { background-color: #fff; color: #333; border: 2rpx solid #e8e8e8; } /* 卡片样式 */ .card { background-color: #fff; border-radius: 24rpx; padding: 32rpx; margin-bottom: 24rpx; box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.12); transition: all 0.3s ease; } /* 输入框样式 */ .input { background-color: #f8f9fa; padding: 24rpx; border-radius: 12rpx; border: 2rpx solid transparent; font-size: 28rpx; transition: all 0.3s ease; } .input:focus { background-color: #fff; border-color: #667eea; } /* 分割线 */ .divider { height: 1rpx; background: linear-gradient(90deg, transparent, #e0e0e0, transparent); margin: 32rpx 0; } /* 空状态 */ .empty-state { text-align: center; padding: 120rpx 40rpx; color: rgba(255, 255, 255, 0.8); } .empty-state .icon { font-size: 140rpx; margin-bottom: 32rpx; filter: drop-shadow(0 4rpx 8rpx rgba(0, 0, 0, 0.1)); } .empty-state .text { font-size: 32rpx; color: rgba(255, 255, 255, 0.9); font-weight: 500; margin-bottom: 12rpx; } /* 浮动按钮 */ .fab { position: fixed; bottom: 120rpx; right: 40rpx; width: 112rpx; height: 112rpx; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 64rpx; box-shadow: 0 12rpx 40rpx rgba(102, 126, 234, 0.5); z-index: 100; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .fab:active { transform: scale(0.92); box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.4); }