.search-page { height: 100vh; display: flex; flex-direction: column; background-color: #121212; color: #ffffff; } /* 搜索栏样式 */ .search-header { display: flex; align-items: center; padding: 20rpx 30rpx; background-color: #121212; border-bottom: 1rpx solid #333; } .search-box { flex: 1; display: flex; align-items: center; background-color: #2c2c2c; border: 2rpx solid #ffffff; border-radius: 44rpx; padding: 0 30rpx; height: 88rpx; margin-right: 20rpx; } .search-icon { width: 32rpx; height: 32rpx; margin-left: 20rpx; margin-right: 20rpx; filter: invert(0.3) brightness(100%); } .search-box input { flex: 1; color: #ffffff; font-size: 28rpx; background-color: transparent; } .search-placeholder { color: #888; font-size: 28rpx; } .cancel-button { font-size: 28rpx; color: #ffffff; padding: 20rpx; } /* 搜索结果样式 */ .search-results { flex: 1; overflow-y: auto; padding: 20rpx 30rpx; } .search-results-title { font-size: 28rpx; color: #888; margin-bottom: 20rpx; } .results-list { display: flex; flex-direction: column; gap: 10rpx; } .result-item { background-color: #1a1a1a; border-radius: 16rpx; padding: 30rpx; } .result-item:active { background-color: #2c2c2c; } .location-info { flex: 1; } .location-name { font-size: 32rpx; font-weight: 600; color: #ffffff; margin-bottom: 8rpx; } .location-address { font-size: 28rpx; color: #888; } /* 搜索提示样式 */ .search-tips, .no-results { flex: 1; display: flex; justify-content: center; align-items: center; color: #888; font-size: 28rpx; } .tips-content, .no-results-content { text-align: center; }