This commit is contained in:
2025-10-10 16:09:14 +08:00
parent 561b3c5eee
commit df9ca6bfaa
66 changed files with 7433 additions and 7779 deletions
@@ -78,8 +78,7 @@ export class GirlDetailPanel extends li_BaseView {
imgsLayout: Node;
videoAreaPos: Vec3;
@property(Label)
girlPrice: Label;
@property(Node)
sendMsgText: Node;
@@ -113,12 +112,12 @@ export class GirlDetailPanel extends li_BaseView {
Utils.addInnerEL(InnerMsgCode.LanguageChange, this, () => {
this.girlName.string = LanguageUtils.getText(this.nameKey);
let desc = "";
const tags = LanguageUtils.getText(this.tagKey).split("|");
for (let i = 0; i < tags.length; i++) {
if (i != 0) desc += "\n";
desc += tags[i];
}
this.tags.string = desc;
const tags = LanguageUtils.getText(this.tagKey);
// for (let i = 0; i < tags.length; i++) {
// if (i != 0) desc += "\n";
// desc += tags[i];
// }
this.tags.string = tags;
this.desc.string = LanguageUtils.getText(this.descKey);
});
@@ -190,20 +189,7 @@ export class GirlDetailPanel extends li_BaseView {
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
const isRelease = girlData.getIsRelease(this.category.toString(), this.id);
const isFree = girlData.isGirlFreeType(this.category.toString(), this.id);
//if (isRelease || isFree) {
// 先设置选中的角色ID
this.girlPrice.node.active = false;
this.sendMsgText.active = true;
// } else {
// this.girlPrice.node.active = true;
// this.sendMsgText.active = false;
// this.girlPrice.string = girlData
// .getGrilOriginalPrice(this.category.toString(), this.id)
// .toString();
// }
// 请求详细数据
const reqData = {