协议调试
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user