调整布局、新增导航栏,调整页面跳转逻辑
This commit is contained in:
@@ -48,11 +48,9 @@ export class DetailImageItem extends Component {
|
||||
resId: number;
|
||||
type: proto.cs.EnmResType;
|
||||
|
||||
test_resID: Node;
|
||||
onLoad() {
|
||||
GButton.BandClick(this.node, this.onClickThis, this);
|
||||
this.uitransform = this.node.getComponent(UITransform);
|
||||
this.test_resID.active = false;
|
||||
}
|
||||
isVisible: boolean;
|
||||
onClickThis() {
|
||||
@@ -146,10 +144,6 @@ export class DetailImageItem extends Component {
|
||||
//this.question.active = true; // 显示问号,表示加载中
|
||||
|
||||
this.loading.active = true;
|
||||
this.test_resID = this.node.getChildByName("resID");
|
||||
|
||||
this.test_resID.getComponent(Label).string =
|
||||
this.girlId.toString() + this.resId;
|
||||
|
||||
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
|
||||
let imgPath = "";
|
||||
|
||||
Reference in New Issue
Block a user