You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MajorIntroduce.cshtml 7.9 KiB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. @model Learun.Application.TwoDevelopment.EducationalAdministration.CdMajorEntity
  2. @{
  3. /**/
  4. ViewBag.Title = "";
  5. Layout = null;
  6. }
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head>
  10. <meta http-equiv="X-UA-Compatible" content="IE=7,IE=8,IE=9,IE=10" />
  11. <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  13. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  15. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  16. <meta name="renderer" content="webkit" />
  17. <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
  18. <title>网上报名-专业介绍</title>
  19. <meta name="viewport" content="maximum-scale=1.0,width=device-width,initial-scale=1.0,user-scalable=no" />
  20. <link href="~/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
  21. <link href="~/Content/css/OnlineRegistrate/bootstrap.css" rel="stylesheet" />
  22. <link href="~/Content/css/OnlineRegistrate/zyjs.css" rel="stylesheet" />
  23. <link href="~/Content/css/OnlineRegistrate/default.css" rel="stylesheet" />
  24. <link href="~/Content/css/OnlineRegistrate/hddb.css" rel="stylesheet" />
  25. <link href="~/Content/css/OnlineRegistrate/style1.css" rel="stylesheet" />
  26. <link href="~/Content/css/OnlineRegistrate/zyxq.css" rel="stylesheet" />
  27. <link href="~/Content/jquery/plugin/layer/skin/default/layer.css" rel="stylesheet" />
  28. <script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
  29. <script src="~/Content/bootstrap/bootstrap.min.js"></script>
  30. <script src="~/Content/jquery/plugin/layer/layer.js"></script>
  31. </head>
  32. <body style="overflow-x:hidden;">
  33. <div id="header"></div>
  34. <div class="page-container">
  35. <div class="page-content">
  36. <div class="row">
  37. <div class="col-md-12">
  38. <div class="section join" id="tl_container">
  39. <div class="section-body">
  40. <form id="defaultForm" class="form-horizontal" role="form" onsubmit="return false;" novalidate="novalidate">
  41. <div>
  42. <div style="height:76px; line-height:76px; width:95%; margin:0px auto; border-bottom:1px solid #e7e7e7;">
  43. <div style="float:left; margin-top:15px;">
  44. <img src="~/Content/images/OnlineRegistrate/zyxq1.png" width="36" height="45" />
  45. </div>
  46. <div style="text-align: left; font-family: 黑体; padding-left:15px; font-weight:900; float:left; font-size: 18px; color: #7c7c7c;">
  47. 专业介绍
  48. </div>
  49. </div>
  50. <div class="zyxq_bk">
  51. <div class="zyxq_z">
  52. <div class="zyxq_zi1">专业名称:@Model.MajorName</div>
  53. <div class="zyxq_zi2">
  54. 所属校区:@Model.SchoolName<a href="#" target="_blank">(查看官网)</a><br />
  55. 招生对象:@Model.RecruitObjectText<br />
  56. 培养层次:@Model.DevelopLevel
  57. </div>
  58. <div class="zyxq_zi3">
  59. @if (ViewBag.IsReselect)
  60. {
  61. <a id="SaveReselectMajor" href="javascript:void(0);" type="button" class=" btn btn-primary" style=" text-align:center;"> 确定重选专业</a>
  62. }
  63. else
  64. {
  65. <a href="/OnlineRegistrate/SignUp?majorNo=@Model.MajorNo" type="button" class=" btn btn-primary" style=" text-align:center;"> 我要报名</a>
  66. }
  67. <a href="#" style="padding-left:10px;">咨询电话:400-712-1136</a>
  68. </div>
  69. </div>
  70. <div class="zyxq_y">
  71. <img src="@Model.Photo" width="238" height="229" />
  72. </div>
  73. </div>
  74. <div class="zyxq_x">
  75. <span>获取证书</span>
  76. <p>
  77. @Model.Certificate
  78. </p>
  79. <span style="margin-top:15px;">培养目标</span>
  80. <p>
  81. @Model.DevelopTarget
  82. </p>
  83. <span style="margin-top:15px;">专业介绍</span>
  84. <p>
  85. @Model.Introduce
  86. </p>
  87. </div>
  88. <div style="text-align:center;">
  89. @if (ViewBag.IsReselect)
  90. {
  91. <a href="/OnlineRegistrate/MajorInfo?userId=@ViewBag.UserId&isReselect=true" type="button" class=" btn btn-primary" style=" text-align:center;">返回上一页</a>
  92. }
  93. else
  94. {
  95. <a href="/OnlineRegistrate/MajorInfo" type="button" class=" btn btn-primary" style=" text-align:center;">返回上一页</a>
  96. }
  97. </div>
  98. </div>
  99. </form>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. <div id="footer"></div>
  107. <script>
  108. $(function () {
  109. $('#header').load('../Content/css/OnlineRegistrate/Header.html');
  110. $('#footer').load('../Content/css/OnlineRegistrate/Footer.html');
  111. })
  112. </script>
  113. <script>
  114. //点击“确定重选专业”
  115. $("#SaveReselectMajor").on('click', function () {
  116. var data = {
  117. userId: "@ViewBag.UserId",
  118. majorNo:"@Model.MajorNo"
  119. };
  120. $.ajax({
  121. type: 'post',
  122. url: '/OnlineRegistrate/SaveReselectMajor',
  123. contentType: 'application/json',
  124. dataType: 'json',
  125. async: true,
  126. cache: false,
  127. data: JSON.stringify(data),
  128. success: function (result) {
  129. console.log(result);
  130. if (result.code == 200) {
  131. layer.msg(result.info);
  132. window.location.href = "/OnlineRegistrate/RegistrateForm?userId=@ViewBag.UserId";
  133. } else {
  134. layer.msg(result.info);
  135. }
  136. },
  137. error: function (XMLHttpRequest, textStatus, errorThrown) {
  138. }
  139. });
  140. });
  141. </script>
  142. </body>
  143. </html>