2023-07-20 19:00:23 +08:00
|
|
|
<div class="psd2ui">
|
|
|
|
<ui-button id="btn-cache" @click="onClickCache"> 缓存资源 </ui-button>
|
2023-07-27 14:30:29 +08:00
|
|
|
<ui-checkbox id="is-force-img" style="bottom: 8px;" @change="onForceChanged">强制导出图片</ui-checkbox>
|
|
|
|
<ui-checkbox id="is-img-only" style="bottom: 8px;" @change="onImgOnlyChanged">只导出图片</ui-checkbox>
|
|
|
|
<ui-checkbox id="is-pinyin" style="bottom: 8px;" :value="isPinyin" @change="onPinyinChanged">中文转拼音</ui-checkbox>
|
2023-07-20 19:00:23 +08:00
|
|
|
|
|
|
|
<hr />
|
|
|
|
<ui-prop>
|
|
|
|
<ui-label slot="label">输出路径(可选):</ui-label>
|
2023-07-27 14:30:29 +08:00
|
|
|
<ui-input id="output" slot="content" v-model="outputPath"></ui-input>
|
2023-07-20 19:00:23 +08:00
|
|
|
</ui-prop>
|
|
|
|
<hr />
|
|
|
|
<div class="layout" @click="onClickDropArea">
|
2023-07-27 14:30:29 +08:00
|
|
|
<ui-drag-area id="drop-area" droppable="file" @drop="onDropFiles" @dragenter="onDragEnter"
|
|
|
|
@dragleave="onDragLeave" multi style="text-align: center;">
|
2023-07-20 19:00:23 +08:00
|
|
|
拖入psd文件/文件夹<br />
|
|
|
|
或者<br />
|
|
|
|
点击我选择文件
|
|
|
|
</ui-drag-area>
|
|
|
|
</div>
|
|
|
|
</div>
|