阅兵假期回郑州了,没有更新,抱歉了。
鉴于代码还没有完善,提供邮箱的朋友,我已经把项目发过去了。
等项目整合完毕之后,共享源码。参考网站:革西网络
接着说说数据的绑定:
1publicActionResult Index()2{3ViewBag.userinfo ="";4varuser =session["user"]asUserInfo;5ViewBag.userinfo =user;6//Banner7IndexModel.Bannerlist = _bll.GetModelTopList<BannerInfo>("6","Ichecksign=1 and BannerType=1","BannerInfo","Id desc");8//新闻推荐9IndexModel.NewsTui1 = _bll.GetModelTopList<BriefNewsInfo>("6","IsDelete=1 and IsHotSpot=1 and CheckState=1","NewsInfo","Time desc");10//新闻11IndexModel.NewsInfo1 = WebInfoManager.GetNewsInfo(2);12IndexModel.NewsInfo2 = WebInfoManager.GetNewsInfo(3);13IndexModel.NewsInfo3 = WebInfoManager.GetNewsInfo(4);14IndexModel.NewsInfo4 = WebInfoManager.GetNewsInfo(12);1516IndexModel.NewsTui2 = _bll.GetModelTopList<BriefNewsInfo>("6","IsDelete=1 and IsHotSpot=1","TechInfo","Time desc");17IndexModel.NewsTui3 = _bll.GetModelTopList<BriefNewsInfo>("6","IsDelete=1 and IsHotSpot=1","FinanceInfo","Time desc");18IndexModel.NewsTui4 = _bll.GetModelTopList<BriefNewsInfo>("6","IsDelete=1 and IsHotSpot=1","FashionInfo","Time desc");19IndexModel.NewsTui5 = _bll.GetModelTopList<BriefNewsInfo>("6","IsDelete=1 and IsHotSpot=1","EntertainmentInfo","Time desc");2021//科技22IndexModel.TechInfo = _bll.GetModelTopList<BriefNewsInfo>("3","IsDelete=1 and IsHotSpot=1 and Id not in (select top(6) Id from TechInfo where IsDelete=1 and IsHotSpot=1 order by Time desc)","TechInfo","Id desc");23IndexModel.TechInfo1 = _bll.GetModelTopList<BriefNewsInfo>("12","IsDelete=1 and IsHotSpot=2","TechInfo","Id desc");2425//财经26IndexModel.FinanceInfo = _bll.GetModelTopList<BriefNewsInfo>("3","IsDelete=1 and IsHotSpot=1 and Id not in (select top(6) Id from FinanceInfo where IsDelete=1 and IsHotSpot=1 order by Time desc)","FinanceInfo","Id desc");27IndexModel.FinanceInfo1 = _bll.GetModelTopList<BriefNewsInfo>("12","IsDelete=1 and IsHotSpot=2","FinanceInfo","Id desc"); ;2829//教育30IndexModel.EducationInfo = _bll.GetModelTopList<BriefNewsInfo>("3","IsDelete=1 and IsHotSpot=1","EducationInfo","Id desc"); ;31IndexModel.EducationInfo1 = _bll.GetModelTopList<BriefNewsInfo>("12","IsDelete=1 and IsHotSpot=2","EducationInfo","Id desc");3233//历史34IndexModel.HistoryInfo = _bll.GetModelTopList<BriefNewsInfo>("3","IsDelete=1 and IsHotSpot=1","HistoryInfo","Id desc");35IndexModel.HistoryInfo1 = _bll.GetModelTopList<BriefNewsInfo>("12","IsDelete=1 and IsHotSpot=2","HistoryInfo","Id desc");3637//革西传媒38IndexModel.GexiInfoList = _bll.GetModelTopList<BriefNewsInfo>("12","IsDelete=1","GexiInfo","Id desc");3940//自媒体41IndexModel.GexiInfo = _bll.GetModelTopList<BriefNewsInfo>("6","IsDelete=1 and IsHotSpot=1","GexiInfo","Id desc");4243//时尚 娱乐 故事44IndexModel.EntertainmentInfo = _bll.GetModelTopList<BriefNewsInfo>("8","IsDelete=1 and IsHotSpot=2","EntertainmentInfo","Id desc");45IndexModel.FashionInfo = _bll.GetModelTopList<BriefNewsInfo>("8","IsDelete=1 and IsHotSpot=2","FashionInfo","Id desc");46IndexModel.SoulInfo = _bll.GetModelTopList<BriefNewsInfo>("8","IsDelete=1 and IsHotSpot=1","SoulInfo","Id desc");47//汽车 房产48IndexModel.CarInfo = _bll.GetModelTopList<BriefNewsInfo>("2","IsDelete=1 and IsHotSpot=1","CarInfo","Id desc");49IndexModel.CarInfo1 = _bll.GetModelTopList<BriefNewsInfo>("8","IsDelete=1 and IsHotSpot=2","CarInfo","Id desc");50IndexModel.HouseInfo = _bll.GetModelTopList<BriefNewsInfo>("2","IsDelete=1 and IsHotSpot=1","HouseInfo","Id desc");51IndexModel.HouseInfo1 = _bll.GetModelTopList<BriefNewsInfo>("8","IsDelete=1 and IsHotSpot=2","HouseInfo","Id desc");5253//友链54List<CoOperationInfo> cooperationInfo2 = _bll.GetModelTopList<CooperationInfo>("20","TypeId=2 and Ichecksign=1","Cooperation","Id");55IndexModel.CooperationInfo2 =cooperationInfo2;56returnView();57}
代码绑定 控制器部分
IndexModel代码:
1publicstaticclassIndexModel2{3publicstaticList<BannerInfo> Bannerlist {get;set; }4publicstaticList<BriefNewsInfo> GexiInfo {get;set; }5publicstaticList<BriefNewsInfo> GexiInfoList {get;set; }6publicstaticList<BriefNewsInfo> NewsTui1 {get;set; }7publicstaticList<BriefNewsInfo> NewsTui2 {get;set; }8publicstaticList<BriefNewsInfo> NewsTui3 {get;set; }9publicstaticList<BriefNewsInfo> NewsTui4 {get;set; }10publicstaticList<BriefNewsInfo> NewsTui5 {get;set; }111213publicstaticList<BriefNewsInfo> NewsInfo1 {get;set; }14publicstaticList<BriefNewsInfo> NewsInfo2 {get;set; }15publicstaticList<BriefNewsInfo> NewsInfo3 {get;set; }16publicstaticList<BriefNewsInfo> NewsInfo4 {get;set; }171819publicstaticList<BriefNewsInfo> TechInfo {get;set; }20publicstaticList<BriefNewsInfo> TechInfo1 {get;set; }2122publicstaticList<BriefNewsInfo> FinanceInfo {get;set; }23publicstaticList<BriefNewsInfo> FinanceInfo1 {get;set; }2425publicstaticList<BriefNewsInfo> EducationInfo {get;set; }26publicstaticList<BriefNewsInfo> EducationInfo1 {get;set; }2728publicstaticList<BriefNewsInfo> HistoryInfo {get;set; }29publicstaticList<BriefNewsInfo> HistoryInfo1 {get;set; }30313233publicstaticList<BriefNewsInfo> EntertainmentInfo {get;set; }34publicstaticList<BriefNewsInfo> FashionInfo {get;set; }35publicstaticList<BriefNewsInfo> SoulInfo {get;set; }36publicstaticList<BriefNewsInfo> CarInfo {get;set; }37publicstaticList<BriefNewsInfo> CarInfo1 {get;set; }38publicstaticList<BriefNewsInfo> HouseInfo {get;set; }39publicstaticList<BriefNewsInfo> HouseInfo1 {get;set; }4041publicstaticList<CooperationInfo> CooperationInfo2 {get;set; }4243}
View Code
WebInfoManager公用类代码:
1publicclassWebInfoManager2{3publicstaticstringGetNewsTypeByID(intoid)4{5stringstr ="/";6if(oid !=0)7{8foreach(variteminDictionaryHelper.NewsType)9{10if(oid ==item.Key)11{12str =item.Value;13}14}15}16returnstr;17}1819publicstaticstringGetTechTypeByID(intoid)20{21stringstr ="/";22if(oid !=0)23{24foreach(variteminDictionaryHelper.TechType)25{26if(oid ==item.Key)27{28str =item.Value;29}30}31}32returnstr;33}34publicstaticstringGetFinanceTypeByID(intoid)35{36stringstr ="/";37if(oid !=0)38{39foreach(variteminDictionaryHelper.FinanceType)40{41if(oid ==item.Key)42{43str =item.Value;44}45}46}47returnstr;48}49publicstaticstringGetEducationTypeByID(intoid)50{51BLL webinfoM =newBLL();52stringstr ="/";53if(oid !=0)54{55foreach(variteminDictionaryHelper.EduType)56{57if(oid ==item.Key)58{59str =item.Value;60}61}62}63returnstr;64}65publicstaticstringGetHistoryInfoTypeByID(intoid)66{67BLL webinfoM =newBLL();68stringstr ="/";69if(oid !=0)70{71foreach(variteminDictionaryHelper.HisType)72{73if(oid ==item.Key)74{75str =item.Value;76}77}78}79returnstr;80}81publicstaticstringGettravelTypeByID(intoid)82{83BLL webinfoM =newBLL();84stringstr ="/";85if(oid !=0)86{87foreach(variteminDictionaryHelper.TravelType)88{89if(oid ==item.Key)90{91str =item.Value;92}93}94}95returnstr;96}97publicstaticstringGetCarTypeByID(intoid)98{99BLL webinfoM =newBLL();100stringstr ="/";101if(oid !=0)102{103foreach(variteminDictionaryHelper.CarType)104{105if(oid ==item.Key)106{107str =item.Value;108}109}110}111returnstr;112}113publicstaticstringGetHouseTypeByID(intoid)114{115BLL webinfoM =newBLL();116stringstr ="/";117if(oid !=0)118{119foreach(variteminDictionaryHelper.HouseType)120{121if(oid ==item.Key)122{123str =item.Value;124}125}126}127returnstr;128}129publicstaticstringGetSoulTypeByID(intoid)130{131BLL webinfoM =newBLL();132stringstr ="/";133if(oid !=0)134{135foreach(variteminDictionaryHelper.SoulType)136{137if(oid ==item.Key)138{139str =item.Value;140}141}142}143returnstr;144}145146publicstaticstringGetFashionTypeByID(intoid)147{148BLL webinfoM =newBLL();149stringstr ="/";150if(oid !=0)151{152foreach(variteminDictionaryHelper.FashionType)153{154if(oid ==item.Key)155{156str =item.Value;157}158}159}160returnstr;161}162publicstaticstringGetEntertainmentTypeByID(intoid)163{164BLL webinfoM =newBLL();165stringstr ="/";166if(oid !=0)167{168foreach(variteminDictionaryHelper.EntertainmentType)169{170if(oid ==item.Key)171{172str =item.Value;173}174}175}176returnstr;177}178publicstaticstringGetNoticeTypeByID(intoid)179{180BLL webinfoM =newBLL();181stringstr ="/";182if(oid !=0)183{184foreach(variteminDictionaryHelper.NoticeType)185{186if(oid ==item.Key)187{188str =item.Value;189}190}191}192returnstr;193}194publicstaticstringGetCooperationTypeByID(intoid)195{196BLL webinfoM =newBLL();197stringstr ="/";198if(oid !=0)199{200foreach(variteminDictionaryHelper.CooperationType)201{202if(oid ==item.Key)203{204str =item.Value;205}206}207}208returnstr;209}210publicstaticstringGetLieByID(objectOID)211{212if(OID !=null)213{214if(Convert.ToInt32(OID) ==1)215{216return"专题";217}218else219{220return"模版";221}222}223else224{225return"/";226}227}228229publicstaticstringGetSpecialType(objectOID)230{231stringretstring ="/";232BLL bll =newBLL();233List<ImgSpecial> imglist = bll.GetModelList<ImgSpecial>("IsDelete=1","ImgSpecial");234foreach(variteminimglist)235{236if(item.Id ==Convert.ToInt32(OID))237{238retstring =item.Title;239}240}241returnretstring;242}243244publicstaticList<BriefNewsInfo> GetNewsInfo(intNewsTypeId)245{246BLL bll =newBLL();247List<BriefNewsInfo> NewsInfo = bll.GetModelTopList<BriefNewsInfo>("6","NewsTypeId="+ NewsTypeId +"and IsDelete=1 and IsHotSpot!=1 and CheckState=1","NewsInfo","Id desc");248returnNewsInfo;249}250251publicstaticstringGetUserNameById(intid)252{253BLL bll =newBLL();254stringretinfo ="/";255UserInfo userinfo = bll.GetModle<UserInfo>("UserInfo","Id="+ id +"");256if(userinfo !=null)257{258retinfo =userinfo.UserNickname;259}260if(id ==0)261{262retinfo ="革西网友";263}264returnretinfo;265}266publicstaticstringGetUserImgById(intid)267{268BLL bll =newBLL();269stringretinfo ="/";270UserInfo userinfo = bll.GetModle<UserInfo>("UserInfo","Id="+ id +"");271if(userinfo !=null)272{273retinfo ="/content/Files/"+userinfo.UserImg;274}275if(id ==0)276{277retinfo ="/content/img/nologin.jpg";278}279returnretinfo;280}281282publicstaticstringGetConfig(stringkey)283{284returnConfigurationManager.AppSettings[key];285286}287288publicstaticstringGexinetUrl289{290get291{292returnGetConfig("GexinetUrl");293}294}295publicstaticstringGetCheckStateByID(objectid)296{297stringretstring ="未知";298if(id !=null)299{300varidint =Convert.ToInt32(id);301if(idint ==0)302{303retstring ="未审核";304}305if(idint ==1)306{307retstring ="通过";308}309if(idint ==2)310{311retstring ="拒绝";312}313}314returnretstring;315}316///<summary>317///根据邮箱 得到邮箱服务器318///</summary>319publicstaticstringgotoEmail(stringemail)320{321stringendstr = email.Split('@')[1];322endstr =endstr.ToLower();323stringretstr ="/";324if(endstr =="163.com")325{326retstr ="http://mail.163.com";327}328elseif(endstr =="vip.163.com")329{330retstr ="http://vip.163.com";331}332elseif(endstr =="126.com")333{334retstr ="http://mail.126.com";335}336elseif(endstr =="QQ.com"|| endstr =="vip.qq.com"|| endstr =="Foxmail.com")337{338retstr ="http://mail.qq.com";339}340elseif(endstr =="Gmail.com")341{342retstr ="http://mail.google.com";343}344elseif(endstr =="sohu.com")345{346retstr ="http://mail.sohu.com";347}348elseif(endstr =="tom.com")349{350retstr ="http://mail.tom.com";351}352elseif(endstr =="vip.sina.com")353{354retstr ="http://vip.sina.com";355}356elseif(endstr =="sina.com.cn"|| endstr =="sina.com")357{358retstr ="http://mail.sina.com.cn";359}360elseif(endstr =="tom.com")361{362retstr ="http://mail.tom.com";363}364elseif(endstr =="yahoo.com.cn"|| endstr =="yahoo.cn")365{366retstr ="http://mail.cn.yahoo.com";367}368elseif(endstr =="tom.com")369{370retstr ="http://mail.tom.com";371}372elseif(endstr =="yeah.net")373{374retstr ="http://www.yeah.net";375}376elseif(endstr =="21cn.com")377{378retstr ="http://mail.21cn.com";379}380elseif(endstr =="hotmail.com")381{382retstr ="http://www.hotmail.com";383}384elseif(endstr =="sogou.com")385{386retstr ="http://mail.sogou.com";387}388elseif(endstr =="188.com")389{390retstr ="http://www.188.com";391}392elseif(endstr =="139.com")393{394retstr ="http://mail.10086.cn";395}396elseif(endstr =="189.cn")397{398retstr ="http://webmail15.189.cn/webmail";399}400elseif(endstr =="wo.com.cn")401{402retstr ="http://mail.wo.com.cn/smsmail";403}404elseif(endstr =="139.com")405{406retstr ="http://mail.10086.cn";407}408else409{410retstr ="";411}412returnretstr;413}414415416}
View Code
View代码:
1@using GexiApp.Models2@using GexiCommon3@{4Layout =null;5//幻灯片//光荣榜6List<GexiModels.BannerInfo> bannerlist =IndexModel.Bannerlist;7//头条 & 新闻8List<BriefNewsInfo> newsTui1 =IndexModel.NewsTui1;9List<BriefNewsInfo> NewsTui2 =IndexModel.NewsTui2;10List<BriefNewsInfo> NewsTui3 =IndexModel.NewsTui3;11List<BriefNewsInfo> NewsTui4 =IndexModel.NewsTui4;12List<BriefNewsInfo> NewsTui5 =IndexModel.NewsTui5;13//自媒体14List<BriefNewsInfo> GexiInfo =IndexModel.GexiInfo;15List<BriefNewsInfo> GexiInfo1 =IndexModel.GexiInfoList;16//新闻17List<BriefNewsInfo> NewsInfo1 =IndexModel.NewsInfo1;18List<BriefNewsInfo> NewsInfo2 =IndexModel.NewsInfo2;19List<BriefNewsInfo> NewsInfo3 =IndexModel.NewsInfo3;20List<BriefNewsInfo> NewsInfo4 =IndexModel.NewsInfo4;21//科技22List<BriefNewsInfo> TechInfo =IndexModel.TechInfo;23List<BriefNewsInfo> TechInfo1 =IndexModel.TechInfo1;24//财经25List<BriefNewsInfo> FinanceInfo =IndexModel.FinanceInfo;26List<BriefNewsInfo> FinanceInfo1 =IndexModel.FinanceInfo1;27//教育28List<BriefNewsInfo> EducationInfo =IndexModel.EducationInfo;29List<BriefNewsInfo> EducationInfo1 =IndexModel.EducationInfo1;30//历史31List<BriefNewsInfo> HistoryInfo =IndexModel.HistoryInfo;32List<BriefNewsInfo> HistoryInfo1 =IndexModel.HistoryInfo1;33//汽车34List<BriefNewsInfo> CarInfo =IndexModel.CarInfo;35List<BriefNewsInfo> CarInfo1 =IndexModel.CarInfo1;36//房产37List<BriefNewsInfo> HouseInfo =IndexModel.HouseInfo;38List<BriefNewsInfo> HouseInfo1 =IndexModel.HouseInfo1;39//娱乐 时尚 心里鸡汤40List<BriefNewsInfo> EntertainmentInfo =IndexModel.EntertainmentInfo;41List<BriefNewsInfo> FashionInfo =IndexModel.FashionInfo;42List<BriefNewsInfo> SoulInfo =IndexModel.SoulInfo;43//合作 &友链44List<GexiModels.CooperationInfo> CooperationInfo2 =IndexModel.CooperationInfo2;45}46<!DOCTYPE html>47<html>48<head>49<meta http-equiv="Content-Type"content="text/html; charset=utf-8"/>50<title>革西网络,倾心打造一个属于我们自己的门户网站_革西网络工作室</title>51<meta name="KeyWords"content="革西,革西网,革西网络,革西新闻,革西财经,革西科技,革西历史,革西教育,革西旅游,革西时尚,革西娱乐,革西房产,革西汽车,自媒体"/>52<meta name="Description"content="革西网,一个集新闻、财经、科技、教育、历史、时尚、娱乐、旅游、房产、汽车为一体的资讯网站。革西网络,专业的团队为大家打造一个属于我们自己的门户网站。革西网络让我们一起成长,北京革西科技网络工作室。"/>53<link href="/Content/CSS/CSS.css"rel="stylesheet"/>54<script type="text/javascript"> (function (win, doc) {vars = doc.createElement("script"), h = doc.getElementsByTagName("head")[0];if(!win.alimamatk_show) { s.charset ="gbk"; s.async=true; s.src ="http://a.alimama.cn/tkapi.js"; h.insertBefore(s, h.firstChild); };varo = { pid:"mm_46552798_8280367_29506529",/*推广单元ID,用于区分不同的推广渠道*/appkey:"",/*通过TOP平台申请的appkey,设置后引导成交会关联appkey*/unid:""/*自定义统计字段*/}; win.alimamatk_onload = win.alimamatk_onload || []; win.alimamatk_onload.push(o); })(window, document);</script>55<meta name="baidu-site-verification"content="cPAy6NN9Vd"/>56<script src="http://siteapp.baidu.com/static/webappservice/uaredirect.js"type="text/Javascript"></script>57<script type="text/javascript">uaredirect("http://m.gexinet.com","http://www.gexinet.com");</script>58@RenderPage("~/Views/Shared/_css.cshtml")59</head>60<body>61@RenderPage("~/Views/Shared/_Top.cshtml")62<divclass="divtop02">63<divclass="divtop02info">64<divclass="divtop02in"id="divstop">65<ul>66<li style="width: 80px;">67<a target="_blank"href="@(WebInfoManager.GexinetUrl)">革西网络 </a>68</li>69<li>70<a target="_blank"href="/news">新闻</a>71</li>72<li>73<a target="_blank"href="@(WebInfoManager.GexinetUrl)/tech">科技</a>74</li>75<li>76<a target="_blank"href="@(WebInfoManager.GexinetUrl)/finance">财经</a>77</li>78<li>79<a target="_blank"href="@(WebInfoManager.GexinetUrl)/edu">教育</a>80</li>81<li>82<a target="_blank"href="@(WebInfoManager.GexinetUrl)/history">历史</a>83</li>84<li>85<a target="_blank"href="@(WebInfoManager.GexinetUrl)/fashion">时尚</a>86</li>87<li>88<a target="_blank"href="@(WebInfoManager.GexinetUrl)/enter">娱乐</a>89</li>90<li>91<a target="_blank"href="@(WebInfoManager.GexinetUrl)/media">媒体</a>92</li>93</ul>94</div>95</div>96</div>97<divclass="divinfo01">98<divclass="infoleft">99<divclass="divin01">100<div id="zSlider">101<div id="picshow">102<div id="picshow_img">103<ul>104@{105if(bannerlist !=null)106{107foreach(variteminbannerlist)108{109if(item.UrlOrBanner !="1")110{111<li><a href="/banner/info/@item.Id"target="_blank">112<img alt="@item.ImgDec"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgName)"/></a></li>113}114else115{116<li><a href="/sub/@item.BannerUrl"target="_blank">117<img alt="@item.ImgDec"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgName)"/></a></li>118}119}120}121}122</ul>123</div>124<div id="picshow_tx">125<ul style="overflow: hidden">126@{127if(bannerlist !=null)128{129foreach(variteminbannerlist)130{131if(item.UrlOrBanner !="1")132{133<li>134<h3><a href="/banner/info/@item.Id"target="_blank">@item.Title</a></h3>135<p>@StringHelp.CutStr(item.Abstract,150)</p>136</li>137}138else139{140<li>141<h3><a href="/sub/@item.BannerUrl"target="_blank">@item.Title</a></h3>142<p>@item.Abstract</p>143</li>144}145}146}147}148</ul>149</div>150</div>151<div id="select_btn">152<ul>153@{154varnum =1;155if(bannerlist !=null)156{157foreach(variteminbannerlist)158{159if(item.UrlOrBanner !="1")160{161<li><a href="/banner/info/@item.Id"target="_blank">162<spanclass="select_img">@num</span>163</a></li>164}165else166{167<li><a href="/sub/@item.BannerUrl"target="_blank">168<spanclass="select_img">@num</span>169</a></li>170}171num++;172}173}174}175</ul>176</div>177</div>178</div>179<divclass="divin02">180<script type="text/javascript">181varcPRo_id ="u2017709";182(window["cproStyleApi"] = window["cproStyleApi"] || {})[cpro_id] = { at:"3", rsi0:"730", rsi1:"100", pat:"6", tn:"baiduCustNativeAD",rss1:"#FFFFFF", conBW:"0", adp:"1", ptt:"0", titFF:"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91", titFS:"14", rss2:"#363636", titSU:"0", ptbg:"90", piw:"0", pih:"0", ptp:"0"}183</script>184<script src="http://cpro.baidustatic.com/cpro/ui/c.js"type="text/javascript"></script>185</div>186<divclass="divin03">187<divclass="divkejitop">188<divclass="divkejitopleft"><span style="float: left"title="革西网">革西传媒</span></div>189</div>190<divclass="divin03left"style="width: 350px; margin-right: 15px;">191<ul>192@{193varvarnum07 =1;194foreach(variteminGexiInfo1)195{196<li>197<divclass="agxspanleftnewsm">@varnum07.</div>198<divclass="agxspancenternews"><a href="/media/info/@item.Id"target="_blank"class="news_@(varnum07)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a></div>199<divclass="agxspanright">@item.Author</div>200</li>201varnum07++;202}203}204</ul>205</div>206<divclass="divin03right"style="width: 350px; margin-left: 15px;">207@{208foreach(variteminGexiInfo)209{210<divclass="divin03bom">211<divclass="divin03bomimg">212<a target="_blank"href="/media/info/@item.Id">213<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>214</div>215<divclass="divin03bomjs"title="@item.Title"><a target="_blank"href="/media/info/@item.Id"title="@item.Title">@StringHelp.CutStr(item.Title,27)</a></div>216</div>217}218}219</div>220</div>221</div>222<divclass="inforight">223<divclass="inforight01">224@{225foreach(variteminnewsTui1)226{227<spanclass="spanleft"><a title="@item.Title"target="_blank"href="/news/info/@item.Id">@StringHelp.CutStr(item.Title,40)</a></span>228<spanclass="spanright">@item.Author</span>229}230}231</div>232<divclass="inforight01">233@foreach (variteminNewsTui2)234{235<spanclass="spanleft"><a title="@item.Title"target="_blank"href="@(WebInfoManager.GexinetUrl)/tech/info/@item.Id">@StringHelp.CutStr(item.Title,40)</a></span>236<spanclass="spanright">@item.Author</span>237}238</div>239<divclass="inforight01">240@{241foreach(variteminNewsTui3)242{243<spanclass="spanleft"><a title="@item.Title"target="_blank"href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id">@StringHelp.CutStr(item.Title,40)</a></span>244<spanclass="spanright">@item.Author</span>245}246}247</div>248<divclass="inforight01">249@{250foreach(variteminNewsTui4)251{252<spanclass="spanleft"><a title="@item.Title"target="_blank"href="@(WebInfoManager.GexinetUrl)/fashion/info/@item.Id">@StringHelp.CutStr(item.Title,40)</a></span>253<spanclass="spanright">@item.Author</span>254}255}256</div>257<divclass="inforight01">258@{259foreach(variteminNewsTui5)260{261<spanclass="spanleft"><a title="@item.Title"target="_blank"href="@(WebInfoManager.GexinetUrl)/enter/info/@item.Id">@StringHelp.CutStr(item.Title,40)</a></span>262<spanclass="spanright">@item.Author</span>263}264}265</div>266</div>267</div>268<divclass="divinfo02">269<divclass="infoleft02">270<divclass="divofkeji">271<divclass="divkejitop">272<divclass="divkejitopleft">最新资讯</div>273<divclass="divkejitopright">274<spanclass="napinfotopleft"><a href="/news/internal"target="_blank">国内</a></span>275<spanclass="napinfotopleft"><a href="/news/international"target="_blank">国际</a></span>276<spanclass="napinfotopleft"><a href="/news/military"target="_blank">军事</a></span>277<spanclass="napinfotopleft"><a href="/news/attention"target="_blank">关注</a></span>278<spanclass="napinfotopleft"><a href="/news/commonweal"target="_blank">公益</a></span>279</div>280</div>281<divclass="infoleft02in02">282<divclass="left03in"style="width: 350px; margin-right: 10px;">283<ul>284@{285varvarnum =1;286foreach(variteminNewsInfo1)287{288<li>289<divclass="agxspanleftnews">•</div>290<divclass="agxspancenternews"><a href="/news/info/@item.Id"target="_blank"class="news_@(varnum)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a></div>291<divclass="agxspanright">@StringHelp.GetShotTime(item.Time)</div>292</li>293varnum++;294}295}296@{297varvarnum2 =1;298foreach(variteminNewsInfo2)299{300<li>301<divclass="agxspanleftnews">•</div>302<divclass="agxspancenternews"><a href="/news/info/@item.Id"target="_blank"class="news_@(varnum2)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a></div>303<divclass="agxspanright">@StringHelp.GetShotTime(item.Time)</div>304</li>305varnum2++;306}307}308</ul>309</div>310<divclass="left03in"style="width: 350px; margin-left: 10px;">311<ul>312@{313varvarnum3 =1;314foreach(variteminNewsInfo3)315{316<li>317<divclass="agxspanleftnews">•</div>318<divclass="agxspancenternews"><a href="/news/info/@item.Id"target="_blank"class="news_@(varnum3)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a></div>319<divclass="agxspanright">@StringHelp.GetShotTime(item.Time)</div>320</li>varnum3++;321}322}323@{324varvarnum4 =1;325foreach(variteminNewsInfo4)326{327<li>328<divclass="agxspanleftnews">•</div>329<divclass="agxspancenternews"><a href="/news/info/@item.Id"target="_blank"class="news_@(varnum4)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a></div>330<divclass="agxspanright">@StringHelp.GetShotTime(item.Time)</div>331</li>varnum4++;332}333}334</ul>335</div>336</div>337</div>338</div>339<divclass="inforight02">340<divclass="inforight02in">341<div style="height: 500px; overflow: hidden">342<script type="text/javascript">343varcpro_id ="u1996701";344(window["cproStyleApi"] = window["cproStyleApi"] || {})[cpro_id] = { at:"3", rsi0:"320", rsi1:"500", pat:"6", tn:"baiduCustNativeAD", rss1:"#FFFFFF", conBW:"0", adp:"1", ptt:"0", titFF:"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91", titFS:"14", rss2:"#363636", titSU:"0", ptbg:"90", piw:"140", pih:"90", ptp:"0"}345</script>346<script src="http://cpro.baidustatic.com/cpro/ui/c.js"type="text/javascript"></script>347</div>348</div>349</div>350</div>351<divclass="divinfo03">352<divclass="infoleft03">353<divclass="divofkeji">354<divclass="divkejitop">355<divclass="divkejitopleft">科技前沿</div>356<divclass="divkejitopright">357<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/tech/Frontera"target="_blank">前沿</a></span>358<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/tech/Internet"target="_blank">互联网</a></span>359<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/tech/Electric"target="_blank">电商</a></span>360<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/tech/Communication"target="_blank">通信</a></span>361<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/tech/Invention"target="_blank">发明</a></span>362</div>363</div>364<divclass="divkejiinfo">365<divclass="divkejiinfo01">366@{367varvarnumsss05 =1;368foreach(variteminTechInfo)369{370if(varnumsss05 ==1)371{372<divclass="Kejiimgtop">373<divclass="kejilagimg">374<a target="_blank"href="@(WebInfoManager.GexinetUrl)/tech/info/@item.Id">375<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>376</div>377<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/tech/info/@item.Id">@item.Title</a></div>378</div>}379else380{381<divclass="Kejiimgbom">382<divclass="kejismallimg">383<a target="_blank"href="@(WebInfoManager.GexinetUrl)/tech/info/@item.Id">384<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>385</div>386<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/tech/info/@item.Id">@item.Title</a></div>387</div>388}389varnumsss05++;390}391}392</div>393<divclass="divkejiinfo02">394<ul>395@{396varvarnum007 =1;397foreach(variteminTechInfo1)398{399<li>400<divclass="agxspanleftlong">•</div>401<divclass="agxspancenterlong"><a href="@(WebInfoManager.GexinetUrl)/tech/info/@item.Id"target="_blank"class="news_@(varnum007)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a></div>402<divclass="agxspanright">@StringHelp.GetTimeByTime(item.Time)</div>403</li>varnum007++;404}405}406</ul>407</div>408</div>409</div>410<divclass="divofkeji">411<divclass="divkejitop">412<divclass="divkejitopleft">革西财经</div>413<divclass="divkejitopright">414<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/finance/Stock"target="_blank">股票</a></span>415<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/finance/Bank"target="_blank">银行</a></span>416<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/finance/Gold"target="_blank">黄金</a></span>417<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/finance/Insurance"target="_blank">保险</a></span>418<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/finance/Money"target="_blank">理财</a></span>419</div>420</div>421<divclass="divkejiinfo">422<divclass="divkejiinfo01">423424425@{426varvarnum8 =1;427foreach(variteminFinanceInfo)428{429if(varnum8 ==1)430{431<divclass="Kejiimgtop">432<divclass="kejilagimg">433<a target="_blank"href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id">434<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>435</div>436<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id">@item.Title</a></div>437</div>}438elseif(varnum8 ==2)439{440<divclass="Kejiimgbom">441<divclass="kejismallimg">442<a target="_blank"href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id">443<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>444</div>445<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id">@item.Title</a></div>446</div>}447else448{449<divclass="Kejiimgbom"style="margin-right: 0px;">450<divclass="kejismallimg">451<a target="_blank"href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id">452<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>453</div>454<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id">@item.Title</a></div>455</div>456}457varnum8++;458}459}460</div>461<divclass="divkejiinfo02">462<ul>463@{464varvarnum9 =1;465foreach(variteminFinanceInfo1)466{467<li>468<divclass="agxspanleftlong">•</div>469<divclass="agxspancenterlong">470<a href="@(WebInfoManager.GexinetUrl)/finance/info/@item.Id"target="_blank"class="news_@(varnum9)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a>471</div>472<divclass="agxspanright">@StringHelp.GetTimeByTime(item.Time)</div>473</li>474varnum9++;475}476}477</ul>478</div>479</div>480</div>481</div>482<divclass="inforight03"style="padding-top: 10px">483<divclass="righttabInfo2">484<divclass="rightinfotop2">485<divclass="divkejitopleft">房产</div>486</div>487<divclass="righttabInfo2bom">488@{489foreach(variteminHouseInfo)490{491<divclass="divShiPin">492<divclass="divShiPinin">493<div style="height: 80px;">494<a href="@(WebInfoManager.GexinetUrl)/house/info/@item.Id"target="_blank">495<img src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"alt="@item.Title"/></a>496</div>497<divclass="imgstabinbom"><a href="@(WebInfoManager.GexinetUrl)/house/info/@item.Id"target="_blank"title="@item.Title">@StringHelp.CutStr(item.Title,22)</a></div>498</div>499</div>500}501}502@{503foreach(variteminHouseInfo1)504{505<divclass="righttabInfo2boma">506<divclass="agxspanleft">•</div>507<divclass="agxspancenter">508<a href="@(WebInfoManager.GexinetUrl)/house/info/@item.Id"target="_blank"title="@item.Title">@StringHelp.CutStr(item.Title,38)</a>509</div>510<divclass="agxspanright">@item.Author</div>511</div>512}513}514</div>515</div>516<divclass="righttabInfo2">517<divclass="rightinfotop2">518<divclass="divkejitopleft">汽车</div>519</div>520<divclass="righttabInfo2bom">521@foreach (variteminCarInfo)522{523<divclass="divShiPin">524<divclass="divShiPinin">525<div style="height: 80px;">526<a href="@(WebInfoManager.GexinetUrl)/car/info/@item.Id"target="_blank">527<img src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"alt="@item.Title"/></a>528</div>529<divclass="imgstabinbom"><a href="@(WebInfoManager.GexinetUrl)/car/info/@item.Id"target="_blank"title="@item.Title">@StringHelp.CutStr(item.Title,22)</a></div>530</div>531</div>532}533@foreach (variteminCarInfo1)534{535<divclass="righttabInfo2boma">536<divclass="agxspanleft">•</div>537<divclass="agxspancenter">538<a href="@(WebInfoManager.GexinetUrl)/car/info/@item.Id"target="_blank"title="@item.Title">@StringHelp.CutStr(item.Title,38)</a>539</div>540<divclass="agxspanright">@item.Author</div>541</div>542}543</div>544</div>545</div>546</div>547<divclass="indexad">548<divclass="indexasleft"style="margin-right: 20px">549<script type="text/javascript">550varcpro_id ="u1996760";551(window["cproStyleApi"] = window["cproStyleApi"] || {})[cpro_id] = { at:"3", rsi0:"730", rsi1:"100", pat:"6", tn:"baiduCustNativeAD", rss1:"#FFFFFF", conBW:"0", adp:"1", ptt:"0", titFF:"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91", titFS:"14", rss2:"#363636", titSU:"0", ptbg:"90", piw:"0", pih:"0", ptp:"0"}552</script>553<script src="http://cpro.baidustatic.com/cpro/ui/c.js"type="text/javascript"></script>554</div>555<script type="text/javascript">556varcpro_id ="u1996819";557(window["cproStyleApi"] = window["cproStyleApi"] || {})[cpro_id] = { at:"3", rsi0:"320", rsi1:"100", pat:"6", tn:"baiduCustNativeAD", rss1:"#FFFFFF", conBW:"0", adp:"1", ptt:"0", titFF:"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91", titFS:"14", rss2:"#363636", titSU:"0", ptbg:"90", piw:"0", pih:"0", ptp:"0"}558</script>559<script src="http://cpro.baidustatic.com/cpro/ui/c.js"type="text/javascript"></script>560</div>561<divclass="divinfo03">562<divclass="infoleft03">563<divclass="divofkeji">564<divclass="divkejitop">565<divclass="divkejitopleft">革西教育</div>566<divclass="divkejitopright">567<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/edu/Immigration"target="_blank">移民</a></span>568<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/edu/Abroad"target="_blank">留学</a></span>569<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/edu/Examination"target="_blank">考试</a></span>570<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/edu/University"target="_blank">大学</a></span>571<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/edu/Mechanism"target="_blank">机构</a></span>572</div>573</div>574<divclass="divkejiinfo">575<divclass="divkejiinfo01">576@{577varvarnum11 =1;578foreach(variteminEducationInfo)579{580if(varnum11 ==1)581{582<divclass="Kejiimgtop">583<divclass="kejilagimg">584<a target="_blank"href="@(WebInfoManager.GexinetUrl)/edu/info/@item.Id">585<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>586</div>587<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/edu/info/@item.Id">@item.Title</a></div>588</div>}589elseif(varnum11 ==2)590{591<divclass="Kejiimgbom">592<divclass="kejismallimg">593<a target="_blank"href="@(WebInfoManager.GexinetUrl)/edu/info/@item.Id">594<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>595</div>596<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/edu/info/@item.Id">@item.Title</a></div>597</div>}598else599{600<divclass="Kejiimgbom"style="margin-right: 0px;">601<divclass="kejismallimg">602<a target="_blank"href="@(WebInfoManager.GexinetUrl)/edu/info/@item.Id">603<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>604</div>605<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/edu/info/@item.Id">@item.Title</a></div>606</div>607}608varnum11++;609}610}611</div>612<divclass="divkejiinfo02">613<ul>614@{615varvarnum12 =1;616foreach(variteminEducationInfo1)617{618<li>619<divclass="agxspanleftlong">•</div>620<divclass="agxspancenterlong">621<a href="@(WebInfoManager.GexinetUrl)/edu/info/@item.Id"target="_blank"class="news_@(varnum12)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a>622</div>623<divclass="agxspanright">@StringHelp.GetTimeByTime(item.Time)</div>624</li>625varnum12++;626}627}628</ul>629</div>630</div>631</div>632<divclass="divofkeji"style="margin-bottom: 15px;">633<divclass="divkejitop">634<divclass="divkejitopleft">历史风云</div>635<divclass="divkejitopright">636<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/history/Literature"target="_blank">文学</a></span>637<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/history/Datum"target="_blank">资料</a></span>638<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/history/Legend"target="_blank">传奇</a></span>639<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/history/Secret"target="_blank">揭秘</a></span>640<spanclass="napinfotopleft"><a href="@(WebInfoManager.GexinetUrl)/history/Book"target="_blank">史书</a></span>641</div>642</div>643<divclass="divkejiinfo">644<divclass="divkejiinfo01">645@{646varvarnum16 =1;647foreach(variteminHistoryInfo)648{649if(varnum16 ==1)650{651<divclass="Kejiimgtop">652<divclass="kejilagimg">653<a target="_blank"href="@(WebInfoManager.GexinetUrl)/history/info/@item.Id">654<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>655</div>656<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/history/info/@item.Id">@item.Title</a></div>657</div>}658elseif(varnum16 ==2)659{660<divclass="Kejiimgbom">661<divclass="kejismallimg">662<a target="_blank"href="@(WebInfoManager.GexinetUrl)/history/info/@item.Id">663<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>664</div>665<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/history/info/@item.Id">@item.Title</a></div>666</div>}667else668{669<divclass="Kejiimgbom"style="margin-right: 0px;">670<divclass="kejismallimg">671<a target="_blank"href="@(WebInfoManager.GexinetUrl)/history/info/@item.Id">672<img alt="@item.Title"src="@(WebInfoManager.GexinetUrl +"/Content/Files/"+ item.ImgInfo)"/></a>673</div>674<divclass="divImgJS"><a target="_blank"href="@(WebInfoManager.GexinetUrl)/history/info/@item.Id">@item.Title</a></div>675</div>676}677varnum16++;678}679}680</div>681<divclass="divkejiinfo02">682<ul>683@{684varvarnum14 =1;685foreach(variteminHistoryInfo1)686{687<li>688<divclass="agxspanleftlong">•</div>689<divclass="agxspancenterlong">690<a href="@(WebInfoManager.GexinetUrl)/history/info/@item.Id"target="_blank"class="news_@(varnum14)"title="@item.Title">@StringHelp.CutStr(item.Title,40)</a>691</div>692<divclass="agxspanright">@StringHelp.GetTimeByTime(item.Time)</div>693</li>694varnum14++;695}696}697</ul>698</div>699</div>700</div>701</div>702<divclass="inforight03">703<divclass="righttabInfo3">704<divclass="rightinfotop">时尚</div>705<divclass="righttabInfo2bom">706@{707foreach(variteminFashionInfo)708{709<divclass="righttabInfo2boma">710<divclass="agxspanleft">•</div>711<divclass="agxspancenter">712<a target="_blank"href="@(WebInfoManager.GexinetUrl)/Fashion/info/@item.Id"title="@item.Title">@StringHelp.CutStr(item.Title,38)</a>713</div>714<divclass="agxspanright">@item.Author</div>715</div>716}717}718</div>719</div>720<divclass="righttabInfo3">721<divclass="rightinfotop">娱乐</div>722<divclass="righttabInfo2bom">723@{724foreach(variteminEntertainmentInfo)725{726<divclass="righttabInfo2boma">727<divclass="agxspanleft">•</div>728<divclass="agxspancenter">729<a target="_blank"href="@(WebInfoManager.GexinetUrl)/Enter/info/@item.Id"title="@item.Title">@StringHelp.CutStr(item.Title,38)</a>730</div>731<divclass="agxspanright">@item.Author</div>732</div>733}734}735</div>736</div>737<divclass="righttabInfo3">738<divclass="rightinfotop">文学</div>739<divclass="righttabInfo2bom">740@{741foreach(variteminSoulInfo)742{743<divclass="righttabInfo2boma">744<divclass="agxspanleft">•</div>745<divclass="agxspancenter">746<a target="_blank"href="@(WebInfoManager.GexinetUrl)/story/info/@item.Id"title="@item.Title">@StringHelp.CutStr(item.Title,38)</a>747</div>748<divclass="agxspanright">@item.Author</div>749750</div>751}752}753</div>754</div>755</div>756</div>757<divclass="divlink">758<divclass="divkejitop">759<divclass="divkejitopleft">友情连接 </div>760<div style="float: right;">761<spanclass="napinfotopleft"><a target="_blank"href="/index/applyline">申请友链</a></span>762</div>763</div>764<divclass="divlinkin">765@{766foreach(variteminCooperationInfo2)767{768<a target="_blank"href="@item.Url">@item.Name</a>769}770}771</div>772<div style="clear: both"></div>773</div>774@RenderPage("~/Views/Shared/_Bom.cshtml")775</body>776<script>777$(function () {778$('#TextBox1').focus();779$(".btninfo").click(function () {780varurlquan =window.location.href;781varurlzhu ="";782varindexofwenhao = urlquan.indexOf("/");783if(indexofwenhao !="-1") {784urlzhu = urlquan.substring(0, indexofwenhao);785}786varstr = $('#TextBox1').val();787if(str =="") {788return;789}790window.open(urlzhu +"/search?txtSearch="+str);791});792});793$(document).bind("keydown", function (event) {794if(event.keyCode ==13) {795varloginBtn = $(".btninfo");796if(loginBtn.attr("disabled") ==undefined) {797loginBtn.click();798}799returnfalse;800}801});802</script>803</html>
View Code
如果您按照我写的代码做下来,还没有实现功能的话,请留下您的邮箱。