Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
7ed6e01f
Commit
7ed6e01f
authored
Feb 29, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整替换图按钮位置
parent
922d8095
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ImageStylePanel.vue
...iews/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue
+2
-2
index.vue
src/views/Editor/index.vue
+2
-1
No files found.
src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue
View file @
7ed6e01f
...
...
@@ -4,12 +4,13 @@
class=
"origin-image"
:style=
"
{ backgroundImage: `url(${handleImageElement.src})` }"
>
</div>
<Button
class=
"full-width-btn"
@
click=
"getImgVis()"
:style=
"
{'margin-bottom': mode==1?0:''}">
<IconTransform
class=
"btn-icon"
/>
替换图片
</Button>
<Divider
v-if=
"mode==1"
/>
<div
v-if=
"mode==1"
class=
"row items-center"
>
<div
class=
"col"
>
图层名称:
</div>
<el-input
style=
"width:60%;"
v-model=
"layerName"
@
input=
"updateLayerName"
></el-input>
</div>
<Divider
v-if=
"mode==1"
/>
<ElementFlip
/>
...
...
@@ -69,7 +70,6 @@
<FileInput @change="files => replaceImage(files)">
<Button class="full-width-btn"><IconTransform class="btn-icon" /> 替换图片</Button>
</FileInput> -->
<Button
class=
"full-width-btn"
@
click=
"getImgVis()"
><IconTransform
class=
"btn-icon"
/>
替换图片
</Button>
<Button
class=
"full-width-btn"
@
click=
"resetImage()"
><IconUndo
class=
"btn-icon"
/>
重置样式
</Button>
<Button
class=
"full-width-btn"
@
click=
"setBackgroundImage()"
><IconTheme
class=
"btn-icon"
/>
设为背景
</Button>
<!-- 上传图片 -->
...
...
src/views/Editor/index.vue
View file @
7ed6e01f
...
...
@@ -32,7 +32,8 @@
>
<ExportDialog
/>
</Modal>
<div
v-if=
"model&&model==3"
style=
"position: fixed;left: 0;right: 0;top: 0;bottom: 0; overflow: auto;"
>
<div
v-if=
"model&&model==3"
style=
"position: fixed;left: 0;right: 0;top: 0;bottom: 0;"
:style=
"
{'overflow':param.w?'':'auto'}">
<div
class=
"export-img-dialog"
>
<div
class=
"thumbnails-view"
ref=
"refThumbnails"
>
<div
class=
"thumbnails"
v-for=
"slide in slides"
>
...
...
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