Commit afee7527 authored by Tt's avatar Tt

爪子调整完

parent 21babf93
This diff is collapsed.
......@@ -472,6 +472,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
public btn_last: cc.Node = null;
@property(cc.Node)
public btn_next: cc.Node = null;
@property(cc.Node)
public card_pos: cc.Node = null;
updateLayer(layer, data, i) {
if (!layer || !data) return;
......@@ -485,7 +487,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
"1": [-10]
}
let posArray = posList[data.options.length];
let posY = -30;
let posY = this.card_pos.y;
// 计算Y的值
// let img = pg.view.find(layer, 'title/img')
// pg.view.setNetImg(img, data.image, { w: 660, h: 320 })
......
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