|
|
@@ -1524,10 +1524,10 @@ export default function WordPreview() {
|
|
|
<div>
|
|
|
<h4 className="font-medium mb-1">5. 图片命名规则</h4>
|
|
|
<p className="text-muted-foreground">
|
|
|
- <strong>自动重命名模式:</strong>启用"自动重命名图片为A1,A2,A3..."选项,系统会自动按图片顺序重命名,在Word模板中使用 {'{%A1%}'}, {'{%A2%}'}, {'{%A3%}'} 等占位符
|
|
|
+ <strong>自动重命名模式:</strong>启用"自动重命名图片为A1,A2,A3..."选项,系统会自动按图片顺序重命名,在Word模板中使用 {'{%A1}'}, {'{%A2}'}, {'{%A3}'} 等占位符
|
|
|
</p>
|
|
|
<p className="text-muted-foreground mt-2">
|
|
|
- <strong>手动命名模式:</strong>禁用自动重命名,图片文件名必须与模板中的图片占位符匹配(不含扩展名),例如:模板中使用 {'{%logo%}'},则图片文件应命名为 logo.jpg/png等
|
|
|
+ <strong>手动命名模式:</strong>禁用自动重命名,图片文件名必须与模板中的图片占位符匹配(不含扩展名),例如:模板中使用 {'{%logo}'},则图片文件应命名为 logo.jpg/png等
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1545,12 +1545,12 @@ export default function WordPreview() {
|
|
|
<CardContent>
|
|
|
<div className="space-y-2 text-sm">
|
|
|
<p>• Word模板中的字段名必须与Excel表头完全匹配</p>
|
|
|
- <p>• 启用自动重命名时,图片将按顺序命名为A1,A2,A3...,模板中使用 {'{%A1%}'}, {'{%A2%}'}, {'{%A3%}'} 等占位符</p>
|
|
|
+ <p>• 启用自动重命名时,图片将按顺序命名为A1,A2,A3...,模板中使用 {'{%A1}'}, {'{%A2}'}, {'{%A3}'} 等占位符</p>
|
|
|
<p>• 禁用自动重命名时,图片文件名必须与模板中的图片占位符匹配(不含扩展名)</p>
|
|
|
<p>• 文件夹序号必须与Excel行号对应(第1行对应文件夹"1")</p>
|
|
|
<p>• 如果图片不存在,对应位置将留空</p>
|
|
|
<p>• 支持jpg、jpeg、png、gif、bmp、webp格式图片</p>
|
|
|
- <p>• 图片占位符使用 {'{%图片名%}'} 格式,如 {'{%logo%}'} 或 {'{%A1%}'}</p>
|
|
|
+ <p>• 图片占位符使用 {'{%图片名}'} 格式,如 {'{%logo}'} 或 {'{%A1}'}</p>
|
|
|
</div>
|
|
|
</CardContent>
|
|
|
</Card>
|