This commit is contained in:
2025-08-26 14:23:02 +08:00
parent cf334ea439
commit ff63a351e3
7 changed files with 8 additions and 5 deletions
@@ -19,7 +19,7 @@ export class DetailImageItem extends Component {
base: GirlDetailPanel;
url: string;
isImage: boolean;
uitransform: UITransform;
onLoad() {
@@ -30,6 +30,8 @@ export class DetailImageItem extends Component {
onClickThis() {
let data = {
url: this.url,
isImg: this.isImage,
closeFunc: () => {
this.base.setVideEnable(true);
},
@@ -87,6 +89,7 @@ export class DetailImageItem extends Component {
this.url = path;
let imgPath = this.url;
this.isImage = isImage;
if (!isImage) {
imgPath = this.url + "_thumbnail";
}