行 1: #pragma checksum "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BF78669E194989241ACA13CB6CE15E21234B2B21"
行 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.Routing;
行 27: using TM.Sys.PiFa;
行 28:
行 29:
行 30: public class _Page_Views_Product_Product404_cshtml : System.Web.Mvc.WebViewPage<TM.App.VMModels.SysPiFa.Product.ProductInfoVM> {
行 31:
行 32: #line hidden
行 33:
行 34: public _Page_Views_Product_Product404_cshtml() {
行 35: }
行 36:
行 37: protected ASP.global_asax ApplicationInstance {
行 38: get {
行 39: return ((ASP.global_asax)(Context.ApplicationInstance));
行 40: }
行 41: }
行 42:
行 43: public override void Execute() {
行 44:
行 45: #line 2 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 46:
行 47: string LSWebUri = TM.App.WebConfig.ValuesManager.GetPiFa(TM.App.WebConfig.PiFaConfigKey.LSWebUri);
行 48: string WapWebUri = TM.App.WebConfig.ValuesManager.GetPiFa(TM.App.WebConfig.PiFaConfigKey.WapWebUri);
行 49: string SysPiFaUri = TM.App.WebConfig.ValuesManager.GetPiFa(TM.App.WebConfig.PiFaConfigKey.SysPiFaUri);
行 50: string ZXUri = TM.App.WebConfig.ValuesManager.GetPiFa(TM.App.WebConfig.PiFaConfigKey.ZXUri);
行 51: Layout = "~/Views/Shared/_Layout.cshtml";
行 52: var WebSite = TM.App.BLL.SysWeb.SiteInfoManager.GetWebSetting();
行 53: ViewBag.Title = Model.QuDaoProduct.Name + "_" + WebSite.WebsiteName;
行 54: string ImgServerAddress = TM.App.WebConfig.ValuesManager.GetSys(TM.App.WebConfig.SysConfigKey.ImgServerAddress);
行 55: var DefalutXSQuDaoPrice = Model.QuDaoProduct.XSQuDaoPriceList.FirstOrDefault(m => m.CloudProductStyleId == Model.QuDaoProduct.FirstCloudProuctStyleId);
行 56: var DefalutQuDaoPricePrice = Model.QuDaoProduct.QuDaoPriceList.FirstOrDefault(m => m.CloudProductStyleId == Model.QuDaoProduct.FirstCloudProuctStyleId);
行 57: var AnnList = ViewBag.AnnList as List<TM.PiFa.Model.VModels.Msg.AnnouncementVM>;
行 58:
行 59:
行 60:
行 61: #line default
行 62: #line hidden
行 63: WriteLiteral("\r\n\r\n<!--顶部登录-->\r\n");
行 64:
行 65:
行 66: #line 18 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 67: Write(Html.Partial("../Shared/_PageHead", "渠道"));
行 68:
行 69:
行 70: #line default
行 71: #line hidden
行 72: WriteLiteral("\r\n<!--导航-->\r\n<!--筛选-->\r\n<div");
行 73:
行 74: WriteLiteral(" class=\"crumbs\"");
行 75:
行 76: WriteLiteral(">\r\n <div");
行 77:
行 78: WriteLiteral(" class=\"cen\"");
行 79:
行 80: WriteLiteral(">\r\n <a");
行 81:
行 82: WriteLiteral(" class=\"crumbs_item\"");
行 83:
行 84: WriteLiteral(" href=\"/Product/Index\"");
行 85:
行 86: WriteLiteral(">全部</a><i");
行 87:
行 88: WriteLiteral(" class=\"crumbs-arrow\"");
行 89:
行 90: WriteLiteral(">></i>\r\n");
行 91:
行 92:
行 93: #line 24 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 94:
行 95:
行 96: #line default
行 97: #line hidden
行 98:
行 99: #line 24 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 100: if (Model.QuDaoProduct.Class1 > 0)
行 101: {
行 102:
行 103:
行 104: #line default
行 105: #line hidden
行 106: WriteLiteral(" <a");
行 107:
行 108: WriteLiteral(" class=\"crumbs_item\"");
行 109:
行 110: WriteAttribute("href", Tuple.Create(" href=\"", 1498), Tuple.Create("\"", 1576)
行 111:
行 112: #line 26 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 113: , Tuple.Create(Tuple.Create("", 1505), Tuple.Create<System.Object, System.Int32>(string.Format("/Product/Index?ClassId={0}", Model.QuDaoProduct.Class1)
行 114:
行 115: #line default
行 116: #line hidden
行 117: , 1505), false)
行 118: );
行 119:
行 120: WriteLiteral(">");
行 121:
行 122:
行 123: #line 26 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 124: Write(Model.QuDaoProduct.ClassName1);
行 125:
行 126:
行 127: #line default
行 128: #line hidden
行 129: WriteLiteral("</a>");
行 130:
行 131: WriteLiteral("<i");
行 132:
行 133: WriteLiteral(" class=\"crumbs-arrow\"");
行 134:
行 135: WriteLiteral(">></i>\r\n");
行 136:
行 137:
行 138: #line 27 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 139: }
行 140:
行 141:
行 142: #line default
行 143: #line hidden
行 144: WriteLiteral(" ");
行 145:
行 146:
行 147: #line 28 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 148: if (Model.QuDaoProduct.Class2 > 0)
行 149: {
行 150:
行 151:
行 152: #line default
行 153: #line hidden
行 154: WriteLiteral(" <a");
行 155:
行 156: WriteLiteral(" class=\"crumbs_item\"");
行 157:
行 158: WriteAttribute("href", Tuple.Create(" href=\"", 1747), Tuple.Create("\"", 1825)
行 159:
行 160: #line 30 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 161: , Tuple.Create(Tuple.Create("", 1754), Tuple.Create<System.Object, System.Int32>(string.Format("/Product/Index?ClassId={0}", Model.QuDaoProduct.Class2)
行 162:
行 163: #line default
行 164: #line hidden
行 165: , 1754), false)
行 166: );
行 167:
行 168: WriteLiteral(">");
行 169:
行 170:
行 171: #line 30 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 172: Write(Model.QuDaoProduct.ClassName2);
行 173:
行 174:
行 175: #line default
行 176: #line hidden
行 177: WriteLiteral("</a>");
行 178:
行 179: WriteLiteral("<i");
行 180:
行 181: WriteLiteral(" class=\"crumbs-arrow\"");
行 182:
行 183: WriteLiteral(">></i>\r\n");
行 184:
行 185:
行 186: #line 31 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 187: }
行 188:
行 189:
行 190: #line default
行 191: #line hidden
行 192: WriteLiteral(" ");
行 193:
行 194:
行 195: #line 32 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 196: if (Model.QuDaoProduct.Class3 > 0)
行 197: {
行 198:
行 199:
行 200: #line default
行 201: #line hidden
行 202: WriteLiteral(" <a");
行 203:
行 204: WriteLiteral(" class=\"crumbs_item\"");
行 205:
行 206: WriteAttribute("href", Tuple.Create(" href=\"", 1996), Tuple.Create("\"", 2074)
行 207:
行 208: #line 34 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 209: , Tuple.Create(Tuple.Create("", 2003), Tuple.Create<System.Object, System.Int32>(string.Format("/Product/Index?ClassId={0}", Model.QuDaoProduct.Class3)
行 210:
行 211: #line default
行 212: #line hidden
行 213: , 2003), false)
行 214: );
行 215:
行 216: WriteLiteral(">");
行 217:
行 218:
行 219: #line 34 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 220: Write(Model.QuDaoProduct.ClassName3);
行 221:
行 222:
行 223: #line default
行 224: #line hidden
行 225: WriteLiteral("</a>\r\n");
行 226:
行 227:
行 228: #line 35 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 229: }
行 230:
行 231:
行 232: #line default
行 233: #line hidden
行 234: WriteLiteral(" </div>\r\n</div>\r\n<!--详情-->\r\n<div");
行 235:
行 236: WriteLiteral(" class=\"product_detail\"");
行 237:
行 238: WriteLiteral(">\r\n <div");
行 239:
行 240: WriteLiteral(" class=\"cen\"");
行 241:
行 242: WriteLiteral(">\r\n <div");
行 243:
行 244: WriteLiteral(" class=\"pro_js\"");
行 245:
行 246: WriteLiteral(">\r\n <div");
行 247:
行 248: WriteLiteral(" class=\"Contentbox2\"");
行 249:
行 250: WriteLiteral(">\r\n");
行 251:
行 252:
行 253: #line 43 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 254:
行 255:
行 256: #line default
行 257: #line hidden
行 258:
行 259: #line 43 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 260: for (int i = 0; i < Model.QuDaoProduct.Imgs.Count; i++)
行 261: {
行 262:
行 263:
行 264: #line default
行 265: #line hidden
行 266: WriteLiteral(" <div");
行 267:
行 268: WriteAttribute("id", Tuple.Create(" id=\"", 2393), Tuple.Create("\"", 2431)
行 269:
行 270: #line 45 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 271: , Tuple.Create(Tuple.Create("", 2398), Tuple.Create<System.Object, System.Int32>(string.Format("con_two_{0}",i+1)
行 272:
行 273: #line default
行 274: #line hidden
行 275: , 2398), false)
行 276: );
行 277:
行 278: WriteLiteral(">\r\n <a");
行 279:
行 280: WriteAttribute("href", Tuple.Create(" href=\"", 2461), Tuple.Create("\"", 2506)
行 281:
行 282: #line 46 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 283: , Tuple.Create(Tuple.Create("", 2468), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.Imgs[i].ShowImgUrl
行 284:
行 285: #line default
行 286: #line hidden
行 287: , 2468), false)
行 288: );
行 289:
行 290: WriteLiteral(" class=\"cloud-zoom\"");
行 291:
行 292: WriteLiteral(">\r\n <img");
行 293:
行 294: WriteAttribute("src", Tuple.Create(" src=\"", 2561), Tuple.Create("\"", 2605)
行 295:
行 296: #line 47 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 297: , Tuple.Create(Tuple.Create("", 2567), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.Imgs[i].ShowImgUrl
行 298:
行 299: #line default
行 300: #line hidden
行 301: , 2567), false)
行 302: );
行 303:
行 304: WriteLiteral(" alt=\"\"");
行 305:
行 306: WriteLiteral(" />\r\n </a>\r\n </div>\r\n");
行 307:
行 308:
行 309: #line 50 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 310: }
行 311:
行 312:
行 313: #line default
行 314: #line hidden
行 315: WriteLiteral(" </div>\r\n <!--缩图开始-->\r\n <div");
行 316:
行 317: WriteLiteral(" class=\"spec-scroll\"");
行 318:
行 319: WriteLiteral(">\r\n <a");
行 320:
行 321: WriteLiteral(" class=\"prev\"");
行 322:
行 323: WriteLiteral("><</a>\r\n <div");
行 324:
行 325: WriteLiteral(" class=\"items\"");
行 326:
行 327: WriteLiteral(">\r\n <ul>\r\n");
行 328:
行 329:
行 330: #line 57 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 331:
行 332:
行 333: #line default
行 334: #line hidden
行 335:
行 336: #line 57 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 337: for (int i = 0; i < Model.QuDaoProduct.Imgs.Count; i++)
行 338: {
行 339:
行 340:
行 341: #line default
行 342: #line hidden
行 343: WriteLiteral(" <li");
行 344:
行 345: WriteAttribute("id", Tuple.Create(" id=\"", 3024), Tuple.Create("\"", 3057)
行 346:
行 347: #line 59 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 348: , Tuple.Create(Tuple.Create("", 3029), Tuple.Create<System.Object, System.Int32>(string.Format("two{0}",i+1)
行 349:
行 350: #line default
行 351: #line hidden
行 352: , 3029), false)
行 353: );
行 354:
行 355: WriteAttribute("onclick", Tuple.Create(" onclick=\"", 3058), Tuple.Create("\"", 3143)
行 356:
行 357: #line 59 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 358: , Tuple.Create(Tuple.Create("", 3068), Tuple.Create<System.Object, System.Int32>(string.Format("setTab('two',{0},{1},1)",i+1,Model.QuDaoProduct.Imgs.Count)
行 359:
行 360: #line default
行 361: #line hidden
行 362: , 3068), false)
行 363: );
行 364:
行 365: WriteLiteral(">\r\n <a");
行 366:
行 367: WriteLiteral(" rel=\"useZoom: \'zoom1\', smallImage: \'img/s1.jpg\'\"");
行 368:
行 369: WriteLiteral(">\r\n <img");
行 370:
行 371: WriteLiteral(" alt=\"\"");
行 372:
行 373: WriteAttribute("src", Tuple.Create(" src=\"", 3280), Tuple.Create("\"", 3326)
行 374:
行 375: #line 61 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 376: , Tuple.Create(Tuple.Create("", 3286), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.Imgs[i].ShowSmallImg
行 377:
行 378: #line default
行 379: #line hidden
行 380: , 3286), false)
行 381: );
行 382:
行 383: WriteLiteral(" />\r\n </a>\r\n </li>\r\n");
行 384:
行 385:
行 386: #line 64 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 387: }
行 388:
行 389:
行 390: #line default
行 391: #line hidden
行 392: WriteLiteral("\r\n </ul>\r\n </div>\r\n <a");
行 393:
行 394: WriteLiteral(" class=\"next\"");
行 395:
行 396: WriteLiteral(">></a>\r\n </div>\r\n <!--收藏-->\r\n <!--<div class=" +
行 397: "\"preview-info\">-->\r\n <!--<span class=\"share\">-->\r\n <!--<i " +
行 398: "class=\"sprite-share\"></i><em>分享</em>-->\r\n <!--<div class=\"handArea\"><" +
行 399: "/div>-->\r\n <!--<div class=\"bshare-customs\">-->\r\n <!--<a ti" +
行 400: "tle=\"微信\" class=\"bshare-weixin\"></a>-->\r\n <!--<a title=\"分享到QQ空间\" class" +
行 401: "=\"bshare-qzone\"></a>-->\r\n <!--<a title=\"分享到新浪微博\" class=\"bshare-sinami" +
行 402: "niblog\"></a>-->\r\n <!--<a title=\"分享到人人网\" class=\"bshare-renren\"></a>-->" +
行 403: "\r\n <!--<a title=\"分享到腾讯微博\" class=\"bshare-qqmb\"></a>-->\r\n <!" +
行 404: "--<a title=\"分享到网易微博\" class=\"bshare-neteasemb\"></a>-->\r\n <!--<!&nda" +
行 405: "sh;<a title=\"更多平台\" class=\"bshare-more bshare-more-icon more-style-addthis\"></a>&" +
行 406: "ndash;>-->\r\n <!--</div>-->\r\n <!--<script type=\"text/jav" +
行 407: "ascript\" charset=\"utf-8\" src=\"./js/buttonLite.js\"></script>-->\r\n <!--" +
行 408: "<script type=\"text/javascript\" charset=\"utf-8\" src=\"./js/bshareC0.js\"></script>-" +
行 409: "->\r\n <!--<script type=\"text/javascript\" charset=\"utf-8\" src=\"./js/bsh" +
行 410: "areS1.js\"></script>-->\r\n <!--<script type=\"text/javascript\" charset=\"" +
行 411: "utf-8\" src=\"./js/bshareS887.js\"></script>-->\r\n <!--</span>-->\r\n " +
行 412: " <!--<span class=\"compare\">-->\r\n <!--<i class=\"sprite-star on\"><" +
行 413: "/i><em>收藏商品(73904人气)</em>-->\r\n <!--</span>-->\r\n <!--<span " +
行 414: "class=\"compare\">-->\r\n <!--<i class=\"sprite-star on\"></i><em>收藏店铺</em>" +
行 415: "-->\r\n <!--</span>-->\r\n <!--</div>-->\r\n </div>\r\n " +
行 416: " <div");
行 417:
行 418: WriteLiteral(" class=\"con_div_right\"");
行 419:
行 420: WriteLiteral(">\r\n <h1>\r\n");
行 421:
行 422: WriteLiteral(" ");
行 423:
行 424:
行 425: #line 99 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 426: Write(Model.QuDaoProduct.Name);
行 427:
行 428:
行 429: #line default
行 430: #line hidden
行 431: WriteLiteral("\r\n </h1>\r\n <p");
行 432:
行 433: WriteLiteral(" class=\"p1\"");
行 434:
行 435: WriteLiteral(">");
行 436:
行 437:
行 438: #line 101 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 439: Write(Model.QuDaoProduct.SubTitle);
行 440:
行 441:
行 442: #line default
行 443: #line hidden
行 444: WriteLiteral("</p>\r\n <div");
行 445:
行 446: WriteLiteral(" class=\"con_jiaqian bgred\"");
行 447:
行 448: WriteLiteral(">\r\n\r\n <!--登录-->\r\n");
行 449:
行 450:
行 451: #line 105 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 452:
行 453:
行 454: #line default
行 455: #line hidden
行 456:
行 457: #line 105 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 458: if (Model.QuDaoProduct.LogIn == 1)
行 459: {
行 460:
行 461:
行 462: #line default
行 463: #line hidden
行 464: WriteLiteral(" <table");
行 465:
行 466: WriteLiteral(" id=\"JGHtml\"");
行 467:
行 468: WriteLiteral("></table>\r\n");
行 469:
行 470:
行 471: #line 108 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 472: }
行 473: else
行 474: {
行 475:
行 476:
行 477: #line default
行 478: #line hidden
行 479: WriteLiteral(" <!--未登录-->\r\n");
行 480:
行 481: WriteLiteral(" <table");
行 482:
行 483: WriteLiteral(" id=\"XSHtml\"");
行 484:
行 485: WriteLiteral("></table>\r\n");
行 486:
行 487:
行 488: #line 113 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 489: }
行 490:
行 491:
行 492: #line default
行 493: #line hidden
行 494: WriteLiteral(" <div");
行 495:
行 496: WriteLiteral(" class=\"left-btns\"");
行 497:
行 498: WriteLiteral(" style=\"cursor:pointer\"");
行 499:
行 500: WriteLiteral(">\r\n <div");
行 501:
行 502: WriteLiteral(" class=\"left-btns-item\"");
行 503:
行 504: WriteLiteral("><span");
行 505:
行 506: WriteLiteral(" class=\"left-btns-people\"");
行 507:
行 508: WriteLiteral(" id=\"ShouChangRenQi\"");
行 509:
行 510: WriteLiteral(">");
行 511:
行 512:
行 513: #line 115 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 514: Write(ViewBag.ShouChangRenQi);
行 515:
行 516:
行 517: #line default
行 518: #line hidden
行 519: WriteLiteral("</span>人气</div>\r\n <div");
行 520:
行 521: WriteLiteral(" class=\"left-btns-item\"");
行 522:
行 523: WriteLiteral("><span");
行 524:
行 525: WriteLiteral(" class=\"left-btns-collect\"");
行 526:
行 527: WriteLiteral(" id=\"vshouchang\"");
行 528:
行 529: WriteLiteral(" onclick=\"shouchang();\"");
行 530:
行 531: WriteLiteral("></span>收藏</div>\r\n <div");
行 532:
行 533: WriteLiteral(" class=\"left-btns-item\"");
行 534:
行 535: WriteLiteral(">\r\n <span");
行 536:
行 537: WriteLiteral(" class=\"left-btns-share\"");
行 538:
行 539: WriteLiteral("></span>分享\r\n <div");
行 540:
行 541: WriteLiteral(" class=\"bshare-customs\"");
行 542:
行 543: WriteLiteral(">\r\n <a");
行 544:
行 545: WriteLiteral(" title=\"微信\"");
行 546:
行 547: WriteLiteral(" class=\"bshare-weixin\"");
行 548:
行 549: WriteLiteral("></a>\r\n <a");
行 550:
行 551: WriteLiteral(" title=\"分享到QQ空间\"");
行 552:
行 553: WriteLiteral(" class=\"bshare-qzone\"");
行 554:
行 555: WriteLiteral("></a>\r\n <a");
行 556:
行 557: WriteLiteral(" title=\"分享到新浪微博\"");
行 558:
行 559: WriteLiteral(" class=\"bshare-sinaminiblog\"");
行 560:
行 561: WriteLiteral("></a>\r\n <a");
行 562:
行 563: WriteLiteral(" title=\"分享到人人网\"");
行 564:
行 565: WriteLiteral(" class=\"bshare-renren\"");
行 566:
行 567: WriteLiteral("></a>\r\n <a");
行 568:
行 569: WriteLiteral(" title=\"分享到腾讯微博\"");
行 570:
行 571: WriteLiteral(" class=\"bshare-qqmb\"");
行 572:
行 573: WriteLiteral("></a>\r\n <!--<a title=\"更多平台\" class=\"bshare-more bshare-" +
行 574: "more-icon more-style-addthis\"></a>-->\r\n </div>\r\n " +
行 575: " <script");
行 576:
行 577: WriteLiteral(" type=\"text/javascript\"");
行 578:
行 579: WriteLiteral(" charset=\"utf-8\"");
行 580:
行 581: WriteLiteral(" src=\"/Content//js/buttonLite.js\"");
行 582:
行 583: WriteLiteral("></script>\r\n <script");
行 584:
行 585: WriteLiteral(" type=\"text/javascript\"");
行 586:
行 587: WriteLiteral(" charset=\"utf-8\"");
行 588:
行 589: WriteLiteral(" src=\"/Content//js/bshareC0.js\"");
行 590:
行 591: WriteLiteral("></script>\r\n <script");
行 592:
行 593: WriteLiteral(" type=\"text/javascript\"");
行 594:
行 595: WriteLiteral(" charset=\"utf-8\"");
行 596:
行 597: WriteLiteral(" src=\"/Content//js/bshareS1.js\"");
行 598:
行 599: WriteLiteral("></script>\r\n <script");
行 600:
行 601: WriteLiteral(" type=\"text/javascript\"");
行 602:
行 603: WriteLiteral(" charset=\"utf-8\"");
行 604:
行 605: WriteLiteral(" src=\"/Content//js/bshareS887.js\"");
行 606:
行 607: WriteLiteral("></script>\r\n </div>\r\n </div>\r\n </div" +
行 608: ">\r\n <ul");
行 609:
行 610: WriteLiteral(" class=\"con_jiaqian mt20 choose_type\"");
行 611:
行 612: WriteLiteral(" id=\"styleUl\"");
行 613:
行 614: WriteLiteral(">\r\n");
行 615:
行 616:
行 617: #line 135 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 618:
行 619:
行 620: #line default
行 621: #line hidden
行 622:
行 623: #line 135 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 624: foreach (var para in Model.QuDaoProduct.ParaList)
行 625: {
行 626:
行 627:
行 628: #line default
行 629: #line hidden
行 630: WriteLiteral(" <li");
行 631:
行 632: WriteLiteral(" class=\"parali\"");
行 633:
行 634: WriteAttribute("id", Tuple.Create(" id=\"", 7390), Tuple.Create("\"", 7415)
行 635: , Tuple.Create(Tuple.Create("", 7395), Tuple.Create("p_", 7395), true)
行 636:
行 637: #line 137 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 638: , Tuple.Create(Tuple.Create("", 7397), Tuple.Create<System.Object, System.Int32>(para.ParentParaId
行 639:
行 640: #line default
行 641: #line hidden
行 642: , 7397), false)
行 643: );
行 644:
行 645: WriteAttribute("parentid", Tuple.Create(" parentid=\"", 7416), Tuple.Create("\"", 7445)
行 646:
行 647: #line 137 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 648: , Tuple.Create(Tuple.Create("", 7427), Tuple.Create<System.Object, System.Int32>(para.ParentParaId
行 649:
行 650: #line default
行 651: #line hidden
行 652: , 7427), false)
行 653: );
行 654:
行 655: WriteLiteral(">\r\n <span");
行 656:
行 657: WriteLiteral(" class=\"con_jiaqian_t hl50\"");
行 658:
行 659: WriteLiteral(">");
行 660:
行 661:
行 662: #line 138 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 663: Write(para.ParentParaValue);
行 664:
行 665:
行 666: #line default
行 667: #line hidden
行 668: WriteLiteral("</span>\r\n <div");
行 669:
行 670: WriteLiteral(" class=\"size_div\"");
行 671:
行 672: WriteLiteral(">\r\n");
行 673:
行 674:
行 675: #line 140 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 676:
行 677:
行 678: #line default
行 679: #line hidden
行 680:
行 681: #line 140 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 682: for (int i = 0; i < para.ParaZModelList.Count; i++)
行 683: {
行 684:
行 685:
行 686: #line default
行 687: #line hidden
行 688: WriteLiteral(" <a");
行 689:
行 690: WriteAttribute("class", Tuple.Create(" class=\"", 7731), Tuple.Create("\"", 7761)
行 691:
行 692: #line 142 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 693: , Tuple.Create(Tuple.Create("", 7739), Tuple.Create<System.Object, System.Int32>(i==-1 ? "select":""
行 694:
行 695: #line default
行 696: #line hidden
行 697: , 7739), false)
行 698: );
行 699:
行 700: WriteAttribute("id", Tuple.Create(" id=\"", 7762), Tuple.Create("\"", 7843)
行 701:
行 702: #line 142 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 703: , Tuple.Create(Tuple.Create("", 7767), Tuple.Create<System.Object, System.Int32>(string.Format("p_{0}_{1}",para.ParentParaId, para.ParaZModelList[i].ParaId)
行 704:
行 705: #line default
行 706: #line hidden
行 707: , 7767), false)
行 708: );
行 709:
行 710: WriteAttribute("nowid", Tuple.Create("\r\n nowid=\"", 7844), Tuple.Create("\"", 7962)
行 711:
行 712: #line 143 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 713: , Tuple.Create(Tuple.Create("", 7888), Tuple.Create<System.Object, System.Int32>(string.Format("{0}_{1}",para.ParentParaId, para.ParaZModelList[i].ParaId)
行 714:
行 715: #line default
行 716: #line hidden
行 717: , 7888), false)
行 718: );
行 719:
行 720: WriteLiteral(" href=\"javascript:void(0)\"");
行 721:
行 722: WriteAttribute("onclick", Tuple.Create("\r\n onclick=\"", 7989), Tuple.Create("\"", 8162)
行 723: , Tuple.Create(Tuple.Create("", 8035), Tuple.Create("ChangeP(", 8035), true)
行 724:
行 725: #line 144 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 726: , Tuple.Create(Tuple.Create("", 8043), Tuple.Create<System.Object, System.Int32>(para.ParentParaId
行 727:
行 728: #line default
行 729: #line hidden
行 730: , 8043), false)
行 731: , Tuple.Create(Tuple.Create("", 8061), Tuple.Create(",", 8061), true)
行 732:
行 733: #line 144 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 734: , Tuple.Create(Tuple.Create("", 8062), Tuple.Create<System.Object, System.Int32>(para.ParaZModelList[i].ParaId
行 735:
行 736: #line default
行 737: #line hidden
行 738: , 8062), false)
行 739: , Tuple.Create(Tuple.Create("", 8092), Tuple.Create(",", 8092), true)
行 740:
行 741: #line 144 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 742: , Tuple.Create(Tuple.Create("", 8093), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PFProductId
行 743:
行 744: #line default
行 745: #line hidden
行 746: , 8093), false)
行 747: , Tuple.Create(Tuple.Create("", 8124), Tuple.Create(",", 8124), true)
行 748:
行 749: #line 144 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 750: , Tuple.Create(Tuple.Create("", 8125), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PFCloudProductId
行 751:
行 752: #line default
行 753: #line hidden
行 754: , 8125), false)
行 755: , Tuple.Create(Tuple.Create("", 8161), Tuple.Create(")", 8161), true)
行 756: );
行 757:
行 758: WriteLiteral(">");
行 759:
行 760:
行 761: #line 144 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 762: Write(para.ParaZModelList[i].ParaValue);
行 763:
行 764:
行 765: #line default
行 766: #line hidden
行 767: WriteLiteral("<i></i></a>\r\n");
行 768:
行 769:
行 770: #line 145 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 771: }
行 772:
行 773:
行 774: #line default
行 775: #line hidden
行 776: WriteLiteral(" </div>\r\n </li>\r\n");
行 777:
行 778:
行 779: #line 148 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 780: }
行 781:
行 782:
行 783: #line default
行 784: #line hidden
行 785: WriteLiteral(" <li>\r\n\r\n");
行 786:
行 787:
行 788: #line 151 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 789:
行 790:
行 791: #line default
行 792: #line hidden
行 793:
行 794: #line 151 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 795: for (int i = 0; i < Model.QuDaoProduct.ProductStockList.Count; i++)
行 796: {
行 797: if (Model.QuDaoProduct.ProductStockList[i].ProductStyle_Id == Model.QuDaoProduct.FirstProuctStyleId)
行 798: {
行 799:
行 800:
行 801: #line default
行 802: #line hidden
行 803: WriteLiteral(" <span");
行 804:
行 805: WriteLiteral(" class=\"con_jiaqian_t hl50\"");
行 806:
行 807: WriteLiteral(">数量</span>\r\n");
行 808:
行 809: WriteLiteral(" <div");
行 810:
行 811: WriteLiteral(" class=\"choose-amount \"");
行 812:
行 813: WriteLiteral(">\r\n <input");
行 814:
行 815: WriteLiteral(" class=\"buy-num\"");
行 816:
行 817: WriteLiteral(" value=\"1\"");
行 818:
行 819: WriteLiteral(" id=\"Count\"");
行 820:
行 821: WriteLiteral(" onkeyup=\"CheckCount()\"");
行 822:
行 823: WriteLiteral(" onafterpaste=\"CheckCount()\"");
行 824:
行 825: WriteLiteral(" ");
行 826:
行 827:
行 828: #line 157 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 829: Write(Model.QuDaoProduct.ProductStockList[i].UsableNum > 0 ? "" : "readonly");
行 830:
行 831:
行 832: #line default
行 833: #line hidden
行 834: WriteLiteral(">\r\n <a");
行 835:
行 836: WriteLiteral(" class=\"btn-reduce disabled\"");
行 837:
行 838: WriteLiteral(" href=\"javascript:MinusCount();\"");
行 839:
行 840: WriteLiteral(" id=\"Minus\"");
行 841:
行 842: WriteLiteral(">-</a>\r\n <a");
行 843:
行 844: WriteAttribute("class", Tuple.Create(" class=\"", 9089), Tuple.Create("\"", 9174)
行 845: , Tuple.Create(Tuple.Create("", 9097), Tuple.Create("btn-add", 9097), true)
行 846:
行 847: #line 159 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 848: , Tuple.Create(Tuple.Create(" ", 9104), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.ProductStockList[i].UsableNum>0 ? "":"disabled"
行 849:
行 850: #line default
行 851: #line hidden
行 852: , 9105), false)
行 853: );
行 854:
行 855: WriteLiteral(" href=\"javascript:AddCount();\"");
行 856:
行 857: WriteLiteral(" id=\"Add\"");
行 858:
行 859: WriteLiteral(">+</a>\r\n </div>\r\n");
行 860:
行 861: WriteLiteral(" <span");
行 862:
行 863: WriteLiteral(" class=\"stock\"");
行 864:
行 865: WriteLiteral(" id=\"StockHtml\"");
行 866:
行 867: WriteLiteral("><span");
行 868:
行 869: WriteLiteral(" style=\"color:red\"");
行 870:
行 871: WriteLiteral(">");
行 872:
行 873:
行 874: #line 161 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 875: Write(Model.QuDaoProduct.ProductStockList[i].ShowStockText);
行 876:
行 877:
行 878: #line default
行 879: #line hidden
行 880: WriteLiteral("</span></span>\r\n");
行 881:
行 882:
行 883: #line 162 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 884:
行 885:
行 886: #line default
行 887: #line hidden
行 888:
行 889: #line 169 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 890:
行 891:
行 892:
行 893: #line default
行 894: #line hidden
行 895: WriteLiteral(" <input");
行 896:
行 897: WriteLiteral(" id=\"StockValue\"");
行 898:
行 899: WriteLiteral(" type=\"hidden\"");
行 900:
行 901: WriteAttribute("value", Tuple.Create(" value=\"", 10039), Tuple.Create("\"", 10096)
行 902:
行 903: #line 170 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 904: , Tuple.Create(Tuple.Create("", 10047), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.ProductStockList[i].UsableNum
行 905:
行 906: #line default
行 907: #line hidden
行 908: , 10047), false)
行 909: );
行 910:
行 911: WriteLiteral(" />\r\n");
行 912:
行 913:
行 914: #line 171 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 915: }
行 916: }
行 917:
行 918:
行 919: #line default
行 920: #line hidden
行 921: WriteLiteral(" </li>\r\n </ul>\r\n");
行 922:
行 923:
行 924: #line 175 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 925:
行 926:
行 927: #line default
行 928: #line hidden
行 929:
行 930: #line 175 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 931: if (Model.QuDaoProduct.SaleSource == 2)
行 932: {
行 933:
行 934:
行 935: #line default
行 936: #line hidden
行 937: WriteLiteral(" <div");
行 938:
行 939: WriteAttribute("class", Tuple.Create(" class=\"", 10283), Tuple.Create("\"", 10353)
行 940: , Tuple.Create(Tuple.Create("", 10291), Tuple.Create("con_button", 10291), true)
行 941:
行 942: #line 177 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 943: , Tuple.Create(Tuple.Create(" ", 10301), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.IsOnSale == 0 ? "soldout": ""
行 944:
行 945: #line default
行 946: #line hidden
行 947: , 10302), false)
行 948: );
行 949:
行 950: WriteLiteral(">\r\n <!--加入购物车 以下架添加soldout class-->\r\n <a");
行 951:
行 952: WriteLiteral(" href=\"javascript:;\"");
行 953:
行 954: WriteLiteral(" class=\"buttons1\"");
行 955:
行 956: WriteLiteral(" id=\"NowBuy\"");
行 957:
行 958: WriteLiteral(">");
行 959:
行 960:
行 961: #line 179 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 962: Write(Model.QuDaoProduct.IsOnSale == 0 ? "已下架" : "立即购买");
行 963:
行 964:
行 965: #line default
行 966: #line hidden
行 967: WriteLiteral("</a>\r\n");
行 968:
行 969:
行 970: #line 180 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 971:
行 972:
行 973: #line default
行 974: #line hidden
行 975:
行 976: #line 180 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 977: if (Model.QuDaoProduct.IsOnSale != 0)
行 978: {
行 979:
行 980:
行 981: #line default
行 982: #line hidden
行 983: WriteLiteral(" <a");
行 984:
行 985: WriteLiteral(" href=\"javascript:;\"");
行 986:
行 987: WriteLiteral(" class=\"buttons2 mr12\"");
行 988:
行 989: WriteLiteral(" id=\"Addtocart\"");
行 990:
行 991: WriteLiteral(">\r\n <img");
行 992:
行 993: WriteLiteral(" class=\"shopBtnIcon\"");
行 994:
行 995: WriteLiteral(" src=\"/Content/img/shopcars.png\"");
行 996:
行 997: WriteLiteral(" alt=\"\"");
行 998:
行 999: WriteLiteral(">加入购物车\r\n </a>\r\n");
行 1000:
行 1001: WriteLiteral(" <a");
行 1002:
行 1003: WriteLiteral(" class=\"buttons2 \"");
行 1004:
行 1005: WriteLiteral(" href=\"javascript:;\"");
行 1006:
行 1007: WriteLiteral(">\r\n <img");
行 1008:
行 1009: WriteLiteral(" class=\"shopBtnIcon\"");
行 1010:
行 1011: WriteLiteral(" src=\"/Content/img/iphoneWeicode.png\"");
行 1012:
行 1013: WriteLiteral(" alt=\"\"");
行 1014:
行 1015: WriteLiteral(">手机购买\r\n <img");
行 1016:
行 1017: WriteLiteral(" class=\"w-wecode\"");
行 1018:
行 1019: WriteAttribute("src", Tuple.Create(" src=\"", 11057), Tuple.Create("\"", 11199)
行 1020: , Tuple.Create(Tuple.Create("", 11063), Tuple.Create("/qrcode/?url=", 11063), true)
行 1021:
行 1022: #line 187 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1023: , Tuple.Create(Tuple.Create("", 11076), Tuple.Create<System.Object, System.Int32>(Request.Url.Scheme+"://"+Request.Url.Authority
行 1024:
行 1025: #line default
行 1026: #line hidden
行 1027: , 11076), false)
行 1028: , Tuple.Create(Tuple.Create("", 11125), Tuple.Create("/wap/Product/WapInfo?PFCloudProductId=", 11125), true)
行 1029:
行 1030: #line 187 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1031: , Tuple.Create(Tuple.Create("", 11163), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PFCloudProductId
行 1032:
行 1033: #line default
行 1034: #line hidden
行 1035: , 11163), false)
行 1036: );
行 1037:
行 1038: WriteLiteral(" alt=\"\"");
行 1039:
行 1040: WriteLiteral(">\r\n </a>\r\n");
行 1041:
行 1042:
行 1043: #line 189 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1044: }
行 1045:
行 1046:
行 1047: #line default
行 1048: #line hidden
行 1049: WriteLiteral(" </div>\r\n");
行 1050:
行 1051:
行 1052: #line 191 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1053:
行 1054: }
行 1055: else
行 1056: {
行 1057:
行 1058:
行 1059: #line default
行 1060: #line hidden
行 1061: WriteLiteral(" <div");
行 1062:
行 1063: WriteLiteral(" class=\"sellStatus\"");
行 1064:
行 1065: WriteLiteral(">\r\n <svg");
行 1066:
行 1067: WriteLiteral(" class=\"sellicon\"");
行 1068:
行 1069: WriteLiteral(" style=\"width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflo" +
行 1070: "w: hidden;\"");
行 1071:
行 1072: WriteLiteral(" viewBox=\"0 0 1024 1024\"");
行 1073:
行 1074: WriteLiteral(" version=\"1.1\"");
行 1075:
行 1076: WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
行 1077:
行 1078: WriteLiteral(" p-id=\"1832\"");
行 1079:
行 1080: WriteLiteral("><path");
行 1081:
行 1082: WriteLiteral(" d=\"M512 986.624a478.72 478.72 0 1 1 478.72-478.72A479.232 479.232 0 0 1 512 986." +
行 1083: "624z m0-896a417.28 417.28 0 1 0 417.28 417.28A417.792 417.792 0 0 0 512 90.624z\"" +
行 1084: "");
行 1085:
行 1086: WriteLiteral(" fill=\"\"");
行 1087:
行 1088: WriteLiteral(" p-id=\"1833\"");
行 1089:
行 1090: WriteLiteral("></path><path");
行 1091:
行 1092: WriteLiteral(" d=\"M512 739.328m-38.4 0a38.4 38.4 0 1 0 76.8 0 38.4 38.4 0 1 0-76.8 0Z\"");
行 1093:
行 1094: WriteLiteral(" fill=\"\"");
行 1095:
行 1096: WriteLiteral(" p-id=\"1834\"");
行 1097:
行 1098: WriteLiteral("></path><path");
行 1099:
行 1100: WriteLiteral(" d=\"M512 655.872a30.72 30.72 0 0 1-30.72-30.72V252.928a30.72 30.72 0 0 1 61.44 0v" +
行 1101: "372.224a30.72 30.72 0 0 1-30.72 30.72z\"");
行 1102:
行 1103: WriteLiteral(" fill=\"\"");
行 1104:
行 1105: WriteLiteral(" p-id=\"1835\"");
行 1106:
行 1107: WriteLiteral("></path></svg>\r\n <span>该商品已下架</span>\r\n </div>\r\n" +
行 1108: "");
行 1109:
行 1110:
行 1111: #line 199 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1112: }
行 1113:
行 1114:
行 1115: #line default
行 1116: #line hidden
行 1117: WriteLiteral("\r\n <div");
行 1118:
行 1119: WriteLiteral(" class=\"explain\"");
行 1120:
行 1121: WriteLiteral(">\r\n <span");
行 1122:
行 1123: WriteLiteral(" class=\"explain_l\"");
行 1124:
行 1125: WriteLiteral(">提示</span>\r\n <span");
行 1126:
行 1127: WriteLiteral(" class=\"explain_r\"");
行 1128:
行 1129: WriteLiteral("><img");
行 1130:
行 1131: WriteLiteral(" class=\"explain_icon\"");
行 1132:
行 1133: WriteLiteral(" src=\"/Content/img/warn.png\"");
行 1134:
行 1135: WriteLiteral(" alt=\"\"");
行 1136:
行 1137: WriteLiteral(">建议线上支付,验收后付款</span>\r\n </div>\r\n </div>\r\n <!-- 店铺-->\r\n " +
行 1138: " <div");
行 1139:
行 1140: WriteLiteral(" class=\"right_shop\"");
行 1141:
行 1142: WriteLiteral(">\r\n <div");
行 1143:
行 1144: WriteLiteral(" class=\"s_line s_enters\"");
行 1145:
行 1146: WriteLiteral(">\r\n <h2");
行 1147:
行 1148: WriteLiteral(" class=\"shop_ts\"");
行 1149:
行 1150: WriteLiteral(">");
行 1151:
行 1152:
行 1153: #line 209 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1154: Write(Model.QuDaoProduct.Shop.ShopName);
行 1155:
行 1156:
行 1157: #line default
行 1158: #line hidden
行 1159: WriteLiteral("</h2>\r\n <div");
行 1160:
行 1161: WriteLiteral(" class=\"certIcon\"");
行 1162:
行 1163: WriteLiteral(">\r\n");
行 1164:
行 1165:
行 1166: #line 211 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1167:
行 1168:
行 1169: #line default
行 1170: #line hidden
行 1171:
行 1172: #line 211 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1173: if (Model.QuDaoProduct.IsRZ > 0)
行 1174: {
行 1175:
行 1176:
行 1177: #line default
行 1178: #line hidden
行 1179: WriteLiteral(" <i");
行 1180:
行 1181: WriteLiteral(" class=\"c_icon1\"");
行 1182:
行 1183: WriteLiteral("></i>\r\n");
行 1184:
行 1185:
行 1186: #line 214 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1187: }
行 1188:
行 1189:
行 1190: #line default
行 1191: #line hidden
行 1192: WriteLiteral(" ");
行 1193:
行 1194:
行 1195: #line 215 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1196: if (Model.QuDaoProduct.IsDL > 0)
行 1197: {
行 1198:
行 1199:
行 1200: #line default
行 1201: #line hidden
行 1202: WriteLiteral(" <i");
行 1203:
行 1204: WriteLiteral(" class=\"c_icon2\"");
行 1205:
行 1206: WriteLiteral("></i>\r\n");
行 1207:
行 1208:
行 1209: #line 218 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1210: }
行 1211:
行 1212:
行 1213: #line default
行 1214: #line hidden
行 1215: WriteLiteral(" </div>\r\n </div>\r\n <div");
行 1216:
行 1217: WriteLiteral(" class=\"s_line s_img\"");
行 1218:
行 1219: WriteLiteral(">\r\n <img");
行 1220:
行 1221: WriteAttribute("src", Tuple.Create(" src=\"", 13002), Tuple.Create("\"", 13106)
行 1222:
行 1223: #line 222 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1224: , Tuple.Create(Tuple.Create("", 13008), Tuple.Create<System.Object, System.Int32>(string.Format("/qrcode/?url={0}/Wap/Shop/Index/{1}", SysPiFaUri, @Model.QuDaoProduct.Shop.ShopId)
行 1225:
行 1226: #line default
行 1227: #line hidden
行 1228: , 13008), false)
行 1229: );
行 1230:
行 1231: WriteLiteral(" alt=\"\"");
行 1232:
行 1233: WriteLiteral(">\r\n <p");
行 1234:
行 1235: WriteLiteral(" class=\"s_line_p1\"");
行 1236:
行 1237: WriteLiteral(">登录手机店铺</p>\r\n <p");
行 1238:
行 1239: WriteLiteral(" class=\"s_line_p2\"");
行 1240:
行 1241: WriteLiteral(">");
行 1242:
行 1243:
行 1244: #line 224 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1245: Write(Model.QuDaoProduct.Shop.Address);
行 1246:
行 1247:
行 1248: #line default
行 1249: #line hidden
行 1250: WriteLiteral("</p>\r\n </div>\r\n <div");
行 1251:
行 1252: WriteLiteral(" class=\"s_connect2 s_line\"");
行 1253:
行 1254: WriteLiteral(">\r\n <div");
行 1255:
行 1256: WriteLiteral(" id=\"CustomerIcon\"");
行 1257:
行 1258: WriteLiteral(" class=\"s_connect2_item mr5\"");
行 1259:
行 1260: WriteLiteral(" style=\"cursor: pointer\"");
行 1261:
行 1262: WriteLiteral(">\r\n <!--用on-->\r\n <i");
行 1263:
行 1264: WriteLiteral(" class=\"CustomerIcon on\"");
行 1265:
行 1266: WriteLiteral("></i>\r\n <p>电话</p>\r\n </div>\r\n <di" +
行 1267: "v");
行 1268:
行 1269: WriteLiteral(" class=\"s_connect2_item mr5\"");
行 1270:
行 1271: WriteLiteral(" style=\"cursor: pointer\"");
行 1272:
行 1273: WriteLiteral(">\r\n <a");
行 1274:
行 1275: WriteAttribute("href", Tuple.Create(" href=\"", 13636), Tuple.Create("\"", 13707)
行 1276:
行 1277: #line 233 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1278: , Tuple.Create(Tuple.Create("", 13643), Tuple.Create<System.Object, System.Int32>(string.Format("/Shop/Index/{0}",Model.QuDaoProduct.Shop.ShopId)
行 1279:
行 1280: #line default
行 1281: #line hidden
行 1282: , 13643), false)
行 1283: );
行 1284:
行 1285: WriteLiteral(">\r\n <i");
行 1286:
行 1287: WriteLiteral(" class=\"intoIcon\"");
行 1288:
行 1289: WriteLiteral("></i>\r\n <p>进店</p>\r\n </a>\r\n " +
行 1290: " </div>\r\n <div");
行 1291:
行 1292: WriteLiteral(" class=\"s_connect2_item\"");
行 1293:
行 1294: WriteLiteral(" id=\"shopshouchang\"");
行 1295:
行 1296: WriteLiteral(" style=\"cursor: pointer\"");
行 1297:
行 1298: WriteLiteral(" onclick=\"shouchangShop()\"");
行 1299:
行 1300: WriteLiteral(">\r\n <i");
行 1301:
行 1302: WriteLiteral(" class=\"FocusIcon\"");
行 1303:
行 1304: WriteLiteral(" id=\"vshouchangShop\"");
行 1305:
行 1306: WriteLiteral(" name=\"vshouchangShop\"");
行 1307:
行 1308: WriteLiteral("></i>\r\n <p>关注</p>\r\n </div>\r\n </div>\r" +
行 1309: "\n <div");
行 1310:
行 1311: WriteLiteral(" class=\"new_list_box s_line mt10\"");
行 1312:
行 1313: WriteLiteral(">\r\n <ul>\r\n");
行 1314:
行 1315:
行 1316: #line 245 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1317:
行 1318:
行 1319: #line default
行 1320: #line hidden
行 1321:
行 1322: #line 245 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1323: foreach (var news in AnnList)
行 1324: {
行 1325: if (Model.QuDaoProduct.Shop.ShopId == news.CreateUserId)
行 1326: {
行 1327:
行 1328:
行 1329: #line default
行 1330: #line hidden
行 1331: WriteLiteral(" <li");
行 1332:
行 1333: WriteLiteral(" style=\"text-align:left\"");
行 1334:
行 1335: WriteLiteral(">\r\n <a");
行 1336:
行 1337: WriteAttribute("href", Tuple.Create(" href=\"", 14476), Tuple.Create("\"", 14552)
行 1338: , Tuple.Create(Tuple.Create("", 14483), Tuple.Create("/Shop/NewsInfo?ShopId=", 14483), true)
行 1339:
行 1340: #line 250 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1341: , Tuple.Create(Tuple.Create("", 14505), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.Shop.ShopId
行 1342:
行 1343: #line default
行 1344: #line hidden
行 1345: , 14505), false)
行 1346: , Tuple.Create(Tuple.Create("", 14536), Tuple.Create("&NewsId=", 14536), true)
行 1347:
行 1348: #line 250 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1349: , Tuple.Create(Tuple.Create("", 14544), Tuple.Create<System.Object, System.Int32>(news.Id
行 1350:
行 1351: #line default
行 1352: #line hidden
行 1353: , 14544), false)
行 1354: );
行 1355:
行 1356: WriteAttribute("title", Tuple.Create(" title=\"", 14553), Tuple.Create("\"", 14572)
行 1357:
行 1358: #line 250 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1359: , Tuple.Create(Tuple.Create("", 14561), Tuple.Create<System.Object, System.Int32>(news.Title
行 1360:
行 1361: #line default
行 1362: #line hidden
行 1363: , 14561), false)
行 1364: );
行 1365:
行 1366: WriteLiteral(">\r\n <i");
行 1367:
行 1368: WriteLiteral(" class=\"list_dian\"");
行 1369:
行 1370: WriteLiteral("></i>\r\n");
行 1371:
行 1372: WriteLiteral(" ");
行 1373:
行 1374:
行 1375: #line 252 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1376: Write(news.Title);
行 1377:
行 1378:
行 1379: #line default
行 1380: #line hidden
行 1381: WriteLiteral("\r\n </a>\r\n </li>\r\n");
行 1382:
行 1383:
行 1384: #line 255 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1385: }
行 1386: else
行 1387: {
行 1388:
行 1389:
行 1390: #line default
行 1391: #line hidden
行 1392: WriteLiteral(" <li");
行 1393:
行 1394: WriteLiteral(" style=\"text-align:left\"");
行 1395:
行 1396: WriteLiteral(">\r\n <a");
行 1397:
行 1398: WriteAttribute("href", Tuple.Create(" href=\"", 14937), Tuple.Create("\"", 14982)
行 1399:
行 1400: #line 259 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1401: , Tuple.Create(Tuple.Create("", 14944), Tuple.Create<System.Object, System.Int32>(ZXUri
行 1402:
行 1403: #line default
行 1404: #line hidden
行 1405: , 14944), false)
行 1406: , Tuple.Create(Tuple.Create("", 14950), Tuple.Create("/Announcement/Detail?Id=", 14950), true)
行 1407:
行 1408: #line 259 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1409: , Tuple.Create(Tuple.Create("", 14974), Tuple.Create<System.Object, System.Int32>(news.Id
行 1410:
行 1411: #line default
行 1412: #line hidden
行 1413: , 14974), false)
行 1414: );
行 1415:
行 1416: WriteAttribute("title", Tuple.Create(" title=\"", 14983), Tuple.Create("\"", 15002)
行 1417:
行 1418: #line 259 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1419: , Tuple.Create(Tuple.Create("", 14991), Tuple.Create<System.Object, System.Int32>(news.Title
行 1420:
行 1421: #line default
行 1422: #line hidden
行 1423: , 14991), false)
行 1424: );
行 1425:
行 1426: WriteLiteral(">\r\n <i");
行 1427:
行 1428: WriteLiteral(" class=\"list_dian\"");
行 1429:
行 1430: WriteLiteral("></i>\r\n");
行 1431:
行 1432: WriteLiteral(" ");
行 1433:
行 1434:
行 1435: #line 261 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1436: Write(news.Title);
行 1437:
行 1438:
行 1439: #line default
行 1440: #line hidden
行 1441: WriteLiteral("\r\n </a>\r\n </li>\r\n");
行 1442:
行 1443:
行 1444: #line 264 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1445: }
行 1446: }
行 1447:
行 1448:
行 1449: #line default
行 1450: #line hidden
行 1451: WriteLiteral(" </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<!" +
行 1452: "--商品介绍-->\r\n<div");
行 1453:
行 1454: WriteLiteral(" class=\"pr_introduce\"");
行 1455:
行 1456: WriteLiteral(">\r\n <div");
行 1457:
行 1458: WriteLiteral(" class=\"cen\"");
行 1459:
行 1460: WriteLiteral(">\r\n <!--左侧-->\r\n <div");
行 1461:
行 1462: WriteLiteral(" class=\"Prstore_left\"");
行 1463:
行 1464: WriteLiteral(">\r\n <div");
行 1465:
行 1466: WriteLiteral(" class=\"Latest_box\"");
行 1467:
行 1468: WriteLiteral(">\r\n <div");
行 1469:
行 1470: WriteLiteral(" class=\"Latest_title\"");
行 1471:
行 1472: WriteLiteral(">\r\n 相关商品\r\n </div>\r\n <ul>\r\n");
行 1473:
行 1474:
行 1475: #line 281 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1476:
行 1477:
行 1478: #line default
行 1479: #line hidden
行 1480:
行 1481: #line 281 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1482: if (Model.QuDaoProduct.XGProductList != null && Model.QuDaoProduct.XGProductList.Count > 0)
行 1483: {
行 1484: foreach (var p in Model.QuDaoProduct.XGProductList)
行 1485: {
行 1486:
行 1487:
行 1488: #line default
行 1489: #line hidden
行 1490: WriteLiteral(" <li>\r\n <a");
行 1491:
行 1492: WriteAttribute("href", Tuple.Create(" href=\"", 15902), Tuple.Create("\"", 15980)
行 1493:
行 1494: #line 286 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1495: , Tuple.Create(Tuple.Create("", 15909), Tuple.Create<System.Object, System.Int32>(string.Format("/Product/Info?PFCloudProductId={0}",p.PFCloudProductId)
行 1496:
行 1497: #line default
行 1498: #line hidden
行 1499: , 15909), false)
行 1500: );
行 1501:
行 1502: WriteLiteral(">\r\n <img");
行 1503:
行 1504: WriteLiteral(" class=\"Latest_img\"");
行 1505:
行 1506: WriteAttribute("src", Tuple.Create(" src=\"", 16043), Tuple.Create("\"", 16064)
行 1507:
行 1508: #line 287 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1509: , Tuple.Create(Tuple.Create("", 16049), Tuple.Create<System.Object, System.Int32>(p.ShowSmallImg
行 1510:
行 1511: #line default
行 1512: #line hidden
行 1513: , 16049), false)
行 1514: );
行 1515:
行 1516: WriteLiteral(" alt=\"\"");
行 1517:
行 1518: WriteLiteral(">\r\n </a>\r\n <div");
行 1519:
行 1520: WriteLiteral(" class=\"Latest_dec\"");
行 1521:
行 1522: WriteLiteral(">\r\n <h2>");
行 1523:
行 1524:
行 1525: #line 290 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1526: Write(p.Name);
行 1527:
行 1528:
行 1529: #line default
行 1530: #line hidden
行 1531: WriteLiteral("</h2>\r\n <strong");
行 1532:
行 1533: WriteLiteral(" class=\"La_price\"");
行 1534:
行 1535: WriteLiteral(">¥");
行 1536:
行 1537:
行 1538: #line 291 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1539: Write(String.Format("{0:N2}", p.LowQDPrice.ToString()));
行 1540:
行 1541:
行 1542: #line default
行 1543: #line hidden
行 1544: WriteLiteral("</strong>\r\n </div>\r\n </" +
行 1545: "li>\r\n");
行 1546:
行 1547:
行 1548: #line 294 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1549: }
行 1550: }
行 1551:
行 1552:
行 1553: #line default
行 1554: #line hidden
行 1555: WriteLiteral(" </ul>\r\n </div>\r\n </div>\r\n <!-- 商品切换tab--" +
行 1556: ">\r\n <div");
行 1557:
行 1558: WriteLiteral(" class=\"con_rights\"");
行 1559:
行 1560: WriteLiteral(">\r\n <div");
行 1561:
行 1562: WriteLiteral(" class=\"pr_tab\"");
行 1563:
行 1564: WriteLiteral(" id=\"detail\"");
行 1565:
行 1566: WriteLiteral(">\r\n <div");
行 1567:
行 1568: WriteLiteral(" class=\"tab-main large\"");
行 1569:
行 1570: WriteLiteral(">\r\n <ul>\r\n <li");
行 1571:
行 1572: WriteLiteral(" data-tab=\"trigger\"");
行 1573:
行 1574: WriteLiteral(" class=\"current\"");
行 1575:
行 1576: WriteLiteral(">商品介绍</li>\r\n <li");
行 1577:
行 1578: WriteLiteral(" data-tab=\"trigger\"");
行 1579:
行 1580: WriteLiteral(" class=\"\"");
行 1581:
行 1582: WriteLiteral(">规格参数</li>\r\n <li");
行 1583:
行 1584: WriteLiteral(" data-tab=\"trigger\"");
行 1585:
行 1586: WriteLiteral(">商品评价<span>(");
行 1587:
行 1588:
行 1589: #line 306 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1590: Write(Model.QuDaoProduct.PingJiaTotalCount);
行 1591:
行 1592:
行 1593: #line default
行 1594: #line hidden
行 1595: WriteLiteral(")</span></li>\r\n </ul>\r\n </div>\r\n " +
行 1596: " <div");
行 1597:
行 1598: WriteLiteral(" data-tab=\"item\"");
行 1599:
行 1600: WriteLiteral(" id=\"tab-con\"");
行 1601:
行 1602: WriteLiteral(">\r\n <!--产品介绍-->\r\n <div");
行 1603:
行 1604: WriteLiteral(" class=\"detail_item show pr_parameter\"");
行 1605:
行 1606: WriteLiteral(">\r\n <!---------------变更------------->\r\n " +
行 1607: " <!--未登录有口碑-->\r\n <div");
行 1608:
行 1609: WriteLiteral(" class=\"sku-wrapper\"");
行 1610:
行 1611: WriteLiteral(">\r\n <dl");
行 1612:
行 1613: WriteLiteral(" class=\"sku-item\"");
行 1614:
行 1615: WriteLiteral(">\r\n <dt>商品:</dt>\r\n " +
行 1616: "<dd>");
行 1617:
行 1618:
行 1619: #line 317 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1620: Write(Model.QuDaoProduct.Name);
行 1621:
行 1622:
行 1623: #line default
行 1624: #line hidden
行 1625: WriteLiteral("</dd>\r\n </dl>\r\n <dl");
行 1626:
行 1627: WriteLiteral(" class=\"sku-item sku-tree\"");
行 1628:
行 1629: WriteLiteral(">\r\n <dt>单位:</dt>\r\n " +
行 1630: "<dd>");
行 1631:
行 1632:
行 1633: #line 321 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1634: Write(Model.QuDaoProduct.Unit);
行 1635:
行 1636:
行 1637: #line default
行 1638: #line hidden
行 1639: WriteLiteral("</dd>\r\n </dl>\r\n <dl");
行 1640:
行 1641: WriteLiteral(" class=\"sku-item sku-tree\"");
行 1642:
行 1643: WriteLiteral(">\r\n <dt>品牌:</dt>\r\n " +
行 1644: "<dd> ");
行 1645:
行 1646:
行 1647: #line 325 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1648: Write(Model.QuDaoProduct.BrandName);
行 1649:
行 1650:
行 1651: #line default
行 1652: #line hidden
行 1653: WriteLiteral("</dd>\r\n </dl>\r\n <dl");
行 1654:
行 1655: WriteLiteral(" class=\"sku-item sku-tree\"");
行 1656:
行 1657: WriteLiteral(">\r\n <dt> 分类:</dt>\r\n " +
行 1658: " <dd>");
行 1659:
行 1660:
行 1661: #line 329 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1662: Write(Model.QuDaoProduct.ClassName);
行 1663:
行 1664:
行 1665: #line default
行 1666: #line hidden
行 1667: WriteLiteral("</dd>\r\n </dl>\r\n <dl");
行 1668:
行 1669: WriteLiteral(" class=\"sku-item\"");
行 1670:
行 1671: WriteLiteral(">\r\n <dt>口碑:</dt>\r\n " +
行 1672: "<dd>\r\n");
行 1673:
行 1674:
行 1675: #line 334 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1676:
行 1677:
行 1678: #line default
行 1679: #line hidden
行 1680:
行 1681: #line 334 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1682: if (Model.QuDaoProduct.KeyWordList.Count > 0)
行 1683: {
行 1684: for (int i = 0; i < Model.QuDaoProduct.KeyWordList.Count; i++)
行 1685: {
行 1686: if (i == Model.QuDaoProduct.KeyWordList.Count - 1)
行 1687: {
行 1688:
行 1689:
行 1690: #line default
行 1691: #line hidden
行 1692: WriteLiteral(" <span");
行 1693:
行 1694: WriteLiteral(" class=\"blueFont\"");
行 1695:
行 1696: WriteLiteral(">");
行 1697:
行 1698:
行 1699: #line 340 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1700: Write(Model.QuDaoProduct.KeyWordList[i]);
行 1701:
行 1702:
行 1703: #line default
行 1704: #line hidden
行 1705: WriteLiteral("</span>\r\n");
行 1706:
行 1707:
行 1708: #line 341 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1709: }
行 1710: else
行 1711: {
行 1712:
行 1713:
行 1714: #line default
行 1715: #line hidden
行 1716: WriteLiteral(" <span");
行 1717:
行 1718: WriteLiteral(" class=\"blueFont\"");
行 1719:
行 1720: WriteLiteral(">");
行 1721:
行 1722:
行 1723: #line 344 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1724: Write(Model.QuDaoProduct.KeyWordList[i]);
行 1725:
行 1726:
行 1727: #line default
行 1728: #line hidden
行 1729: WriteLiteral("</span>");
行 1730:
行 1731: WriteLiteral("<em>/</em>\r\n");
行 1732:
行 1733:
行 1734: #line 345 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1735: }
行 1736: }
行 1737: }
行 1738: else
行 1739: {
行 1740:
行 1741:
行 1742: #line default
行 1743: #line hidden
行 1744: WriteLiteral(" <span");
行 1745:
行 1746: WriteLiteral(" class=\"gayFont\"");
行 1747:
行 1748: WriteLiteral(">当前商品暂无口碑评价</span>\r\n");
行 1749:
行 1750:
行 1751: #line 351 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1752: }
行 1753:
行 1754:
行 1755: #line default
行 1756: #line hidden
行 1757: WriteLiteral(" </dd>\r\n </dl>\r\n " +
行 1758: " </div>\r\n");
行 1759:
行 1760:
行 1761: #line 355 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1762:
行 1763:
行 1764: #line default
行 1765: #line hidden
行 1766:
行 1767: #line 355 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1768: if (!string.IsNullOrEmpty(Model.QuDaoProduct.Details))
行 1769: {
行 1770:
行 1771:
行 1772: #line default
行 1773: #line hidden
行 1774: WriteLiteral(" <div");
行 1775:
行 1776: WriteLiteral(" class=\"sku-title\"");
行 1777:
行 1778: WriteLiteral(">---<strong>以下信息由<span>");
行 1779:
行 1780:
行 1781: #line 357 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1782: Write(Model.QuDaoProduct.BrandName);
行 1783:
行 1784:
行 1785: #line default
行 1786: #line hidden
行 1787: WriteLiteral("</span>经销商提供 </strong>---</div>\r\n");
行 1788:
行 1789: WriteLiteral(" <div");
行 1790:
行 1791: WriteLiteral(" class=\"bigimg\"");
行 1792:
行 1793: WriteLiteral(">\r\n");
行 1794:
行 1795: WriteLiteral(" ");
行 1796:
行 1797:
行 1798: #line 359 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1799: Write(Html.Raw(TM.Tools.Web.HtmlHelp.ReplaceImgArt(Model.QuDaoProduct.Details.Replace("<div", "<p").Replace("</div>", "</p>"), Model.QuDaoProduct.Name)));
行 1800:
行 1801:
行 1802: #line default
行 1803: #line hidden
行 1804: WriteLiteral("\r\n </div>\r\n");
行 1805:
行 1806:
行 1807: #line 361 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1808: }
行 1809:
行 1810:
行 1811: #line default
行 1812: #line hidden
行 1813: WriteLiteral(" </div>\r\n <!--规格与包装-->\r\n " +
行 1814: " <div");
行 1815:
行 1816: WriteLiteral(" class=\"detail_item\"");
行 1817:
行 1818: WriteLiteral(">\r\n <div");
行 1819:
行 1820: WriteLiteral(" class=\"Ptable\"");
行 1821:
行 1822: WriteLiteral(">\r\n");
行 1823:
行 1824:
行 1825: #line 366 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1826:
行 1827:
行 1828: #line default
行 1829: #line hidden
行 1830:
行 1831: #line 366 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1832: if (Model.QuDaoProduct.AttributeList != null && Model.QuDaoProduct.AttributeList.Count > 0)
行 1833: {
行 1834: foreach (var attr in Model.QuDaoProduct.AttributeList)
行 1835: {
行 1836:
行 1837:
行 1838: #line default
行 1839: #line hidden
行 1840: WriteLiteral(" <div");
行 1841:
行 1842: WriteLiteral(" class=\"Ptable-item\"");
行 1843:
行 1844: WriteLiteral(">\r\n <h3>");
行 1845:
行 1846:
行 1847: #line 371 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1848: Write(attr.Name);
行 1849:
行 1850:
行 1851: #line default
行 1852: #line hidden
行 1853: WriteLiteral("</h3>\r\n <dl>\r\n");
行 1854:
行 1855:
行 1856: #line 373 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1857:
行 1858:
行 1859: #line default
行 1860: #line hidden
行 1861:
行 1862: #line 373 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1863: foreach (var attrval in attr.ProductAttributeList)
行 1864: {
行 1865:
行 1866:
行 1867: #line default
行 1868: #line hidden
行 1869: WriteLiteral(" <dt>");
行 1870:
行 1871:
行 1872: #line 375 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1873: Write(attrval.Name);
行 1874:
行 1875:
行 1876: #line default
行 1877: #line hidden
行 1878: WriteLiteral("</dt>\r\n");
行 1879:
行 1880: WriteLiteral(" <dd>");
行 1881:
行 1882:
行 1883: #line 376 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1884: Write(attrval.AttributeVal);
行 1885:
行 1886:
行 1887: #line default
行 1888: #line hidden
行 1889: WriteLiteral("</dd>\r\n");
行 1890:
行 1891:
行 1892: #line 377 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1893: }
行 1894:
行 1895:
行 1896: #line default
行 1897: #line hidden
行 1898: WriteLiteral(" </dl>\r\n " +
行 1899: " </div>\r\n");
行 1900:
行 1901:
行 1902: #line 380 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1903: }
行 1904: }
行 1905:
行 1906:
行 1907: #line default
行 1908: #line hidden
行 1909: WriteLiteral(" </div>\r\n ");
行 1910:
行 1911: WriteLiteral("\r\n </div>\r\n <!--商品评价-->\r\n " +
行 1912: " <div");
行 1913:
行 1914: WriteLiteral(" class=\" detail_item quality-life\"");
行 1915:
行 1916: WriteLiteral(">\r\n <div");
行 1917:
行 1918: WriteLiteral(" class=\"pingjia_t_link\"");
行 1919:
行 1920: WriteLiteral(">\r\n <a");
行 1921:
行 1922: WriteLiteral(" href=\"javascript:changeType(\'all\')\"");
行 1923:
行 1924: WriteLiteral(" class=\"on\"");
行 1925:
行 1926: WriteLiteral(" id=\"setall\"");
行 1927:
行 1928: WriteLiteral(">全部评价 (");
行 1929:
行 1930:
行 1931: #line 391 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1932: Write(Model.QuDaoProduct.PingJiaTotalCount);
行 1933:
行 1934:
行 1935: #line default
行 1936: #line hidden
行 1937: WriteLiteral(")</a>\r\n <a");
行 1938:
行 1939: WriteLiteral(" href=\"javascript:changeType(\'Img\')\"");
行 1940:
行 1941: WriteLiteral(" id=\"setImg\"");
行 1942:
行 1943: WriteLiteral(">晒图 (");
行 1944:
行 1945:
行 1946: #line 392 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1947: Write(Model.QuDaoProduct.PJCount1);
行 1948:
行 1949:
行 1950: #line default
行 1951: #line hidden
行 1952: WriteLiteral(")</a>\r\n <a");
行 1953:
行 1954: WriteLiteral(" href=\"javascript:changeType(\'SecondPJ\')\"");
行 1955:
行 1956: WriteLiteral(" id=\"setSecondPJ\"");
行 1957:
行 1958: WriteLiteral(">追评 (");
行 1959:
行 1960:
行 1961: #line 393 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1962: Write(Model.QuDaoProduct.PJCount2);
行 1963:
行 1964:
行 1965: #line default
行 1966: #line hidden
行 1967: WriteLiteral(")</a>\r\n <a");
行 1968:
行 1969: WriteLiteral(" href=\"javascript:changeType(\'PJ3\')\"");
行 1970:
行 1971: WriteLiteral(" id=\"setPJ3\"");
行 1972:
行 1973: WriteLiteral(">好评 (");
行 1974:
行 1975:
行 1976: #line 394 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1977: Write(Model.QuDaoProduct.PJCount5);
行 1978:
行 1979:
行 1980: #line default
行 1981: #line hidden
行 1982: WriteLiteral(")</a>\r\n <a");
行 1983:
行 1984: WriteLiteral(" href=\"javascript:changeType(\'PJ2\')\"");
行 1985:
行 1986: WriteLiteral(" id=\"setPJ2\"");
行 1987:
行 1988: WriteLiteral(">中评 (");
行 1989:
行 1990:
行 1991: #line 395 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 1992: Write(Model.QuDaoProduct.PJCount4);
行 1993:
行 1994:
行 1995: #line default
行 1996: #line hidden
行 1997: WriteLiteral(")</a>\r\n <a");
行 1998:
行 1999: WriteLiteral(" href=\"javascript:changeType(\'PJ1\')\"");
行 2000:
行 2001: WriteLiteral(" id=\"setPJ1\"");
行 2002:
行 2003: WriteLiteral(">差评 (");
行 2004:
行 2005:
行 2006: #line 396 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2007: Write(Model.QuDaoProduct.PJCount3);
行 2008:
行 2009:
行 2010: #line default
行 2011: #line hidden
行 2012: WriteLiteral(")</a>\r\n <input");
行 2013:
行 2014: WriteLiteral(" id=\"PingJiaTotalCountValue\"");
行 2015:
行 2016: WriteLiteral(" type=\"hidden\"");
行 2017:
行 2018: WriteAttribute("value", Tuple.Create(" value=\"", 22396), Tuple.Create("\"", 22441)
行 2019:
行 2020: #line 397 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2021: , Tuple.Create(Tuple.Create("", 22404), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PingJiaTotalCount
行 2022:
行 2023: #line default
行 2024: #line hidden
行 2025: , 22404), false)
行 2026: );
行 2027:
行 2028: WriteLiteral(" />\r\n <input");
行 2029:
行 2030: WriteLiteral(" id=\"PJCount1Value\"");
行 2031:
行 2032: WriteLiteral(" type=\"hidden\"");
行 2033:
行 2034: WriteAttribute("value", Tuple.Create(" value=\"", 22514), Tuple.Create("\"", 22550)
行 2035:
行 2036: #line 398 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2037: , Tuple.Create(Tuple.Create("", 22522), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PJCount1
行 2038:
行 2039: #line default
行 2040: #line hidden
行 2041: , 22522), false)
行 2042: );
行 2043:
行 2044: WriteLiteral(" />\r\n <input");
行 2045:
行 2046: WriteLiteral(" id=\"PJCount2Value\"");
行 2047:
行 2048: WriteLiteral(" type=\"hidden\"");
行 2049:
行 2050: WriteAttribute("value", Tuple.Create(" value=\"", 22623), Tuple.Create("\"", 22659)
行 2051:
行 2052: #line 399 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2053: , Tuple.Create(Tuple.Create("", 22631), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PJCount2
行 2054:
行 2055: #line default
行 2056: #line hidden
行 2057: , 22631), false)
行 2058: );
行 2059:
行 2060: WriteLiteral(" />\r\n <input");
行 2061:
行 2062: WriteLiteral(" id=\"PJCount3Value\"");
行 2063:
行 2064: WriteLiteral(" type=\"hidden\"");
行 2065:
行 2066: WriteAttribute("value", Tuple.Create(" value=\"", 22732), Tuple.Create("\"", 22768)
行 2067:
行 2068: #line 400 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2069: , Tuple.Create(Tuple.Create("", 22740), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PJCount3
行 2070:
行 2071: #line default
行 2072: #line hidden
行 2073: , 22740), false)
行 2074: );
行 2075:
行 2076: WriteLiteral(" />\r\n <input");
行 2077:
行 2078: WriteLiteral(" id=\"PJCount4Value\"");
行 2079:
行 2080: WriteLiteral(" type=\"hidden\"");
行 2081:
行 2082: WriteAttribute("value", Tuple.Create(" value=\"", 22841), Tuple.Create("\"", 22877)
行 2083:
行 2084: #line 401 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2085: , Tuple.Create(Tuple.Create("", 22849), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PJCount4
行 2086:
行 2087: #line default
行 2088: #line hidden
行 2089: , 22849), false)
行 2090: );
行 2091:
行 2092: WriteLiteral(" />\r\n <input");
行 2093:
行 2094: WriteLiteral(" id=\"PJCount5Value\"");
行 2095:
行 2096: WriteLiteral(" type=\"hidden\"");
行 2097:
行 2098: WriteAttribute("value", Tuple.Create(" value=\"", 22950), Tuple.Create("\"", 22986)
行 2099:
行 2100: #line 402 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2101: , Tuple.Create(Tuple.Create("", 22958), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.PJCount5
行 2102:
行 2103: #line default
行 2104: #line hidden
行 2105: , 22958), false)
行 2106: );
行 2107:
行 2108: WriteLiteral(" />\r\n </div>\r\n <div");
行 2109:
行 2110: WriteLiteral(" class=\"pingjia_list\"");
行 2111:
行 2112: WriteLiteral(" id=\"PingJiaHtml\"");
行 2113:
行 2114: WriteLiteral(">\r\n </div>\r\n <ul");
行 2115:
行 2116: WriteLiteral(" class=\"pagination\"");
行 2117:
行 2118: WriteLiteral(" id=\"pagination1\"");
行 2119:
行 2120: WriteLiteral("></ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r" +
行 2121: "\n </div>\r\n </div>\r\n</div>\r\n<!--侧边优惠券-->\r\n<div");
行 2122:
行 2123: WriteLiteral(" id=\"toolbar-wrap\"");
行 2124:
行 2125: WriteLiteral(" class=\"toolbar-wrap\"");
行 2126:
行 2127: WriteLiteral(">\r\n <div");
行 2128:
行 2129: WriteLiteral(" class=\"toolbar\"");
行 2130:
行 2131: WriteLiteral(">\r\n <div");
行 2132:
行 2133: WriteLiteral(" id=\"toolbar\"");
行 2134:
行 2135: WriteLiteral(" class=\"toolbar-panels\"");
行 2136:
行 2137: WriteLiteral(">\r\n <div");
行 2138:
行 2139: WriteLiteral(" class=\"toolbar-panel\"");
行 2140:
行 2141: WriteLiteral(">\r\n <h3");
行 2142:
行 2143: WriteLiteral(" class=\"panel-header\"");
行 2144:
行 2145: WriteLiteral(">\r\n <span");
行 2146:
行 2147: WriteLiteral(" class=\"panel-title\"");
行 2148:
行 2149: WriteLiteral("><i");
行 2150:
行 2151: WriteLiteral(" class=\"couponsIcon\"");
行 2152:
行 2153: WriteLiteral("></i><em");
行 2154:
行 2155: WriteLiteral(" class=\"title\"");
行 2156:
行 2157: WriteLiteral(">优惠券</em></span>\r\n <span");
行 2158:
行 2159: WriteLiteral(" id=\"close-panel\"");
行 2160:
行 2161: WriteLiteral(" class=\"close-panel\"");
行 2162:
行 2163: WriteLiteral(">X</span>\r\n </h3>\r\n <div");
行 2164:
行 2165: WriteLiteral(" class=\"coupon-type \"");
行 2166:
行 2167: WriteLiteral(">以下的优惠券</div>\r\n <div");
行 2168:
行 2169: WriteLiteral(" class=\"coupon-list\"");
行 2170:
行 2171: WriteLiteral(">\r\n <div");
行 2172:
行 2173: WriteLiteral(" class=\"quan_list\"");
行 2174:
行 2175: WriteLiteral(">\r\n <ul");
行 2176:
行 2177: WriteLiteral(" id=\"YHQHtml_Right\"");
行 2178:
行 2179: WriteLiteral(">\r\n <!-- get=>已领取 now=>立即领取 none=>已抢光 -->\r\n " +
行 2180: " ");
行 2181:
行 2182: WriteLiteral("\r\n </ul>\r\n ");
行 2183:
行 2184: WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n " +
行 2185: " </div>\r\n </div>\r\n</div>\r\n<input");
行 2186:
行 2187: WriteLiteral(" type=\"hidden\"");
行 2188:
行 2189: WriteLiteral(" id=\"CloudProductStyleIdValue\"");
行 2190:
行 2191: WriteLiteral(" value=\"\"");
行 2192:
行 2193: WriteLiteral(" />\r\n<input");
行 2194:
行 2195: WriteLiteral(" type=\"hidden\"");
行 2196:
行 2197: WriteLiteral(" id=\"ProductStyleIdValue\"");
行 2198:
行 2199: WriteLiteral(" value=\"\"");
行 2200:
行 2201: WriteLiteral(" />\r\n<input");
行 2202:
行 2203: WriteLiteral(" type=\"hidden\"");
行 2204:
行 2205: WriteLiteral(" id=\"DataValue\"");
行 2206:
行 2207: WriteLiteral(" value=\"\"");
行 2208:
行 2209: WriteLiteral(" />\r\n<input");
行 2210:
行 2211: WriteLiteral(" type=\"hidden\"");
行 2212:
行 2213: WriteLiteral(" id=\"IsDecimalValue\"");
行 2214:
行 2215: WriteLiteral(" value=\"\"");
行 2216:
行 2217: WriteLiteral(" />\r\n<input");
行 2218:
行 2219: WriteLiteral(" type=\"hidden\"");
行 2220:
行 2221: WriteLiteral(" id=\"PingJiaTypeValue\"");
行 2222:
行 2223: WriteLiteral(" value=\"all\"");
行 2224:
行 2225: WriteLiteral(" />\r\n<input");
行 2226:
行 2227: WriteLiteral(" type=\"hidden\"");
行 2228:
行 2229: WriteLiteral(" id=\"ShopId\"");
行 2230:
行 2231: WriteAttribute("value", Tuple.Create(" value=\"", 30362), Tuple.Create("\"", 30401)
行 2232:
行 2233: #line 531 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2234: , Tuple.Create(Tuple.Create("", 30370), Tuple.Create<System.Object, System.Int32>(Model.QuDaoProduct.Shop.ShopId
行 2235:
行 2236: #line default
行 2237: #line hidden
行 2238: , 30370), false)
行 2239: );
行 2240:
行 2241: WriteLiteral(" />\r\n");
行 2242:
行 2243: DefineSection("scripts", () => {
行 2244:
行 2245: WriteLiteral("\r\n <script");
行 2246:
行 2247: WriteAttribute("src", Tuple.Create(" src=\"", 30437), Tuple.Create("\"", 30491)
行 2248: , Tuple.Create(Tuple.Create("", 30443), Tuple.Create<System.Object, System.Int32>(Href("~/Scripts/plugins/jquery-tmpl/jquery.tmpl.min.js")
行 2249: , 30443), false)
行 2250: );
行 2251:
行 2252: WriteLiteral("></script>\r\n <script");
行 2253:
行 2254: WriteAttribute("src", Tuple.Create(" src=\"", 30515), Tuple.Create("\"", 30556)
行 2255: , Tuple.Create(Tuple.Create("", 30521), Tuple.Create<System.Object, System.Int32>(Href("~/Scripts/cloud-zoom.1.0.2.js?v=1.1")
行 2256: , 30521), false)
行 2257: );
行 2258:
行 2259: WriteLiteral("></script>\r\n <script");
行 2260:
行 2261: WriteAttribute("src", Tuple.Create(" src=\"", 30580), Tuple.Create("\"", 30608)
行 2262: , Tuple.Create(Tuple.Create("", 30586), Tuple.Create<System.Object, System.Int32>(Href("~/Scripts/tab.js?v=1.1")
行 2263: , 30586), false)
行 2264: );
行 2265:
行 2266: WriteLiteral("></script>\r\n <!--分页js-->\r\n <script");
行 2267:
行 2268: WriteLiteral(" src=\"/Scripts/plugins/jqPaginator/jqPaginator.js\"");
行 2269:
行 2270: WriteLiteral("></script>\r\n <script");
行 2271:
行 2272: WriteLiteral(" src=\"/Scripts/plugins/jqPaginator/jqPager.ext.min.js\"");
行 2273:
行 2274: WriteLiteral("></script>\r\n <script>\r\n $(function () {\r\n /* 商品切换tab*/\r\n " +
行 2275: " $(\"#detail\").find(\"li[data-tab=\'trigger\']\").click(function () {\r\n " +
行 2276: " var index = $(this).index();\r\n if ($(this).hasClass(\"cur" +
行 2277: "rent\")) {\r\n $(this).siblings(\"li[data-tab=\'trigger\']\").remove" +
行 2278: "Class(\"current\")\r\n } else {\r\n $(this).addClass" +
行 2279: "(\"current\").siblings(\"li[data-tab=\'trigger\']\").removeClass(\"current\")\r\n " +
行 2280: " }\r\n $(\"#tab-con\").find(\".detail_item\").eq(index).show().si" +
行 2281: "blings().hide()\r\n });\r\n //滚动\r\n var firefox = na" +
行 2282: "vigator.userAgent.indexOf(\'Firefox\') != -1;\r\n function MouseWheel(e) " +
行 2283: "{ //阻止事件冒泡和默认行为的完整兼容性代码\r\n e = e || window.event;\r\n " +
行 2284: " if (e.stopPropagation) { //这是取消冒泡\r\n e.stopPropagation();\r\n " +
行 2285: " } else {\r\n e.cancelBubble = true;\r\n " +
行 2286: " };\r\n }\r\n var con = document.getElementById(\'toolbar\');" +
行 2287: "\r\n //要在content内部滚动,而页面不受影响,所以这里获取要滚动的对象\r\n\r\n //如果是ff就绑定DOMM" +
行 2288: "ouseScroll事件,其他浏览器就用onmousewheel事件触发\r\n firefox ? con.addEventListener" +
行 2289: "(\'DOMMouseScroll\', MouseWheel, false) : (con.onmousewheel = MouseWheel);\r\n " +
行 2290: " //\r\n //关闭\r\n $(\"#close-panel\").click(function () {\r\n " +
行 2291: " $(\"#toolbar-wrap\").removeClass(\'toolbar-open\')\r\n })\r\n " +
行 2292: " //优惠券\r\n $(\".coupon2\").click(function () {\r\n " +
行 2293: " $(\"#toolbar-wrap\").addClass(\'toolbar-open\')\r\n });\r\n\r\n //客" +
行 2294: "服\r\n $(\"#CustomerIcon\").click(function () {\r\n layer.ope" +
行 2295: "n(\r\n {\r\n type: 1,\r\n " +
行 2296: " title: false,\r\n skin: \'layui-layer-rim\', //加上边框\r\n " +
行 2297: " area: [\'400px\', \'240px\'], //宽高\r\n con" +
行 2298: "tent: \'<div style=\"line-height: 40px;padding-top:50px;font-size: 18px;font-weigh" +
行 2299: "t: bold\">");
行 2300:
行 2301:
行 2302: #line 584 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2303: Write(Model.QuDaoProduct.Shop.ShopName);
行 2304:
行 2305:
行 2306: #line default
行 2307: #line hidden
行 2308: WriteLiteral("</div><div style=\"text-align: center;margin-top:10px;\"><img src=\"/Content/img/iph" +
行 2309: "oneIcons.png\" alt=\"\"></div><div style=\"margin-top:10px;line-height: 40px;padding" +
行 2310: "-bottom: 10px\"> - <span>");
行 2311:
行 2312:
行 2313: #line 584 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2314: Write(Model.QuDaoProduct.Shop.Tel);
行 2315:
行 2316:
行 2317: #line default
行 2318: #line hidden
行 2319: WriteLiteral(@"</span> -</div>',
行 2320: move: false,
行 2321: }
行 2322: )
行 2323: });
行 2324:
行 2325:
行 2326: })
行 2327: function showcoupon()
行 2328: {
行 2329: $(""#toolbar-wrap"").addClass('toolbar-open')
行 2330: }
行 2331: </script>
行 2332: <script>
行 2333:
行 2334: var QuDaoProduct = ");
行 2335:
行 2336:
行 2337: #line 599 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2338: Write(Html.Raw(TM.App.BLL.SysPiFa.Product.ProductManagerBLL.GetQuDaoProductJSONStr(Model.QuDaoProduct)));
行 2339:
行 2340:
行 2341: #line default
行 2342: #line hidden
行 2343: WriteLiteral("\r\n var ShouChangFlg = \'");
行 2344:
行 2345:
行 2346: #line 600 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2347: Write(ViewBag.ShouChangFlg);
行 2348:
行 2349:
行 2350: #line default
行 2351: #line hidden
行 2352: WriteLiteral("\';\r\n var ShouChangShop=\'");
行 2353:
行 2354:
行 2355: #line 601 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2356: Write(ViewBag.ShouChangShop);
行 2357:
行 2358:
行 2359: #line default
行 2360: #line hidden
行 2361: WriteLiteral("\';\r\n $(function () {\r\n\r\n\r\n $(\"#CloudProductStyleIdValue\").val(");
行 2362:
行 2363:
行 2364: #line 605 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2365: Write(Model.QuDaoProduct.FirstCloudProuctStyleId);
行 2366:
行 2367:
行 2368: #line default
行 2369: #line hidden
行 2370: WriteLiteral(");\r\n $(\"#ProductStyleIdValue\").val(");
行 2371:
行 2372:
行 2373: #line 606 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2374: Write(Model.QuDaoProduct.FirstProuctStyleId);
行 2375:
行 2376:
行 2377: #line default
行 2378: #line hidden
行 2379: WriteLiteral(");\r\n //$(\"#DataValue\").val(JSON.stringify(data.Data));\r\n $(" +
行 2380: "\"#IsDecimalValue\").val(");
行 2381:
行 2382:
行 2383: #line 608 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2384: Write(Model.QuDaoProduct.IsDecimal);
行 2385:
行 2386:
行 2387: #line default
行 2388: #line hidden
行 2389: WriteLiteral(@");
行 2390: //判断当前云规格id是否有渠道价格
行 2391: for (var i = 0; i < QuDaoProduct.QuDaoPriceList.length; i++) {
行 2392: if (QuDaoProduct.FirstCloudProuctStyleId == QuDaoProduct.QuDaoPriceList[i].CloudProductStyleId) {
行 2393: QuDaoProduct.QuDaoPriceFlag = 1;
行 2394: break;
行 2395: }
行 2396: else {
行 2397: QuDaoProduct.QuDaoPriceFlag = 0;
行 2398: }
行 2399: }
行 2400: $(""#XSHtml"").html("""");
行 2401: $(""#XSHtmlTempHtml"").tmpl(QuDaoProduct).appendTo(""#XSHtml"");
行 2402: //筛选
行 2403:
行 2404: $(""#JGHtml"").html("""");
行 2405: $(""#JGHtmlTempHtml"").tmpl(QuDaoProduct).appendTo(""#JGHtml"");
行 2406:
行 2407: GetProductCouponList(");
行 2408:
行 2409:
行 2410: #line 626 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2411: Write(Model.QuDaoProduct.FirstProuctStyleId);
行 2412:
行 2413:
行 2414: #line default
行 2415: #line hidden
行 2416: WriteLiteral(");\r\n GetProductPlanList(");
行 2417:
行 2418:
行 2419: #line 627 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2420: Write(Model.QuDaoProduct.FirstProuctStyleId);
行 2421:
行 2422:
行 2423: #line default
行 2424: #line hidden
行 2425: WriteLiteral(");\r\n GetProductBlendList(");
行 2426:
行 2427:
行 2428: #line 628 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2429: Write(Model.QuDaoProduct.FirstProuctStyleId);
行 2430:
行 2431:
行 2432: #line default
行 2433: #line hidden
行 2434: WriteLiteral(");\r\n\r\n //筛选\r\n //$(\"#SXHtml\").html(\"\");\r\n //$(\"#S" +
行 2435: "XHtmlTempHtml\").tmpl(data.Data.QuDaoProduct).appendTo(\"#SXHtml\");\r\n /" +
行 2436: "///详情\r\n //$(\"#XQHtml\").html(\"\");\r\n //$(\"#XQHtmlTempHtml\")." +
行 2437: "tmpl(data.Data.QuDaoProduct).appendTo(\"#XQHtml\");\r\n ////商品介绍\r\n " +
行 2438: " //$(\"#JSHtml\").html(\"\");\r\n //$(\"#JSHtmlTempHtml\").tmpl(data.Data" +
行 2439: ".QuDaoProduct).appendTo(\"#JSHtml\");\r\n\r\n //库存\r\n //for (var " +
行 2440: "i = 0; i < Data.QuDaoProduct.ProductStockList.length; i++) {\r\n // " +
行 2441: "if (Data.QuDaoProduct.ProductStockList[i].ProductStyle_Id == Data.QuDaoProduct.F" +
行 2442: "irstProuctStyleId) {\r\n // $(\"#StockHtml\").html(\"\");\r\n " +
行 2443: " // $(\"#StockHtml\").html(\"(库存\" + Data.QuDaoProduct.ProductStockList[i]." +
行 2444: "UsableNum + Data.QuDaoProduct.Unit + \")\");\r\n // $(\"#StockValue" +
行 2445: "\").val(Data.QuDaoProduct.ProductStockList[i].UsableNum);\r\n // }\r\n " +
行 2446: " //}\r\n\r\n /* 商品切换tab*/\r\n //$(\"#detail\").find(\"li[" +
行 2447: "data-tab=\'trigger\']\").click(function () {\r\n // var index = $(this)" +
行 2448: ".index();\r\n // if ($(this).hasClass(\"current\")) {\r\n // " +
行 2449: " $(this).siblings(\"li[data-tab=\'trigger\']\").removeClass(\"current\")\r\n " +
行 2450: " // } else {\r\n // $(this).addClass(\"current\").siblings" +
行 2451: "(\"li[data-tab=\'trigger\']\").removeClass(\"current\")\r\n // }\r\n " +
行 2452: " // $(\"#tab-con\").find(\".detail_item\").eq(index).show().siblings().hide()\r" +
行 2453: "\n //})\r\n\r\n //$(\'.cloud-zoom, .cloud-zoom-gallery\').CloudZo" +
行 2454: "om();\r\n //$(\'.cloud-zoom\').attr(\'rel\', \'adjustX:30\');\r\n $(" +
行 2455: "\".footer\").removeClass(\"hide\");\r\n\r\n var IsLogIn=");
行 2456:
行 2457:
行 2458: #line 664 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2459: Write(Model.QuDaoProduct.LogIn);
行 2460:
行 2461:
行 2462: #line default
行 2463: #line hidden
行 2464: WriteLiteral(@";
行 2465: if (IsLogIn == 0) {
行 2466: //$("".con_buy"").bind(""click"", function () {
行 2467: $(""#Addtocart"").bind(""click"", function () {
行 2468: LoginHtml();
行 2469: });
行 2470: }
行 2471: else if (IsLogIn == 1) {
行 2472: //$(""#buyDo"").show();
行 2473: $(""#Addtocart"").bind(""click"", function () {
行 2474: //$("".con_buy"").bind(""click"", function () {
行 2475: AddCart(1);
行 2476: });
行 2477: }
行 2478:
行 2479:
行 2480: if (IsLogIn == 0) {
行 2481: //$("".con_buy"").bind(""click"", function () {
行 2482: $(""#NowBuy"").bind(""click"", function () {
行 2483: LoginHtml();
行 2484: });
行 2485: }
行 2486: else if (IsLogIn == 1) {
行 2487: //$(""#buyDo"").show();
行 2488: $(""#NowBuy"").bind(""click"", function () {
行 2489: //$("".con_buy"").bind(""click"", function () {
行 2490: AddCart(2);
行 2491: });
行 2492: }
行 2493:
行 2494: PJPage();
行 2495: //克隆bshare
行 2496: //$(""#shareTmp .share"").clone(true).appendTo(""#bshare"");
行 2497: //$(""#shouchangTmp"").tmpl().appendTo(""#bshare"");
行 2498:
行 2499:
行 2500: //是否收藏商品
行 2501: if (");
行 2502:
行 2503:
行 2504: #line 701 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2505: Write(ViewBag.ShouChangFlg);
行 2506:
行 2507:
行 2508: #line default
行 2509: #line hidden
行 2510: WriteLiteral("==\"1\") {\r\n $(\"#vshouchang\").addClass(\"on\");\r\n }\r\n " +
行 2511: " else {\r\n $(\"#vshouchang\").removeClass(\"on\");\r\n }" +
行 2512: "\r\n\r\n //是否收藏店铺\r\n ");
行 2513:
行 2514: WriteLiteral("\r\n if (");
行 2515:
行 2516:
行 2517: #line 712 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2518: Write(ViewBag.ShouChangShop);
行 2519:
行 2520:
行 2521: #line default
行 2522: #line hidden
行 2523: WriteLiteral(@"==""1"") {
行 2524: $(""#vshouchangShop"").addClass(""on"");
行 2525: }
行 2526: else {
行 2527: $(""#vshouchangShop"").removeClass(""on"");
行 2528: }
行 2529:
行 2530:
行 2531: $.tmAjax({
行 2532: url: '/api/product/GetProductStyleArr',
行 2533: data:{""PFProductId"":");
行 2534:
行 2535:
行 2536: #line 722 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2537: Write(Model.QuDaoProduct.PFProductId);
行 2538:
行 2539:
行 2540: #line default
行 2541: #line hidden
行 2542: WriteLiteral(@"},
行 2543: type: ""get"",
行 2544: success: function (data) {
行 2545: if (!$.APISuccess(data)) {
行 2546: $.msgTip(data.Message);
行 2547: }
行 2548: else {
行 2549: styleArr = data.Data;
行 2550: var $lis = $(""#styleUl li"");
行 2551: var $li = $lis.eq(0);
行 2552: var $size_div = $("".size_div"",$li);
行 2553: var id = $(""a"",$size_div).eq(0).attr(""id"");
行 2554: var ids = id.split(""_"");
行 2555:
行 2556: if(styleArr.length>0){
行 2557: var styleAL = styleArr[0].split(',');
行 2558: for(var i=0;i<styleAL.length;i++){
行 2559: ChangeP(styleAL[i].split('_')[0],styleAL[i].split('_')[1],");
行 2560:
行 2561:
行 2562: #line 739 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2563: Write(Model.QuDaoProduct.PFProductId);
行 2564:
行 2565:
行 2566: #line default
行 2567: #line hidden
行 2568: WriteLiteral(",");
行 2569:
行 2570:
行 2571: #line 739 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2572: Write(Model.QuDaoProduct.PFCloudProductId);
行 2573:
行 2574:
行 2575: #line default
行 2576: #line hidden
行 2577: WriteLiteral(");\r\n }\r\n }\r\n " +
行 2578: " else {\r\n ChangeP(0,0,");
行 2579:
行 2580:
行 2581: #line 743 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2582: Write(Model.QuDaoProduct.PFProductId);
行 2583:
行 2584:
行 2585: #line default
行 2586: #line hidden
行 2587: WriteLiteral(",");
行 2588:
行 2589:
行 2590: #line 743 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2591: Write(Model.QuDaoProduct.PFCloudProductId);
行 2592:
行 2593:
行 2594: #line default
行 2595: #line hidden
行 2596: WriteLiteral(");\r\n }\r\n //firstChangeStyle(ids[1]," +
行 2597: "ids[2],");
行 2598:
行 2599:
行 2600: #line 745 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2601: Write(Model.QuDaoProduct.PFProductId);
行 2602:
行 2603:
行 2604: #line default
行 2605: #line hidden
行 2606: WriteLiteral(",");
行 2607:
行 2608:
行 2609: #line 745 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2610: Write(Model.QuDaoProduct.PFCloudProductId);
行 2611:
行 2612:
行 2613: #line default
行 2614: #line hidden
行 2615: WriteLiteral(");\r\n }\r\n }\r\n })\r\n\r\n\r\n });\r\n\r\n" +
行 2616: " //获取评价列表\r\n function PJPage() {\r\n var pageCount = 0;\r\n " +
行 2617: " var type = $(\"#PingJiaTypeValue\").val();\r\n switch (type) {" +
行 2618: "\r\n case \"all\": pageCount = $(\"#PingJiaTotalCountValue\").val(); br" +
行 2619: "eak;\r\n case \"Img\": pageCount = $(\"#PJCount1Value\").val(); break;\r" +
行 2620: "\n case \"SecondPJ\": pageCount = $(\"#PJCount2Value\").val(); break;\r" +
行 2621: "\n case \"PJ1\": pageCount = $(\"#PJCount3Value\").val(); break;\r\n " +
行 2622: " case \"PJ2\": pageCount = $(\"#PJCount4Value\").val(); break;\r\n " +
行 2623: " case \"PJ3\": pageCount = $(\"#PJCount5Value\").val(); break;\r\n " +
行 2624: " default:\r\n }\r\n\r\n InitPage({ ajax: \"true\", count: parseIn" +
行 2625: "t(pageCount), callfun: \"callbackajaxFun(num,data)\" });\r\n }\r\n\r\n\r\n\r\n\r\n " +
行 2626: " function callbackajaxFun(num, data) {\r\n var postData = {};\r\n " +
行 2627: " postData.PFCloudProductId = $.getQueryString(\"PFCloudProductId\");\r\n " +
行 2628: " postData.PageIndex = num;\r\n postData.Type = $(\"#PingJiaTypeValue" +
行 2629: "\").val();\r\n\r\n $.tmAjax({\r\n url: \'/api/product/GetProdu" +
行 2630: "ctPingJia\',\r\n data: postData,\r\n type: \"post\",\r\n " +
行 2631: " success: function (data) {\r\n if (!$.APISuccess(d" +
行 2632: "ata)) {\r\n $.msgTip(data.Message);\r\n }\r" +
行 2633: "\n else {\r\n //筛选\r\n " +
行 2634: " $(\"#PingJiaHtml\").html(\"\");\r\n $(\"#PingJiaHtmlTempHtml\"" +
行 2635: ").tmpl(data.Data).appendTo(\"#PingJiaHtml\");\r\n }\r\n " +
行 2636: " }\r\n });\r\n }\r\n\r\n //改变评价类型\r\n function changeTy" +
行 2637: "pe(type) {\r\n $(\"#setall\").removeAttr(\"class\");\r\n $(\"#setIm" +
行 2638: "g\").removeAttr(\"class\");\r\n $(\"#setSecondPJ\").removeAttr(\"class\");\r\n " +
行 2639: " $(\"#setPJ3\").removeAttr(\"class\");\r\n $(\"#setPJ2\").removeAttr" +
行 2640: "(\"class\");\r\n $(\"#setPJ1\").removeAttr(\"class\");\r\n\r\n switch " +
行 2641: "(type) {\r\n case \"all\": $(\"#PingJiaTypeValue\").val(\"all\"); $(\"#set" +
行 2642: "all\").attr(\"class\", \"on\"); break;\r\n case \"Img\": $(\"#PingJiaTypeVa" +
行 2643: "lue\").val(\"Img\"); $(\"#setImg\").attr(\"class\", \"on\"); break;\r\n case" +
行 2644: " \"SecondPJ\": $(\"#PingJiaTypeValue\").val(\"SecondPJ\"); $(\"#setSecondPJ\").attr(\"cla" +
行 2645: "ss\", \"on\"); break;\r\n case \"PJ1\": $(\"#PingJiaTypeValue\").val(\"PJ1\"" +
行 2646: "); $(\"#setPJ1\").attr(\"class\", \"on\"); break;\r\n case \"PJ2\": $(\"#Pin" +
行 2647: "gJiaTypeValue\").val(\"PJ2\"); $(\"#setPJ2\").attr(\"class\", \"on\"); break;\r\n " +
行 2648: " case \"PJ3\": $(\"#PingJiaTypeValue\").val(\"PJ3\"); $(\"#setPJ3\").attr(\"class\", " +
行 2649: "\"on\"); break;\r\n default:\r\n }\r\n PJPage();\r\n " +
行 2650: " }\r\n\r\n function firstChangeStyle(paraid,paravalue,PFProductId,Cloud" +
行 2651: "ProductId){\r\n $(\"[id^=\'p_\" + paraid + \"\']\").each(function () {\r\n " +
行 2652: " $(this).removeClass(\"select\");\r\n });\r\n\r\n\r\n $(\"#" +
行 2653: "p_\"+paraid+\'_\'+paravalue).addClass(\'select\');\r\n\r\n var str = \"\";\r\n " +
行 2654: " var selectArr = [];\r\n for(var i = 0; i < styleArr.length; i++" +
行 2655: "){\r\n if((\',\'+styleArr[i]+\',\').indexOf(\',\'+paraid+\"_\"+paravalue+\'," +
行 2656: "\')!=-1){\r\n var styleIds = styleArr[i].split(\',\');\r\n " +
行 2657: " for (var j = 0; j < styleIds.length; j++) {\r\n\r\n " +
行 2658: " var ids = styleIds[j].split(\'_\');\r\n if((\',\'+str+\',\').in" +
行 2659: "dexOf(\',\'+ids[0]+\',\')==-1){\r\n str+=ids[0]+\',\';\r\n " +
行 2660: " $(\"#p_\"+ids[0]+\'_\'+ids[1]).addClass(\"select\");\r\n " +
行 2661: " selectArr.push(styleIds[j]);\r\n }\r\n " +
行 2662: " //$(\"#p_\"+ids[0]+\'_\'+ids[1]).removeClass(\"disabled\");\r\n " +
行 2663: " //$(\"#p_\"+ids[0]+\'_\'+ids[1]).css(\"background-color\",\"#fff\");\r" +
行 2664: "\n }\r\n }\r\n }\r\n\r\n\r\n //全部锁定" +
行 2665: "\r\n $(\"[id^=\'p_\']\").each(function () {\r\n if(!$(this).ha" +
行 2666: "sClass(\"select\")){\r\n $(this).addClass(\"disabled\");\r\n " +
行 2667: " }\r\n });\r\n\r\n for (var i = 0; i < styleArr.length; i+" +
行 2668: "+) {\r\n var flag = true;\r\n for (var j = 0; j < sele" +
行 2669: "ctArr.length; j++) {\r\n if((\',\'+styleArr[i]+\',\').indexOf(\',\'+s" +
行 2670: "electArr[j]+\',\')==-1){\r\n flag = false;\r\n " +
行 2671: " }\r\n }\r\n if(flag){\r\n var styl" +
行 2672: "eIds = styleArr[i].split(\',\');\r\n for (var j = 0; j < styleId" +
行 2673: "s.length; j++) {\r\n var ids = styleIds[j].split(\'_\');\r\n " +
行 2674: " $(\"#p_\"+ids[0]+\'_\'+ids[1]).removeClass(\"disabled\");\r\n " +
行 2675: " // $(\"#p_\"+ids[0]+\'_\'+ids[1]).css(\"background-color\",\"#fff\");\r" +
行 2676: "\n }\r\n }\r\n }\r\n\r\n //处理最后一次" +
行 2677: "点击,记录没有禁用的\r\n var $lis = $(\"#styleUl li.parali\");\r\n var sel" +
行 2678: "ectList = [];\r\n for (var i = 0; i < $lis.length-1; i++) {\r\n " +
行 2679: " selectList.push($(\".select\",$lis.eq(i)).attr(\"id\"));\r\n }\r\n " +
行 2680: " //处理最后一次点击,记录没有禁用的 end\r\n\r\n for (var i = 0; i < styleArr.length" +
行 2681: "; i++) {\r\n var flag = true;\r\n for (var j = 0; j < " +
行 2682: "selectList.length; j++) {\r\n if((\',\'+styleArr[i]+\',\').indexOf(" +
行 2683: "\',\'+selectList[j].split(\'_\')[1]+\'_\'+selectList[j].split(\'_\')[2]+\',\')==-1){\r\n " +
行 2684: " flag = false;\r\n }\r\n }\r\n " +
行 2685: " if(flag){\r\n var styleIds = styleArr[i].split(\'," +
行 2686: "\');\r\n for (var j = 0; j < styleIds.length; j++) {\r\n " +
行 2687: " var ids = styleIds[j].split(\'_\');\r\n $(\"#p_\"" +
行 2688: "+ids[0]+\'_\'+ids[1]).removeClass(\"disabled\");\r\n //$(\"#p_\"+" +
行 2689: "ids[0]+\'_\'+ids[1]).css(\"background-color\",\"#fff\");\r\n }\r\n " +
行 2690: " }\r\n }\r\n\r\n var ParaIds = \"\";\r\n $(\"[id" +
行 2691: "^=\'p_\']\").each(function () {\r\n if ($(this).hasClass(\"select\")) {\r" +
行 2692: "\n var ParaId = this.attributes.id.nodeValue.split(\'_\')[2];\r\n " +
行 2693: " ParaIds += ParaId + \",\";\r\n }\r\n });\r" +
行 2694: "\n if(ParaIds!=\"\"&&ParaIds.split(\',\').length==$(\"#styleUl li\").length&" +
行 2695: "&ParaIds!=\'0,\'){\r\n\r\n var postData = {};\r\n postData" +
行 2696: ".ParaIds = ParaIds;\r\n postData.ProductId = PFProductId;\r\n " +
行 2697: " postData.CloudProductId = CloudProductId;\r\n\r\n $.tmAjax({\r" +
行 2698: "\n url: \'/api/product/GetCloudProductStyleId\',\r\n " +
行 2699: " data: postData,\r\n type: \"post\",\r\n su" +
行 2700: "ccess: function (data) {\r\n if (!$.APISuccess(data)) {\r\n " +
行 2701: " $.msgTip(data.Message);\r\n }\r\n " +
行 2702: " else {\r\n //更换渠道价格\r\n\r\n " +
行 2703: " QuDaoProduct.FirstCloudProuctStyleId = data.Data.CloudProductS" +
行 2704: "tyleId;\r\n\r\n\r\n $(\"#CloudProductStyleIdValue\").val(");
行 2705:
行 2706:
行 2707: #line 922 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2708: Write(Model.QuDaoProduct.FirstCloudProuctStyleId);
行 2709:
行 2710:
行 2711: #line default
行 2712: #line hidden
行 2713: WriteLiteral(");\r\n $(\"#ProductStyleIdValue\").val(data.Data.ProductSt" +
行 2714: "yleId);\r\n //库存\r\n for (var " +
行 2715: "i = 0; i < QuDaoProduct.ProductStockList.length; i++) {\r\n " +
行 2716: " if (QuDaoProduct.ProductStockList[i].ProductStyle_Id == data.Data.Produ" +
行 2717: "ctStyleId) {\r\n $(\"#StockHtml\").html(QuDaoProd" +
行 2718: "uct.ProductStockList[i].ShowStockText);\r\n //$" +
行 2719: "(\"#StockHtml\").html(\"\");\r\n //if (QuDaoProduct" +
行 2720: ".ProductStockList[i].UsableNum > 0) {\r\n // " +
行 2721: " $(\"#Add\").removeClass(\"disabled\");\r\n // $" +
行 2722: "(\"#Count\").removeAttr(\"readonly\");\r\n // //" +
行 2723: "$(\"#StockHtml\").html(\"(库存\" + QuDaoProduct.ProductStockList[i].UsableNum + QuDaoP" +
行 2724: "roduct.Unit + \")\");\r\n //} else {\r\n " +
行 2725: " // $(\"#Add\").addClass(\"disabled\");\r\n " +
行 2726: " // $(\"#Minus\").addClass(\"disabled\");\r\n " +
行 2727: " // $(\"#Count\").attr(\"readonly\", true);\r\n " +
行 2728: " // //$(\"#StockHtml\").html(\'<span style=\"color:red\">暂时无货</span" +
行 2729: ">\');\r\n //}\r\n " +
行 2730: " $(\"#StockValue\").val(QuDaoProduct.ProductStockList[i].UsableNum);\r\n " +
行 2731: " }\r\n }\r\n\r\n " +
行 2732: " $(\"#XSHtml\").html(\"\");\r\n $(\"#XSHtmlTempHtml\").t" +
行 2733: "mpl(QuDaoProduct).appendTo(\"#XSHtml\");\r\n //判断当前云规格id是" +
行 2734: "否有渠道价格\r\n for (var i = 0; i < QuDaoProduct.QuDaoPriceL" +
行 2735: "ist.length; i++) {\r\n if (QuDaoProduct.FirstCloudP" +
行 2736: "rouctStyleId == QuDaoProduct.QuDaoPriceList[i].CloudProductStyleId) {\r\n " +
行 2737: " QuDaoProduct.QuDaoPriceFlag = 1;\r\n " +
行 2738: " break;\r\n }\r\n " +
行 2739: " else {\r\n QuDaoProduct.QuDaoPriceF" +
行 2740: "lag = 0;\r\n }\r\n }\r\n\r\n " +
行 2741: " //筛选\r\n $(\"#JGHtml\").html(\"\"" +
行 2742: ");\r\n $(\"#JGHtmlTempHtml\").tmpl(QuDaoProduct).appendTo" +
行 2743: "(\"#JGHtml\");\r\n\r\n GetProductCouponList(data.Data.Produ" +
行 2744: "ctStyleId);\r\n GetProductPlanList(data.Data.ProductSty" +
行 2745: "leId);\r\n GetProductBlendList(data.Data.ProductStyleId" +
行 2746: ");\r\n\r\n }\r\n }\r\n });\r\n " +
行 2747: " }\r\n\r\n }\r\n //切换规格 获取可选项\r\n function changeStyle(para" +
行 2748: "id,paravalue){\r\n if($(\"#p_\"+paraid+\"_\"+paravalue).attr(\"class\")==\"dis" +
行 2749: "abled\"||paraid+\"_\"+paravalue==\'0_0\'){ //不可点\r\n return false;\r\n " +
行 2750: " }\r\n if($(\"#p_\"+paraid+\"_\"+paravalue).attr(\"class\")==\"select" +
行 2751: "\"){ //如果为选中状态,则取消\r\n var flag = t" +
行 2752: "rue;\r\n var selectArr = [];//之前选中的按钮数组\r\n var $lis =" +
行 2753: " $(\"#styleUl li\");\r\n for (var i = 0; i < $lis.length-1; i++) {\r\n " +
行 2754: " var $li = $lis.eq(i);\r\n var $size_div = " +
行 2755: "$(\".size_div\",$li);\r\n var id = $(\".select\",$size_div).attr(\"" +
行 2756: "id\");\r\n if(id){\r\n if(id==\'p_\'+paraid+\"" +
行 2757: "_\"+paravalue){\r\n flag = false;\r\n " +
行 2758: " }\r\n var ids = id.split(\'_\');\r\n " +
行 2759: "if(flag){\r\n selectArr.push(ids[1]+\'_\'+ids[2]);\r\n " +
行 2760: " }else{\r\n $(\"#p_\"+ids[1]+\"_\"+ids[2]" +
行 2761: ").removeClass(\"select\");\r\n }\r\n }\r\n " +
行 2762: " }\r\n if(selectArr.length>1){\r\n\r\n fo" +
行 2763: "r (var i = 0; i < styleArr.length; i++) {\r\n var flag = tr" +
行 2764: "ue;\r\n for (var j = 0; j < selectArr.length-1; j++) {\r\n " +
行 2765: " if((\',\'+styleArr[i]+\',\').indexOf(\',\'+selectArr[j]+\',\')=" +
行 2766: "=-1){\r\n flag = false;\r\n " +
行 2767: " }\r\n }\r\n if(flag){\r\n " +
行 2768: " var styleIds = styleArr[i].split(\',\');\r\n " +
行 2769: " for (var j = 0; j < styleIds.length; j++) {\r\n " +
行 2770: " var ids = styleIds[j].split(\'_\');\r\n $(\"#p_\"+ids[" +
行 2771: "0]+\'_\'+ids[1]).removeClass(\"disabled\");\r\n //$(\"#p" +
行 2772: "_\"+ids[0]+\'_\'+ids[1]).css(\"background-color\",\"#fff\");\r\n " +
行 2773: " }\r\n }\r\n }\r\n }else{\r\n" +
行 2774: " if(selectArr.length==1){\r\n $(\"[id^=\'p" +
行 2775: "_\" + selectArr[selectArr.length-1].split(\'_\')[0] + \"\']\").each(function () {\r\n " +
行 2776: " var ids = $(this).attr(\"id\").split(\'_\');\r\n " +
行 2777: " if(ids[1]==selectArr[selectArr.length-1].split(\'_\')[0]){\r\n " +
行 2778: " $(this).removeClass(\"disabled\");\r\n " +
行 2779: " //$(this).css(\"background-color\",\"#fff\");\r\n " +
行 2780: " }\r\n });\r\n }\r\n fo" +
行 2781: "r (var i = 0; i < styleArr.length; i++) {\r\n var flag = tr" +
行 2782: "ue;\r\n for (var j = 0; j < selectArr.length; j++) {\r\n " +
行 2783: " if((\',\'+styleArr[i]+\',\').indexOf(\',\'+selectArr[j]+\',\')==-" +
行 2784: "1){\r\n flag = false;\r\n " +
行 2785: "}\r\n }\r\n if(flag){\r\n " +
行 2786: " var styleIds = styleArr[i].split(\',\');\r\n " +
行 2787: " for (var j = 0; j < styleIds.length; j++) {\r\n v" +
行 2788: "ar ids = styleIds[j].split(\'_\');\r\n $(\"#p_\"+ids[0]" +
行 2789: "+\'_\'+ids[1]).removeClass(\"disabled\");\r\n //$(\"#p_\"" +
行 2790: "+ids[0]+\'_\'+ids[1]).css(\"background-color\",\"#fff\");\r\n " +
行 2791: " }\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n " +
行 2792: " }else{\r\n //处理最后一次点击,记录没有禁用的\r\n var lastE" +
行 2793: "nabledList= [];\r\n var $lis = $(\"#styleUl li.parali\");\r\n " +
行 2794: " var selectObj=$(\"#p_\"+paraid+\"_\"+paravalue);\r\n var selectOb" +
行 2795: "jP=$(\"#p_\"+paraid+\"_\"+paravalue).parents(\"li\");\r\n var _indexselec" +
行 2796: "tObj=$lis.index(selectObjP);\r\n //if(_indexselectObj==$(\"#styleUl " +
行 2797: "li.parali\").length-1){\r\n // lastEnabledList= $(\"#styleUl li.pa" +
行 2798: "rali:last a[class!=\'disabled\']\");\r\n //}\r\n //if(_in" +
行 2799: "dexselectObj==0){\r\n // lastEnabledList= $(\"#styleUl li.parali:" +
行 2800: "first a[class!=\'disabled\']\");\r\n //}\r\n lastEnabledL" +
行 2801: "ist= $(\"a[class!=\'disabled\']\",$(\"#styleUl li.parali\").eq(_indexselectObj));\r\n " +
行 2802: " //处理最后一次点击,记录没有禁用的 end\r\n\r\n $(\"[id^=\'p_\" + paraid + \"" +
行 2803: "\']\").each(function () {\r\n var ids = $(this).attr(\"id\").split" +
行 2804: "(\'_\');\r\n if(ids[1]==paraid){\r\n $(this)" +
行 2805: ".removeClass(\"select\");\r\n }\r\n });\r\n\r\n " +
行 2806: " $(\"#p_\"+paraid+\'_\'+paravalue).addClass(\'select\');\r\n\r\n var " +
行 2807: "selectArr = [];//之前选中的按钮数组\r\n var $lis = $(\"#styleUl li\");\r\n " +
行 2808: " var flag = true;\r\n for (var i = 0; i < $lis.length-1; i" +
行 2809: "++) {\r\n var $li = $lis.eq(i);\r\n var $size" +
行 2810: "_div = $(\".size_div\",$li);\r\n var id = $(\".select\",$size_div" +
行 2811: ").attr(\"id\");\r\n if(id){\r\n if(id==\'p_\'+" +
行 2812: "paraid+\"_\"+paravalue){\r\n flag = false;\r\n " +
行 2813: " }else{\r\n var ids = id.split(\'_\');\r\n " +
行 2814: " selectArr.push(ids[1]+\'_\'+ids[2]);\r\n " +
行 2815: " }\r\n //var ids = id.split(\'_\');\r\n " +
行 2816: "//if(flag){\r\n // selectArr.push(ids[1]+\'_\'+ids[2]);\r\n " +
行 2817: " //}else{\r\n // //$(\"#p_\"+ids[1]+" +
行 2818: "\"_\"+ids[2]).removeClass(\"select\");\r\n //}\r\n " +
行 2819: " }\r\n }\r\n $(\"#p_\"+paraid+\'_\'+paravalue).addClas" +
行 2820: "s(\'select\');\r\n\r\n //全部锁定\r\n $(\"[id^=\'p_\']\").each(fun" +
行 2821: "ction () {\r\n $(this).addClass(\"disabled\");\r\n " +
行 2822: " //$(this).css(\"background-color\",\"#eee\");\r\n //$(this).remo" +
行 2823: "veClass(\"select\");\r\n });\r\n\r\n var arr = [];\r\n " +
行 2824: " for(var i = 0; i < styleArr.length; i++){\r\n if((\',\'" +
行 2825: "+styleArr[i]+\',\').indexOf(\',\'+paraid+\"_\"+paravalue+\',\')!=-1){\r\n " +
行 2826: " var flag = true;\r\n for (var j = 0; j < selectArr.l" +
行 2827: "ength; j++) {\r\n if((\',\'+styleArr[i]+\',\').indexOf(\',\'+" +
行 2828: "selectArr[j]+\',\')==-1){\r\n flag = false;\r\n " +
行 2829: " }\r\n }\r\n if(fla" +
行 2830: "g){\r\n var styleIds = styleArr[i].split(\',\');\r\n " +
行 2831: " for (var j = 0; j < styleIds.length; j++) {\r\n " +
行 2832: " var ids = styleIds[j].split(\'_\');\r\n " +
行 2833: " $(\"#p_\"+ids[0]+\'_\'+ids[1]).removeClass(\"disabled\");\r\n " +
行 2834: " //$(\"#p_\"+ids[0]+\'_\'+ids[1]).css(\"background-color\",\"#fff\");\r\n " +
行 2835: " }\r\n }\r\n }\r\n " +
行 2836: " }\r\n\r\n //处理最后一次点击,接触没有禁用的\r\n $.each(lastEn" +
行 2837: "abledList,function (i,item) {\r\n $(item).removeClass(\"disabled" +
行 2838: "\");\r\n //$(item).css(\"background-color\",\"#fff\");\r\n " +
行 2839: " });\r\n\r\n for (var i = 0; i < $lis.length-1; i++) {\r\n " +
行 2840: " var $li = $lis.eq(i);\r\n var $size_div = $(\".size_" +
行 2841: "div\",$li);\r\n var $a = $(\"a\",$size_div);\r\n " +
行 2842: " for (var j = 0; j < $a.length; j++) {\r\n if($a.eq(j).hasC" +
行 2843: "lass(\"select\")&&$a.eq(j).hasClass(\"disabled\")){\r\n $a." +
行 2844: "eq(j).removeClass(\"select\");\r\n }\r\n }\r\n" +
行 2845: " }\r\n }\r\n return true;\r\n }\r\n\r\n " +
行 2846: " //切换规格 获取可选项\r\n function changeStyle2(paraid,paravalue){\r\n if(" +
行 2847: "$(\"#p_\"+paraid+\"_\"+paravalue).attr(\"class\")==\"\"){ " +
行 2848: " //如果为未选中状态,则选中\r\n $(\"#p_\"+paraid).find(\"a\").each(function" +
行 2849: "(){\r\n if($(this).attr(\"class\")==\"select\"){\r\n " +
行 2850: " $(this).attr(\"class\",\"\");\r\n }\r\n })\r\n " +
行 2851: " $(\"#p_\"+paraid+\"_\"+paravalue).attr(\"class\",\"select\");\r\n " +
行 2852: "}\r\n //else if($(\"#p_\"+paraid+\"_\"+paravalue).attr(\"class\")==\"select\")" +
行 2853: "{ //如果为选中状态,则取消\r\n // $(\"#p_\"+para" +
行 2854: "id+\"_\"+paravalue).attr(\"class\",\"\");\r\n //}\r\n if($(\"#p_\"+par" +
行 2855: "aid+\"_\"+paravalue).attr(\"class\")==\"disabled\"||paraid+\"_\"+paravalue==\'0_0\'){ //" +
行 2856: "不可点\r\n return false;\r\n }\r\n var selectNum = 0" +
行 2857: "; //已选中的属性\r\n var selectArr = [];\r\n $(\"#styleUl\").find" +
行 2858: "(\"a\").each(function(){\r\n if($(this).attr(\"class\")==\"select\"){\r\n " +
行 2859: " selectNum++; //已选中属性数\r\n " +
行 2860: " selectArr.push($(this).attr(\"nowid\")); //已选中属性\r\n }\r\n " +
行 2861: " })\r\n\r\n //遍历所有父级行\r\n $(\"#styleUl\").find(\".parali\").e" +
行 2862: "ach(function(){\r\n var parentli = $(this);\r\n var pa" +
行 2863: "rentid = $(this).attr(\"parentid\"); //父级ID\r\n var otherSelectArr" +
行 2864: " = []; //除该行外,其他的选中项集合\r\n var haveSelect = fals" +
行 2865: "e; //该行是否有选中项\r\n var selectId = \"\";\r\n " +
行 2866: " var nowSelectNum = 0;\r\n for(var i=0;i<selectArr.length;i++" +
行 2867: "){\r\n if((\",\"+selectArr[i]).indexOf(\",\"+parentid+\"_\")>-1){ " +
行 2868: "//该行有选中项\r\n haveSelect = true;\r\n se" +
行 2869: "lectId = selectArr[i].split(\'_\')[1]; //选中的值\r\n }e" +
行 2870: "lse{\r\n otherSelectArr.push(selectArr[i]); " +
行 2871: " //其他选中项\r\n }\r\n }\r\n $(\"#p_\"+par" +
行 2872: "entid).find(\"a\").each(function(){\r\n var realCanSelect = [];\r\n" +
行 2873: " if($(this).attr(\"class\")!=\"select\"){\r\n " +
行 2874: " $(this).attr(\"class\",\"disabled\"); //默认不可选\r\n }\r\n " +
行 2875: " if(otherSelectArr.length>0){ //如果其他行有选中,根据其他行和已有规格来判断本行" +
行 2876: "的可选参数\r\n for(var i = 0; i < styleArr.length; i++){\r\n " +
行 2877: " var styleIds = styleArr[i].split(\',\');\r\n " +
行 2878: " var canSelect = [];\r\n var canSelectIds = [" +
行 2879: "];\r\n var nowSelectNum = 0;\r\n " +
行 2880: " for (var j = 0; j < styleIds.length; j++) {\r\n " +
行 2881: "for(var x = 0;x<otherSelectArr.length;x++){\r\n\r\n " +
行 2882: " if(styleIds[j]==otherSelectArr[x]){\r\n " +
行 2883: "nowSelectNum++;\r\n }\r\n " +
行 2884: " canSelectIds.push(styleIds[j]);\r\n }\r\n" +
行 2885: " }\r\n if(nowSelectNum==othe" +
行 2886: "rSelectArr.length){\r\n realCanSelect.push(canSelec" +
行 2887: "tIds);\r\n }\r\n }\r\n " +
行 2888: " for(var k=0;k<realCanSelect.length;k++){\r\n " +
行 2889: "for (var j = 0; j < realCanSelect[k].length; j++) {\r\n " +
行 2890: " if((\",\"+realCanSelect[k][j]).indexOf(\",\"+parentid)>-1){ //通过规格确认本行可选的值\r\n " +
行 2891: " if($(\"#p_\"+realCanSelect[k][j]).attr(\"class\")!=" +
行 2892: "\"select\"){\r\n $(\"#p_\"+realCanSelect[k][j])" +
行 2893: ".attr(\"class\",\"\");\r\n }\r\n " +
行 2894: " }\r\n }\r\n }\r\n " +
行 2895: " }else{ //如果其他行没有选中,根据已有规格来判断本行的可选参数" +
行 2896: "\r\n for(var i = 0; i < styleArr.length; i++){ //" +
行 2897: "遍历可选规格\r\n var styleIds = styleArr[i].split(\',\');\r\n " +
行 2898: " for(var j = 0;j<styleIds.length;j++){ //遍历可选规格" +
行 2899: "下属参数\r\n if((\",\"+styleIds[j]+\"_\").indexOf(\",\"+paren" +
行 2900: "tid+\"_\")>-1){ //通过规格确认本行可选的值\r\n $(\"#p_\"+styleI" +
行 2901: "ds[j]).attr(\"class\",\"\");\r\n }\r\n " +
行 2902: " }\r\n }\r\n }\r\n " +
行 2903: " if(selectId!=\"\"){\r\n $(\"#p_\"+parentid+\"_\"+selectId).attr" +
行 2904: "(\"class\",\"select\");\r\n }\r\n })\r\n })\r\n" +
行 2905: " return true;\r\n }\r\n\r\n\r\n //更改规格属性\r\n function Chan" +
行 2906: "geP( ParentParaId, ParaId, PFProductId, CloudProductId) {\r\n\r\n var _re" +
行 2907: "s= changeStyle2(ParentParaId,ParaId);\r\n if(!_res)\r\n {\r\n " +
行 2908: " return;\r\n }\r\n var ParaIds = \"\";\r\n " +
行 2909: "$(\"[id^=\'p_\']\").each(function () {\r\n if ($(this).hasClass(\"select" +
行 2910: "\")) {\r\n var ParaId = this.attributes.id.nodeValue.split(\'_\')[" +
行 2911: "2];\r\n ParaIds += ParaId + \",\";\r\n }\r\n " +
行 2912: " });\r\n\r\n if(ParaIds!=\"\"&&ParaIds.split(\',\').length==$(\"#styleUl li\")" +
行 2913: ".length&&ParaIds!=\'0,\'){\r\n\r\n var postData = {};\r\n " +
行 2914: "postData.ParaIds = ParaIds;\r\n postData.ProductId = PFProductId;\r\n" +
行 2915: " postData.CloudProductId = CloudProductId;\r\n\r\n $.t" +
行 2916: "mAjax({\r\n url: \'/api/product/GetCloudProductStyleId\',\r\n " +
行 2917: " data: postData,\r\n type: \"post\",\r\n " +
行 2918: " success: function (data) {\r\n if (!$.APISuccess(data" +
行 2919: ")) {\r\n $.msgTip(data.Message);\r\n " +
行 2920: " }\r\n else {\r\n //更换渠道价格\r\n\r\n " +
行 2921: " QuDaoProduct.FirstCloudProuctStyleId = data.Data.Cloud" +
行 2922: "ProductStyleId;\r\n\r\n\r\n $(\"#CloudProductStyleIdValue\")." +
行 2923: "val(");
行 2924:
行 2925:
行 2926: #line 1269 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2927: Write(Model.QuDaoProduct.FirstCloudProuctStyleId);
行 2928:
行 2929:
行 2930: #line default
行 2931: #line hidden
行 2932: WriteLiteral(");\r\n $(\"#ProductStyleIdValue\").val(data.Data.ProductSt" +
行 2933: "yleId);\r\n //库存\r\n for (var " +
行 2934: "i = 0; i < QuDaoProduct.ProductStockList.length; i++) {\r\n " +
行 2935: " if (QuDaoProduct.ProductStockList[i].ProductStyle_Id == data.Data.Produ" +
行 2936: "ctStyleId) {\r\n $(\"#StockHtml\").html(QuDaoProd" +
行 2937: "uct.ProductStockList[i].ShowStockText);\r\n if " +
行 2938: "(QuDaoProduct.ProductStockList[i].UsableNum > 0) {\r\n " +
行 2939: " $(\"#Add\").removeClass(\"disabled\");\r\n " +
行 2940: " $(\"#Count\").removeAttr(\"readonly\");\r\n " +
行 2941: " //$(\"#StockHtml\").html(\"(库存\" + QuDaoProduct.ProductStockList[i].UsableNum +" +
行 2942: " QuDaoProduct.Unit + \")\");\r\n } else {\r\n " +
行 2943: " $(\"#Add\").addClass(\"disabled\");\r\n " +
行 2944: " $(\"#Minus\").addClass(\"disabled\");\r\n " +
行 2945: " $(\"#Count\").attr(\"readonly\", true);\r\n " +
行 2946: " //$(\"#StockHtml\").html(\'<span style=\"color:red\">暂时无货</span>\')" +
行 2947: ";\r\n }\r\n $(" +
行 2948: "\"#StockValue\").val(QuDaoProduct.ProductStockList[i].UsableNum);\r\n " +
行 2949: " }\r\n }\r\n\r\n " +
行 2950: " $(\"#XSHtml\").html(\"\");\r\n $(\"#XSHtmlTempHtml\").tmpl(Q" +
行 2951: "uDaoProduct).appendTo(\"#XSHtml\");\r\n //判断当前云规格id是否有渠道价" +
行 2952: "格\r\n for (var i = 0; i < QuDaoProduct.QuDaoPriceList.l" +
行 2953: "ength; i++) {\r\n if (QuDaoProduct.FirstCloudProuct" +
行 2954: "StyleId == QuDaoProduct.QuDaoPriceList[i].CloudProductStyleId) {\r\n " +
行 2955: " QuDaoProduct.QuDaoPriceFlag = 1;\r\n " +
行 2956: " break;\r\n }\r\n " +
行 2957: " else {\r\n QuDaoProduct.QuDaoPriceFlag =" +
行 2958: " 0;\r\n }\r\n }\r\n\r\n " +
行 2959: " //筛选\r\n $(\"#JGHtml\").html(\"\");\r\n " +
行 2960: " $(\"#JGHtmlTempHtml\").tmpl(QuDaoProduct).appendTo(\"#JG" +
行 2961: "Html\");\r\n\r\n GetProductCouponList(data.Data.ProductSty" +
行 2962: "leId);\r\n GetProductPlanList(data.Data.ProductStyleId)" +
行 2963: ";\r\n GetProductBlendList(data.Data.ProductStyleId);\r\n " +
行 2964: " }\r\n }\r\n });\r\n " +
行 2965: " }\r\n }\r\n var palnListCount=0;\r\n var BlendList =[];\r\n " +
行 2966: " var palnList=[];\r\n var CouponList = [];\r\n //领优惠券\r\n functi" +
行 2967: "on LingJuan(obj) {\r\n var ShopId = $(\"#ShopId\").val();\r\n va" +
行 2968: "r itemData = $.tmplItem(obj).data;\r\n //1已抢光 2已领取 3立即领取 4未开抢 5未登录 6已使用" +
行 2969: "\r\n if (itemData.Status == \"2\") {\r\n $(\"#NowBuy\").click(" +
行 2970: ");\r\n return false;\r\n }\r\n if (itemData.Statu" +
行 2971: "s == \"3\" || itemData.Status == \"5\")\r\n {\r\n var postData" +
行 2972: " = {};\r\n postData.PlanId = itemData.PlanId;\r\n post" +
行 2973: "Data.ShopId = ShopId;\r\n $.tmAjax({\r\n url: \'/ap" +
行 2974: "i/coupon/GetCoupon\',\r\n data: postData,\r\n t" +
行 2975: "ype: \"GET\",\r\n success: function (data) {\r\n " +
行 2976: " if (!$.APISuccess(data)) {\r\n if (data.Message.in" +
行 2977: "dexOf(\"登录\") > 0) {\r\n LoginHtml();\r\n " +
行 2978: " }\r\n else {\r\n " +
行 2979: " layer.alert(data.Message);\r\n }\r\n " +
行 2980: " }\r\n else {\r\n\r\n layer.a" +
行 2981: "lert(\"领取成功!\");\r\n $(\"#YHQHtml_Right\").html(\"\");\r\n " +
行 2982: " $(CouponList).each(function (index, item) {\r\n " +
行 2983: " if (item.PlanId == itemData.PlanId) {\r\n " +
行 2984: " item.Status = \"2\";\r\n }\r\n " +
行 2985: " });\r\n $(\"#YHQ_Right_HtmlTempHtml\")." +
行 2986: "tmpl(CouponList).appendTo(\"#YHQHtml_Right\");\r\n //$(ob" +
行 2987: "j).removeAttr(\"onclick\").unbind(\'click\');\r\n //locatio" +
行 2988: "n.reload();\r\n //InitProductData();\r\n " +
行 2989: " }\r\n }\r\n });\r\n }\r\n\r\n }" +
行 2990: "\r\n\r\n //获取商品可用优惠券\r\n function GetProductCouponList(_StyleId) {\r\n " +
行 2991: " $.tmAjax({\r\n url: \'/api/product/GetProductCouponList\',\r\n " +
行 2992: " data: { StyleId: _StyleId, ShopId:");
行 2993:
行 2994:
行 2995: #line 1369 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 2996: Write(Model.QuDaoProduct.Shop.ShopId);
行 2997:
行 2998:
行 2999: #line default
行 3000: #line hidden
行 3001: WriteLiteral(",ProjectType:\"QD\"},\r\n type: \"GET\",\r\n success: funct" +
行 3002: "ion (data) {\r\n if (!$.APISuccess(data)) {\r\n " +
行 3003: " $.msgTip(data.Message);\r\n }\r\n else {" +
行 3004: "\r\n var CouponList1 ={\"data\":data.Data};\r\n " +
行 3005: " CouponList = data.Data;\r\n $(\"#YHQHtml1\").html(\"\")" +
行 3006: ";\r\n $(\"#YHQHtml2\").html(\"\");\r\n $(\"" +
行 3007: "#YHQHtml_Right\").html(\"\");\r\n\r\n if (CouponList.length > 0)" +
行 3008: " {\r\n $(\"#YHQ1\").html(\"\");\r\n\r\n " +
行 3009: " $(\"#YHQHtmlTempHtml\").tmpl(CouponList1).appendTo(\"#YHQ1\");\r\n " +
行 3010: " // $(\"#YHQHtmlTempHtml\").tmpl(data.Data).appendTo(\"#YHQHtml2\");\r\n " +
行 3011: " $(\"#YHQ_Right_HtmlTempHtml\").tmpl(data.Data).appendTo(" +
行 3012: "\"#YHQHtml_Right\");\r\n } else {\r\n " +
行 3013: " // $(\"#YHQHtml1\").html(\'<span class=\"gayFont\">暂无优惠券</span>\');\r\n " +
行 3014: " // $(\"#YHQHtml2\").html(\'<span class=\"gayFont\">暂无优惠券</span>\');\r\n " +
行 3015: " }\r\n }\r\n //$(\"#PlanHtml" +
行 3016: "1\").html(\"\");\r\n //if (BlendList==\"\"&&CouponList.length==0&&pa" +
行 3017: "lnListCount==0) {\r\n // $(\"#PlanHtml1\").html(\'<td class=\"pr" +
行 3018: "ice-title ladder-3\">优 惠</td><td colspan=\"3\"><span class=\"value\"" +
行 3019: ">暂无优惠</span></td>\');\r\n //}\r\n\r\n }\r\n " +
行 3020: "});\r\n }\r\n //获取商品可用的营销优惠\r\n function GetProductPlanList(_Styl" +
行 3021: "eId){\r\n $.tmAjax({\r\n url: \'/api/product/GetProductPlan" +
行 3022: "List\',\r\n data: { StyleId: _StyleId, ShopId:");
行 3023:
行 3024:
行 3025: #line 1405 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3026: Write(Model.QuDaoProduct.Shop.ShopId);
行 3027:
行 3028:
行 3029: #line default
行 3030: #line hidden
行 3031: WriteLiteral(@"},
行 3032: type: ""GET"",
行 3033: success: function (data) {
行 3034: if (!$.APISuccess(data)) {
行 3035: $.msgTip(data.Message);
行 3036: }
行 3037: else {
行 3038:
行 3039: palnList = data.Data;
行 3040: var palnList1 = data.Data;
行 3041: if (palnList[""ManJian""].length>0||palnList[""ManZhe""].length>0) {
行 3042: palnListCount = 1;
行 3043: }
行 3044: $(""#PlanHtml"").html("""");
行 3045: $(""#PlanHtmlTempHtml"").tmpl(data.Data).appendTo(""#PlanHtml"");
行 3046: $("".preferential"").hover(function () {
行 3047: $("".preferential_detail"").show();
行 3048: },function () {
行 3049: $("".preferential_detail"").hide();
行 3050: })
行 3051: }
行 3052: $(""#PlanHtml1"").html("""");
行 3053: //if (BlendList==""""&&CouponList.length==0&&palnListCount==0) {
行 3054: // $(""#PlanHtml1"").html('<td class=""price-title ladder-3"">优 惠</td><td colspan=""3""><span class=""value"">暂无优惠</span></td>');
行 3055: //}
行 3056: }
行 3057: });
行 3058: }
行 3059: //获取商品可用的混批方案
行 3060: function GetProductBlendList(_StyleId){
行 3061: $.tmAjax({
行 3062: url: 'GetBlendRuleVMByProductStyle_Id',
行 3063: data: { StyleId: _StyleId, ShopId:");
行 3064:
行 3065:
行 3066: #line 1437 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3067: Write(Model.QuDaoProduct.Shop.ShopId);
行 3068:
行 3069:
行 3070: #line default
行 3071: #line hidden
行 3072: WriteLiteral("},\r\n type: \"GET\",\r\n success: function (data) {\r\n\r\n " +
行 3073: " BlendList = data;\r\n var BlendLists = {\"hp\"" +
行 3074: ":data};\r\n $(\"#BlendHtml\").html(\"\");\r\n $(\"#" +
行 3075: "BlendHtmlTempHtml\").tmpl(BlendLists).appendTo(\"#BlendHtml\");\r\n\r\n " +
行 3076: " //else {\r\n\r\n //}\r\n //$(\"#PlanHtml1\").h" +
行 3077: "tml(\"\");\r\n //if (BlendList==\"\"&&CouponList.length==0&&palnLis" +
行 3078: "tCount==0) {\r\n // $(\"#PlanHtml1\").html(\'<td class=\"price-t" +
行 3079: "itle ladder-3\">优 惠</td><td colspan=\"3\"><span class=\"value\">暂无优惠" +
行 3080: "</span></td>\');\r\n //}\r\n }\r\n });\r\n " +
行 3081: " }\r\n //检查购买数量\r\n function CheckCount() {\r\n var Coun" +
行 3082: "t = $(\"#Count\").val();//计算值\r\n var Stock = parseFloat($(\"#StockValue\")" +
行 3083: ".val());\r\n var IsDecimalValue = $(\"#IsDecimalValue\").val();\r\n " +
行 3084: " $(\"#Add\").removeClass(\"disabled\");\r\n $(\"#Minus\").removeClass(\"dis" +
行 3085: "abled\");\r\n\r\n if (IsDecimalValue == 1) {\r\n //可以小数\r\n " +
行 3086: " var reg = /^\\d+\\.?\\d{0,3}$/;\r\n if (!reg.test(Count)) " +
行 3087: "{\r\n $(\"#Count\").val(1);\r\n return false;\r\n " +
行 3088: " }\r\n }\r\n else {\r\n //不可以小数\r\n " +
行 3089: " if (Count.length == 1)\r\n { Count = Count.replace(/[" +
行 3090: "^1-9]/g, \'0\') }\r\n else\r\n { Count = Count.replace(/" +
行 3091: "\\D/g, \'\') }\r\n\r\n if (Count == \"\") {\r\n Count = 1" +
行 3092: ";\r\n }\r\n }\r\n\r\n var ParaIds = \"\";\r\n " +
行 3093: " $(\"[id^=\'p_\']\").each(function () {\r\n if ($(this).hasClass(\"sele" +
行 3094: "ct\")) {\r\n var ParaId = this.attributes.id.nodeValue.split(\'_\'" +
行 3095: ")[2];\r\n ParaIds += ParaId + \",\";\r\n }\r\n " +
行 3096: " });\r\n\r\n if(ParaIds==\"\"||ParaIds.split(\',\').length!=$(\"#styleUl li" +
行 3097: "\").length){\r\n layer.msg(\'请选择好购买的规格\');\r\n return;\r\n " +
行 3098: " }\r\n\r\n var _Count = parseFloat(Count);\r\n if (_Co" +
行 3099: "unt > Stock) {\r\n $(\".btn-add\").addClass(\"disabled\");\r\n " +
行 3100: " //$(\"#Count\").val(Stock);\r\n layer.msg(\"商品库存不足\");\r\n " +
行 3101: " return false;\r\n }\r\n if (Count < 0) {\r\n " +
行 3102: " $(\".btn-reduce\").addClass(\"disabled\");\r\n $(\"#Count\").val(1);\r\n " +
行 3103: " return false;\r\n }\r\n\r\n $(\"#Count\").val(Count" +
行 3104: ");\r\n }\r\n //增加数量\r\n function AddCount() {\r\n\r\n var " +
行 3105: "ParaIds = \"\";\r\n $(\"[id^=\'p_\']\").each(function () {\r\n i" +
行 3106: "f ($(this).hasClass(\"select\")) {\r\n var ParaId = this.attribut" +
行 3107: "es.id.nodeValue.split(\'_\')[2];\r\n ParaIds += ParaId + \",\";\r\n " +
行 3108: " }\r\n });\r\n\r\n if(ParaIds==\"\"||ParaIds.split(\'," +
行 3109: "\').length!=$(\"#styleUl li\").length){\r\n layer.msg(\'请选择好购买的规格\');\r\n " +
行 3110: " return;\r\n }\r\n\r\n var Count = $(\"#Count\").val" +
行 3111: "();\r\n var Stock = $(\"#StockValue\").val();\r\n if (Stock <= 0" +
行 3112: ") {\r\n $(\"#Add\").addClass(\"disabled\");\r\n $(\"#Minus\"" +
行 3113: ").addClass(\"disabled\");\r\n return false;\r\n }\r\n " +
行 3114: " $(\"#Add\").removeClass(\"disabled\");\r\n $(\"#Minus\").removeClass(\"disa" +
行 3115: "bled\");\r\n Count++;\r\n if (Count > Stock) {\r\n " +
行 3116: " layer.msg(\"商品库存不足\");\r\n //$(\"#Count\").val(Stock);\r\n " +
行 3117: " $(\".btn-add\").addClass(\"disabled\");\r\n }\r\n else {\r\n " +
行 3118: " $(\"#Count\").val(Count);\r\n }\r\n }\r\n //减少数量\r\n " +
行 3119: " function MinusCount() {\r\n\r\n var ParaIds = \"\";\r\n $(\"[i" +
行 3120: "d^=\'p_\']\").each(function () {\r\n if ($(this).hasClass(\"select\")) {" +
行 3121: "\r\n var ParaId = this.attributes.id.nodeValue.split(\'_\')[2];\r\n" +
行 3122: " ParaIds += ParaId + \",\";\r\n }\r\n });" +
行 3123: "\r\n\r\n if(ParaIds==\"\"||ParaIds.split(\',\').length!=$(\"#styleUl li\").leng" +
行 3124: "th){\r\n layer.msg(\'请选择好购买的规格\');\r\n return;\r\n " +
行 3125: " }\r\n\r\n var Count = $(\"#Count\").val();\r\n var Stock = $(\"" +
行 3126: "#StockValue\").val();\r\n if (Stock <= 0) {\r\n $(\"#Add\").a" +
行 3127: "ddClass(\"disabled\");\r\n $(\"#Minus\").addClass(\"disabled\");\r\n " +
行 3128: " return false;\r\n }\r\n $(\"#Add\").removeClass(\"disabl" +
行 3129: "ed\");\r\n $(\"#Minus\").removeClass(\"disabled\");\r\n Count--;\r\n " +
行 3130: " if (Count < 1) {\r\n $(\"#Count\").val(1);\r\n " +
行 3131: " $(\".btn-reduce\").addClass(\"disabled\");\r\n }\r\n else {\r\n " +
行 3132: " $(\"#Count\").val(Count);\r\n }\r\n }\r\n //添加购物车\r" +
行 3133: "\n function AddCart(type) {\r\n\r\n var ParaIds = \"\";\r\n " +
行 3134: "$(\"[id^=\'p_\']\").each(function () {\r\n if ($(this).hasClass(\"select" +
行 3135: "\")) {\r\n var ParaId = this.attributes.id.nodeValue.split(\'_\')[" +
行 3136: "2];\r\n ParaIds += ParaId + \",\";\r\n }\r\n " +
行 3137: " });\r\n\r\n if(ParaIds==\"\"||ParaIds.split(\',\').length!=$(\"#styleUl li\")" +
行 3138: ".length){\r\n layer.msg(\'请选择好购买的规格\');\r\n return;\r\n " +
行 3139: " }\r\n\r\n var ProductStyleId = $(\"#ProductStyleIdValue\").val();\r" +
行 3140: "\n var Count = $(\"#Count\").val();\r\n var Stock = $(\"#StockVa" +
行 3141: "lue\").val();\r\n if (Stock < 1) {\r\n layer.alert(\"没有库存\");" +
行 3142: "\r\n return false;\r\n }\r\n\r\n var buytype = 0;//" +
行 3143: "0添加购物车 1立即购买\r\n if (type == 2) {\r\n buytype = 1;//0添加购物车" +
行 3144: " 1立即购买\r\n }\r\n else {\r\n buytype = 0;//0添加购物车 " +
行 3145: "1立即购买\r\n }\r\n var postData = {};\r\n postData.Count" +
行 3146: " = Count;\r\n postData.ProductStyleId = ProductStyleId;\r\n po" +
行 3147: "stData.PFCloudProductId = $.getQueryString(\"PFCloudProductId\");\r\n pos" +
行 3148: "tData.type = buytype;\r\n\r\n $.tmAjax({\r\n url: \'/api/cart" +
行 3149: "/AddCart\',\r\n data: postData,\r\n type: \"post\",\r\n " +
行 3150: " success: function (data) {\r\n if (!$.APISuccess(da" +
行 3151: "ta)) {\r\n layer.alert(data.Message);\r\n " +
行 3152: "}\r\n else {\r\n if (buytype == 1) {\r\n " +
行 3153: " location.href = \"/Order/Index?cartIds=\" + data.Data + \"," +
行 3154: "\";\r\n }\r\n else {\r\n " +
行 3155: " window.location.href = \"/cart/index\";\r\n }\r\n " +
行 3156: " }\r\n }\r\n });\r\n }\r\n\r\n //商" +
行 3157: "品收藏\r\n function shouchang() {\r\n var PFCloudProductId = $.getQue" +
行 3158: "ryString(\"PFCloudProductId\");\r\n $.tmAjax({\r\n url: \'/ap" +
行 3159: "i/login/IsLogin\',\r\n data: {},\r\n type: \"post\",\r\n " +
行 3160: " success: function (data) {\r\n if (data.IsError) {" +
行 3161: "\r\n LoginHtml();\r\n }\r\n " +
行 3162: " else {\r\n if (data.Data != null) {\r\n " +
行 3163: " if (ShouChangFlg != \"1\") {\r\n $.ajax({\r\n " +
行 3164: " type: \"post\",\r\n " +
行 3165: " url: \"/Product/AddCollectionProduct\",\r\n " +
行 3166: " data: { ProductId: PFCloudProductId },\r\n asy" +
行 3167: "nc: false,\r\n success: function (data) {\r\n " +
行 3168: " if (data>0) {\r\n " +
行 3169: " $(\"#vshouchang\").attr(\"class\", \"left-btns-collect on\");\r\n " +
行 3170: " $(\"#ShouChangRenQi\").text(parseInt($(\"#ShouC" +
行 3171: "hangRenQi\").text()) + 1);\r\n ShouChang" +
行 3172: "Flg = \"1\";\r\n layer.msg(\'收藏成功\');\r\n " +
行 3173: " } else {\r\n " +
行 3174: " layer.msg(\'收藏失败\');\r\n\r\n }\r\n " +
行 3175: " }\r\n });\r\n " +
行 3176: " }\r\n else {\r\n " +
行 3177: " $.ajax({\r\n type: \"post\",\r\n " +
行 3178: " url: \"/Product/DelCollectionProduct\",\r\n " +
行 3179: " data: { ProductId: PFCloudProductId },\r\n " +
行 3180: " async: false,\r\n success: fu" +
行 3181: "nction (data) {\r\n if (data) {\r\n " +
行 3182: " $(\"#vshouchang\").attr(\"class\", \"left-btns-coll" +
行 3183: "ect\");\r\n $(\"#ShouChangRenQi\").text(pa" +
行 3184: "rseInt($(\"#ShouChangRenQi\").text()) - 1);\r\n " +
行 3185: " layer.msg(\'取消收藏成功\');\r\n ShouCha" +
行 3186: "ngFlg = \"2\";\r\n } else {\r\n " +
行 3187: " layer.msg(\'取消收藏失败\');\r\n " +
行 3188: " }\r\n }\r\n " +
行 3189: " });\r\n }\r\n } else {\r\n " +
行 3190: " LoginHtml();\r\n }\r\n " +
行 3191: " }\r\n }\r\n });\r\n }\r\n //店铺收藏\r\n fun" +
行 3192: "ction shouchangShop() {\r\n var ShopId = $(\"#ShopId\").val();\r\n " +
行 3193: " $.tmAjax({\r\n url: \'/api/login/IsLogin\',\r\n data:" +
行 3194: " {},\r\n type: \"post\",\r\n success: function (data) {\r" +
行 3195: "\n if (data.IsError) {\r\n LoginHtml();\r\n" +
行 3196: " }\r\n else {\r\n if (d" +
行 3197: "ata.Data != null) {\r\n if (ShouChangShop!=\"1\") {\r\n " +
行 3198: " $.ajax({\r\n type: " +
行 3199: "\"post\",\r\n url: \"/Product/AddCollectionShop\",\r" +
行 3200: "\n data: { ShopId: ShopId },\r\n " +
行 3201: " async: false,\r\n success: " +
行 3202: "function (data) {\r\n if (data > 0) {\r\n " +
行 3203: " $(\"#vshouchangShop\").attr(\"class\", \"Focu" +
行 3204: "sIcon on\");\r\n ShouChangShop = \"1\";\r\n " +
行 3205: " layer.msg(\'关注成功\');\r\n " +
行 3206: " } else {\r\n lay" +
行 3207: "er.msg(\'关注失败\');\r\n }\r\n " +
行 3208: " }\r\n });\r\n " +
行 3209: " }\r\n else {\r\n $.aja" +
行 3210: "x({\r\n type: \"post\",\r\n " +
行 3211: " url: \"/Product/DelCollectionShop\",\r\n " +
行 3212: " data: { ShopId: ShopId },\r\n async: false," +
行 3213: "\r\n success: function (data) {\r\n " +
行 3214: " if (data) {\r\n " +
行 3215: " $(\"#vshouchangShop\").attr(\"class\", \"FocusIcon\");\r\n " +
行 3216: " ShouChangShop = \"2\";\r\n " +
行 3217: " layer.msg(\'取消关注成功\');\r\n } else {\r\n " +
行 3218: " layer.msg(\'取消关注失败\');\r\n " +
行 3219: " }\r\n }\r\n " +
行 3220: " });\r\n }\r\n } els" +
行 3221: "e {\r\n LoginHtml();\r\n }\r\n " +
行 3222: " }\r\n }\r\n });\r\n }\r\n function" +
行 3223: " GetYHQClass(Status)\r\n { //1已抢光 2已领取 3立即领取 4未开抢 5未登录 6已使用\r\n s" +
行 3224: "witch (Status)\r\n {\r\n case \"1\":\r\n re" +
行 3225: "turn \"none\";\r\n case \"2\":\r\n return \"get\";\r\n " +
行 3226: " case \"3\":\r\n return \"now\";\r\n case \"" +
行 3227: "4\":\r\n return \"must\";\r\n case \"5\":\r\n " +
行 3228: " return \"now\";\r\n case \"6\":\r\n return \"fi" +
行 3229: "nish\";\r\n }\r\n }\r\n function GetYHQText(Status,PlanId)\r\n " +
行 3230: " {\r\n\r\n switch (Status)\r\n {\r\n case \"1\":" +
行 3231: "\r\n return \"\";\r\n case \"2\":\r\n " +
行 3232: " return \"已领取\";\r\n case \"3\":\r\n return \"立即领取\";\r\n " +
行 3233: " case \"4\":\r\n return \"未开抢\";\r\n cas" +
行 3234: "e \"5\":\r\n return \"立即领取\";\r\n case \"6\":\r\n " +
行 3235: " //return \"已领取\";\r\n //按照规则状态使用图片,不是用文字\r\n " +
行 3236: " return \"\";\r\n }\r\n }\r\n </script>\r\n <script>\r\n\r\n\r\n " +
行 3237: " </script>\r\n <!--评价-->\r\n <script");
行 3238:
行 3239: WriteLiteral(" id=\"PingJiaHtmlTempHtml\"");
行 3240:
行 3241: WriteLiteral(" type=\"text/x-jquery-tmpl\"");
行 3242:
行 3243: WriteLiteral(">\r\n <ul>\r\n {{each(i,pj) rows}}\r\n <li>\r\n " +
行 3244: " <div class=\"user_div\">\r\n <img src=\"");
行 3245:
行 3246:
行 3247: #line 1799 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3248: Write(ImgServerAddress);
行 3249:
行 3250:
行 3251: #line default
行 3252: #line hidden
行 3253: WriteLiteral("${pj.UserImg}\" alt=\"\" /><a class=\"gay\" href=\"javascript:void(0);\">\r\n " +
行 3254: " ${pj.UserName}\r\n </a>\r\n </div>\r\n " +
行 3255: " <div class=\"pingjia_list_right\">\r\n <div class=\"p" +
行 3256: "ingjia_list_rights\">\r\n <div class=\"pingjia_list_right_t\">" +
行 3257: "\r\n <div class=\"star_div top_16\">\r\n\r\n " +
行 3258: " {{if (pj.ProductScore==0)}}\r\n <div" +
行 3259: " style=\"width:0%;\"></div>\r\n {{/if}}\r\n " +
行 3260: " {{if (pj.ProductScore==1)}}\r\n " +
行 3261: " <div style=\"width:19%;\"></div>\r\n {{/if}}\r\n " +
行 3262: " {{if (pj.ProductScore==2)}}\r\n " +
行 3263: " <div style=\"width:40%;\"></div>\r\n {{/if}}\r\n" +
行 3264: " {{if (pj.ProductScore==3)}}\r\n " +
行 3265: " <div style=\"width:61%;\"></div>\r\n {{/" +
行 3266: "if}}\r\n {{if (pj.ProductScore==4)}}\r\n " +
行 3267: " <div style=\"width:80%;\"></div>\r\n " +
行 3268: " {{/if}}\r\n {{if (pj.ProductScore==5)}}\r\n " +
行 3269: " <div style=\"width:100%;\"></div>\r\n " +
行 3270: " {{/if}}\r\n\r\n </div>\r\n\r\n " +
行 3271: " <span class=\"c_9 fr\">${pj.PJInfoFirstTime}</span><span class=\"c_9\">评价时间:<" +
行 3272: "/span>\r\n </div>\r\n <div class=\"ping" +
行 3273: "jia_info\">\r\n ${pj.PJInfoFirst}\r\n " +
行 3274: " {{if (pj.IsImg==1)}}\r\n <div class=\"pingjia_img" +
行 3275: "\">\r\n {{if (pj.PJImage1!=\"\")}}\r\n " +
行 3276: " <img src=\"");
行 3277:
行 3278:
行 3279: #line 1836 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3280: Write(ImgServerAddress);
行 3281:
行 3282:
行 3283: #line default
行 3284: #line hidden
行 3285: WriteLiteral("${pj.PJImage1}\" alt=\"\" />\r\n {{/if}}\r\n " +
行 3286: " {{if (pj.PJImage2!=\"\")}}\r\n <im" +
行 3287: "g src=\"");
行 3288:
行 3289:
行 3290: #line 1839 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3291: Write(ImgServerAddress);
行 3292:
行 3293:
行 3294: #line default
行 3295: #line hidden
行 3296: WriteLiteral("${pj.PJImage2}\" alt=\"\" />\r\n {{/if}}\r\n " +
行 3297: " {{if (pj.PJImage3!=\"\")}}\r\n <im" +
行 3298: "g src=\"");
行 3299:
行 3300:
行 3301: #line 1842 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3302: Write(ImgServerAddress);
行 3303:
行 3304:
行 3305: #line default
行 3306: #line hidden
行 3307: WriteLiteral("${pj.PJImage3}\" alt=\"\" />\r\n {{/if}}\r\n " +
行 3308: " {{if (pj.PJImage4!=\"\")}}\r\n <im" +
行 3309: "g src=\"");
行 3310:
行 3311:
行 3312: #line 1845 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3313: Write(ImgServerAddress);
行 3314:
行 3315:
行 3316: #line default
行 3317: #line hidden
行 3318: WriteLiteral("${pj.PJImage4}\" alt=\"\" />\r\n {{/if}}\r\n " +
行 3319: " {{if (pj.PJImage5!=\"\")}}\r\n <im" +
行 3320: "g src=\"");
行 3321:
行 3322:
行 3323: #line 1848 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3324: Write(ImgServerAddress);
行 3325:
行 3326:
行 3327: #line default
行 3328: #line hidden
行 3329: WriteLiteral(@"${pj.PJImage5}"" alt="""" />
行 3330: {{/if}}
行 3331: </div>
行 3332: {{/if}}
行 3333: </div>
行 3334:
行 3335: {{if (pj.PJInfoSecond!="""")}}
行 3336: <div class=""zhuijia"">
行 3337: <span>追评时间:${pj.PJInfoSecondTime}</span>
行 3338: <p>${pj.PJInfoSecond}</p>
行 3339: </div>
行 3340: {{/if}}
行 3341:
行 3342:
行 3343: </div>
行 3344: </div>
行 3345: </li>
行 3346: {{/each}}
行 3347: </ul>
行 3348:
行 3349: </script>
行 3350: <!--渠道价格-->
行 3351: <script");
行 3352:
行 3353: WriteLiteral(" id=\"JGHtmlTempHtml\"");
行 3354:
行 3355: WriteLiteral(" type=\"text/x-jquery-tmpl\"");
行 3356:
行 3357: WriteLiteral(">\r\n {{if (LogIn==1)}}\r\n <tbody>\r\n <tr class=\"price small" +
行 3358: "f\">\r\n <td class=\"price-title ladder-3\"><div class=\"ladder-3\">批发价<" +
行 3359: "/div></td>\r\n {{each(i,qd) QuDaoPriceList}}\r\n {{if " +
行 3360: "(qd.CloudProductStyleId==FirstCloudProuctStyleId)}}\r\n <td class=\"" +
行 3361: "ladder-3-1\">\r\n <span class=\"con_jiaqian_num\"><i class=\"small\"" +
行 3362: ">¥</i>${qd.Price.toFixed(2)}</span>\r\n </td>\r\n {{/i" +
行 3363: "f}}\r\n {{/each}}\r\n </tr>\r\n <tr class=\"price " +
行 3364: "biglf\">\r\n <td class=\"price-title ladder-3\">起批量</td>\r\n " +
行 3365: " {{each(i,qd) QuDaoPriceList}}\r\n {{if (qd.CloudProductStyleId=" +
行 3366: "=FirstCloudProuctStyleId)}}\r\n <td class=\"ladder-3-3\">\r\n " +
行 3367: " <span class=\"value\">≥${qd.Number}</span>\r\n <span cl" +
行 3368: "ass=\"unit\">件</span>\r\n </td>\r\n {{/if}}\r\n " +
行 3369: " {{/each}}\r\n </tr>\r\n <tr class=\"price smallf\" id=\"Plan" +
行 3370: "Html1\"></tr>\r\n <tr class=\"price smallf\" id=\"YHQ1\"></tr>\r\n " +
行 3371: "<tr class=\"price smallf\" id=\"PlanHtml\"></tr>\r\n <tr class=\"price small" +
行 3372: "f\" id=\"BlendHtml\"></tr>\r\n <!--<tr class=\"amount\">-->\r\n <!-" +
行 3373: "-<td class=\"amount-title ladder-3\">起批价格</td>-->\r\n <!--<td colspan=\"2\"" +
行 3374: ">-->\r\n <!--<div class=\"login_link\">暂时未设置起批价格-->\r\n <!--</di" +
行 3375: "v>-->\r\n <!--</td>-->\r\n <!--</tr>-->\r\n </tbody>\r\n " +
行 3376: " {{/if}}\r\n </script>\r\n <script");
行 3377:
行 3378: WriteLiteral(" id=\"PlanHtmlTempHtml\"");
行 3379:
行 3380: WriteLiteral(" type=\"text/x-jquery-tmpl\"");
行 3381:
行 3382: WriteLiteral(">\r\n\r\n {{if ManJian.length!=0 || ManZhe.length!=0 || ManJinZeng.length!=0 |" +
行 3383: "| ManShuZeng.length!=0}}\r\n <td class=\"price-title ladder-3\">优 " +
行 3384: " 惠</td>\r\n <td colspan=\"3\" class=\"rel\">\r\n <div class=\"pref" +
行 3385: "erential\">\r\n {{if ManJian.length!=0}}\r\n <span cla" +
行 3386: "ss=\"value\">\r\n 满减:\r\n {{each(i) ManJian}}\r\n\r" +
行 3387: "\n 满${ManJian[i].ManPrice}元减${ManJian[i].JianMoney}元\r\n " +
行 3388: " {{/each}}\r\n </span>\r\n {{/if}}\r\n\r" +
行 3389: "\n {{if ManZhe.length!=0}}\r\n <span class=\"value\">\r\n" +
行 3390: " 满折:\r\n {{each(j) ManZhe}}\r\n " +
行 3391: " 满${ManZhe[j].ManPrice}元打${ManZhe[j].Discount}折\r\n {" +
行 3392: "{/each}}\r\n </span>\r\n {{/if}}\r\n\r\n {{" +
行 3393: "if ManJinZeng.length!=0}}\r\n <span class=\"value\">\r\n " +
行 3394: " 满金赠:\r\n {{each(j) ManJinZeng}}\r\n  " +
行 3395: ";满${ManJinZeng[j].ManPrice}元,可获得赠品\r\n {{/each}}\r\n " +
行 3396: " </span>\r\n {{/if}}\r\n\r\n {{if ManShuZeng.length!=0" +
行 3397: "}}\r\n <span class=\"value\">\r\n 满数赠:\r\n " +
行 3398: " {{each(j) ManShuZeng}}\r\n 满${ManShuZeng[j].ManCo" +
行 3399: "unt}件,可获得赠品\r\n {{/each}}\r\n </span>\r\n " +
行 3400: " {{/if}}\r\n </div>\r\n <i id=\"downIcon\" class=\"downIcon\">" +
行 3401: "</i>\r\n <div class=\"preferential_detail\">\r\n {{if ManJia" +
行 3402: "n.length!=0||ManZhe.length!=0||ManJinZeng.length!=0||ManShuZeng.length!=0}}\r\n\r\n " +
行 3403: " {{if ManJian.length!=0}}\r\n <dl class=\"preferential" +
行 3404: "_item\">\r\n <dt>满减:</dt>\r\n <dd>\r\n " +
行 3405: " {{each(i) ManJianToRepeat}}\r\n\r\n <div class=\"" +
行 3406: "preferential_project\">\r\n\r\n <span class=\"pre_red\">${Ma" +
行 3407: "nJianToRepeat[i].PlanName}</span>\r\n <p>\r\n " +
行 3408: " {{each(k) ManJian}}\r\n {{if Ma" +
行 3409: "nJianToRepeat[i].PlanName==ManJian[k].PlanName}}\r\n " +
行 3410: " 满${ManJian[k].ManPrice}元减${ManJian[k].JianMoney}元 \r\n " +
行 3411: " {{/if}}\r\n\r\n {{/each}}\r\n " +
行 3412: " </p>\r\n\r\n </div>\r\n\r\n {" +
行 3413: "{/each}}\r\n </dd>\r\n </dl>\r\n {{/i" +
行 3414: "f}}\r\n\r\n {{if ManZhe.length!=0}}\r\n <dl class=\"prefe" +
行 3415: "rential_item\">\r\n <dt>满折:</dt>\r\n <dd>\r\n " +
行 3416: " {{each(i) ManZheToRepeat}}\r\n\r\n <div c" +
行 3417: "lass=\"preferential_project\">\r\n\r\n <span class=\"pre_red" +
行 3418: "\">${ManZheToRepeat[i].PlanName}</span>\r\n <p>\r\n " +
行 3419: " {{each(k) ManZhe}}\r\n\r\n {" +
行 3420: "{if ManZheToRepeat[i].PlanName==ManZhe[k].PlanName}}\r\n " +
行 3421: " 满${ManZhe[k].ManPrice}元打${ManZhe[k].Discount}折 \r\n\r\n " +
行 3422: " {{/if}}\r\n\r\n {{/each}}\r\n " +
行 3423: " </p>\r\n </div>\r\n\r\n " +
行 3424: "{{/each}}\r\n </dd>\r\n </dl>\r\n {{/" +
行 3425: "if}}\r\n\r\n\r\n {{if ManJinZeng.length!=0}}\r\n <dl class" +
行 3426: "=\"preferential_item\">\r\n <dt>满金赠:</dt>\r\n <d" +
行 3427: "d>\r\n {{each(i) ManJinZengToRepeat}}\r\n " +
行 3428: " <div class=\"preferential_project\">\r\n <span class=" +
行 3429: "\"pre_red\">${ManJinZengToRepeat[i].PlanName}</span>\r\n " +
行 3430: "<p>\r\n 满${ManJinZengToRepeat[i].ManPrice}元赠\r\n " +
行 3431: " {{each(k) ManJinZeng}}\r\n\r\n " +
行 3432: " {{if ManJinZengToRepeat[i].DiscountPlan_Id==ManJinZeng[k].DiscountPlan_Id}}" +
行 3433: "\r\n , ${ManJinZeng[k].ProductName} ${ManJinZeng[k]" +
行 3434: ".StyleName} × ${ManJinZeng[k].ProductCount}\r\n {{/" +
行 3435: "if}}\r\n\r\n {{/each}}\r\n <" +
行 3436: "/p>\r\n </div>\r\n {{/each}}\r\n " +
行 3437: " </dd>\r\n </dl>\r\n {{/if}}\r\n\r\n " +
行 3438: " {{if ManShuZeng.length!=0}}\r\n <dl class=\"preferential_item\">" +
行 3439: "\r\n <dt>满数赠:</dt>\r\n <dd>\r\n " +
行 3440: " {{each(i) ManShuZengToRepeat}}\r\n <div class=\"prefe" +
行 3441: "rential_project\">\r\n <span class=\"pre_red\">${ManShuZen" +
行 3442: "gToRepeat[i].PlanName}</span>\r\n <p>\r\n " +
行 3443: " 满${ManShuZengToRepeat[i].ManCount}件赠\r\n " +
行 3444: " {{each(k) ManShuZeng}}\r\n {{if ManShuZengToR" +
行 3445: "epeat[i].DiscountPlan_Id==ManShuZeng[k].DiscountPlan_Id}}\r\n " +
行 3446: " ,${ManShuZeng[k].ProductName} ${ManShuZeng[k].StyleName} × ${ManShuZe" +
行 3447: "ng[k].ProductCount}\r\n {{/if}}\r\n " +
行 3448: " {{/each}}\r\n </p>\r\n " +
行 3449: " </div>\r\n {{/each}}\r\n </dd>\r\n " +
行 3450: " </dl>\r\n {{/if}}\r\n\r\n {{/if}}\r\n\r\n\r\n\r\n " +
行 3451: " </div>\r\n </td>\r\n\r\n {{/if}}\r\n </script>\r\n\r\n <script");
行 3452:
行 3453: WriteLiteral(" id=\"BlendHtmlTempHtml\"");
行 3454:
行 3455: WriteLiteral(" type=\"text/x-jquery-tmpl\"");
行 3456:
行 3457: WriteLiteral(@">
行 3458:
行 3459: <td class=""price-title ladder-3"">混 批</td>
行 3460: {{if hp!=null && hp!=""""}}
行 3461: <td colspan=""3"">
行 3462: <span class=""value"">
行 3463: {{if hp.Type==1}}
行 3464: 此商品满${hp.ProductNum}个可混批
行 3465: {{/if}}
行 3466: {{if hp.Type==2}}
行 3467: 此商品满${hp.ProductPrice}元可混批
行 3468: {{/if}}
行 3469: {{if hp.Type==3}}
行 3470: 此商品满${hp.ProductNum}个或者满${hp.ProductPrice}可混批
行 3471: {{/if}}
行 3472: </span>
行 3473:
行 3474: {{else}}
行 3475: <td colspan=""3"">
行 3476: <span class=""value"">
行 3477: 此商品暂不支持混批
行 3478: </span>
行 3479: {{else}}
行 3480: {{/if}}
行 3481: </td>
行 3482: </script>
行 3483: <script");
行 3484:
行 3485: WriteLiteral(" id=\"XSHtmlTempHtml\"");
行 3486:
行 3487: WriteLiteral(" type=\"text/x-jquery-tmpl\"");
行 3488:
行 3489: WriteLiteral(@">
行 3490: <tbody>
行 3491: <tr class=""price"">
行 3492: <td class=""price-title ladder-3"">最低价</td>
行 3493: <td class=""ladder-3-1"" colspan=""2"">
行 3494: {{each(i,qd) XSQuDaoPriceList}}
行 3495: {{if (qd.CloudProductStyleId==FirstCloudProuctStyleId)}}
行 3496: <span class=""con_jiaqian_num ""><i class=""small"">¥</i>${qd.Price.toFixed(2)}</span>
行 3497: {{/if}}
行 3498: {{/each}}
行 3499: </td>
行 3500: </tr>
行 3501: <tr class=""amount "">
行 3502: <td class=""amount-title ladder-3""><div class=""ladder-3"">批发价</div></td>
行 3503: <td colspan=""2"">
行 3504: <div class=""login_link"">
行 3505: <em>¥<span>***</span>.00</em><a href=""javascript:LoginHtml();"">登录</a><span>查看渠道价格</span>
行 3506: </div>
行 3507: </td>
行 3508: </tr>
行 3509: ");
行 3510:
行 3511: WriteLiteral("\r\n </tbody>\r\n </script>\r\n\r\n <script");
行 3512:
行 3513: WriteLiteral(" id=\"YHQHtmlTempHtml\"");
行 3514:
行 3515: WriteLiteral(" type=\"text/x-jquery-tmpl\"");
行 3516:
行 3517: WriteLiteral(@">
行 3518: {{if data.length > 0}}
行 3519:
行 3520: <td class=""price-title ladder-3"">优惠券</td>
行 3521: <td colspan=""3"">
行 3522: {{each(i,yhq) data}}
行 3523: <span class=""value"">
行 3524: <div class=""coupon2"" onclick=""showcoupon()"">
行 3525: <img src=""/Content/img/coupon2left.png"" alt=""""><span class=""coupon_center"">${yhq.Name}</span><img src=""/Content/img/coupon2right.png"" alt="""">
行 3526: </div>
行 3527: </span>
行 3528: {{/each}}
行 3529: </td>
行 3530: {{/if}}
行 3531: </script>
行 3532:
行 3533: <script");
行 3534:
行 3535: WriteLiteral(" id=\"YHQ_Right_HtmlTempHtml\"");
行 3536:
行 3537: WriteLiteral(" type=\"text/x-jquery-tmpl\"");
行 3538:
行 3539: WriteLiteral(@">
行 3540: <li class=""${GetYHQClass(Status)}"">
行 3541: <a href=""javascript:;"">
行 3542: <div class=""main-container"">
行 3543: <div class=""main"">
行 3544: <div class=""q_use"">
行 3545: ¥<strong>${Price}</strong><span class=""q_icon"">满${OrderPrice}可用</span>
行 3546: </div>
行 3547: <p class=""q_content"">${Name}</p>
行 3548: </div>
行 3549: </div>
行 3550: <!--<div class=""left""><img src=""./img/shoppic2.png"" alt=""""></div>-->
行 3551: <div class=""right"" onclick=""LingJuan(this)"">
行 3552: <div class=""q_status"">${GetYHQText(Status,PlanId)}</div>
行 3553: </div>
行 3554: </a>
行 3555: </li>
行 3556: </script>
行 3557: ");
行 3558:
行 3559: });
行 3560:
行 3561: DefineSection("styles", () => {
行 3562:
行 3563: WriteLiteral("\r\n <script");
行 3564:
行 3565: WriteAttribute("src", Tuple.Create(" src=\"", 99378), Tuple.Create("\"", 99417)
行 3566:
行 3567: #line 2154 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3568: , Tuple.Create(Tuple.Create("", 99384), Tuple.Create<System.Object, System.Int32>(LSWebUri+"/Scripts/utility.js"
行 3569:
行 3570: #line default
行 3571: #line hidden
行 3572: , 99384), false)
行 3573: );
行 3574:
行 3575: WriteLiteral("></script>\r\n <script");
行 3576:
行 3577: WriteLiteral(" type=\"text/javascript\"");
行 3578:
行 3579: WriteLiteral(">\r\n (function () {\r\n if (checkMobile()) {\r\n //跳转" +
行 3580: "手机\r\n location.href = \"");
行 3581:
行 3582:
行 3583: #line 2159 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3584: Write(Request.Url.Scheme+"://"+Request.Url.Authority);
行 3585:
行 3586:
行 3587: #line default
行 3588: #line hidden
行 3589: WriteLiteral("/wap/Product/WapInfo?PFCloudProductId=");
行 3590:
行 3591:
行 3592: #line 2159 "D:\WEB\华初申请临时站点\channel.it.34xian.com\Views\Product\Product404.cshtml"
行 3593: Write(Model.QuDaoProduct.PFCloudProductId);
行 3594:
行 3595:
行 3596: #line default
行 3597: #line hidden
行 3598: WriteLiteral("\";\r\n }\r\n })();\r\n </script>\r\n\r\n");
行 3599:
行 3600: });
行 3601:
行 3602: WriteLiteral("\r\n");
行 3603:
行 3604: }
行 3605: }
行 3606: }
行 3607:
|