Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
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
baiguangyao
mr-julyedu
Commits
71bbf289
Commit
71bbf289
authored
Feb 16, 2020
by
FE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scholl modify
parent
ad312edf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
src/components/college/banner.scss
+3
-1
src/components/college/index.js
+9
-3
src/components/college/index.scss
+3
-3
No files found.
src/components/college/banner.scss
View file @
71bbf289
.college-banner
{
height
:
100px
;
background-image
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/college-banner.png')
;
// background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/college-banner.png');
background-image
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/m-banner.png')
;
background-size
:
cover
;
}
\ No newline at end of file
src/components/college/index.js
View file @
71bbf289
...
...
@@ -21,12 +21,18 @@ class CollegePage extends Component {
icon
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png'
,
},
],
schoolList
:
[],
schoolList
:
[
{
id
:
1
,
name
:
'软件学院(苏州)'
,
logo
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/zkd_logo.png'
}
],
};
}
componentDidMount
()
{
this
.
fetchSchoolList
();
//
this.fetchSchoolList();
}
fetchSchoolList
=
()
=>
{
...
...
@@ -75,7 +81,7 @@ class CollegePage extends Component {
marginTop
:
'20px'
}}
isDecorate
=
{
false
}
title
=
"入驻
学院
"
title
=
"入驻
院校
"
/>
<
div
className
=
"college-page__college"
>
{
...
...
src/components/college/index.scss
View file @
71bbf289
...
...
@@ -43,12 +43,12 @@
}
.college-page__college
{
display
:
flex
;
flex-wrap
:
wrap
;
//
display: flex;
//
flex-wrap: wrap;
padding
:
4px
10px
0
;
.college__item
{
width
:
166px
;
//
width: 166px;
margin
:
0
5px
10px
;
cursor
:
pointer
;
...
...
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