/* pages/search/search.wxss */ /* 搜索页面样式 */ .search-container { min-height: 100vh; background-color: #f5f5f5; } .search-bar { display: flex; align-items: center; padding: 20rpx 30rpx; background-color: #fff; } .search-input-wrapper { flex: 1; display: flex; align-items: center; height: 72rpx; padding: 0 24rpx; background-color: #f5f5f5; border-radius: 36rpx; } .search-icon { font-size: 32rpx; color: #999; margin-right: 12rpx; } .search-input { flex: 1; height: 72rpx; font-size: 28rpx; color: #333; } .cancel-btn { margin-left: 24rpx; font-size: 28rpx; color: #667eea; } .search-result { padding: 20rpx 30rpx; } .result-item { display: flex; background-color: #fff; border-radius: 16rpx; padding: 24rpx; margin-bottom: 20rpx; } .result-cover { width: 160rpx; height: 120rpx; border-radius: 12rpx; margin-right: 20rpx; flex-shrink: 0; } .result-info { flex: 1; display: flex; flex-direction: column; min-width: 0; } .result-title { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 12rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .result-summary { font-size: 24rpx; color: #999; margin-bottom: 12rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; flex: 1; } .result-meta { display: flex; gap: 20rpx; } .result-meta text { font-size: 22rpx; color: #999; } .loading-more, .no-more { text-align: center; padding: 30rpx; font-size: 24rpx; color: #999; } .empty-state { display: flex; flex-direction: column; align-items: center; padding: 100rpx 0; } .empty-icon { font-size: 100rpx; color: #ddd; margin-bottom: 20rpx; } .empty-text { font-size: 28rpx; color: #999; } .search-content { padding: 30rpx; } .history-section { margin-bottom: 50rpx; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24rpx; } .section-title { font-size: 30rpx; font-weight: bold; color: #333; } .section-header .iconfont { font-size: 36rpx; color: #999; } .history-list { display: flex; flex-wrap: wrap; gap: 20rpx; } .history-item { padding: 12rpx 28rpx; font-size: 26rpx; color: #666; background-color: #fff; border-radius: 28rpx; } .hot-section .section-header .hot-icon { font-size: 32rpx; color: #F56C6C; } .hot-list { background-color: #fff; border-radius: 16rpx; overflow: hidden; } .hot-item { display: flex; align-items: center; padding: 24rpx; border-bottom: 1rpx solid #f5f5f5; } .hot-item:last-child { border-bottom: none; } .hot-item .rank { width: 40rpx; font-size: 28rpx; font-weight: bold; color: #999; margin-right: 20rpx; } .hot-item .rank.top { color: #F56C6C; } .hot-info { flex: 1; display: flex; flex-direction: column; } .hot-keyword { font-size: 28rpx; color: #333; margin-bottom: 8rpx; } .hot-count { font-size: 22rpx; color: #999; } /** * @联系作者:16768118056 * @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。 * @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。 */