项目:
广告位:
if((Date.parse(new Date())/1000)>=1539843129 && (Date.parse(new Date())/1000)<=1548137480){document.write('');}
全站
// 打包 JS // 打包 CSS @(Html.Partial("~/Areas/Root/Views/Activity/_Menu.cshtml"))@(Html.Partial("~/Views/Shared/Common/_Partial/_Partial_Top.cshtml"))@(Html.Partial("~/Views/Shared/Common/_Partial/_Partial_Footer.cshtml"))@(Html.Action("_Partial_Detail_Right", "Case"))@(Html.Partial("~/Areas/Case/Views/Case/Detail/_Partial/_Partial_Detail_Right.cshtml"))//头部新闻@(Html.RenderPartial("~/AreasCity/Shop/Views/Shop/Default/Index/Partial/_Partial_Index_NewTop.cshtml"))@{ if (true) { // 右侧 Html.RenderAction("_Partial_New_Right", "Module", new { area = "" }); }}
基础
ViewBag.Title = ConfigHelper.GetConfigString("Title");ViewBag.Keywords = ConfigHelper.GetConfigString("Keywords");ViewBag.Description = ConfigHelper.GetConfigString("Description");ViewBag.Version = ConfigHelper.GetConfigString("Version");ViewBag.WebDomain = ConfigHelper.GetConfigString("WebDomain");ViewBag.WebName = ConfigHelper.GetConfigString("WebName");ViewBag.WebTel400 = ConfigHelper.GetConfigString("WebTel400");ViewBag.WebCode = ConfigHelper.GetConfigString("WebCode");ViewBag.Title = "WEB " + ViewBag.Title;ViewBag.Keywords = "WEB" + ViewBag.Keywords;ViewBag.Description = "WEB " + ViewBag.Description;ViewBag.WebDomain=”bzw315.com”;ViewBag.WebName=”WEB”; @(ViewBag.WebName)ViewBag.WebTel400=”400-9900-000”;ViewBag.WebCode=”闽ICP备180085号”;@(Url.Domain_Content("/activity/sheji.html"))@(Url.Domain_Content("/activity/baojia.html"))@(Url.Domain_Content("/activity/baozhang.html"))@(Url.Route_Url("W.Design.Defaults",new { action="case"}))@(Url.Domain_Imgs(_Item["F_CompanyLogo"].DefaultIsNullOrEmpty("")))
@{
if (true) { // 内页 右侧 Html.RenderAction("_Partial_New_Right", "Module", new { area = "" }); } }
城市
// 区域(省)ViewBag.Area_List_By_Province// 区域(市)ViewBag.Area_List_By_City// 区域(区)ViewBag.Area_List_By_Area@if (true){ // 省份 var _Area_List_By_Province = ViewBag.Area_List_By_Province as List; if (_Area_List_By_Province != null && _Area_List_By_Province.Count > 0) { for (var i = 0; i < _Area_List_By_Province.Count; i++) { var _Item = _Area_List_By_Province[i]; @(_Item.F_Title.Replace("省", "")) } }}// 当前城市var _City_Model = ViewBag.City_Model as BtxCMS.UIFramework.Model.CityModel;@(_City_Model.CityName)// 城市列表(开通)var _City_List = ViewBag.City_List as List;@if (true) { // A-Z 排列 for (int i = 'A'; i <= 'Z'; i++) { var _City_List = from t in City_List where t.F_Initial == Convert.ToChar(i).ToString() select t; foreach (var _Item in _City_List) { @(_Item.F_Title) } }}
分页
/* 分页 *//* 分页 */.pagination { margin: 30px 0; text-align: center; clear: both; }.pagination .active { background: #db214c; border: 1px solid #eee; color: #fff; }.pagination a { display: inline-block; height: 30px; line-height: 30px; margin: 0 2px; padding: 3px 12px; font-size: 14px; background: #fff; border: 1px solid #eee; *display: inline; zoom: 1; }.pagination a:hover { text-decoration: none; color: #fff; background: #db214c; }.pagination .pages_inp, .pagination .pages_btn { height: 28px; line-height: 28px; }.pagination .pages_inp { width: 30px; }.pagination .pages_btn { width: 40px; margin: 0; padding: 0; text-indent: 0; }.pagination cite, .pagebox cite { display: none; }.pagination .total-page span { margin-left: 10px; } @{ if (true) { /* 分页 */ var _ListPage = ViewBag.Info_ListPage as BtxCMS.Core.Base.BaseListPage>; if (_ListPage != null && _ListPage.ListPage != null && _ListPage.ListPage.Count > 0) { @(Html.GetPager(_ListPage.PagerInfoModel, Url.Route_Url("W.Info.ListPage", new { Page = "{Page}" }), 1, "yg-page")) } }}
资讯
资讯 列表 前端
@{ if (true) { /* 企业 列表 */ var _ListPage = ViewBag.AboutInfo as List>; if (_ListPage != null && _ListPage != null && _ListPage.Count > 0) { for (var i = 0; i < _ListPage.Count; i++) { var _Item = _ListPage[i]; var _ToUrl = Url.Domain_RouteUrl("W.Info.Detail", new { Id = _Item["Id"] }); } } } else { 寻找合作@(_Item["F_InfoAddress"])的@(_Item["F_InfoName"])想要代理@(_Item["F_Title"])查看详情投资金额:@(_Item["F_InfoMoney"])代理品类:@(_Item["F_InfoClass"])开店地点:@(_Item["F_InfoAddress"])代理档次:@(_Item["F_InfoLevel"])} } 暂无信息!
资讯 详细 后端
#region Detail 资讯 详细////// 资讯首页/// ///[OutputCache(CacheProfile = "Cache_Detail")]public async Task Detail(int Id){ Response.Cache.SetOmitVaryStar(true); var _New_Detail = await _New_AppService.Get_Model_Async(Id); if (_New_Detail == null || _New_Detail.F_MarkStatus != 0) { // 不存在 或 不允许显示 // 404 Response.StatusCode = 404; Response.End(); } else { // 详细 ViewBag.New_Detail = _New_Detail; // 上一页 ViewBag.New_Last = _New_AppService.Get_Model_By_Last(Id, _New_Detail.F_ClassID); // 下一页 ViewBag.New_Next = _New_AppService.Get_Model_By_Next(Id, _New_Detail.F_ClassID); //ViewBag.AboutNews = _New_AppService.Get_SP_List(_New_Detail.F_ClassID); //ViewBag.Navication = _New_Class_AppService.GetListByChildId(_New_Detail.F_ClassID); } return View(NewPath + "Detail/Detail.cshtml"); } #endregion
资讯 详细 前端
var _New_Detail = ViewBag.New_Detail as BtxCMS.Core.Entities.Connection.Base.T_New;if (_New_Detail == null){ Response.SetStatus(404); Response.End();}@(_New_Detail.F_Title)@(_New_Detail.F_NumHits)@(_New_Detail.F_Author)@(_New_Detail.F_Descriptions)@(_New_Detail.F_AddTime.ToString("yyyy-MM-dd HH:mm:ss"))@(Html.Raw(_New_Detail.F_Contents.DefaultIsNullOrEmpty("").Replace("\\","")))
@if (true){ // 上一页 var _New_List = ViewBag.New_Last as List; if (_New_List != null && _New_List.Count > 0) { for (var i = 0; i < _New_List.Count; i++) { var _Item = _New_List[i]; var _Url = Url.Route_Url("W.New.Detail", new { id = _Item.Id }); } }}@if (true){ // 下一页 var _New_List = ViewBag.New_Next as List 阅读上文 >> @(_Item.F_Title) ; if (_New_List != null && _New_List.Count > 0) { for (var i = 0; i < _New_List.Count; i++) { var _Item = _New_List[i]; var _Url = Url.Route_Url("W.New.Detail", new { id = _Item.Id }); } }} 阅读下文 >> @(_Item.F_Title)