_header1.cshtml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @model string
  2. @{
  3. string src = "";
  4. string href = "";
  5. if (Model == "ZX")
  6. {
  7. src = "zx-logo.png";
  8. href = "http://zx.55128.cn/ ";
  9. }
  10. if (Model == "KJ")
  11. {
  12. src = "kj-logo.jpg";
  13. href = "http://kjh.55128.cn/";
  14. }
  15. if (Model == "TK")
  16. {
  17. src = "tk-logo.png";
  18. href = "http://tk.55128.cn/index.htm";
  19. }
  20. if (Model == "SS" || Model == "ZS")
  21. {
  22. src = "zs-logo.png";
  23. href = "http://www.55128.cn/";
  24. }
  25. }
  26. <header class="border-1px-bottom">
  27. <div class="header-left">
  28. <img src="~/Content/img/@src" />
  29. </div>
  30. <div class="header-right">
  31. <a href="/kjh/index" class="hearder-right-item">
  32. <span class="item-lable">开机号</span>
  33. </a> <!----> <!---->
  34. <a href="/sjh/index" class="hearder-right-item">
  35. <span class="item-lable">试机号</span>
  36. </a> <!----> <!----><!---->
  37. <a href="/zlxq/fc3d/i=cstzm.html" class="hearder-right-item">
  38. <span class="item-lable">彩神通</span>
  39. </a> <!----><!----> <!---->
  40. <a href="http://m.55128.cn/index.aspx" class="hearder-right-item">
  41. <span class="item-lable hdjb">旧版</span>
  42. </a>
  43. <a href=@href class="hearder-right-item">
  44. <span class="item-lable hdjb">电脑版</span>
  45. </a>
  46. </div>
  47. </header>