详情页图标不显示问题和详情页搜索问题修复

This commit is contained in:
zyx0814
2021-12-10 10:34:34 +08:00
Unverified
parent fc81c55592
commit 5c62b41508
2 changed files with 8 additions and 8 deletions

View File

@@ -190,8 +190,8 @@ class table_pichome_resources extends dzz_table
}
//echo $resourcesdata['icondata'];die;
$imginfo = @getimagesize($resourcesdata['icondata']);
$resourcesdata['iconwidth'] = $imginfo[0] ? $imginfo[0]:0;
$resourcesdata['iconheight'] = $imginfo[1] ? $imginfo[1]:0;
$resourcesdata['iconwidth'] = $imginfo[0] ? $imginfo[0]:$resourcesdata['width'];
$resourcesdata['iconheight'] = $imginfo[1] ? $imginfo[1]:$resourcesdata['height'];
$resourcesdata['icondata'] = str_replace('+', '%20', $resourcesdata['icondata']);

View File

@@ -824,10 +824,10 @@
handleCommandColor(val){
if(val == 'common'){
<!--{if $opentype=='current'}-->
window.parent.window.location.href = MOD_URL + '#appid=' + this.imagesData.appid + '&color=' + this.ColorPopver.base;
window.parent.window.location.hash = '#appid=' + this.imagesData.appid + '&color=' + this.ColorPopver.base;
window.parent.window.location.reload()
<!--{else}-->
window.location.href = MOD_URL + '#appid=' + this.imagesData.appid + '&color=' + this.ColorPopver.base;
window.location.href = '#appid=' + this.imagesData.appid + '&color=' + this.ColorPopver.base;
<!--{/if}-->
}else{
CopyTxt(this,val)
@@ -880,19 +880,19 @@
},
handleClickTag(tid){
<!--{if $opentype=='current'}-->
window.parent.window.location.href = MOD_URL + '#appid=' + this.imagesData.appid + '&tag=' + tid;
window.parent.window.location.hash = '#appid=' + this.imagesData.appid + '&tag=' + tid;
window.parent.window.location.reload()
<!--{else}-->
window.location.href = MOD_URL + '#appid=' + this.imagesData.appid + '&tag=' + tid;
window.location.href = '#appid=' + this.imagesData.appid + '&tag=' + tid;
<!--{/if}-->
},
handleClickClass(cid){
<!--{if $opentype=='current'}-->
window.parent.window.location.href = MOD_URL + '#appid=' + this.imagesData.appid + '&classify=' + cid;
window.parent.window.location.hash = '#appid=' + this.imagesData.appid + '&classify=' + cid;
window.parent.window.location.reload()
<!--{else}-->
window.location.href = MOD_URL + '#appid=' + this.imagesData.appid + '&classify=' + cid;
window.location.href = '#appid=' + this.imagesData.appid + '&classify=' + cid;
<!--{/if}-->
},
handleClickLink(val){