/* pages/plant-detail/growth-record/index.wxss */ page { background: #F4F6F0; } .growth-record-page { padding: 32rpx; padding-bottom: 160rpx; } .form-container { background: white; border-radius: 32rpx; padding: 32rpx; box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.03); } .form-group { margin-bottom: 48rpx; } .form-group:last-child { margin-bottom: 0; } .form-label { display: block; font-size: 30rpx; font-weight: 600; color: #333; margin-bottom: 24rpx; } /* Chip Styles */ .chip-group { display: flex; flex-wrap: wrap; gap: 20rpx; } .chip { padding: 20rpx 32rpx; background: #F5F5F5; border-radius: 40rpx; font-size: 28rpx; color: #666; display: flex; align-items: center; gap: 12rpx; border: 2rpx solid transparent; transition: all 0.2s; } .chip.active { background: #E8F5E9; color: #558B2F; border-color: #558B2F; font-weight: 600; } .chip:active { transform: scale(0.96); } /* Textarea */ .form-textarea { width: 100%; min-height: 200rpx; padding: 24rpx; border: 2rpx solid #e0e0e0; border-radius: 24rpx; font-size: 30rpx; box-sizing: border-box; background: #FAFAFA; line-height: 1.6; } .form-textarea:focus { background: white; border-color: #558B2F; box-shadow: 0 0 0 6rpx rgba(85, 139, 47, 0.1); } /* Image Upload */ .record-image-upload { display: flex; flex-wrap: wrap; gap: 24rpx; } .upload-add-btn { width: 200rpx; height: 200rpx; background: #FAFAFA; border: 2rpx dashed #d9d9d9; border-radius: 24rpx; display: flex; align-items: center; justify-content: center; transition: all 0.2s; } .upload-add-btn:active { background: #F0F0F0; border-color: #558B2F; } .uploaded-image-box { position: relative; width: 200rpx; height: 200rpx; } .remove-img-btn { position: absolute; top: -16rpx; right: -16rpx; width: 44rpx; height: 44rpx; background: rgba(0, 0, 0, 0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; backdrop-filter: blur(4rpx); } /* Footer Action */ .footer-action { position: fixed; bottom: 0; left: 0; right: 0; padding: 32rpx; background: white; box-shadow: 0 -4rpx 16rpx rgba(0, 0, 0, 0.05); z-index: 100; padding-bottom: calc(32rpx + env(safe-area-inset-bottom)); } .submit-btn { width: 100%; height: 96rpx; background: linear-gradient(135deg, #689F38, #558B2F); border-radius: 48rpx; color: white; display: flex; align-items: center; justify-content: center; font-size: 32rpx; font-weight: 600; box-shadow: 0 8rpx 24rpx rgba(85, 139, 47, 0.3); } .submit-btn:active { transform: scale(0.98); filter: brightness(0.95); }