123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362 |
- @charset "UTF-8";
- /* 水平间距 */
- /* 水平间距 */
- .search-page.data-v-482e85b8 {
- min-height: 100vh;
- background: #f8f8f8;
- }
- /* 自定义导航栏 */
- .custom-navbar.data-v-482e85b8 {
- background: #FF6600;
- position: -webkit-sticky;
- position: sticky;
- top: 0;
- z-index: 999;
- }
- .custom-navbar .navbar-content.data-v-482e85b8 {
- display: flex;
- align-items: center;
- padding: 20rpx;
- gap: 20rpx;
- }
- .custom-navbar .navbar-content .back-button.data-v-482e85b8 {
- width: 60rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .custom-navbar .navbar-content .back-button .back-icon.data-v-482e85b8 {
- font-size: 36rpx;
- color: #ffffff;
- font-weight: bold;
- }
- .custom-navbar .navbar-content .search-input-container.data-v-482e85b8 {
- flex: 1;
- position: relative;
- background: #ffffff;
- border-radius: 50rpx;
- display: flex;
- align-items: center;
- padding: 0 30rpx;
- height: 80rpx;
- }
- .custom-navbar .navbar-content .search-input-container .search-icon.data-v-482e85b8 {
- margin-right: 15rpx;
- }
- .custom-navbar .navbar-content .search-input-container .search-icon .icon.data-v-482e85b8 {
- font-size: 28rpx;
- color: #999;
- }
- .custom-navbar .navbar-content .search-input-container .search-input.data-v-482e85b8 {
- flex: 1;
- height: 80rpx;
- font-size: 28rpx;
- color: #333;
- background: transparent;
- }
- .custom-navbar .navbar-content .search-button.data-v-482e85b8 {
- padding: 0 30rpx;
- height: 80rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .custom-navbar .navbar-content .search-button .search-text.data-v-482e85b8 {
- font-size: 28rpx;
- color: #ffffff;
- font-weight: bold;
- }
- /* 搜索历史 */
- .search-history.data-v-482e85b8 {
- background: #ffffff;
- margin: 20rpx 0 0 0;
- padding: 30rpx 40rpx;
- }
- .search-history .history-header.data-v-482e85b8 {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 30rpx;
- }
- .search-history .history-header .history-title.data-v-482e85b8 {
- font-size: 32rpx;
- color: #333;
- }
- .search-history .history-header .clear-history .clear-icon.data-v-482e85b8 {
- font-size: 32rpx;
- color: #ccc;
- }
- .search-history .history-tags.data-v-482e85b8 {
- display: flex;
- flex-wrap: wrap;
- gap: 20rpx;
- }
- .search-history .history-tags .history-tag.data-v-482e85b8 {
- background: #f5f5f5;
- border-radius: 30rpx;
- padding: 15rpx 30rpx;
- }
- .search-history .history-tags .history-tag .tag-text.data-v-482e85b8 {
- font-size: 28rpx;
- color: #666;
- }
- .search-history .history-tags .history-tag.data-v-482e85b8:active {
- background: #e0e0e0;
- }
- /* 热门搜索 */
- .hot-search.data-v-482e85b8 {
- background: #ffffff;
- margin: 20rpx 0 0 0;
- padding: 30rpx 40rpx;
- }
- .hot-search .hot-header.data-v-482e85b8 {
- margin-bottom: 30rpx;
- }
- .hot-search .hot-header .hot-title.data-v-482e85b8 {
- font-size: 32rpx;
- color: #333;
- }
- .hot-search .hot-list .hot-item.data-v-482e85b8 {
- display: flex;
- align-items: center;
- padding: 25rpx 0;
- border-bottom: 1rpx solid #f5f5f5;
- }
- .hot-search .hot-list .hot-item .hot-rank.data-v-482e85b8 {
- width: 50rpx;
- height: 50rpx;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 30rpx;
- }
- .hot-search .hot-list .hot-item .hot-rank .rank-number.data-v-482e85b8 {
- font-size: 26rpx;
- font-weight: bold;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-first.data-v-482e85b8 {
- background: #FF6B6B;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-first .rank-number.data-v-482e85b8 {
- color: #ffffff;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-second.data-v-482e85b8 {
- background: #FFA500;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-second .rank-number.data-v-482e85b8 {
- color: #ffffff;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-third.data-v-482e85b8 {
- background: #FFD700;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-third .rank-number.data-v-482e85b8 {
- color: #ffffff;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-normal.data-v-482e85b8 {
- background: #f5f5f5;
- }
- .hot-search .hot-list .hot-item .hot-rank.rank-normal .rank-number.data-v-482e85b8 {
- color: #999;
- }
- .hot-search .hot-list .hot-item .hot-text.data-v-482e85b8 {
- font-size: 28rpx;
- color: #333;
- flex: 1;
- }
- .hot-search .hot-list .hot-item.data-v-482e85b8:last-child {
- border-bottom: none;
- }
- .hot-search .hot-list .hot-item.data-v-482e85b8:active {
- background: #f9f9f9;
- }
- /* 搜索建议 */
- .search-suggestions.data-v-482e85b8 {
- background: #ffffff;
- margin: 0 20rpx;
- border-radius: 20rpx;
- overflow: hidden;
- }
- .search-suggestions .suggestion-item.data-v-482e85b8 {
- display: flex;
- align-items: center;
- padding: 25rpx 30rpx;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .search-suggestions .suggestion-item .suggestion-icon.data-v-482e85b8 {
- font-size: 24rpx;
- color: #999;
- margin-right: 20rpx;
- }
- .search-suggestions .suggestion-item .suggestion-text.data-v-482e85b8 {
- font-size: 28rpx;
- color: #333;
- flex: 1;
- }
- .search-suggestions .suggestion-item.data-v-482e85b8:last-child {
- border-bottom: none;
- }
- .search-suggestions .suggestion-item.data-v-482e85b8:active {
- background: #f5f5f5;
- }
- /* 搜索结果 */
- .search-results.data-v-482e85b8 {
- margin: 20rpx;
- }
- .search-results .result-stats.data-v-482e85b8 {
- background: #ffffff;
- border-radius: 20rpx;
- padding: 25rpx 30rpx;
- margin-bottom: 20rpx;
- }
- .search-results .result-stats .stats-text.data-v-482e85b8 {
- font-size: 28rpx;
- color: #666;
- }
- .search-results .result-stats .stats-text .stats-count.data-v-482e85b8 {
- color: #FF6600;
- font-weight: bold;
- }
- .search-results .filter-bar.data-v-482e85b8 {
- background: #ffffff;
- border-radius: 20rpx;
- padding: 20rpx 30rpx;
- margin-bottom: 20rpx;
- display: flex;
- gap: 30rpx;
- }
- .search-results .filter-bar .filter-item.data-v-482e85b8 {
- display: flex;
- align-items: center;
- gap: 8rpx;
- }
- .search-results .filter-bar .filter-item .filter-text.data-v-482e85b8 {
- font-size: 28rpx;
- color: #666;
- }
- .search-results .filter-bar .filter-item .sort-arrow.data-v-482e85b8 {
- font-size: 24rpx;
- color: #666;
- }
- .search-results .filter-bar .filter-item.active .filter-text.data-v-482e85b8,
- .search-results .filter-bar .filter-item.active .sort-arrow.data-v-482e85b8 {
- color: #FF6600;
- font-weight: bold;
- }
- .search-results .product-list .product-item.data-v-482e85b8 {
- background: #ffffff;
- border-radius: 20rpx;
- margin-bottom: 20rpx;
- padding: 20rpx;
- display: flex;
- gap: 20rpx;
- }
- .search-results .product-list .product-item .product-image.data-v-482e85b8 {
- width: 160rpx;
- height: 160rpx;
- border-radius: 12rpx;
- background: #f5f5f5;
- }
- .search-results .product-list .product-item .product-info.data-v-482e85b8 {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .search-results .product-list .product-item .product-info .product-name.data-v-482e85b8 {
- font-size: 30rpx;
- font-weight: bold;
- color: #333;
- line-height: 1.4;
- margin-bottom: 10rpx;
- }
- .search-results .product-list .product-item .product-info .product-meta.data-v-482e85b8 {
- display: flex;
- gap: 20rpx;
- margin-bottom: 10rpx;
- }
- .search-results .product-list .product-item .product-info .product-meta .product-category.data-v-482e85b8 {
- font-size: 24rpx;
- color: #FF6600;
- background: rgba(255, 102, 0, 0.1);
- padding: 4rpx 12rpx;
- border-radius: 12rpx;
- }
- .search-results .product-list .product-item .product-info .product-meta .product-sales.data-v-482e85b8 {
- font-size: 24rpx;
- color: #999;
- }
- .search-results .product-list .product-item .product-info .product-stock .stock-text.data-v-482e85b8 {
- font-size: 24rpx;
- color: #666;
- }
- .search-results .product-list .product-item .product-info .product-stock .stock-text.low-stock.data-v-482e85b8 {
- color: #ff4757;
- }
- .search-results .product-list .product-item.data-v-482e85b8:active {
- background: #f5f5f5;
- }
- /* 无搜索结果 */
- .no-results.data-v-482e85b8 {
- background: #ffffff;
- border-radius: 20rpx;
- padding: 80rpx 30rpx;
- text-align: center;
- }
- .no-results .no-results-icon.data-v-482e85b8 {
- font-size: 80rpx;
- margin-bottom: 20rpx;
- }
- .no-results .no-results-text.data-v-482e85b8 {
- font-size: 32rpx;
- color: #333;
- display: block;
- margin-bottom: 10rpx;
- }
- .no-results .no-results-tip.data-v-482e85b8 {
- font-size: 26rpx;
- color: #999;
- }
- /* 加载状态 */
- .loading-container.data-v-482e85b8 {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 60rpx;
- }
- .loading-container .loading-spinner.data-v-482e85b8 {
- width: 60rpx;
- height: 60rpx;
- border: 4rpx solid #f3f3f3;
- border-top: 4rpx solid #FF6600;
- border-radius: 50%;
- -webkit-animation: loading-spin-data-v-482e85b8 1s linear infinite;
- animation: loading-spin-data-v-482e85b8 1s linear infinite;
- margin-bottom: 20rpx;
- }
- .loading-container .loading-text.data-v-482e85b8 {
- font-size: 28rpx;
- color: #666;
- }
- @-webkit-keyframes loading-spin-data-v-482e85b8 {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- @keyframes loading-spin-data-v-482e85b8 {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
|