2018.1.21
1.、安装Php工具箱
2.下载 thinkphp .thinkphp下载
3.下载hi-hui 后台模板
下载h-ui模板 http://www.h-ui.net/H-ui.admin.shtml
index.html 复制覆盖 \application\index\view\index\index.html
把 static lib 目 录 复制到public/static/下
控制器调用模板
首页展示后是乱的,现在对样式路径进行调整
<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui/css/H-ui.min.css" /> <link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/css/H-ui.admin.css" /> <link rel="stylesheet" type="text/css" href="__STATIC__/lib/Hui-iconfont/1.0.8/iconfont.css" /> <link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/skin/default/skin.css" id="skin" /> <link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/css/style.css" />
全部替换 static/ =〉 __STATIC__/static/
lib/=>__STATIC__/lib/
现在首页可以正常显示了