Skip to content

Commit 2df2aca

Browse files
LightLight
authored andcommitted
fix: 移除有问题的 1688 搜索引擎
1 parent 14f1eeb commit 2df2aca

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/js/index.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3019,7 +3019,7 @@ function search() {
30193019
{
30203020
name: '百度',
30213021
position: '-10px -10px',
3022-
url: 'https://www.baidu.com/s?wd=',
3022+
url: 'https://www.baidu.com/s?ie=UTF-8&wd=',
30233023
},
30243024
{
30253025
name: '谷歌',
@@ -3056,11 +3056,6 @@ function search() {
30563056
position: '-62px -114px',
30573057
url: 'https://list.tmall.com/search_product.htm?q=',
30583058
},
3059-
{
3060-
name: '1688',
3061-
position: '-114px -114px',
3062-
url: 'https://s.1688.com/selloffer/offer_search.htm?keywords=',
3063-
},
30643059
{
30653060
name: '知乎',
30663061
position: '-166px -10px',
@@ -3161,12 +3156,12 @@ function search() {
31613156
const { url, title, des, src } = res[i];
31623157
if (src) {
31633158
$('#box ul').append(
3164-
`<li><span><img class="img-circle" src="${src}" /></span> <a href="${url}" target="_blank" title="${des}">${title} <small>${des}</small></a></li>`
3159+
`<li><span><img class="img-circle" src="${src}" /></span> <a href="${url}" target="_blank" title="${des}">${title} <small>${des}</small></a></li>`
31653160
);
31663161
} else {
31673162
const tit = title.substring(0, 1);
31683163
$('#box ul').append(
3169-
`<li><span class="img-circle no-img">${tit}</span> <a href="${url}" target="_blank" title="${des}">${title} <small>${des}</small></a></li>`
3164+
`<li><span class="img-circle no-img">${tit}</span> <a href="${url}" target="_blank" title="${des}">${title} <small>${des}</small></a></li>`
31703165
);
31713166
}
31723167
}

0 commit comments

Comments
 (0)