Commit e6c67a90 authored by haiyoucuv's avatar haiyoucuv

init

parent 0d2e40ae
......@@ -137,7 +137,7 @@ export class HomeScene extends Scene {
bagLightFlag,
} = store.homeInfo || {};
this.userName.string = strFormat(nickname || "鸣鸣很忙用户", 8);
this.userName.string = strFormat(nickname || "微信用户", 8);
this.pointNum.string = `${creditsNum > 999999 ? "999999+" : creditsNum}`;
this.userImg.spriteFrame = avatar || this.avatar;
this.signTxt.string = `连续签到${continueSignDays || 0}天`;
......@@ -154,7 +154,7 @@ export class HomeScene extends Scene {
node.active = true
node.getChildByPath("mask/rank_img").getComponent(Sprite).spriteFrame = item.avatar || this.avatar;
node.getChildByName("rank_name").getComponent(Label).string = strFormat(item.nickname || "鸣鸣很忙用户", 8);
node.getChildByName("rank_name").getComponent(Label).string = strFormat(item.nickname || "微信用户", 8);
})
} else {
this.rankList.active = false;
......
......@@ -332,7 +332,7 @@ export class RankScence extends Scene {
}
cell.getChildByName(`rank`).getComponent(Label).string = rankTxt;
cell.getChildByName(`sheng`).getComponent(Label).string = province || strFormat(`${nickname || "鸣鸣很忙用户"}`, 12);
cell.getChildByName(`sheng`).getComponent(Label).string = province || strFormat(`${nickname || "微信用户"}`, 12);
cell.getChildByName(`length`).getComponent(Label).string = (score > 99999999 ? "99999999+" : score) || "0";
}
......@@ -364,7 +364,7 @@ export class RankScence extends Scene {
}
cell.getChildByName(`rank`).getComponent(Label).string = rankTxt;
cell.getChildByName(`sheng`).getComponent(Label).string = province || strFormat(`${nickname || "鸣鸣很忙用户"}`, 12) + "(我)";
cell.getChildByName(`sheng`).getComponent(Label).string = province || strFormat(`${nickname || "微信用户"}`, 12) + "(我)";
cell.getChildByName(`length`).getComponent(Label).string = (score > 99999999 ? "99999999+" : score) || "0";
}
......
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