Line 1: #pragma checksum "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5ACF109A02387332096F5660947DAD5FD24CD02F"
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 Engineering-cases\"");
Line 63:
Line 64: WriteLiteral(">\n");
Line 65:
Line 66: WriteLiteral(" ");
Line 67:
Line 68:
Line 69: #line 10 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 70: Write(Html.Partial("subEngNavPartial"));
Line 71:
Line 72:
Line 73: #line default
Line 74: #line hidden
Line 75: WriteLiteral("\n <div");
Line 76:
Line 77: WriteLiteral(" class=\"area-page-title text-black font-size-20 text-center\"");
Line 78:
Line 79: WriteLiteral("><b>");
Line 80:
Line 81:
Line 82: #line 11 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 83: Write(infoData.Title);
Line 84:
Line 85:
Line 86: #line default
Line 87: #line hidden
Line 88: WriteLiteral("</b></div>\n\n <div");
Line 89:
Line 90: WriteLiteral(" class=\"area-page-content margin-top-24\"");
Line 91:
Line 92: WriteLiteral(">\n");
Line 93:
Line 94: WriteLiteral(" ");
Line 95:
Line 96:
Line 97: #line 14 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 98: Write(Html.Raw(infoData.Content));
Line 99:
Line 100:
Line 101: #line default
Line 102: #line hidden
Line 103: WriteLiteral("\n </div>\n");
Line 104:
Line 105:
Line 106: #line 16 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 107:
Line 108:
Line 109: #line default
Line 110: #line hidden
Line 111:
Line 112: #line 16 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 113: Line 114: dynamic prevData = Html.InfoDataPrevious();Line 115: dynamic nextData = Html.InfoDataNext();Line 116:
Line 117:
Line 118: #line default
Line 119: #line hidden
Line 120: WriteLiteral("\n <div");
Line 121:
Line 122: WriteLiteral(" class=\"clearfix padding-top-20 line-height-2 page padding-bottom-30\"");
Line 123:
Line 124: WriteLiteral(">\n <ul>\n");
Line 125:
Line 126:
Line 127: #line 22 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 128:
Line 129:
Line 130: #line default
Line 131: #line hidden
Line 132:
Line 133: #line 22 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 134: if (prevData != null)Line 135: {Line 136: string url = Html.InfoDataUrl((int)prevData.ColumnId, (int)prevData.Id);Line 137:
Line 138:
Line 139: #line default
Line 140: #line hidden
Line 141: WriteLiteral(" <li");
Line 142:
Line 143: WriteLiteral(" class=\"text-gray\"");
Line 144:
Line 145: WriteLiteral("><i");
Line 146:
Line 147: WriteLiteral(" class=\"fa fa-arrow-up\"");
Line 148:
Line 149: WriteLiteral("></i>上一个:<a");
Line 150:
Line 151: WriteAttribute("href", Tuple.Create(" href=\"", 1191), Tuple.Create("\"", 1202)
Line 152:
Line 153: #line 25 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 154: , Tuple.Create(Tuple.Create("", 1198), Tuple.Create<System.Object, System.Int32>(url
Line 155:
Line 156: #line default
Line 157: #line hidden
Line 158: , 1198), false)
Line 159: );
Line 160:
Line 161: WriteLiteral(">");
Line 162:
Line 163:
Line 164: #line 25 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 165: Write(prevData.Title);
Line 166:
Line 167:
Line 168: #line default
Line 169: #line hidden
Line 170: WriteLiteral("</a></li>\n");
Line 171:
Line 172:
Line 173: #line 26 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 174: }Line 175:
Line 176:
Line 177: #line default
Line 178: #line hidden
Line 179: WriteLiteral(" ");
Line 180:
Line 181:
Line 182: #line 27 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 183: if (nextData != null)Line 184: {Line 185: string url = Html.InfoDataUrl((int)nextData.ColumnId, (int)nextData.Id);Line 186:
Line 187:
Line 188: #line default
Line 189: #line hidden
Line 190: WriteLiteral(" <li");
Line 191:
Line 192: WriteLiteral(" class=\"text-gray\"");
Line 193:
Line 194: WriteLiteral("><i");
Line 195:
Line 196: WriteLiteral(" class=\"fa fa-arrow-down\"");
Line 197:
Line 198: WriteLiteral(" rue\"></i>下一个:<a");
Line 199:
Line 200: WriteAttribute("href", Tuple.Create(" href=\"", 1522), Tuple.Create("\"", 1533)
Line 201:
Line 202: #line 30 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 203: , Tuple.Create(Tuple.Create("", 1529), Tuple.Create<System.Object, System.Int32>(url
Line 204:
Line 205: #line default
Line 206: #line hidden
Line 207: , 1529), false)
Line 208: );
Line 209:
Line 210: WriteLiteral(">");
Line 211:
Line 212:
Line 213: #line 30 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 214: Write(nextData.Title);
Line 215:
Line 216:
Line 217: #line default
Line 218: #line hidden
Line 219: WriteLiteral("</a></li>\n");
Line 220:
Line 221:
Line 222: #line 31 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 223: }Line 224:
Line 225:
Line 226: #line default
Line 227: #line hidden
Line 228: WriteLiteral(" </ul>\n </div>\n</div> \n\n<script");
Line 229:
Line 230: WriteLiteral(" type=\"text/javascript\"");
Line 231:
Line 232: WriteLiteral(">\n var $lb_clicks = $(\"#lb_clicks\");\n $.post(\"/E/InfoData/AddClicks\", { Col" +
Line 233: "umnId:");
Line 234:
Line 235:
Line 236: #line 38 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 237: Write(infoData.ColumnId);
Line 238:
Line 239:
Line 240: #line default
Line 241: #line hidden
Line 242: WriteLiteral(", Id:");
Line 243:
Line 244:
Line 245: #line 38 "c:\webhosting\data\Templates\T10052\Views\资质荣誉\detail.cshtml"
Line 246: Write(infoData.Id);
Line 247:
Line 248:
Line 249: #line default
Line 250: #line hidden
Line 251: WriteLiteral(@"}, function (data) { $lb_clicks.text(data) })Line 252: var galleryThumbs = new Swiper('.gallery-thumbs', {Line 253: spaceBetween: 27,Line 254: slidesPerView: 6,Line 255: navigation: {Line 256: nextEl: '.nexts',Line 257: prevEl: '.prevs',Line 258: },Line 259: breakpoints: {Line 260: 768: {Line 261: spaceBetween: 27,Line 262: slidesPerView: 3,Line 263: },Line 264: 320: {Line 265: spaceBetween: 27,Line 266: slidesPerView: 2,Line 267: }Line 268: }Line 269: });Line 270: $("".imglist"").children().eq(0).addClass('swiper-slide-thumb-active')Line 271: $("".bigimg"").click(function () {Line 272: $("".imglist img"").each(function () {Line 273: $(this).removeClass('swiper-slide-thumb-active')Line 274: })Line 275: $(this).addClass('swiper-slide-thumb-active')Line 276: var indexs = $(this).attr('rel')Line 277: $("".imglists"").children().eq(indexs).addClass('bord').siblings().removeClass('bord')Line 278: var imgUrl = $(this).attr('src')Line 279: $("".topimg"").attr('src', imgUrl);Line 280: $("".topimg"").parent().attr('href', imgUrl);Line 281: })Line 282: </script>");
Line 283:
Line 284: }
Line 285: }
Line 286: }
Line 287:
|