From 569a8455fa54dbe4b97f1380563b7814e3b5f28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 15 Nov 2019 14:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=91=E4=B8=8A=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C=E5=AE=A4=E6=A8=A1=E5=9D=97=E7=9B=B8=E5=85=B3banner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Competitimain/CompetitionsIndex.js | 7 ++++--- .../modules/courses/coursesHome/CoursesHome.js | 16 ++++++++++++++++ .../courses/coursesHome/css/CoursesHome.css | 18 +++++++++--------- public/react/src/modules/paths/Index.js | 4 +++- .../src/modules/paths/ShixunPathSearch.js | 7 +++++-- public/react/src/modules/paths/ShixunPaths.js | 5 ++++- 6 files changed, 41 insertions(+), 16 deletions(-) diff --git a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js index 1f582ce79..6fd4d7db7 100644 --- a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js +++ b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js @@ -73,10 +73,11 @@ class CompetitionsIndex extends Component{ -
+
diff --git a/public/react/src/modules/courses/coursesHome/CoursesHome.js b/public/react/src/modules/courses/coursesHome/CoursesHome.js index d147a6d93..a2f664c0a 100644 --- a/public/react/src/modules/courses/coursesHome/CoursesHome.js +++ b/public/react/src/modules/courses/coursesHome/CoursesHome.js @@ -111,6 +111,22 @@ class CoursesHome extends Component{ {...this.state} />}
+
diff --git a/public/react/src/modules/courses/coursesHome/css/CoursesHome.css b/public/react/src/modules/courses/coursesHome/css/CoursesHome.css index a373e0612..034978437 100644 --- a/public/react/src/modules/courses/coursesHome/css/CoursesHome.css +++ b/public/react/src/modules/courses/coursesHome/css/CoursesHome.css @@ -1,12 +1,12 @@ -.courses-head{ - width: 100%; - height: 300px; - background-image: url(./courses.jpg); - background-color: #081C4B; - background-size: cover; - background-position: center; - background-repeat: no-repeat; -} +/*.courses-head{*/ + /*width: 100%;*/ + /*height: 300px;*/ + /*background-image: url(./courses.jpg);*/ + /*background-color: #081C4B;*/ + /*background-size: cover;*/ + /*background-position: center;*/ + /*background-repeat: no-repeat;*/ +/*}*/ a{ text-decoration: none; color: #05101a; diff --git a/public/react/src/modules/paths/Index.js b/public/react/src/modules/paths/Index.js index 813251d28..241dac94e 100644 --- a/public/react/src/modules/paths/Index.js +++ b/public/react/src/modules/paths/Index.js @@ -49,7 +49,9 @@ class Index extends Component{ > {/**/} - + ()} + >
) diff --git a/public/react/src/modules/paths/ShixunPathSearch.js b/public/react/src/modules/paths/ShixunPathSearch.js index 1fb025ae5..b415c08c1 100644 --- a/public/react/src/modules/paths/ShixunPathSearch.js +++ b/public/react/src/modules/paths/ShixunPathSearch.js @@ -1,7 +1,8 @@ import React, { Component } from 'react'; -import PathCard from "./ShixunPathCard.js"; import axios from 'axios'; import {Input} from 'antd'; +import {getImageUrl} from 'educoder'; +import PathCard from "./ShixunPathCard"; import UpgradeModals from '../modals/UpgradeModals'; import Pagination from '@icedesign/base/lib/pagination'; import '@icedesign/base/lib/pagination/style.js'; @@ -115,6 +116,8 @@ class ShixunPathSearch extends Component{ render() { let { order,sortList,search,page,total_count,select }=this.state; + + // console.log() return (
{this.state.updata===undefined?"":
- +