|
|
|
@ -42,7 +42,7 @@ function renderOption(item) {
|
|
|
|
|
<Option key={item.category} text={item.category}>
|
|
|
|
|
<div className="global-search-item">
|
|
|
|
|
<span className="global-search-item-desc">
|
|
|
|
|
{item.query} 在
|
|
|
|
|
Found {item.query} on
|
|
|
|
|
<a
|
|
|
|
|
href={`https://s.taobao.com/search?q=${item.query}`}
|
|
|
|
|
target="_blank"
|
|
|
|
@ -50,9 +50,8 @@ function renderOption(item) {
|
|
|
|
|
>
|
|
|
|
|
{item.category}
|
|
|
|
|
</a>
|
|
|
|
|
区块中
|
|
|
|
|
</span>
|
|
|
|
|
<span className="global-search-item-count">约 {item.count} 个结果</span>
|
|
|
|
|
<span className="global-search-item-count">{item.count} results</span>
|
|
|
|
|
</div>
|
|
|
|
|
</Option>
|
|
|
|
|
);
|
|
|
|
|