行 1: #pragma checksum "d:\wwwroot\furimachine.com\Views\Home\category.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1C1AEB5B7B880F445801E4E28EB6561021B60644"
行 2: //------------------------------------------------------------------------------
行 3: // <auto-generated>
行 4: // 此代码由工具生成。
行 5: // 运行时版本:4.0.30319.42000
行 6: //
行 7: // 对此文件的更改可能会导致不正确的行为,并且如果
行 8: // 重新生成代码,这些更改将会丢失。
行 9: // </auto-generated>
行 10: //------------------------------------------------------------------------------
行 11:
行 12: namespace ASP {
行 13: using System;
行 14: using System.Collections.Generic;
行 15: using System.IO;
行 16: using System.Linq;
行 17: using System.Net;
行 18: using System.Web;
行 19: using System.Web.Helpers;
行 20: using System.Web.Security;
行 21: using System.Web.UI;
行 22: using System.Web.WebPages;
行 23: using System.Web.Mvc;
行 24: using System.Web.Mvc.Ajax;
行 25: using System.Web.Mvc.Html;
行 26: using System.Web.Optimization;
行 27: using System.Web.Routing;
行 28: using OTree.Web.MVC;
行 29:
行 30: #line 1 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 31: using PagedList.Mvc;
行 32:
行 33: #line default
行 34: #line hidden
行 35:
行 36: #line 2 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 37: using PagedList;
行 38:
行 39: #line default
行 40: #line hidden
行 41:
行 42:
行 43: public class _Page_Views_Home_category_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
行 44:
行 45: #line hidden
行 46:
行 47: public _Page_Views_Home_category_cshtml() {
行 48: }
行 49:
行 50: protected ASP.global_asax ApplicationInstance {
行 51: get {
行 52: return ((ASP.global_asax)(Context.ApplicationInstance));
行 53: }
行 54: }
行 55:
行 56: public override void Execute() {
行 57:
行 58: #line 3 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 59:
行 60: var list = ViewBag.ProList as PagedList.IPagedList<Web_Article>;
行 61: var model = ViewBag.Model as Web_System;
行 62:
行 63:
行 64: #line default
行 65: #line hidden
行 66: WriteLiteral("\r\n\r\n");
行 67:
行 68: WriteLiteral("\r\n\r\n<div");
行 69:
行 70: WriteLiteral(" id=\"bframe\"");
行 71:
行 72: WriteLiteral(">\r\n\r\n <div");
行 73:
行 74: WriteLiteral(" class=\"location\"");
行 75:
行 76: WriteLiteral(">\r\n <div");
行 77:
行 78: WriteLiteral(" class=\"container\"");
行 79:
行 80: WriteLiteral(">\r\n <div");
行 81:
行 82: WriteLiteral(" class=\"txt\"");
行 83:
行 84: WriteLiteral(">\r\n");
行 85:
行 86: WriteLiteral(" ");
行 87:
行 88:
行 89: #line 17 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 90: Write(ViewBag.Location);
行 91:
行 92:
行 93: #line default
行 94: #line hidden
行 95: WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div");
行 96:
行 97: WriteLiteral(" class=\"nframe\"");
行 98:
行 99: WriteLiteral(" id=\"ProPage\"");
行 100:
行 101: WriteLiteral(">\r\n <div");
行 102:
行 103: WriteLiteral(" class=\"container\"");
行 104:
行 105: WriteLiteral(">\r\n <div");
行 106:
行 107: WriteLiteral(" class=\"catelist\"");
行 108:
行 109: WriteLiteral(">\r\n <div");
行 110:
行 111: WriteLiteral(" class=\"\"");
行 112:
行 113: WriteLiteral(">\r\n <div");
行 114:
行 115: WriteLiteral(" class=\"tit\"");
行 116:
行 117: WriteLiteral(">\r\n <h3>");
行 118:
行 119:
行 120: #line 28 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 121: Write(Resources.Language.product_all);
行 122:
行 123:
行 124: #line default
行 125: #line hidden
行 126: WriteLiteral("</h3>\r\n </div>\r\n </div>\r\n");
行 127:
行 128:
行 129: #line 31 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 130:
行 131:
行 132: #line default
行 133: #line hidden
行 134:
行 135: #line 31 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 136:
行 137: var CategoryList = ViewData["CategoryList"] as List<Web_Category>;
行 138: if (CategoryList!=null&& CategoryList.Count>0)
行 139: {
行 140: foreach (var r in CategoryList)
行 141: {
行 142:
行 143: }
行 144: }
行 145:
行 146:
行 147: #line default
行 148: #line hidden
行 149: WriteLiteral("\r\n </div>\r\n <div");
行 150:
行 151: WriteLiteral(" class=\"ProList flex_start\"");
行 152:
行 153: WriteLiteral(">\r\n");
行 154:
行 155:
行 156: #line 43 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 157:
行 158:
行 159: #line default
行 160: #line hidden
行 161:
行 162: #line 43 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 163: foreach (var item in list)
行 164: {
行 165:
行 166:
行 167: #line default
行 168: #line hidden
行 169: WriteLiteral(" <a");
行 170:
行 171: WriteAttribute("href", Tuple.Create(" href=\"", 1152), Tuple.Create("\"", 1208)
行 172:
行 173: #line 45 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 174: , Tuple.Create(Tuple.Create("", 1159), Tuple.Create<System.Object, System.Int32>(ViewBag.strLanger+"/productdetail/"+item.ArtID
行 175:
行 176: #line default
行 177: #line hidden
行 178: , 1159), false)
行 179: );
行 180:
行 181: WriteLiteral(" target=\"_blank\"");
行 182:
行 183: WriteLiteral(" class=\"item\"");
行 184:
行 185: WriteLiteral(">\r\n <div");
行 186:
行 187: WriteLiteral(" class=\"img \"");
行 188:
行 189: WriteLiteral(">\r\n <img");
行 190:
行 191: WriteAttribute("src", Tuple.Create(" src=\"", 1309), Tuple.Create("\"", 1345)
行 192:
行 193: #line 47 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 194: , Tuple.Create(Tuple.Create("", 1315), Tuple.Create<System.Object, System.Int32>(item.strImgUrl+ViewBag.Webp
行 195:
行 196: #line default
行 197: #line hidden
行 198: , 1315), false)
行 199: );
行 200:
行 201: WriteAttribute("alt", Tuple.Create(" alt=\"", 1346), Tuple.Create("\"", 1366)
行 202:
行 203: #line 47 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 204: , Tuple.Create(Tuple.Create("", 1352), Tuple.Create<System.Object, System.Int32>(item.strTitle
行 205:
行 206: #line default
行 207: #line hidden
行 208: , 1352), false)
行 209: );
行 210:
行 211: WriteLiteral(">\r\n </div>\r\n <div");
行 212:
行 213: WriteLiteral(" class=\"txt\"");
行 214:
行 215: WriteLiteral(">\r\n <h3>");
行 216:
行 217:
行 218: #line 50 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 219: Write(item.strTitle);
行 220:
行 221:
行 222: #line default
行 223: #line hidden
行 224: WriteLiteral("</h3>\r\n </div>\r\n </a>\r\n");
行 225:
行 226:
行 227: #line 53 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 228: }
行 229:
行 230:
行 231: #line default
行 232: #line hidden
行 233: WriteLiteral(" </div>\r\n");
行 234:
行 235: WriteLiteral(" ");
行 236:
行 237:
行 238: #line 55 "d:\wwwroot\furimachine.com\Views\Home\category.cshtml"
行 239: Write(Html.PagedListPager(list, page => Url.Action("/category/" + ViewBag.Code, new { page })));
行 240:
行 241:
行 242: #line default
行 243: #line hidden
行 244: WriteLiteral("\r\n </div>\r\n</div>");
行 245:
行 246: }
行 247: }
行 248: }
行 249:
|