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
6bf68338
Commit
6bf68338
authored
Jun 24, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放假前提交一波
parent
aa38e101
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
index.html
public/index.html
+2
-2
NumberInput.vue
src/components/inputs/NumberInput.vue
+2
-2
project.js
src/store/modules/project.js
+1
-1
PropsTab.vue
src/views/Editor/Inspector/PropsTab.vue
+5
-4
RuntimeLayer.vue
src/views/Editor/components/RuntimeLayer.vue
+2
-1
No files found.
public/index.html
View file @
6bf68338
...
...
@@ -8,8 +8,8 @@
<title>
烽火台
</title>
<script
src=
"//yun.duiba.com.cn/js-libs/psd.js/3.2.0/psd.min.js"
></script>
<!--
<script src="http://0.0.0.0:4002/debug/engine.js"></script>-->
<script
src=
"//yun.duiba.com.cn/editor/zeroing/libs/engine.
cfb1f45ea0206b8e50e55213f624e81d67432f81
.js"
></script>
<!--
<script src="http://0.0.0.0:4002/debug/engine.js"></script>-->
<script
src=
"//yun.duiba.com.cn/editor/zeroing/libs/engine.
da36f120e2f6937ed9812bb9538770e4505478d9
.js"
></script>
<script
src=
"//yun.duiba.com.cn/editor/zeroing/libs/svga.469e6ae1d98c9017953cf9375559c2575b293b59.js"
></script>
</head>
<body>
...
...
src/components/inputs/NumberInput.vue
View file @
6bf68338
...
...
@@ -68,7 +68,7 @@
}
else
{
this
.
isPercent
=
typeof
v
===
'string'
;
if
(
typeof
v
===
'string'
)
{
v
=
parse
In
t
(
v
);
v
=
parse
Floa
t
(
v
);
}
this
.
editValue
=
v
;
}
...
...
@@ -85,7 +85,7 @@
value
=
v
+
'%'
;
}
}
else
{
value
=
parse
In
t
(
v
);
value
=
parse
Floa
t
(
v
);
}
this
.
$emit
(
'input'
,
value
,
this
.
container
,
this
.
propertyName
,
this
.
value
);
//}
...
...
src/store/modules/project.js
View file @
6bf68338
...
...
@@ -938,7 +938,7 @@ export const projectStore = {
if
(
action
===
1
||
action
===
2
)
{
//普通视图
result
=
await
zipViewFile
(
file
);
}
else
{
//psd
result
=
await
toZeroing
(
file
,
{
mode
});
result
=
await
toZeroing
(
file
,
{
mode
,
singleView
:
action
===
3
});
}
let
viewFile
=
new
File
([
result
],
'view.json'
);
await
dispatch
(
'uploadView'
,
{
originFile
:
file
,
viewFile
,
action
})
...
...
src/views/Editor/Inspector/PropsTab.vue
View file @
6bf68338
...
...
@@ -29,6 +29,7 @@
</el-collapse-item>
<el-collapse-item
:title=
"$t('Function cmd') + `($
{customCmdKeys.length})`" name="cmd">
<el-form-item
v-for=
"key in customCmdKeys"
:label=
"customCmdNames[key]"
:key=
"key"
label-width=
"50px"
>
<el-input
class=
"cmd-input"
v-model=
"activeComponent.properties[key]"
@
change=
"makeProjectDirty"
/>
<el-popconfirm
:title=
"$t('Are you sure to delete this cmd?')"
@
onConfirm=
"deleteCmd(key)"
>
<el-button
slot=
"reference"
plain
icon=
"el-icon-delete"
/>
</el-popconfirm>
...
...
src/views/Editor/components/RuntimeLayer.vue
View file @
6bf68338
...
...
@@ -52,7 +52,8 @@
entrySceneView
:
'entry'
,
editorMode
:
true
,
assetResolver
:
this
.
assetResolver
,
frameRate
:
30
,
frameRate
:
15
,
rendererType
:
'canvas'
,
},
},
null
,
()
=>
{
this
.
onLaunched
();
...
...
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