search

Home  >  Q&A  >  body text

The reference status is 200, but all the codes in the body cannot be displayed. Remove the references in the head and it will appear.

<!DOCTYPE html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <title>{$Title|default='默认网站'}</title>
   <link rel="stylesheet" href="static/css/bootstrap.min.css">
   <script src="/static/js/jquery-3.3.1.min.js"/>
   <script src="/static/js/bootstrap.min.js"/>
</head>
<body>

<div class="container">
    <div class="row">

        <div class="col-md-2"></div>
        <div class="col-md-8">
            <h2 class="text-center">学生信息表</h2>
            <table class="table table-default table-bordered table-hover text">
               <tr class="bg-primary">
                   <td>ID</td>
                   <td>姓名</td>
                   <td>年龄</td>
                   <td>身高</td>
               </tr>
{volist name="data" id="list"}
                <tr>
                    <td>{$list.id}</td>
                    <td>{$list.name}</td>
                    <td>{$list.age}</td>
                    <td>{$list.height}</td>
                </tr>
{/volist}
            </table>
        </div>
        <div class="col-md-2"></div>

    </div>
</div>

</body>

</html>

L_洲鸿L_洲鸿2258 days ago1178

reply all(0)I'll reply

No reply
  • Cancelreply