Commit 34c277f4 by zhuzhequan

添加铺满功能

parent 5cfdd1a6
...@@ -323,7 +323,10 @@ export default { ...@@ -323,7 +323,10 @@ export default {
this.detail = findByPodProductionNo.data; this.detail = findByPodProductionNo.data;
// console.log("detail111111", findByPodProductionNo); // console.log("detail111111", findByPodProductionNo);
let imageResList = []; let imageResList = [];
let designImagesCanvasJsonList = this.detail.drParam; let designImagesCanvasJsonList = this.detail.drParam
this.detail.adjustable = true
this.detail.mssWidth = 400
this.detail.mssHeight = 450
if (designImagesCanvasJsonList) { if (designImagesCanvasJsonList) {
designImagesCanvasJsonList = JSON.parse(designImagesCanvasJsonList); designImagesCanvasJsonList = JSON.parse(designImagesCanvasJsonList);
let imageList = await this.canvasToImage(designImagesCanvasJsonList); let imageList = await this.canvasToImage(designImagesCanvasJsonList);
......
...@@ -240,6 +240,15 @@ export default { ...@@ -240,6 +240,15 @@ export default {
:span="24" :span="24"
style="display: flex;justify-content: space-between;padding:0 30px;" style="display: flex;justify-content: space-between;padding:0 30px;"
> >
<el-tooltip content="铺满">
<el-button @click="$emit('ev', 'cover')" class="btn">
<img
style="width: 13px;height: 13px"
src="@/static/icon/pm.png"
alt=""
/>
</el-button>
</el-tooltip>
<el-tooltip content="居中"> <el-tooltip content="居中">
<el-button @click="$emit('ev', 'center')" class="btn"> <el-button @click="$emit('ev', 'center')" class="btn">
<img <img
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment