Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
ab1d9c38
Commit
ab1d9c38
authored
Dec 11, 2017
by
刘丹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端
parent
a000b402
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
68 additions
and
7 deletions
+68
-7
Index.php
application/index/controller/member/Index.php
+5
-0
home.html
application/index/view/member/home.html
+28
-0
member.html
application/index/view/member/member.html
+8
-6
route.php
application/route.php
+2
-1
home.css
public/resource/css/home.css
+7
-0
home.js
public/resource/js/home.js
+18
-0
No files found.
application/index/controller/member/Index.php
View file @
ab1d9c38
...
...
@@ -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
application/index/view/member/home.html
0 → 100644
View file @
ab1d9c38
<!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
application/index/view/member/member.html
View file @
ab1d9c38
...
...
@@ -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
application/route.php
View file @
ab1d9c38
...
...
@@ -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
...
...
public/resource/css/home.css
0 → 100644
View file @
ab1d9c38
.navbar
{
background
:
#f34541
;
width
:
100%
;
height
:
40px
;
color
:
red
;
}
\ No newline at end of file
public/resource/js/home.js
0 → 100644
View file @
ab1d9c38
/**
* Created by 刘丹 on 2017/12/11.
*/
define
([
'css!style/home.css'
],
function
()
{
var
home
=
{
urls
:
''
,
init
:
function
()
{
//初始化dot
home
.
event
();
},
event
:
function
()
{
}
}
return
home
;
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment