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.
 
 
 
 
 
 

191 lines
5.6 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title></title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <link rel="stylesheet" href="css/mui.min.css">
  10. <link rel="stylesheet" href="css/style.css">
  11. <style>
  12. html,
  13. body {
  14. background-color: #efeff4;
  15. }
  16. .title {
  17. padding: 20px 15px 10px;
  18. color: #6d6d72;
  19. font-size: 15px;
  20. background-color: #fff;
  21. }
  22. .mui-control-item span {
  23. display: block;
  24. margin: 0;
  25. padding: 0;
  26. font-size: 20px
  27. }
  28. .mui-active {
  29. margin: 0;
  30. padding: 0;
  31. }
  32. </style>
  33. </head>
  34. <body>
  35. <div id="pullrefresh" class="mui-content">
  36. <div class="mui-table-view">
  37. <div class="mui-card-content">
  38. <div class="mui-card-content-inner">
  39. <div id="slider" class="mui-slider">
  40. <div id="sliderSegmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
  41. <a class="mui-control-item" id="bmselect"><span id="bmnum">0</span>报名学生</a>
  42. <a class="mui-control-item" id="jfselect"><span id="jfnum">0</span>缴费学生</a>
  43. <a class="mui-control-item" id="txselect"><span id="txnum">0</span>退学学生</a>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="mui-scroll">
  50. <ul class="mui-table-view" style="margin-top: 25px;" id="entering">
  51. <li class="mui-table-view-cell">
  52. <a class="mui-navigate-right"><img style="max-width: 20px; height: 20px;" class="mui-pull-left" src="images/lr.png">&nbsp;录入 学生信息</a>
  53. </li>
  54. </ul>
  55. <ul class="mui-table-view" style="margin-top: 25px;" id="search">
  56. <li class="mui-table-view-cell">
  57. <a class="mui-navigate-right"><img style="max-width: 20px; height: 20px;" class="mui-pull-left" src="images/chaxun.png">&nbsp;查询信息</a>
  58. </li>
  59. </ul>
  60. <!--<ul class="mui-table-view " style="margin-top: 25px;" id="pay">
  61. <li class="mui-table-view-cell">
  62. <a class="mui-navigate-right"><img style="max-width: 20px; height: 20px;" class="mui-pull-left" src="images/xsjg.png">&nbsp;学生缴费</a>
  63. </li>
  64. </ul>-->
  65. </div>
  66. </div>
  67. <script src="js/mui.min.js"></script>
  68. <script src="js/userinfos.js"></script>
  69. <script src="js/serverurl.js"></script>
  70. <script type="text/javascript">
  71. function GetCount() {
  72. // var xhr = new plus.net.XMLHttpRequest();
  73. // xhr.responseType = "json";
  74. // xhr.onreadystatechange = function() {
  75. // switch(xhr.readyState) {
  76. // case 4:
  77. // if(xhr.status == 200) {
  78. // if(xhr.response.result == "ok") {
  79. // document.getElementById("bmnum").innerText = xhr.response.bm;
  80. // document.getElementById("jfnum").innerText = xhr.response.jf;
  81. // document.getElementById("txnum").innerText = xhr.response.tx;
  82. // } else {
  83. // document.getElementById("bmnum").innerText ="0";
  84. // document.getElementById("jfnum").innerText = "0";
  85. // document.getElementById("txnum").innerText = "0";
  86. // //plus.nativeUI.toast("获取用户信息失败,请返回重新打开。");
  87. // }
  88. // } else {
  89. // plus.nativeUI.toast("获取用户信息失败,请返回重新打开。");
  90. // }
  91. // break;
  92. // default:
  93. // break;
  94. // }
  95. // }
  96. // xhr.open("GET", encodeURI(serverdomain + "/WebService/UserService.ashx?Action=strManageNum&content={'logname':'" + users.phone + "'}"));
  97. // xhr.send();
  98. mui.post(api+'/user/getstunum',{data:users.ID},function(res){//
  99. if(res.code=="200"){
  100. document.getElementById("bmnum").innerText = res.data.count;
  101. document.getElementById("jfnum").innerText = res.data.isPayNum;
  102. document.getElementById("txnum").innerText = res.data.isDropoutNum;
  103. }else{
  104. document.getElementById("bmnum").innerText ="0";
  105. document.getElementById("jfnum").innerText = "0";
  106. document.getElementById("txnum").innerText = "0";
  107. }
  108. },'json')
  109. }
  110. mui.plusReady(function() {
  111. CheckLogin();
  112. GetCount();
  113. document.getElementById("entering").addEventListener("tap", function() {
  114. mui.openWindow({
  115. url: 'studentsinf.html',
  116. id: 'studentsinf',
  117. show: {
  118. aniShow: 'pop-in'
  119. }
  120. });
  121. });
  122. document.getElementById("search").addEventListener("tap", function() {
  123. mui.openWindow({
  124. url: 'chaxuninf.html',
  125. id: 'chaxuninf',
  126. show: {
  127. aniShow: 'pop-in'
  128. }
  129. });
  130. });
  131. // document.getElementById("pay").addEventListener("tap", function() {
  132. // mui.openWindow({
  133. // url: 'pay.html',
  134. // id: 'pay',
  135. // show: {
  136. // aniShow: 'pop-in'
  137. // }
  138. // });
  139. // });
  140. document.getElementById("bmselect").addEventListener("tap", function() {
  141. mui.openWindow({
  142. url: 'chaxuninf.html',
  143. id: 'chaxuninf',
  144. extras:{
  145. activetab:'tablereg'
  146. },
  147. show: {
  148. aniShow: 'pop-in'
  149. }
  150. });
  151. });
  152. document.getElementById("jfselect").addEventListener("tap", function() {
  153. mui.openWindow({
  154. url: 'chaxuninf.html',
  155. id: 'chaxuninf',
  156. extras:{
  157. activetab:'tablejiaofei'
  158. },
  159. show: {
  160. aniShow: 'pop-in'
  161. }
  162. });
  163. });
  164. document.getElementById("txselect").addEventListener("tap", function() {
  165. mui.openWindow({
  166. url: 'chaxuninf.html',
  167. id: 'chaxuninf',
  168. extras:{
  169. activetab:'tabletuixue'
  170. },
  171. show: {
  172. aniShow: 'pop-in'
  173. }
  174. });
  175. });
  176. });
  177. </script>
  178. </body>
  179. </html>