Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP15
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
OP15
Commits
8a1086d4
Commit
8a1086d4
authored
Nov 26, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: form add pic
parent
d24c10f5
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
269 additions
and
509 deletions
+269
-509
form.component.ts
form/src/app/form/form.component.ts
+25
-1
NewScript.js
play/assets/OP15/scene/NewScript.js
+0
-38
NewScript.js.meta
play/assets/OP15/scene/NewScript.js.meta
+0
-9
OP15.fire
play/assets/OP15/scene/OP15.fire
+106
-106
OP15.js
play/assets/OP15/scene/OP15.js
+138
-355
No files found.
form/src/app/form/form.component.ts
View file @
8a1086d4
...
@@ -15,8 +15,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -15,8 +15,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
item
;
item
;
customTypeGroupArr
=
[
customTypeGroupArr
=
[
{
{
name
:
'
动画
'
,
name
:
'
交互
动画
'
,
anima
:
true
,
anima
:
true
,
audio
:
true
,
audio
:
true
,
// pic: true,
// pic: true,
...
@@ -27,6 +28,29 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -27,6 +28,29 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
label
:
'
开始提示时间点
'
,
label
:
'
开始提示时间点
'
,
},
},
{
name
:
'
显示动画
'
,
anima
:
true
,
// audio: true,
// pic: true,
// rect: true,
// text: true,
// isShowPos: true,
// isCopy: true,
// label: '开始提示时间点',
},
{
name
:
'
图片
'
,
// anima: true,
// audio: true,
pic
:
true
,
rect
:
true
,
// text: true,
// isShowPos: true,
// isCopy: true,
// label: '开始提示时间点',
},
];
];
saveHotZone
(
group
,
e
)
{
saveHotZone
(
group
,
e
)
{
console
.
log
(
'
e:
'
,
e
);
console
.
log
(
'
e:
'
,
e
);
...
...
play/assets/OP15/scene/NewScript.js
deleted
100644 → 0
View file @
d24c10f5
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc
.
Class
({
extends
:
cc
.
Component
,
properties
:
{
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start
()
{
},
// update (dt) {},
});
play/assets/OP15/scene/NewScript.js.meta
deleted
100644 → 0
View file @
d24c10f5
{
"ver": "1.0.8",
"uuid": "b56c4835-4cb7-41b4-8c9c-ac00380d1ba3",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
play/assets/OP15/scene/OP15.fire
View file @
8a1086d4
This diff is collapsed.
Click to expand it.
play/assets/OP15/scene/OP15.js
View file @
8a1086d4
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