update
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user