css,js引入
/admin/index.php
相对路径:
<link href="/static/assets/admin/css/bootstrap.css" rel="stylesheet">
绝对路径:
<link href="http://www.xxoo.com/static/assets/admin/css/bootstrap.css" rel="stylesheet">
推荐使用绝对路径
css,js引入
/admin/index.php
相对路径:
<link href="/static/assets/admin/css/bootstrap.css" rel="stylesheet">
绝对路径:
<link href="http://www.xxoo.com/static/assets/admin/css/bootstrap.css" rel="stylesheet">
推荐使用绝对路径
转载于:https://www.cnblogs.com/zifeiyu2018/p/10522988.html