Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
b475f9de
Commit
b475f9de
authored
Jun 08, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
b4711eeb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
147 additions
and
0 deletions
+147
-0
workspace.xml
.idea/workspace.xml
+0
-0
footer-work-s.png
public/img/footer-work-s.png
+0
-0
footer-work.png
public/img/footer-work.png
+0
-0
Communicate.jsx
src/pages/Communicate/Communicate.jsx
+79
-0
index.less
src/pages/Communicate/index.less
+66
-0
router.js
src/router.js
+2
-0
No files found.
.idea/workspace.xml
View file @
b475f9de
This diff is collapsed.
Click to expand it.
public/img/footer-work-s.png
View replaced file @
b4711eeb
View file @
b475f9de
2.66 KB
|
W:
|
H:
754 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
public/img/footer-work.png
View replaced file @
b4711eeb
View file @
b475f9de
1.7 KB
|
W:
|
H:
751 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
src/pages/Communicate/Communicate.jsx
0 → 100644
View file @
b475f9de
import
React
,
{
Component
}
from
'react'
;
import
'./index.less'
class
Communicate
extends
Component
{
render
()
{
return
(
<
div
>
<
div
className=
'breadBox'
>
<
span
className=
'currentLink'
>
科技创新委员会
</
span
><
span
className=
'symbol'
>
>
</
span
><
span
>
组织架构
</
span
><
span
className=
'symbol'
>
>
</
span
><
span
>
办公厅
</
span
>
</
div
>
<
div
className=
'adMainBox'
>
<
ul
className=
'adListBox'
>
<
li
>
<
div
className=
'itemBox'
>
<
h4
className=
'titleBar'
>
市委办公厅审核员
</
h4
>
<
div
className=
'adContent'
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5'
>
<
img
src=
'/img/head.png'
className=
'imgRes'
/>
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5 centerFont'
>
王
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
</
div
>
</
div
>
</
li
>
<
li
>
<
div
className=
'itemBox'
>
<
h4
className=
'titleBar'
>
市委办公厅审核员
</
h4
>
<
div
className=
'adContent'
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5'
>
<
img
src=
'/img/head.png'
className=
'imgRes'
/>
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5 centerFont'
>
王
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
</
div
>
</
div
>
</
li
>
</
ul
>
</
div
>
</
div
>
);
}
}
export
default
Communicate
;
src/pages/Communicate/index.less
0 → 100644
View file @
b475f9de
@import '../../variable.less';
.breadBox{
padding:15px 20px;
font-size: 14px;
background-color: #fff;
line-height: 1.5;
}
.currentLink{
color:@primary;
}
.adMainBox{
padding:10px 18px;
}
.adListBox{
padding:15px;
background-color: #fff;
border:0px solid rgba(0, 0, 0, 0.1);
border-radius:5px;
}
.adListBox{
li{
margin-bottom:10px ;
border-bottom: 1px solid @grayLight;
&:last-child{
padding-top: 0;
border-bottom: none;
}
}
.titleBar{
font-size: 16px;
padding-top: 0;
}
.adContent{
padding:15px 0;
}
}
.peopleList{
display: flex;
justify-content: space-between;
line-height: 1.5;
align-items:center;
padding:10px 0;
}
.peopleList .subItem{
flex:1;
font-size: 14px;
}
.peopleList > p:last-child{
text-align: right;
}
.partList{
li{
&:extend(.peopleList);
border-bottom: 1px solid @grayLight;
margin-bottom: 0;
line-height: 1.5;
padding:15px 5px !important;
}
p:nth-child(1){
font-size: 14px;
}
.icon18{
margin-bottom: -4px;
}
}
src/router.js
View file @
b475f9de
...
...
@@ -6,6 +6,7 @@ import CommonLayout from './layout/CommonLayout';
import
Backlog
from
'./pages/Backlog/Backlog'
import
Work
from
'./pages/Work/Work'
import
Notice
from
'./pages/Notice/Notice'
import
Communicate
from
'./pages/Communicate/Communicate'
;
import
AddressList
from
'./pages/AddressList/AddressList'
;
import
Process
from
'./pages/EventProcessing/Process'
...
...
@@ -22,6 +23,7 @@ const ReactRouter = () => {
<
CommonLayout
>
<
Route
path
=
"/bord/backlog"
component
=
{
Backlog
}
/
>
<
Route
path
=
"/bord/work"
component
=
{
Work
}
/
>
<
Route
path
=
"/bord/communicate"
component
=
{
Communicate
}
/
>
<
Route
path
=
"/bord/addressList"
component
=
{
AddressList
}
/
>
<
Route
path
=
"/bord/notice"
component
=
{
Notice
}
/
>
<
/CommonLayout
>
...
...
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