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
fd19cdb2
Commit
fd19cdb2
authored
Jun 06, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Plain Diff
debug
parents
7a26f894
81723061
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
171 additions
and
30 deletions
+171
-30
workspace.xml
.idea/workspace.xml
+38
-19
tel.png
public/img/tel.png
+0
-0
index.less
src/components/TopSearch/index.less
+0
-0
Communicate.jsx
src/pages/Communicate/Communicate.jsx
+26
-11
index.less
src/pages/Communicate/index.less
+45
-0
variable
src/variable
+0
-0
variable.less
src/variable.less
+62
-0
No files found.
.idea/workspace.xml
View file @
fd19cdb2
...
...
@@ -2,13 +2,12 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"a6d092de-b4f8-454d-99f5-4dac3ce112e5"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/src/components/StepCard/index.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/StepCard/index.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/components/StepCard/index.less"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/StepCard/index.less"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/layout/CommonLayout.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/layout/CommonLayout.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/public/img/tel.png"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/pages/Communicate/index.less"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/variable"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/src/variable.less"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/components/TopSearch/index.less"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/TopSearch/index.less"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Work/Work.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Work/Work.jsx"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
<ignored
path=
"$PROJECT_DIR$/temp/"
/>
...
...
@@ -21,7 +20,7 @@
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/WorkCard/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
...
...
@@ -33,6 +32,18 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"375"
>
<caret
line=
"21"
selection-start-line=
"21"
selection-end-line=
"21"
selection-end-column=
"7"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/StepCard/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
...
@@ -165,12 +176,12 @@
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/index.css"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/layout/CommonLayout.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/StepCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/StepCard/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Work/Work.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
/>
</list>
</option>
</component>
...
...
@@ -219,6 +230,13 @@
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Communicate"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
...
...
@@ -281,7 +299,7 @@
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"78
345
000"
/>
<option
name=
"totallyTimeSpent"
value=
"78
721
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"784"
extended-state=
"6"
/>
...
...
@@ -584,16 +602,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<caret
line=
"9"
column=
"22"
selection-start-line=
"9"
selection-start-column=
"22"
selection-end-line=
"9"
selection-end-column=
"22"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/layout/CommonLayout.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"250"
>
...
...
@@ -668,5 +676,15 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"375"
>
<caret
line=
"21"
selection-start-line=
"21"
selection-end-line=
"21"
selection-end-column=
"7"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
public/img/tel.png
0 → 100644
View file @
fd19cdb2
3.83 KB
src/components/TopSearch/index.less
View file @
fd19cdb2
src/pages/Communicate/Communicate.jsx
View file @
fd19cdb2
import
React
,
{
Component
}
from
'react'
;
import
{
List
,
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
;
import
{
List
,
WhiteSpace
,
Row
,
Col
}
from
'antd-mobile'
;
import
TopSearch
from
'../../components/TopSearch'
import
'./index.less'
const
Item
=
List
.
Item
;
class
Communicate
extends
Component
{
render
()
{
return
(
<
WingBlank
>
<
WhiteSpace
/>
<
TopSearch
/>
<
WhiteSpace
/>
<
List
>
<
Item
>
通讯录
</
Item
>
<
Item
arrow=
"horizontal"
multipleLine
onClick=
{
()
=>
{}
}
>
Title
</
Item
>
</
List
>
</
WingBlank
>
<
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'
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
</
div
>
</
div
>
</
li
>
</
ul
>
</
div
>
</
div
>
);
}
}
...
...
src/pages/Communicate/index.less
0 → 100644
View file @
fd19cdb2
@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:5px ;
border-bottom: 1px solid @grayLight;
}
.titleBar{
font-size: 16px;
font-weight: bold;
}
.adContent{
padding:15px 0;
}
}
.peopleList{
display: flex;
justify-content: space-between;
line-height: 1.5;
}
.peopleList .subItem{
flex:1;
font-size: 14px;
}
.peopleList > p:last-child{
text-align: right;
}
src/variable
0 → 100644
View file @
fd19cdb2
src/variable.less
0 → 100644
View file @
fd19cdb2
@primary: #0185FB;
@grayLight:rgba(0,0,0,0.12);
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1.5;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
.symbol{
margin:0 10px;
}
.smallIco{
width:14px;
vertical-align: middle;
}
.mr-5{
margin-right: 5px !important;
}
\ No newline at end of file
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