Commit 71bbf289 by FE

scholl modify

parent ad312edf
.college-banner { .college-banner {
height: 100px; 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; background-size: cover;
} }
\ No newline at end of file
...@@ -21,12 +21,18 @@ class CollegePage extends Component { ...@@ -21,12 +21,18 @@ class CollegePage extends Component {
icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png', 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() { componentDidMount() {
this.fetchSchoolList(); // this.fetchSchoolList();
} }
fetchSchoolList = () => { fetchSchoolList = () => {
...@@ -75,7 +81,7 @@ class CollegePage extends Component { ...@@ -75,7 +81,7 @@ class CollegePage extends Component {
marginTop: '20px' marginTop: '20px'
}} }}
isDecorate={false} isDecorate={false}
title="入驻学院" title="入驻院校"
/> />
<div className="college-page__college"> <div className="college-page__college">
{ {
......
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
} }
.college-page__college { .college-page__college {
display: flex; // display: flex;
flex-wrap: wrap; // flex-wrap: wrap;
padding: 4px 10px 0; padding: 4px 10px 0;
.college__item { .college__item {
width: 166px; // width: 166px;
margin: 0 5px 10px; margin: 0 5px 10px;
cursor: pointer; cursor: pointer;
......
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