Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
electron-printer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhuzhequan
electron-printer
Commits
34c277f4
Commit
34c277f4
authored
Jun 20, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加铺满功能
parent
5cfdd1a6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletions
+13
-1
src/static/icon/pm.png
+0
-0
src/views/design/head/index.vue
+4
-1
src/views/design/main/imgSetting.vue
+9
-0
src/views/design/main/index.vue
+0
-0
No files found.
src/static/icon/pm.png
0 → 100644
View file @
34c277f4
5.94 KB
src/views/design/head/index.vue
View file @
34c277f4
...
...
@@ -323,7 +323,10 @@ export default {
this
.
detail
=
findByPodProductionNo
.
data
;
// console.log("detail111111", findByPodProductionNo);
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
)
{
designImagesCanvasJsonList
=
JSON
.
parse
(
designImagesCanvasJsonList
);
let
imageList
=
await
this
.
canvasToImage
(
designImagesCanvasJsonList
);
...
...
src/views/design/main/imgSetting.vue
View file @
34c277f4
...
...
@@ -240,6 +240,15 @@ export default {
:span=
"24"
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-button
@
click=
"$emit('ev', 'center')"
class=
"btn"
>
<img
...
...
src/views/design/main/index.vue
View file @
34c277f4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment