协议调试

This commit is contained in:
chen wei bo
2025-09-09 20:57:42 +08:00
parent e5767d5303
commit 6fa7503100
2 changed files with 14 additions and 2 deletions
@@ -153,6 +153,7 @@ export class DetailImageItem extends Component {
this.video.enabled = type === 2;
this.priceFrame.active = type === 2;
let price = 0;
let isUnlock = false;
if (type === 1) {
// 图片
price = girlData.getGrilPhotoOriginalPrice(this.category.toString(), this.girlId, this.resId);
@@ -163,6 +164,7 @@ export class DetailImageItem extends Component {
);
imgPath = this.url;
this.isImage = true;
isUnlock = girlData.isImageUnlock(this.category.toString(), this.girlId, this.resId);
} else if (type === 2) {
// 视频
price = girlData.getGrilVideoOriginalPrice(this.category.toString(), this.girlId, this.resId);
@@ -178,7 +180,7 @@ export class DetailImageItem extends Component {
this.resId
);
const isUnlock = girlData.isVideoUnlock(
isUnlock = girlData.isVideoUnlock(
this.category.toString(),
this.girlId,
this.resId