Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
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
劳工
zeroing-editor
Commits
9871db96
Commit
9871db96
authored
Dec 03, 2019
by
任建锋
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into rjf_test
parents
6985084a
8eac070b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
10 deletions
+25
-10
index.html
public/index.html
+1
-1
behavior.scss
src/themes/light/behavior.scss
+12
-1
editor.scss
src/themes/light/editor.scss
+0
-4
properties.js
src/utils/properties.js
+7
-2
Board.vue
src/views/Editor/behavior-editor/Board.vue
+1
-1
MetaEditorDialog.vue
src/views/Editor/behavior-editor/MetaEditorDialog.vue
+4
-1
No files found.
public/index.html
View file @
9871db96
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</noscript>
</noscript>
<script>
<script>
window
.
__data
=
{
window
.
__data
=
{
token
:
"<%= process.env.NODE_ENV === 'development' ? 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mj
Q1LCJuYW1lIjoi5byg5pmo6L6wIiwiYWNjb3VudCI6InpjYyIsImVtYWlsIjoiemNjQGR1aWJhLmNvbS5jbiIsIm1vYmlsZSI6IjE4NzU3MTU1NzUxIiwiZGluZ1VzZXJJZCI6IjAyMDcxMTUyNjgyNDI1MTc1MiIsIm1vZGVsQXV0aG9yaXplIjpmYWxzZSwibG9naW5UaW1lb3V0Ijo4NjMxMCwiZ210Q3JlYXRlIjoxNTM0NDEyMDA4MDAwLCJnbXRNb2RpZmllZCI6MTU3NDA0OTAwODAwMCwic3lzdGVtSWRTZXQiOlswLDEsMzQsMzYsMzcsMjMxLDIwMywxOSwyMSwyNDYsMjMsMjQ5LDI1LDI3LDMwXSwiaWF0IjoxNTc0ODU5OTA5fQ.OIOZDSSdJRPHeDI_YPY6lBFWvNoRZZ2O4uByG6rDOxk
' : '$TOKEN$' %>"
,
token
:
"<%= process.env.NODE_ENV === 'development' ? 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mj
A4NSwibmFtZSI6IuWKs-eQquWzsCIsImFjY291bnQiOiJsYW9xaWZlbmciLCJlbWFpbCI6Imxhb3FpZmVuZ0BkdWliYS5jb20uY24iLCJtb2JpbGUiOiIxMzQ1Njc3NDE1MyIsImRpbmdVc2VySWQiOiI1MDY5MDYyOTIxMjkxMDAxIiwibW9kZWxBdXRob3JpemUiOmZhbHNlLCJsb2dpblRpbWVvdXQiOjE0ODA5LCJnbXRDcmVhdGUiOjE1MzQ0MTIwMTUwMDAsImdtdE1vZGlmaWVkIjoxNTczODgyMDk2MDAwLCJzeXN0ZW1JZFNldCI6WzAsMSwzNCwyMjcsMzYsMzcsMjMxLDIwMywxOSwyMSwyNDYsMjMsMjUsMjQ5LDI3LDMwXSwiaWF0IjoxNTc1MzQwMzg2fQ.2JEYMRx6wbJsMIMh3quyM14OsoMz_iJRq4Az_xz-WTc
' : '$TOKEN$' %>"
,
apiHost
:
"<%= process.env.NODE_ENV === 'development' ? 'http://beacon.duibadev.com.cn' : '$API_HOST$' %>"
apiHost
:
"<%= process.env.NODE_ENV === 'development' ? 'http://beacon.duibadev.com.cn' : '$API_HOST$' %>"
}
}
</script>
</script>
...
...
src/themes/light/behavior.scss
View file @
9871db96
...
@@ -9,6 +9,7 @@ $dock-pin-width: 9px;
...
@@ -9,6 +9,7 @@ $dock-pin-width: 9px;
.el-dialog__body
{
.el-dialog__body
{
flex
:
1
;
flex
:
1
;
height
:
0
;
padding
:
5px
;
padding
:
5px
;
}
}
...
@@ -320,8 +321,9 @@ $dock-pin-width: 9px;
...
@@ -320,8 +321,9 @@ $dock-pin-width: 9px;
}
}
.meta-editor-wrapper
{
.meta-editor-wrapper
{
height
:
40vh
;
//
height: 40vh;
display
:
flex
;
display
:
flex
;
height
:
100%
;
padding
:
5px
;
padding
:
5px
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -332,6 +334,15 @@ $dock-pin-width: 9px;
...
@@ -332,6 +334,15 @@ $dock-pin-width: 9px;
.script-editor
{
.script-editor
{
flex
:
1
;
flex
:
1
;
}
}
.vue-codemirror
{
flex
:
1
;
height
:
0
;
}
.CodeMirror
{
height
:
100%
;
}
}
}
.props-editor-dialog
{
.props-editor-dialog
{
...
...
src/themes/light/editor.scss
View file @
9871db96
...
@@ -4,10 +4,6 @@
...
@@ -4,10 +4,6 @@
@import
"assets"
;
@import
"assets"
;
@import
"behavior"
;
@import
"behavior"
;
.CodeMirror
{
height
:
200px
!
important
;
}
.editor
{
.editor
{
display
:
flex
;
display
:
flex
;
flex
:
1
;
flex
:
1
;
...
...
src/utils/properties.js
View file @
9871db96
...
@@ -134,6 +134,11 @@ export default {
...
@@ -134,6 +134,11 @@ export default {
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
},
},
htmlText
:
{
title
:
'HTML内容'
,
type
:
'input'
,
value
:
''
},
fillColor
:
{
fillColor
:
{
title
:
'颜色'
,
title
:
'颜色'
,
type
:
'colorPicker'
,
type
:
'colorPicker'
,
...
@@ -261,11 +266,11 @@ export default {
...
@@ -261,11 +266,11 @@ export default {
value
:
20
,
value
:
20
,
},
},
},
},
htmlView
:
{
/*
htmlView: {
groupName: 'HTML视图',
groupName: 'HTML视图',
htmlElement: {
htmlElement: {
title: 'HTML内容',
title: 'HTML内容',
type: 'input',
type: 'input',
},
},
}
}
*/
}
}
src/views/Editor/behavior-editor/Board.vue
View file @
9871db96
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
const
data
=
await
this
.
addSubProcessData
(
processId
,
{
const
data
=
await
this
.
addSubProcessData
(
processId
,
{
x
:
e
.
offsetX
-
this
.
boardOffset
.
x
-
9
,
x
:
e
.
offsetX
-
this
.
boardOffset
.
x
-
9
,
y
:
e
.
offsetY
-
this
.
boardOffset
.
y
,
y
:
e
.
offsetY
-
this
.
boardOffset
.
y
-
20
,
});
});
if
(
!
data
)
{
if
(
!
data
)
{
return
;
return
;
...
...
src/views/Editor/behavior-editor/MetaEditorDialog.vue
View file @
9871db96
...
@@ -3,7 +3,10 @@
...
@@ -3,7 +3,10 @@
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:close-on-press-escape=
"false"
:show-close=
"false"
:show-close=
"false"
:append-to-body=
"true"
>
fullscreen
:append-to-body=
"true"
custom-class=
"behavior-editor-dialog"
>
<div
class=
"meta-editor-wrapper"
>
<div
class=
"meta-editor-wrapper"
>
<el-form
ref=
"form"
v-if=
"meta"
:model=
"meta"
:rules=
"rules"
:show-message=
"false"
class=
"info-editor"
size=
"mini"
label-position=
"right"
label-width=
"70px"
@
submit
.
native
.
prevent
>
<el-form
ref=
"form"
v-if=
"meta"
:model=
"meta"
:rules=
"rules"
:show-message=
"false"
class=
"info-editor"
size=
"mini"
label-position=
"right"
label-width=
"70px"
@
submit
.
native
.
prevent
>
<template>
<template>
...
...
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