Commit bc6501ab authored by wangxin's avatar wangxin

11

parent f180e895
...@@ -1000,7 +1000,7 @@ ...@@ -1000,7 +1000,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
140.5, 133.304,
0, 0,
0, 0,
0, 0,
...@@ -1053,7 +1053,7 @@ ...@@ -1053,7 +1053,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1800, "width": 1800,
"height": 340.79999999999995 "height": 160
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1132,7 +1132,7 @@ ...@@ -1132,7 +1132,7 @@
"node": { "node": {
"__id__": 23 "__id__": 23
}, },
"_enabled": true, "_enabled": false,
"alignMode": 2, "alignMode": 2,
"_target": null, "_target": null,
"_alignFlags": 42, "_alignFlags": 42,
...@@ -1171,7 +1171,7 @@ ...@@ -1171,7 +1171,7 @@
"__uuid__": "6b0bbf88-8d88-4667-8281-be659f1432d7" "__uuid__": "6b0bbf88-8d88-4667-8281-be659f1432d7"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1193,13 +1193,11 @@ ...@@ -1193,13 +1193,11 @@
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 2,
"_target": { "_target": null,
"__id__": 23 "_alignFlags": 1,
}, "_left": 118.5,
"_alignFlags": 41, "_right": 118.5,
"_left": 378.5, "_top": 134.196,
"_right": 378.5,
"_top": -62.60000000000002,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
...@@ -1474,6 +1472,9 @@ ...@@ -1474,6 +1472,9 @@
"options": { "options": {
"__id__": 30 "__id__": 30
}, },
"questionFrame": {
"__id__": 22
},
"title": { "title": {
"__id__": 15 "__id__": 15
}, },
......
...@@ -11,6 +11,11 @@ cc.Class({ ...@@ -11,6 +11,11 @@ cc.Class({
type: cc.Node, type: cc.Node,
}, },
questionFrame: {
default: null,
type: cc.Node,
},
// 标题 // 标题
title: { title: {
default: null, default: null,
...@@ -232,8 +237,10 @@ cc.Class({ ...@@ -232,8 +237,10 @@ cc.Class({
initBg() { initBg() {
const bgNode = cc.find("Canvas/bg"); const bgNode = cc.find("Canvas/bg");
bgNode.scale = this._mapScaleMax; bgNode.scale = this._mapScaleMax;
this.che.scale = this._mapScaleMax; this.che.scale = this._mapScaleMax;
this.cloud.scale = this._mapScaleMax; this.cloud.scale = this._mapScaleMax;
this.questionFrame.scale = this._mapScaleMax;
}, },
// ------------------------------------------------ // ------------------------------------------------
......
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