fix ui
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "AI 硬件采购助手",
|
"name": "AI 硬件抓取助手",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "Extract structured product data using Gemini AI.",
|
"description": "使用 Gemini AI 从网站抓取产品数据。",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"sidePanel",
|
"sidePanel",
|
||||||
"scripting",
|
"scripting",
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"default_path": "sidepanel.html"
|
"default_path": "sidepanel.html"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"default_title": "AI 硬件采购助手",
|
"default_title": "AI 硬件抓取助手",
|
||||||
"default_icon": {
|
"default_icon": {
|
||||||
"16": "icons/icon16.png",
|
"16": "icons/icon16.png",
|
||||||
"32": "icons/icon32.png",
|
"32": "icons/icon32.png",
|
||||||
|
|||||||
@@ -3,16 +3,15 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>AI 硬件采购助手</title>
|
<title>AI 硬件抓取助手</title>
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-gray-50 p-4">
|
<body class="bg-gray-50 p-4">
|
||||||
<div class="max-w-md mx-auto">
|
<div class="max-w-md mx-auto">
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<header class="mb-6">
|
<!-- <header class="mb-6">
|
||||||
<h1 class="text-xl font-bold text-indigo-700">AI 硬件采购助手</h1>
|
<h1 class="text-xl font-bold text-indigo-700">AI 硬件抓取助手</h1>
|
||||||
<p class="text-gray-500 text-sm">从任何网站提取产品数据。</p>
|
</header> -->
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- API Config -->
|
<!-- API Config -->
|
||||||
<section class="bg-white rounded-lg shadow-sm mb-4 border border-gray-200">
|
<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">
|
<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>
|
||||||
</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 -->
|
<!-- Spacious Preset Management -->
|
||||||
<div class="pt-4 border-t border-gray-100 space-y-3">
|
<div class="pt-4 border-t border-gray-100 space-y-3">
|
||||||
@@ -54,7 +54,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user