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.

33 lines
832 B

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="/public/static/js/jquery-3.2.1.min.js"></script>
<title>Title</title>
</head>
<body>
<div><img src="/public/static/images/favicon.ico" onclick="info()"></div>
<h1>闭合标签</h1>
{tree:close time='$demo_time'/}
<hr>
<h1>非闭合标签</h1>
{tree:open name='demo_name'}
{$key}=>{$demo_name}<br>
{/tree:open}
<br>
{tree:open name='demo_name' type='1'}
{$key}=>{$demo_name}<br>
{/tree:open}
<div id="msg" style="border: dotted 1px grey;width: 200px;height: 200px;color: blue">blue</div>
<script>
function info() {
$.ajax({
url : 'http://localhost/think/public/hi',
method : 'post',
data : 'name=1&pass=2',
async:true
});
}
</script>
</body>
</html>