Initial release with production deploy config.
Add GitAtlas deploy assets, DATA_FILE support for isolated server data, and port documentation for sourcing.simosen.cn. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<!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="popup.css" />
|
||||
</head>
|
||||
<body>
|
||||
<main class="popup">
|
||||
<header>
|
||||
<div class="popup-brand">
|
||||
<img src="icons/icon48.png" alt="" />
|
||||
<div>
|
||||
<strong>选品采购采集器</strong>
|
||||
<span id="statusText">连接本地服务中</span>
|
||||
<span id="versionText">插件版本检测中</span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="actions">
|
||||
<button id="capturePageBtn" class="primary">采集当前页</button>
|
||||
<button id="captureMainBtn">只采集主商品/笔记</button>
|
||||
<button id="testSaveBtn">测试保存到系统</button>
|
||||
<button id="openDashboardBtn">打开选品库</button>
|
||||
</section>
|
||||
|
||||
<details class="settings" id="settingsPanel">
|
||||
<summary>设置</summary>
|
||||
<div class="settings-body">
|
||||
<label>
|
||||
<span>系统地址</span>
|
||||
<input id="apiBaseInput" placeholder="https://your-domain.com" />
|
||||
</label>
|
||||
<label>
|
||||
<span>插件 Token</span>
|
||||
<input id="pluginTokenInput" type="password" placeholder="pst_..." />
|
||||
</label>
|
||||
<button id="saveSettingsBtn">保存连接配置</button>
|
||||
<section class="update-panel" id="updatePanel" hidden>
|
||||
<strong>插件更新</strong>
|
||||
<p id="updateText">系统推荐使用新版采集器。</p>
|
||||
<button id="updateGuideBtn" type="button">查看更新方式</button>
|
||||
</section>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<section class="result" id="resultBox">
|
||||
<p>首次使用请打开“设置”配置系统地址和插件 Token。配置保存后会自动收起。</p>
|
||||
</section>
|
||||
</main>
|
||||
<script type="module" src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user