Line 1: #pragma checksum "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D6F71F307F16AE0436D76707E988A4D303AAC46D"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Line 27: using PageAdmin.Web;
Line 28: using PageAdmin.Common;
Line 29: using PageAdmin.Utils.ORM;
Line 30: using PageAdmin.Utils;
Line 31:
Line 32:
Line 33: public class _Page_Templates_T10052_Views_产品中心_detail_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
Line 34:
Line 35: #line hidden
Line 36:
Line 37: public _Page_Templates_T10052_Views_产品中心_detail_cshtml() {
Line 38: }
Line 39:
Line 40: protected ASP.global_asax ApplicationInstance {
Line 41: get {
Line 42: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 43: }
Line 44: }
Line 45:
Line 46: public override void Execute() {
Line 47:
Line 48: #line 1 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 49: Line 50: int columnId = Html.CurrentColumnId();Line 51: dynamic infoData = Html.InfoData();Line 52: string templateDirectory = ViewBag.TemplateDirectory;Line 53: IEnumerable<dynamic> dataList = Html.AttachmentDataList(new { ParentTable = "product", ParentField = "imagess", ParentId = (int)infoData.Id });Line 54: var num = 0;Line 55: var count = 0;Line 56:
Line 57:
Line 58: #line default
Line 59: #line hidden
Line 60: WriteLiteral("\n<div");
Line 61:
Line 62: WriteLiteral(" class=\"container same-padding\"");
Line 63:
Line 64: WriteLiteral(">\n <div");
Line 65:
Line 66: WriteLiteral(" class=\"row\"");
Line 67:
Line 68: WriteLiteral(">\n <div");
Line 69:
Line 70: WriteLiteral(" class=\"col-md-9\"");
Line 71:
Line 72: WriteLiteral(">\n <div");
Line 73:
Line 74: WriteLiteral(" class=\"area-page padding-20\"");
Line 75:
Line 76: WriteLiteral(">\n <div");
Line 77:
Line 78: WriteLiteral(" class=\"area-page-title text-black font-size-20 text-center\"");
Line 79:
Line 80: WriteLiteral("><b>");
Line 81:
Line 82:
Line 83: #line 13 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 84: Write(infoData.Title);
Line 85:
Line 86:
Line 87: #line default
Line 88: #line hidden
Line 89: WriteLiteral("</b></div>\n <div");
Line 90:
Line 91: WriteLiteral(" class=\"project-detail-brief margin-top-20\"");
Line 92:
Line 93: WriteLiteral("><span>");
Line 94:
Line 95:
Line 96: #line 14 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 97: Write(infoData.Introduction);
Line 98:
Line 99:
Line 100: #line default
Line 101: #line hidden
Line 102: WriteLiteral("</span></div>\n <div");
Line 103:
Line 104: WriteLiteral(" class=\"project-deail-xs margin-top-20\"");
Line 105:
Line 106: WriteLiteral(">\n <ul");
Line 107:
Line 108: WriteLiteral(" class=\"row\"");
Line 109:
Line 110: WriteLiteral(" style=\"position:relative;\"");
Line 111:
Line 112: WriteLiteral(">\n <li");
Line 113:
Line 114: WriteLiteral(" class=\"imgesbox-xs\"");
Line 115:
Line 116: WriteLiteral(">\n <div");
Line 117:
Line 118: WriteLiteral(" style=\"position:relative;\"");
Line 119:
Line 120: WriteLiteral(" class=\"banner-big-xs\"");
Line 121:
Line 122: WriteLiteral(">\n <div");
Line 123:
Line 124: WriteLiteral(" style=\"margin:0 auto;\"");
Line 125:
Line 126: WriteLiteral(">\n <div");
Line 127:
Line 128: WriteLiteral(" class=\"leftBox\"");
Line 129:
Line 130: WriteLiteral(">\n <div");
Line 131:
Line 132: WriteLiteral(" class=\"normalBox w\"");
Line 133:
Line 134: WriteLiteral(">\n <div");
Line 135:
Line 136: WriteLiteral(" class=\"imglists imgae-same-size\"");
Line 137:
Line 138: WriteLiteral(" id=\"n\"");
Line 139:
Line 140: WriteLiteral(" style=\"\"");
Line 141:
Line 142: WriteLiteral(">\n");
Line 143:
Line 144:
Line 145: #line 23 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 146:
Line 147:
Line 148: #line default
Line 149: #line hidden
Line 150:
Line 151: #line 23 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 152: if (@dataList.Count() > 0)Line 153: {Line 154: foreach (var item in @dataList)Line 155: {Line 156: num++;Line 157: if (num == 1)Line 158: {Line 159:
Line 160:
Line 161: #line default
Line 162: #line hidden
Line 163: WriteLiteral(" <img");
Line 164:
Line 165: WriteAttribute("src", Tuple.Create(" src=\"", 1743), Tuple.Create("\"", 1764)
Line 166:
Line 167: #line 30 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 168: , Tuple.Create(Tuple.Create("", 1749), Tuple.Create<System.Object, System.Int32>(item.Thumbnail
Line 169:
Line 170: #line default
Line 171: #line hidden
Line 172: , 1749), false)
Line 173: );
Line 174:
Line 175: WriteLiteral(" style=\"width:100%;height:100%;\"");
Line 176:
Line 177: WriteLiteral(" class=\" bord\"");
Line 178:
Line 179: WriteLiteral(">\n");
Line 180:
Line 181:
Line 182: #line 31 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 183: }Line 184: elseLine 185: {Line 186:
Line 187:
Line 188: #line default
Line 189: #line hidden
Line 190: WriteLiteral(" <img");
Line 191:
Line 192: WriteAttribute("src", Tuple.Create(" src=\"", 2054), Tuple.Create("\"", 2075)
Line 193:
Line 194: #line 34 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 195: , Tuple.Create(Tuple.Create("", 2060), Tuple.Create<System.Object, System.Int32>(item.Thumbnail
Line 196:
Line 197: #line default
Line 198: #line hidden
Line 199: , 2060), false)
Line 200: );
Line 201:
Line 202: WriteLiteral(" style=\"width:100%;height:100%;\"");
Line 203:
Line 204: WriteLiteral(">\n");
Line 205:
Line 206:
Line 207: #line 35 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 208: }Line 209: }Line 210: }Line 211: elseLine 212: {Line 213:
Line 214:
Line 215: #line default
Line 216: #line hidden
Line 217: WriteLiteral(" <img");
Line 218:
Line 219: WriteAttribute("src", Tuple.Create(" src=\"", 2431), Tuple.Create("\"", 2456)
Line 220:
Line 221: #line 40 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 222: , Tuple.Create(Tuple.Create("", 2437), Tuple.Create<System.Object, System.Int32>(infoData.Thumbnail
Line 223:
Line 224: #line default
Line 225: #line hidden
Line 226: , 2437), false)
Line 227: );
Line 228:
Line 229: WriteLiteral(" style=\"width:100%;height:100%;\"");
Line 230:
Line 231: WriteLiteral(" class=\" bord\"");
Line 232:
Line 233: WriteLiteral(">\n");
Line 234:
Line 235:
Line 236: #line 41 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 237: }Line 238:
Line 239:
Line 240: #line default
Line 241: #line hidden
Line 242: WriteLiteral("\n </div>\n " +
Line 243: " <div");
Line 244:
Line 245: WriteLiteral(" class=\"moveBox\"");
Line 246:
Line 247: WriteLiteral("></div>\n </div>\n " +
Line 248: " </div>\n </div>\n " +
Line 249: " </div>\n");
Line 250:
Line 251:
Line 252: #line 49 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 253:
Line 254:
Line 255: #line default
Line 256: #line hidden
Line 257:
Line 258: #line 49 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 259: if (@dataList.Count() > 0)Line 260: {Line 261:
Line 262:
Line 263: #line default
Line 264: #line hidden
Line 265: WriteLiteral(" <div");
Line 266:
Line 267: WriteLiteral(" class=\"imgbanner imgbannerxs\"");
Line 268:
Line 269: WriteLiteral(">\n <div");
Line 270:
Line 271: WriteLiteral(" class=\"bottom-pixu imgpadding-xs\"");
Line 272:
Line 273: WriteLiteral(">\n <div");
Line 274:
Line 275: WriteLiteral(" class=\"middleimg\"");
Line 276:
Line 277: WriteLiteral(">\n <div");
Line 278:
Line 279: WriteLiteral(" class=\"prevs project-prevs\"");
Line 280:
Line 281: WriteLiteral("><img");
Line 282:
Line 283: WriteAttribute("src", Tuple.Create(" src=\"", 3218), Tuple.Create("\"", 3263)
Line 284:
Line 285: #line 54 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 286: , Tuple.Create(Tuple.Create("", 3224), Tuple.Create<System.Object, System.Int32>(templateDirectory
Line 287:
Line 288: #line default
Line 289: #line hidden
Line 290: , 3224), false)
Line 291: , Tuple.Create(Tuple.Create("", 3242), Tuple.Create("/images/gywm/an1L.gif", 3242), true)
Line 292: );
Line 293:
Line 294: WriteLiteral(" /></div>\n <div");
Line 295:
Line 296: WriteLiteral(" class=\"listimg swiper-container gallery-thumbs\"");
Line 297:
Line 298: WriteLiteral(">\n <div");
Line 299:
Line 300: WriteLiteral(" class=\"swiper-wrapper imglist\"");
Line 301:
Line 302: WriteLiteral(">\n");
Line 303:
Line 304:
Line 305: #line 57 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 306:
Line 307:
Line 308: #line default
Line 309: #line hidden
Line 310:
Line 311: #line 57 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 312: foreach (var item in @dataList)Line 313: {Line 314:
Line 315:
Line 316: #line default
Line 317: #line hidden
Line 318: WriteLiteral(" <img");
Line 319:
Line 320: WriteLiteral(" class=\"img swiper-slide bigimg\"");
Line 321:
Line 322: WriteAttribute("src", Tuple.Create(" src=\"", 3688), Tuple.Create("\"", 3709)
Line 323:
Line 324: #line 59 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 325: , Tuple.Create(Tuple.Create("", 3694), Tuple.Create<System.Object, System.Int32>(item.Thumbnail
Line 326:
Line 327: #line default
Line 328: #line hidden
Line 329: , 3694), false)
Line 330: );
Line 331:
Line 332: WriteAttribute("rel", Tuple.Create(" rel=\"", 3710), Tuple.Create("\"", 3722)
Line 333:
Line 334: #line 59 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 335: , Tuple.Create(Tuple.Create("", 3716), Tuple.Create<System.Object, System.Int32>(count
Line 336:
Line 337: #line default
Line 338: #line hidden
Line 339: , 3716), false)
Line 340: );
Line 341:
Line 342: WriteLiteral(" />\n");
Line 343:
Line 344:
Line 345: #line 60 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 346: count++;Line 347: }Line 348:
Line 349:
Line 350: #line default
Line 351: #line hidden
Line 352: WriteLiteral(" </div>\n " +
Line 353: " </div>\n <div");
Line 354:
Line 355: WriteLiteral(" class=\"nexts project-nexts\"");
Line 356:
Line 357: WriteLiteral("><img");
Line 358:
Line 359: WriteAttribute("src", Tuple.Create(" src=\"", 4033), Tuple.Create("\"", 4078)
Line 360:
Line 361: #line 64 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 362: , Tuple.Create(Tuple.Create("", 4039), Tuple.Create<System.Object, System.Int32>(templateDirectory
Line 363:
Line 364: #line default
Line 365: #line hidden
Line 366: , 4039), false)
Line 367: , Tuple.Create(Tuple.Create("", 4057), Tuple.Create("/images/gywm/an1R.gif", 4057), true)
Line 368: );
Line 369:
Line 370: WriteLiteral(" /></div>\n </div>\n " +
Line 371: " </div>\n </div>\n");
Line 372:
Line 373:
Line 374: #line 68 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 375: }Line 376:
Line 377:
Line 378: #line default
Line 379: #line hidden
Line 380: WriteLiteral(" </li>\n </ul>\n </div>\n " +
Line 381: " <div");
Line 382:
Line 383: WriteLiteral(" class=\"area-page-content margin-top-24\"");
Line 384:
Line 385: WriteLiteral(">\n");
Line 386:
Line 387: WriteLiteral(" ");
Line 388:
Line 389:
Line 390: #line 73 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 391: Write(Html.Raw(infoData.Content));
Line 392:
Line 393:
Line 394: #line default
Line 395: #line hidden
Line 396: WriteLiteral("\n </div>\n");
Line 397:
Line 398:
Line 399: #line 75 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 400:
Line 401:
Line 402: #line default
Line 403: #line hidden
Line 404:
Line 405: #line 75 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 406: Line 407: dynamic prevData = Html.InfoDataPrevious();Line 408: dynamic nextData = Html.InfoDataNext();Line 409:
Line 410:
Line 411: #line default
Line 412: #line hidden
Line 413: WriteLiteral("\n <div");
Line 414:
Line 415: WriteLiteral(" class=\"clearfix padding-top-20 line-height-2 page padding-bottom-30\"");
Line 416:
Line 417: WriteLiteral(">\n <ul>\n");
Line 418:
Line 419:
Line 420: #line 81 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 421:
Line 422:
Line 423: #line default
Line 424: #line hidden
Line 425:
Line 426: #line 81 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 427: if (prevData != null)Line 428: {Line 429: string url = Html.InfoDataUrl((int)prevData.ColumnId, (int)prevData.Id);Line 430:
Line 431:
Line 432: #line default
Line 433: #line hidden
Line 434: WriteLiteral(" <li");
Line 435:
Line 436: WriteLiteral(" class=\"text-gray\"");
Line 437:
Line 438: WriteLiteral("><i");
Line 439:
Line 440: WriteLiteral(" class=\"fa fa-arrow-up\"");
Line 441:
Line 442: WriteLiteral("></i>上一个:<a");
Line 443:
Line 444: WriteAttribute("href", Tuple.Create(" href=\"", 4997), Tuple.Create("\"", 5008)
Line 445:
Line 446: #line 84 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 447: , Tuple.Create(Tuple.Create("", 5004), Tuple.Create<System.Object, System.Int32>(url
Line 448:
Line 449: #line default
Line 450: #line hidden
Line 451: , 5004), false)
Line 452: );
Line 453:
Line 454: WriteLiteral(">");
Line 455:
Line 456:
Line 457: #line 84 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 458: Write(prevData.Title);
Line 459:
Line 460:
Line 461: #line default
Line 462: #line hidden
Line 463: WriteLiteral("</a></li>\n");
Line 464:
Line 465:
Line 466: #line 85 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 467: }Line 468:
Line 469:
Line 470: #line default
Line 471: #line hidden
Line 472: WriteLiteral(" ");
Line 473:
Line 474:
Line 475: #line 86 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 476: if (nextData != null)Line 477: {Line 478: string url = Html.InfoDataUrl((int)nextData.ColumnId, (int)nextData.Id);Line 479:
Line 480:
Line 481: #line default
Line 482: #line hidden
Line 483: WriteLiteral(" <li");
Line 484:
Line 485: WriteLiteral(" class=\"text-gray\"");
Line 486:
Line 487: WriteLiteral("><i");
Line 488:
Line 489: WriteLiteral(" class=\"fa fa-arrow-down\"");
Line 490:
Line 491: WriteLiteral("></i>下一个:<a");
Line 492:
Line 493: WriteAttribute("href", Tuple.Create(" href=\"", 5323), Tuple.Create("\"", 5334)
Line 494:
Line 495: #line 89 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 496: , Tuple.Create(Tuple.Create("", 5330), Tuple.Create<System.Object, System.Int32>(url
Line 497:
Line 498: #line default
Line 499: #line hidden
Line 500: , 5330), false)
Line 501: );
Line 502:
Line 503: WriteLiteral(">");
Line 504:
Line 505:
Line 506: #line 89 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 507: Write(nextData.Title);
Line 508:
Line 509:
Line 510: #line default
Line 511: #line hidden
Line 512: WriteLiteral("</a></li>\n");
Line 513:
Line 514:
Line 515: #line 90 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 516: }Line 517:
Line 518:
Line 519: #line default
Line 520: #line hidden
Line 521: WriteLiteral(" </ul>\n </div>\n </div>\n </div" +
Line 522: ">\n <div");
Line 523:
Line 524: WriteLiteral(" class=\"col-md-3\"");
Line 525:
Line 526: WriteLiteral(">\n");
Line 527:
Line 528: WriteLiteral(" ");
Line 529:
Line 530:
Line 531: #line 96 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 532: Write(Html.Partial("SerachPartial"));
Line 533:
Line 534:
Line 535: #line default
Line 536: #line hidden
Line 537: WriteLiteral("\n");
Line 538:
Line 539: WriteLiteral(" ");
Line 540:
Line 541:
Line 542: #line 97 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 543: Write(Html.Partial("subNavPartial"));
Line 544:
Line 545:
Line 546: #line default
Line 547: #line hidden
Line 548: WriteLiteral("\n");
Line 549:
Line 550: WriteLiteral(" ");
Line 551:
Line 552:
Line 553: #line 98 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 554: Write(Html.Partial("HotPartial"));
Line 555:
Line 556:
Line 557: #line default
Line 558: #line hidden
Line 559: WriteLiteral("\n </div>\n </div> \n</div>\n<script");
Line 560:
Line 561: WriteLiteral(" type=\"text/javascript\"");
Line 562:
Line 563: WriteLiteral(">\n var $lb_clicks = $(\"#lb_clicks\");\n $.post(\"/E/InfoData/AddClicks\", { Col" +
Line 564: "umnId:");
Line 565:
Line 566:
Line 567: #line 104 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 568: Write(infoData.ColumnId);
Line 569:
Line 570:
Line 571: #line default
Line 572: #line hidden
Line 573: WriteLiteral(", Id:");
Line 574:
Line 575:
Line 576: #line 104 "c:\webhosting\data\Templates\T10052\Views\产品中心\detail.cshtml"
Line 577: Write(infoData.Id);
Line 578:
Line 579:
Line 580: #line default
Line 581: #line hidden
Line 582: WriteLiteral(@"}, function (data) { $lb_clicks.text(data) })Line 583: var galleryThumbs = new Swiper('.gallery-thumbs', {Line 584: spaceBetween: 27,Line 585: slidesPerView: 6,Line 586: navigation: {Line 587: nextEl: '.nexts',Line 588: prevEl: '.prevs',Line 589: },Line 590: breakpoints: {Line 591: 768: {Line 592: spaceBetween: 27,Line 593: slidesPerView: 3,Line 594: },Line 595: 320: {Line 596: spaceBetween: 27,Line 597: slidesPerView: 2,Line 598: }Line 599: }Line 600: });Line 601: $("".imglist"").children().eq(0).addClass('swiper-slide-thumb-active')Line 602: $("".bigimg"").click(function () {Line 603: $("".imglist img"").each(function () {Line 604: $(this).removeClass('swiper-slide-thumb-active')Line 605: })Line 606: $(this).addClass('swiper-slide-thumb-active')Line 607: var indexs = $(this).attr('rel')Line 608: $("".imglists"").children().eq(indexs).addClass('bord').siblings().removeClass('bord')Line 609: var imgUrl = $(this).attr('src')Line 610: $("".topimg"").attr('src', imgUrl);Line 611: $("".topimg"").parent().attr('href', imgUrl);Line 612: })Line 613: </script>");
Line 614:
Line 615: }
Line 616: }
Line 617: }
Line 618:
|