diff --git a/manifest.json b/manifest.json index a0a64f0..ac8d7df 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "渠道应用开发部知识库", - "version": "2.0.7", + "version": "2.0.8", "description": "通过关键词快速搜索内部文档", "permissions": ["storage"], "host_permissions": [ diff --git a/pages/uploader.html b/pages/uploader.html index 070cf8f..3fc7c59 100644 --- a/pages/uploader.html +++ b/pages/uploader.html @@ -8,9 +8,26 @@ .main-flex { display: flex; justify-content: center; align-items: flex-start; gap: 36px; min-height: 90vh;} .uploader-main { flex: none; width: 410px; margin: 60px 0 0; background: #fff; border-radius: 13px; box-shadow: 0 6px 26px #ccc4; padding: 32px 38px 28px; } .uploader-main h2 { text-align: center; font-size: 1.28rem; color: #1a2557; margin-bottom: 22px; } - .input-row { margin-bottom: 14px; } - .input-row label { font-size: 15px; color: #444; margin-right: 7px; } - .input-row input, .input-row select { width: 70%; padding: 6px 10px; border-radius: 6px; border: 1px solid #b8c7df; font-size: 15px; } + .input-row { + margin-bottom: 14px; + display: flex; + align-items: center; + } + .input-row label { + font-size: 15px; + color: #444; + width: 110px; + flex-shrink: 0; + } + .input-row input, + .input-row select { + flex: 1; + padding: 6px 10px; + border-radius: 6px; + border: 1px solid #b8c7df; + font-size: 15px; + box-sizing: border-box; + } #drop-area { width: 100%; min-height: 120px; border: 2px dashed #b7c7de; border-radius: 9px; background: #f5f7fa; text-align: center; line-height: 120px; font-size: 15px; color: #98a8c7; margin-bottom: 16px; cursor: pointer; transition: border-color .18s; @@ -29,9 +46,8 @@ /* 右侧json面板 */ .result-panel { flex: none; width: 380px; margin: 60px 0 0; background: #fff; border-radius: 13px; box-shadow: 0 6px 26px #ccc4; padding: 28px 25px 22px;} .result-panel h3 { font-size: 1rem; margin-bottom: 9px; color: #1a2557;} - /*#jsonResult { font-family: 'JetBrains Mono', 'Menlo', 'Consolas', monospace; background: #f7fafc; border-radius: 7px; padding: 13px 10px; font-size: 14px; color: #354f7d; white-space: pre; min-height: 62px; border:1px solid #e4e9f0;}*/ .json-box { - word-break: break-all; + word-break: break-word; white-space: pre-wrap; overflow-x: auto; background: #f8fbfd; @@ -52,6 +68,7 @@