|
- <!doctype html>
- <html>
-
- <head>
- <meta charset="UTF-8">
- <title></title>
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <link href="css/mui.min.css" rel="stylesheet" />
- <link href="css/style.css" rel="stylesheet" />
- <style>
- .mui-table-view {
- margin-top: 10px;
- }
-
- .span1 {
- color: deepskyblue;
- }
-
- .span2 {
- color: #c70f1a;
- font-size: 13px;
- line-height: 24px;
- }
-
- .mui-ellipsis {
- line-height: 24px;
- }
-
- .mui-content-padded {
- margin-top: 10px;
- text-align: center;
- }
- </style>
- </head>
-
- <body>
- <div class="mui-content" style="display: none;" id="baominginfo">
- <ul class="mui-table-view">
- <li class="mui-table-view-cell mui-media">
- <a>
- <div class="mui-media-body">
- <span class="span1">基础信息</span>
- <p class='mui-ellipsis' id="username"></p>
- <p class='mui-ellipsis' id="sexname"></p>
- <p class='mui-ellipsis' id="phone"></p>
- <p class='mui-ellipsis' id="departname"></p>
- <p class='mui-ellipsis' id="schoolname"></p>
- <p class='mui-ellipsis' id="pTotalMoney"></p>
- <div class="mui-content-padded">
- <button id="updatebaoming" class="mui-btn mui-btn-danger">修改专业</button>
- </div>
- </div>
- </a>
- </li>
- </ul>
- <ul class="mui-table-view">
- <li class="mui-table-view-cell mui-media">
- <a>
- <div class="mui-media-body">
- <span class="span1">支付方式</span><br />
- <span class="span2">请您汇款至我们校区的账户,汇款完毕后及时联系我们。</span><br />
- <span class="span2">财务部:0351-2802263 招生部:0351-2802791</span>
- <p class='mui-ellipsis'>名称:山西冶金技师学院</p>
- <p class='mui-ellipsis'>开户行:工商银行并州支行(备注:转白杨树支行)</p>
- <p class='mui-ellipsis'>账号:0502 2048 1902 4507 090</p>
- </div>
- </a>
- </li>
- </ul>
- </div>
- <div class="mui-content" style="display: none;" id="wubaoming">
- <div class="mui-content-padded">
- <button id='gobaoming' class="mui-btn mui-btn-block mui-btn-primary">去报名</button>
- </div>
- </div>
- </body>
- <script src="js/mui.min.js "></script>
- <script src="js/serverurl.js"></script>
- <script src="js/tools.js"></script>
- <script src="js/userinfos.js"></script>
- <script type="text/javascript">
- function RefreshBaoming() {
- CheckLogin();
- GetUserData();
- }
- mui.plusReady(function() {
- CheckLogin();
- GetUserData();
- });
-
- function GetUserData() {
- document.getElementById("gobaoming").addEventListener("tap", function() {
- plus.webview.currentWebview().parent().evalJS("GoScholldTab();");
- });
- document.getElementById("updatebaoming").addEventListener("tap", function() {
- mui.openWindow({
- url: 'editbm.html',
- id: 'editbm',
- show: {
- aniShow: 'pop-in'
- },
- extras: {
- departID: users.depart,
- schoolID: users.school
- }
- });
- });
-
-
- if(users.depart != undefined && users.depart != null && users.depart != "" && users.depart != 0 && users.depart != "0") {
- document.getElementById("username").innerText = "姓名:" + users.username;
- document.getElementById("sexname").innerText = "性别:" + users.sexname;
- document.getElementById("phone").innerText = "手机号:" + users.phone;
- document.getElementById("departname").innerText = "报名专业:" + users.departname;
- document.getElementById("schoolname").innerText = "所属校区:" + users.schoolname;
- document.getElementById("pTotalMoney").innerText = "费用:" + users.pTotalMoney + "元";
- document.getElementById("baominginfo").style.display = 'block';
- document.getElementById("wubaoming").style.display = 'none';
- } else {
- document.getElementById("baominginfo").style.display = 'none';
- document.getElementById("wubaoming").style.display = 'block';
- }
- }
- </script>
-
- </html>
|