|
@@ -10,8 +10,16 @@ export default function tpl(){
|
|
|
return `
|
|
return `
|
|
|
<div class="picture-editor-header flex between">
|
|
<div class="picture-editor-header flex between">
|
|
|
|
|
|
|
|
- <div class="flex mar-left-10">
|
|
|
|
|
|
|
+ <div class="flex mar-left-10">
|
|
|
<div class="title">编辑信息</div>
|
|
<div class="title">编辑信息</div>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="!isEmpty && canUndo"
|
|
|
|
|
+ @click="historyState(stateIndex - 1)"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ style="margin-left: 10px;"
|
|
|
|
|
+ >
|
|
|
|
|
+ 撤销
|
|
|
|
|
+ </el-button>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="button" style="margin-right: 10px;">
|
|
<div class="button" style="margin-right: 10px;">
|
|
@@ -75,7 +83,7 @@ export default function tpl(){
|
|
|
<el-button @click="addCanvas" class="mar-left-10">新增画布</el-button>
|
|
<el-button @click="addCanvas" class="mar-left-10">新增画布</el-button>
|
|
|
<el-button type="primary" @click="handleSave">保存</el-button>
|
|
<el-button type="primary" @click="handleSave">保存</el-button>
|
|
|
<!-- <el-button type="primary" @click="createImg">生成图片</el-button> -->
|
|
<!-- <el-button type="primary" @click="createImg">生成图片</el-button> -->
|
|
|
- <el-button class="mar-left-10" @click="handleBack">返回</el-button>
|
|
|
|
|
|
|
+ <el-button class="mar-left-10" @click="handleBack">关闭</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 新增:调整画布尺寸弹窗 -->
|
|
<!-- 新增:调整画布尺寸弹窗 -->
|