优化:支持文字排版
This commit is contained in:
10
src/App.tsx
10
src/App.tsx
@@ -649,7 +649,7 @@ export default function App() {
|
||||
className="inline-flex items-center gap-1.5 px-4 py-2 bg-indigo-600 text-white rounded-xl text-xs font-semibold whitespace-nowrap transition hover:bg-indigo-700 shadow-sm cursor-pointer"
|
||||
>
|
||||
<Plus className="w-4 h-4 shrink-0" />
|
||||
新建空白模板
|
||||
新建模板
|
||||
</button>
|
||||
<label className="inline-flex items-center gap-1.5 px-4 py-2 bg-white/10 hover:bg-white/15 border border-slate-700 text-slate-100 rounded-xl text-xs font-semibold whitespace-nowrap transition shadow-sm cursor-pointer">
|
||||
<Upload className="w-4 h-4 shrink-0" />
|
||||
@@ -697,8 +697,8 @@ export default function App() {
|
||||
<h2 className="text-lg font-bold text-gray-900">还没有标签模板</h2>
|
||||
<p className="text-sm text-gray-500 mt-2 max-w-md leading-relaxed">
|
||||
{isMobile
|
||||
? '导入 JSON 模板后,即可上传 Excel 数据并批量生成排版后的PDF文档。'
|
||||
: '创建空白模板开始可视化设计,或导入已有的 JSON 模板文件。'}
|
||||
? '请导入已有模板,或电脑端进行设计。'
|
||||
: '创建模板开始可视化设计,或导入已有的 JSON 模板文件。'}
|
||||
</p>
|
||||
<div className="flex flex-col sm:flex-row items-center justify-center gap-3 mt-8">
|
||||
{!isMobile && (
|
||||
@@ -708,7 +708,7 @@ export default function App() {
|
||||
className="inline-flex items-center justify-center gap-2 px-5 py-2.5 bg-indigo-600 hover:bg-indigo-700 text-white rounded-xl text-sm font-semibold transition shadow-sm cursor-pointer"
|
||||
>
|
||||
<Plus className="w-4 h-4 shrink-0" />
|
||||
新建空白模板
|
||||
新建模板
|
||||
</button>
|
||||
)}
|
||||
<label className="inline-flex items-center justify-center gap-2 px-5 py-2.5 bg-white border border-gray-200 hover:border-indigo-300 text-gray-700 rounded-xl text-sm font-semibold transition shadow-sm cursor-pointer shrink-0">
|
||||
@@ -1074,7 +1074,7 @@ export default function App() {
|
||||
id="add-template-dialog-title"
|
||||
className="text-sm font-bold text-gray-900"
|
||||
>
|
||||
新建空白模板
|
||||
新建模板
|
||||
</h3>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user