Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
905364822 authored Dec 22, 2018
1 parent c551148 commit 324b3bb
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions 学生记账/eat.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Hello MUI</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/mui.min.css">
<script type="text/javascript" src="jquery-3.3.1.js"></script>
<script type="text/javascript" charset="utf-8">
$("button:first").click(function(){
$.post("",$("#a").serialize(),
function(data){
if(data=="true"){
alert("储存成功");
}else{
alert("出错");
}
});
});
</script>
</head>
<body>
<div class="mui-content" id="a" method="post">
<ul class="mui-table-view">
<li class="mui-table-view-cell">进餐消费:</li>
</ul>
<form class="mui-input-group">
<div class="mui-input-row">
<input type="text" class="mui-input-clear">
</div>
<div class="mui-button-row">
<a href="index.html"><button type="button" class="mui-btn mui-btn-primary" >确认</button></a>
<a href="index.html"><button type="button" class="mui-btn mui-btn-danger" >取消</button></a>
</div>
</form>
</div>
</div>
</body>
</html>

0 comments on commit 324b3bb

Please sign in to comment.