Commit 8a1086d4 authored by liujiaxin's avatar liujiaxin

feat: form add pic

parent d24c10f5
...@@ -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);
......
// 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) {},
});
{
"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
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment