fix ui
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "AI 硬件采购助手",
|
||||
"name": "AI 硬件抓取助手",
|
||||
"version": "1.0",
|
||||
"description": "Extract structured product data using Gemini AI.",
|
||||
"description": "使用 Gemini AI 从网站抓取产品数据。",
|
||||
"permissions": [
|
||||
"sidePanel",
|
||||
"scripting",
|
||||
@@ -20,7 +20,7 @@
|
||||
"default_path": "sidepanel.html"
|
||||
},
|
||||
"action": {
|
||||
"default_title": "AI 硬件采购助手",
|
||||
"default_title": "AI 硬件抓取助手",
|
||||
"default_icon": {
|
||||
"16": "icons/icon16.png",
|
||||
"32": "icons/icon32.png",
|
||||
|
||||
@@ -3,16 +3,15 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>AI 硬件采购助手</title>
|
||||
<title>AI 硬件抓取助手</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body class="bg-gray-50 p-4">
|
||||
<div class="max-w-md mx-auto">
|
||||
<!-- Header -->
|
||||
<header class="mb-6">
|
||||
<h1 class="text-xl font-bold text-indigo-700">AI 硬件采购助手</h1>
|
||||
<p class="text-gray-500 text-sm">从任何网站提取产品数据。</p>
|
||||
</header>
|
||||
<!-- <header class="mb-6">
|
||||
<h1 class="text-xl font-bold text-indigo-700">AI 硬件抓取助手</h1>
|
||||
</header> -->
|
||||
|
||||
<!-- API Config -->
|
||||
<section class="bg-white rounded-lg shadow-sm mb-4 border border-gray-200">
|
||||
@@ -36,6 +35,7 @@
|
||||
<input type="text" id="modelInput" class="w-full mt-0.5 border border-gray-300 rounded px-2 py-1 text-sm focus:ring-1 focus:ring-indigo-500 outline-none" placeholder="例如:gemini-1.5-flash">
|
||||
</div>
|
||||
</div>
|
||||
<button id="saveConfig" class="w-full mt-2 mb-2 bg-indigo-600 hover:bg-indigo-700 text-white text-sm py-2 rounded transition-colors font-medium">保存设置</button>
|
||||
|
||||
<!-- Spacious Preset Management -->
|
||||
<div class="pt-4 border-t border-gray-100 space-y-3">
|
||||
@@ -54,7 +54,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button id="saveConfig" class="w-full mt-4 bg-indigo-600 hover:bg-indigo-700 text-white text-sm py-2 rounded transition-colors font-medium">保存所有设置</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user