List.cshtml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @model CP.Web.ZstOutHelp
  2. @using CP.Model;
  3. @using CP.Common;
  4. @{
  5. Layout = "~/Views/Shared/_zst.cshtml";
  6. Page.TrendPageType = TrendPageType.pailie;
  7. var chart = Model.Chart;
  8. Page.Title = chart.title;
  9. Page.Description = chart.description;
  10. Page.Keywords = chart.keywords;
  11. Page.Chart = Model.Chart;
  12. Page.Cz = Model.Cz;
  13. Page.InnerLink = Model.InnerLinkList;
  14. Page.ZsList = Model.ZsList;
  15. Page.GjList = Model.GjList;
  16. Page.YlList = Model.YlList;
  17. Page.TbList = Model.TbList;
  18. Page.ZtList = Model.ZtList;
  19. var cz = Model.Cz;
  20. var tjmenu = Model.InnerLinkList;
  21. var pagesize = Model.PageSize;
  22. var year = Model.Year;
  23. var week = Model.Week;
  24. }
  25. @section head{
  26. }
  27. <div class="wrap">
  28. <div class="navbar">
  29. <span>当前位置:</span><a href="/">首页</a> - <a href="/tb/">图表</a> - <a href="@Model.Chart.url">@Model.Cz.name</a> - @Model.Chart.name
  30. </div>
  31. </div>
  32. <div class="wrap">
  33. <div class="container">
  34. <div class="title"><h1>@Model.Chart.name</h1></div>
  35. <div class="trend">
  36. @{
  37. string chartId = Model.Chart.chartid.ToString();
  38. @Html.Action("tb_" + chartId, "tb");
  39. }
  40. </div>
  41. </div>
  42. </div>
  43. <script type="text/javascript">
  44. showNavSelect();
  45. function RetUrl() {
  46. var term = $("input[name='textfield']").val();
  47. window.location.href = "/zt/3dsjhcx/?term=" + term;
  48. }
  49. </script>