/* 搜索页面样式 */ .container { min-height: 100vh; background: #f5f5f5; } /* 搜索栏 */ .search-bar { display: flex; align-items: center; padding: 20rpx 30rpx; background: #fff; } .search-input-wrap { flex: 1; display: flex; align-items: center; padding: 16rpx 24rpx; background: #f5f5f5; border-radius: 40rpx; } .search-icon { width: 36rpx; height: 36rpx; margin-right: 16rpx; opacity: 0.5; } .search-input { flex: 1; font-size: 28rpx; color: #333; } .clear-icon { width: 32rpx; height: 32rpx; margin-left: 16rpx; opacity: 0.5; } .cancel-btn { margin-left: 20rpx; font-size: 28rpx; color: #4CAF50; } /* 搜索历史 */ .history-section, .hot-section { background: #fff; padding: 30rpx; margin-top: 20rpx; } .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20rpx; } .section-title { font-size: 30rpx; font-weight: bold; color: #333; } .delete-icon { width: 36rpx; height: 36rpx; opacity: 0.5; } .history-tags, .hot-tags { display: flex; flex-wrap: wrap; } .history-tag, .hot-tag { padding: 12rpx 24rpx; margin: 0 16rpx 16rpx 0; background: #f5f5f5; border-radius: 30rpx; font-size: 26rpx; color: #666; } .hot-tag { background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(139, 195, 74, 0.1)); color: #4CAF50; } /* 搜索结果 */ .result-section { padding: 20rpx 30rpx; } .result-header { margin-bottom: 20rpx; } .result-header text { font-size: 26rpx; color: #999; } .worksheet-list { background: #fff; border-radius: 16rpx; overflow: hidden; } .worksheet-item { display: flex; padding: 20rpx; border-bottom: 1rpx solid #f5f5f5; } .worksheet-item:last-child { border-bottom: none; } .item-cover { width: 180rpx; height: 135rpx; border-radius: 12rpx; background: #f5f5f5; flex-shrink: 0; } .item-info { flex: 1; margin-left: 20rpx; display: flex; flex-direction: column; justify-content: space-between; } .item-title { font-size: 28rpx; color: #333; line-height: 1.4; } .item-e-title { font-size: 24rpx; color: #999; } .item-category { font-size: 22rpx; color: #4CAF50; } /* 加载状态 */ .load-status { text-align: center; padding: 30rpx 0; font-size: 26rpx; color: #999; } /* 无结果 */ .empty-result { display: flex; flex-direction: column; align-items: center; padding: 100rpx 0; } .empty-img { width: 200rpx; height: 200rpx; margin-bottom: 30rpx; opacity: 0.5; } .empty-text { font-size: 30rpx; color: #333; margin-bottom: 12rpx; } .empty-tip { font-size: 26rpx; color: #999; }