www.yh78822.com:53BK数字报刊系统V6.0手机版模板源码变化

澳门网上赌博:”张译则透露,看到剧本后,他根本放不下来,“后来我们都下基层体验生活,很多细节就是从这些企业家身上来的。

53BK数字报刊系统V6.0手机版前台模板ASPX页面源码变化:

-----------------------------------------------------------------------------

if (eachban.Pagepdf.Contains(".jpg"))

{

pagepic = eachban.Pagepdf.ToString() + "?editionid=" + eachban.Id;

}

else

{

pagepic = Fun.PaperWebUrl + eachban.Pagepic.ToString() + "?editionid=" + eachban.Id;

}

替换为:

string zoompic = eachban.Zoompic;

if (zoompic.Length > 10)

{

pagepic = Fun.PaperWebUrl + zoompic + "?editionid=" + eachban.Id;

}

else

{

if (eachban.Pagepdf.Contains(".jpg"))

{

pagepic = eachban.Pagepdf.ToString() + "?editionid=" + eachban.Id;

}

else

{

pagepic = Fun.PaperWebUrl + eachban.Pagepic.ToString() + "?editionid=" + eachban.Id;

}

}

---------------------------------------------------------------------------------

<%if (eachban.Pagepdf.Contains(".jpg"))

{%>

var pagepic="<%=eachban.Pagepdf.ToString()%>?editionid=<%=eachban.Id%>";

<%

}else

{%>

var pagepic=paperweburl+"<%=eachban.Pagepic.ToString()%>?editionid=<%=eachban.Id%>";

<%}%>

替换为:

var pagepic=<%=pagepic %>;

-----------------------------------------------------------------------------------------

if (eachban.Pagepdf.Contains(".jpg")){

pagemap = pagemap.Replace(Fun.PaperWebUrl + eachban.Pagepic,eachban.Pagepdf );

}

替换为:

if (zoompic.Length > 10)

{

pagemap = pagemap.Replace(Fun.PaperWebUrl + eachban.Pagepic, Fun.PaperWebUrl + zoompic);

}

else

{

if (eachban.Pagepdf.Contains(".jpg"))

{

pagemap = pagemap.Replace(Fun.PaperWebUrl + eachban.Pagepic, eachban.Pagepdf);

}

}

相关内容

编辑:Admin 时间:2018/1/19 21:03:54 阅览:5   返回    
手机版
扫描关注 53BK报刊官网
扫描关注 53BK报刊官网