Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7a086542
authored
Jan 08, 2021
by
liuchuanming
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
隐藏按钮
1 parent
9caa9ac1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
linkwe-ui/.env.development
linkwe-ui/src/views/material/components/PosterPage.vue
linkwe-ui/src/views/material/poster.vue
linkwe-ui/.env.development
View file @
7a08654
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
ENV = 'development'
ENV = 'development'
# 塬微管理系统/开发环境
# 塬微管理系统/开发环境
VUE_APP_BASE_API = 'http://106.13.2
01.219
'
VUE_APP_BASE_API = 'http://106.13.2
36.58:8080
'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# 开发环境IP
# 开发环境IP
...
...
linkwe-ui/src/views/material/components/PosterPage.vue
View file @
7a08654
...
@@ -34,7 +34,7 @@ export default {
...
@@ -34,7 +34,7 @@ export default {
options
=
Object
.
assign
(
includeUIOptions
,
this
.
options
);
options
=
Object
.
assign
(
includeUIOptions
,
this
.
options
);
}
}
this
.
editorInstance
=
new
ImageEditor
(
this
.
$refs
.
tuiImageEditor
,
options
);
this
.
editorInstance
=
new
ImageEditor
(
this
.
$refs
.
tuiImageEditor
,
options
);
document
.
getElementsByClassName
(
'tui-image-editor-header'
)[
0
].
innerHTML
=
''
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
window
.
localStorage
.
getItem
(
'record'
)){
if
(
window
.
localStorage
.
getItem
(
'record'
)){
var
list
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'record'
));
var
list
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'record'
));
...
...
linkwe-ui/src/views/material/poster.vue
View file @
7a08654
...
@@ -22,6 +22,7 @@ export default {
...
@@ -22,6 +22,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
bgPath
:
"'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg1.gtimg.com%2Fsports%2Fpics%2Fhv1%2F171%2F106%2F1472%2F95744001.jpg&refer=http%3A%2F%2Fimg1.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1612444990&t=6589254fe9669cc6a45fd3688f269612'"
,
dialog
:
{
dialog
:
{
preview
:
false
,
// 预览弹出显示隐藏
preview
:
false
,
// 预览弹出显示隐藏
edit
:
false
// 编辑弹出显示隐藏
edit
:
false
// 编辑弹出显示隐藏
...
@@ -49,12 +50,12 @@ export default {
...
@@ -49,12 +50,12 @@ export default {
// initMenu: "text",
// initMenu: "text",
locale
:
locale_ru_RU
,
locale
:
locale_ru_RU
,
loadImage
:
{
loadImage
:
{
path
:
'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg1.gtimg.com%2Fsports%2Fpics%2Fhv1%2F171%2F106%2F1472%2F95744001.jpg&refer=http%3A%2F%2Fimg1.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1612444990&t=6589254fe9669cc6a45fd3688f269612'
,
path
:
bgPath
,
name
:
"posterImage"
name
:
"posterImage"
},
},
usageStatistics
:
false
,
usageStatistics
:
false
,
menuBarPosition
:
"
top
"
,
menuBarPosition
:
"
right
"
,
menu
:
[
"text"
,
"mask"
],
menu
:
[],
theme
:
{
theme
:
{
"common.bi.image"
:
""
,
"common.bi.image"
:
""
,
"common.bisize.width"
:
"251px"
,
"common.bisize.width"
:
"251px"
,
...
@@ -69,8 +70,8 @@ export default {
...
@@ -69,8 +70,8 @@ export default {
"header.border"
:
"0px"
,
"header.border"
:
"0px"
,
// main icons
// main icons
"menu.iconSize.width"
:
"
2
4px"
,
"menu.iconSize.width"
:
"
3
4px"
,
"menu.iconSize.height"
:
"
2
4px"
,
"menu.iconSize.height"
:
"
3
4px"
,
// submenu primary color
// submenu primary color
"submenu.backgroundColor"
:
"#ffffffE5"
,
"submenu.backgroundColor"
:
"#ffffffE5"
,
...
@@ -139,9 +140,8 @@ export default {
...
@@ -139,9 +140,8 @@ export default {
ready
()
{
ready
()
{
console
.
log
(
'ready'
)
console
.
log
(
'ready'
)
},
},
onAddText
(
res
)
{
onAddText
(
res
)
{
console
.
log
(
"RES : "
,
res
)
;
console
.
log
(
"RES : "
,
res
)
},
},
//移动
//移动
onObjectMoved
(
res
)
{
onObjectMoved
(
res
)
{
...
@@ -194,6 +194,7 @@ export default {
...
@@ -194,6 +194,7 @@ export default {
},
},
//
//
save
()
{
save
()
{
console
.
log
(
'save'
)
let
res
=
{};
let
res
=
{};
var
list
=
[];
var
list
=
[];
this
.
$refs
.
tuiImageEditor
.
editorInstance
.
_invoker
.
_undoStack
.
forEach
(
element
=>
{
this
.
$refs
.
tuiImageEditor
.
editorInstance
.
_invoker
.
_undoStack
.
forEach
(
element
=>
{
...
@@ -430,7 +431,7 @@ export default {
...
@@ -430,7 +431,7 @@ export default {
width
:
100%
;
width
:
100%
;
}
}
.imageEditorApp
{
.imageEditorApp
{
width
:
1000px
;
//
width
:
1000px
;
height
:
800px
;
height
:
800px
;
}
}
.tui-image-editor-header-logo
{
.tui-image-editor-header-logo
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment