AI 生成: 一个简单的浏览器扩展/网页工具,用于在浏览器中快速调用百度搜索选中的文本或输入的查询词。
This commit is contained in:
+51
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>百度搜索 - 快速搜索工具</title>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="header">
|
||||
<h1 class="logo">
|
||||
<span class="logo-baidu">百度</span>
|
||||
<span class="logo-search">搜索</span>
|
||||
</h1>
|
||||
<p class="subtitle">快速调用百度搜索引擎</p>
|
||||
</header>
|
||||
|
||||
<main class="search-box">
|
||||
<div class="input-wrapper">
|
||||
<input
|
||||
type="text"
|
||||
id="searchInput"
|
||||
class="search-input"
|
||||
placeholder="请输入搜索关键词..."
|
||||
autocomplete="off"
|
||||
autofocus
|
||||
>
|
||||
<button id="searchBtn" class="search-btn" type="button">
|
||||
百度一下
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="hot-words">
|
||||
<span class="hot-label">热门搜索:</span>
|
||||
<button class="hot-tag" data-word="天气">天气</button>
|
||||
<button class="hot-tag" data-word="新闻">新闻</button>
|
||||
<button class="hot-tag" data-word="翻译">翻译</button>
|
||||
<button class="hot-tag" data-word="地图">地图</button>
|
||||
<button class="hot-tag" data-word="视频">视频</button>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
<p>提示:选中网页文本后点击扩展图标,可快速搜索</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user