ui优化
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
// ==UserScript==
|
||||
// @name Mysteel 钢铁价格提取器
|
||||
// @namespace http://tampermonkey.net/
|
||||
// @version 6.3
|
||||
// @version 6.4
|
||||
// @description 合并列表页与详情页的抓取逻辑,统一透视表导出csv,支持多维筛选及本地缓存,加入登录状态拦截
|
||||
// @author ali
|
||||
// @mail solitude@hraulein.com
|
||||
// @mail solitude@hraulein.com
|
||||
// @match *://*.mysteel.com/market/*
|
||||
// @match *://*.mysteel.com/m/*
|
||||
// @grant none
|
||||
@@ -167,17 +167,17 @@
|
||||
<div style="font-size:13px; color:#666; margin-bottom:6px;">材质 (默认全选):</div>
|
||||
<div style="display:flex; flex-wrap:wrap;">${buildCheckboxes('materials', FILTER_OPTIONS.materials)}</div>
|
||||
</div>
|
||||
<div style="margin-bottom:12px; display:flex; gap:10px;">
|
||||
<div style="margin-bottom:12px; display:flex; gap:10px; align-items:flex-end;">
|
||||
<div style="flex:1;">
|
||||
<div style="font-size:13px; color:#666; margin-bottom:6px;">导出格式:</div>
|
||||
<select id="ms-filter-format" style="width:100%; padding:4px; font-size:13px;">
|
||||
<select id="ms-filter-format" style="width:100%; padding:4px 8px; font-size:13px; height:28px; box-sizing:border-box; border:1px solid #ccc; border-radius:4px; outline:none;">
|
||||
<option value="csv" ${savedFilters.exportFormat === 'csv' ? 'selected' : ''}>CSV</option>
|
||||
<option value="xlsx" ${savedFilters.exportFormat === 'xlsx' ? 'selected' : ''}>XLSX (Excel)</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="flex:2;">
|
||||
<div style="font-size:13px; color:#666; margin-bottom:6px;">自定义文件名前缀:</div>
|
||||
<input type="text" id="ms-filter-filename" value="${savedFilters.exportFilename || '钢材透视价格表'}" style="width:100%; padding:4px; font-size:13px; box-sizing:border-box;">
|
||||
<div style="font-size:13px; color:#666; margin-bottom:6px;">自定义文件名称:</div>
|
||||
<input type="text" id="ms-filter-filename" value="${savedFilters.exportFilename || '钢材透视价格表'}" style="width:100%; padding:4px 8px; font-size:13px; height:28px; box-sizing:border-box; border:1px solid #ccc; border-radius:4px; outline:none;">
|
||||
</div>
|
||||
</div>
|
||||
<button id="ms-close-panel-btn" style="width:100%; padding:8px; background:#1890ff; color:#fff; border:none; border-radius:4px; cursor:pointer; font-weight:bold;">保存并关闭</button>
|
||||
|
||||
Reference in New Issue
Block a user