详情页图标不显示问题和详情页搜索问题修复
This commit is contained in:
@@ -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']);
|
||||
|
||||
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user