Merge branch 'main' of https://git.sparkus.cn/yangzhao/cb
This commit is contained in:
commit
634de5cc35
|
@ -15018,7 +15018,7 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"width": 1180,
|
||||
"height": 2340
|
||||
},
|
||||
"_anchorPoint": {
|
||||
|
@ -15098,8 +15098,8 @@
|
|||
"alignMode": 1,
|
||||
"_target": null,
|
||||
"_alignFlags": 45,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_left": -50,
|
||||
"_right": -50,
|
||||
"_top": -210,
|
||||
"_bottom": -210,
|
||||
"_verticalCenter": 0,
|
||||
|
@ -15288,8 +15288,8 @@
|
|||
0,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
|
@ -155,6 +155,13 @@ export default class NewClass extends cc.Component {
|
|||
}
|
||||
init() {
|
||||
this.btn_Touch = true;
|
||||
const jiazaiNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点
|
||||
const jiazaiComp = jiazaiNode.getComponent(JiaZai);
|
||||
if (jiazaiComp) {
|
||||
setTimeout(() => {
|
||||
jiazaiComp.getMonthlyCardValidityDays();
|
||||
}, 300);
|
||||
}
|
||||
Utils.getMonthlyCard((data) => {
|
||||
if (data.msg == "不在有效期") {
|
||||
this.monthCardBtn.active = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user