diff --git a/Size_Comparator.html b/Size_Comparator.html index 03b14ae..23a376d 100644 --- a/Size_Comparator.html +++ b/Size_Comparator.html @@ -9,17 +9,17 @@ --bg: #f8f9fa; --card-bg: #ffffff; --text: #2d3436; --primary: #0984e3; } body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); padding: 20px; margin: 0; } - .container { max-width: 1100px; margin: auto; padding-top: 5px; } + .container { max-width: 1100px; margin: auto; } /* 拖拽区 */ .drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } - .drop-box { border: 2px dashed #bdc3c7; border-radius: 12px; padding: 35px 15px; text-align: center; background: white; cursor: pointer; transition: 0.2s; } + .drop-box { border: 2px dashed #bdc3c7; border-radius: 12px; padding: 5px 15px; text-align: center; background: white; cursor: pointer; transition: 0.2s; } .drop-box.loaded { border-color: var(--success); background: #f6ffed; } .drop-box.hover { border-color: var(--primary); background: #e6f7ff; } /* 统计卡片 - 增加到4项 */ .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; display: none; } - .stat-card { background: white; padding: 18px; border-radius: 10px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-bottom: 4px solid #ddd; } + .stat-card { background: white; padding: 12px; border-radius: 10px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-bottom: 4px solid #ddd; } .stat-val { font-size: 24px; font-weight: 800; display: block; margin-bottom: 4px; } .stat-label { font-size: 12px; color: #636e72; font-weight: 600; text-transform: uppercase; } diff --git a/gen_sizeinfo.bat b/gen_sizeinfo.bat new file mode 100644 index 0000000..115aa9e --- /dev/null +++ b/gen_sizeinfo.bat @@ -0,0 +1,25 @@ +@echo off +setlocal + +if "%~1"=="" goto usage +if "%~2"=="" goto usage + +set PATH=%~1 +set FILE_NAME=%~2 + +if not exist "man_files" mkdir "man_files" + +echo Running rclone lsf ... +rclone lsf -R --format "sp" --separator "|" --local-encoding "None" --exclude-from exclude-list.txt "%PATH%" > "man_files\%FILE_NAME%" + +if %ERRORLEVEL% equ 0 ( + echo Success: File saved to man_files\%FILE_NAME% +) else ( + echo Error: rclone failed +) +goto :eof + +:usage +echo Usage: %~nx0 ^ ^ +echo Example: %~nx0 [mydrive:backup^|C:/local/path] manifest.txt +exit /b 1