forked from 905364822/work
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |