Commit ab1d9c38 authored by 刘丹's avatar 刘丹

前端

parent a000b402
......@@ -12,4 +12,8 @@ class Index {
return view('member/member',['title'=>'thinkphp']);
//$this->response('100',array(),'json');
}
public function home(){
return view('member/home');
//$this->response('100',array(),'json');
}
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>同联后台管理中心</title>
</head>
<body>
{include file="global/footer_tpl" /}
<input type="hidden" class="page-load" id="home" />
<div class="navbar">
sda
</div>
<div class="dropup">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropup
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
</body>
</html>
\ No newline at end of file
......@@ -8,10 +8,12 @@
<button class="button6 Bannertu" type="button">选择图片</button>
<span class="tip">建议尺寸288x320</span>
Copy
<button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon-align-left" aria-hidden="true"></span>
</button>
<div class="btn-group" role="group" aria-label="...">
<button type="button" class="btn btn-default">Left</button>
<button type="button" class="btn btn-default">Middle</button>
<button type="button" class="btn btn-default">Right</button>
</div>
\ No newline at end of file
<button type="button" class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
</button>
\ No newline at end of file
......@@ -41,7 +41,8 @@ Route::rule([
Route::rule(['/city/:name' => 'error/index'] , '' ,'GET');*/
Route::group('index',[
'member' => ['index/member.index/member',['method' => 'get']]
'member' => ['index/member.index/member',['method' => 'get']],
'home' => ['index/member.index/home',['method' => 'get']]
]);
Route::group('api',[
//get
......
.navbar{
background: #f34541;
width: 100%;
height: 40px;
color:red;
}
\ No newline at end of file
/**
* Created by 刘丹 on 2017/12/11.
*/
define ([ 'css!style/home.css'], function () {
var home = {
urls: '',
init: function () {
//初始化dot
home.event ();
},
event: function () {
}
}
return home;
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment