Merge branch 'dev_aliyun' of http://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

PCqiandao
anke1460 5 years ago
commit 411eb77ce3

@ -8,7 +8,7 @@ import Pagination from '@icedesign/base/lib/pagination';
import '@icedesign/base/lib/pagination/style.js'; import '@icedesign/base/lib/pagination/style.js';
import './ShixunPaths.css'; import './ShixunPaths.css';
import KeywordList from '../tpm/shixuns/shixun-keyword-list'; import KeywordList from '../tpm/shixuns/shixun-keyword-list';
import btnUrl from '../tpm/shixuns/btn-new.png'; import btnUrl from './btn-new.png';
class ShixunPathSearch extends Component { class ShixunPathSearch extends Component {
constructor(props) { constructor(props) {
@ -252,7 +252,7 @@ class ShixunPathSearch extends Component {
</ul> </ul>
</div> </div>
</div> </div>
<KeywordList btnUrl={btnUrl} onChangeLabel={this.onChangeLabel.bind(this)} OnSearchInput={this.OnSearchInput.bind(this)} onNewHandler={this.getUser.bind(this, '/paths/new')} btnStyle={{ top: '92px' }} /> <KeywordList btnUrl={btnUrl} onChangeLabel={this.onChangeLabel.bind(this)} OnSearchInput={this.OnSearchInput.bind(this)} onNewHandler={this.getUser.bind(this, '/paths/new')} btnStyle={{ top: '72px' }} />
<PathCard {...this.props} {...this.state}></PathCard> <PathCard {...this.props} {...this.state}></PathCard>
{ {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

@ -12,9 +12,11 @@ body {
position: relative; position: relative;
min-height: 100%; min-height: 100%;
} }
body>.-task-title { body>.-task-title {
opacity: 1 !important; opacity: 1 !important;
} }
/*<2A><><EFBFBD><EFBFBD><EFBFBD>Ŵ󾵵<C5B4><F3BEB5B5><EFBFBD><EFBFBD><EFBFBD>·Ŵ󾵵<C5B4>λ<EFBFBD><CEBB>*/ /*<2A><><EFBFBD><EFBFBD><EFBFBD>Ŵ󾵵<C5B4><F3BEB5B5><EFBFBD><EFBFBD><EFBFBD>·Ŵ󾵵<C5B4>λ<EFBFBD><CEBB>*/
#root .search-all { #root .search-all {
width: 219px; width: 219px;
@ -26,26 +28,34 @@ body>.-task-title {
float: left; float: left;
width: 97px; width: 97px;
} }
.head-right i { .head-right i {
font-size: 20px; font-size: 20px;
float: none !important; float: none !important;
} }
.headIcon, #header_keyword_search {
.headIcon,
#header_keyword_search {
padding-top: 13px !important; padding-top: 13px !important;
} }
.search-icon { .search-icon {
height: 30px !important; height: 30px !important;
} }
.search-icon i { .search-icon i {
font-size: 20px; font-size: 20px;
} }
#header_keyword_search i { #header_keyword_search i {
color: #4cacff; color: #4cacff;
} }
.ant-select-selection--multiple { .ant-select-selection--multiple {
padding-bottom: 0px !important; padding-bottom: 0px !important;
padding-top: 3px; padding-top: 3px;
} }
/* 先注释掉下面2个样式这样写影响范围太广了并不是所有的select都需要40px高 */ /* 先注释掉下面2个样式这样写影响范围太广了并不是所有的select都需要40px高 */
/* .ant-select-selection--single{ /* .ant-select-selection--single{
height:40px!important; height:40px!important;
@ -53,12 +63,14 @@ body>.-task-title {
.ant-select-selection__rendered{ .ant-select-selection__rendered{
line-height: 40px!important; line-height: 40px!important;
} */ } */
.ant-select-selection--multiple .ant-select-selection__rendered>ul>li, .ant-select-selection--multiple>ul>li{ .ant-select-selection--multiple .ant-select-selection__rendered>ul>li,
.ant-select-selection--multiple>ul>li {
height: 25px !important; height: 25px !important;
line-height: 23px !important; line-height: 23px !important;
margin-bottom: 3px; margin-bottom: 3px;
margin-top: 0px; margin-top: 0px;
} }
/*Main START*/ /*Main START*/
@ -75,6 +87,7 @@ body>.-task-title {
.ant-modal-title { .ant-modal-title {
text-align: center; text-align: center;
} }
/*.ant-modal{*/ /*.ant-modal{*/
/*top:10rem !important;*/ /*top:10rem !important;*/
/*}*/ /*}*/
@ -85,18 +98,18 @@ body>.-task-title {
height: 17px !important; height: 17px !important;
} }
} }
/* IE只能用padding不能用上下居中 */ /* IE只能用padding不能用上下居中 */
.shixunDetail_top { .shixunDetail_top {
display: block !important; display: block !important;
padding-top: 48px; padding-top: 48px;
} }
.totalScore { .totalScore {
display: block !important; display: block !important;
padding-top: 40px; padding-top: 40px;
} }
.head-nav ul#header-nav li{
/*font-weight: 600;*/
}
/*.newFooter{*/ /*.newFooter{*/
/*position: fixed !important;*/ /*position: fixed !important;*/
@ -114,15 +127,64 @@ body>.-task-title {
/*-------------------个人主页:右侧提示区域--------------------------*/ /*-------------------个人主页:右侧提示区域--------------------------*/
.-task-sidebar{position:fixed;width:40px;height:180px;right:0;bottom:80px !important;z-index: 10;} .-task-sidebar {
.-task-sidebar>div{height: 40px;line-height: 40px;box-sizing: border-box;width:40px;background:#4CACFF;color:#fff;font-size:20px;text-align:center;margin-bottom:5px;border-radius: 4px;} position: fixed;
.-task-sidebar>div i{ color:#fff;} width: 40px;
.-task-sidebar>div i:hover{color: #fff!important;} height: 180px;
.gotop{background-color: rgba(208,207,207,0.5)!important;padding: 0px!important;} right: 0;
.-task-desc{background:#494949;width:90px;line-height: 36px;text-align: center; bottom: 20px !important;
position: absolute;color: #fff;font-size: 13px;z-index: 999999;opacity: 0;} z-index: 10;
.-task-desc div{position: absolute;top:10px;right: -7px;height: 13px;} }
.-task-desc div img{float: left}
.-task-sidebar>div {
height: 40px;
line-height: 40px;
box-sizing: border-box;
width: 40px;
background: #4CACFF;
color: #fff;
font-size: 20px;
text-align: center;
margin-bottom: 5px;
border-radius: 4px;
}
.-task-sidebar>div i {
color: #fff;
}
.-task-sidebar>div i:hover {
color: #fff !important;
}
.gotop {
background-color: rgba(208, 207, 207, 0.5) !important;
padding: 0px !important;
}
.-task-desc {
background: #494949;
width: 90px;
line-height: 36px;
text-align: center;
position: absolute;
color: #fff;
font-size: 13px;
z-index: 999999;
opacity: 0;
}
.-task-desc div {
position: absolute;
top: 10px;
right: -7px;
height: 13px;
}
.-task-desc div img {
float: left
}
.-task-sidebar .scan_ewm { .-task-sidebar .scan_ewm {
position: absolute !important; position: absolute !important;
right: 45px !important; right: 45px !important;
@ -135,21 +197,34 @@ body>.-task-title {
display: none; display: none;
height: 213px !important; height: 213px !important;
} }
.trangle_right{position: absolute;right: -5px;bottom: 15px;width: 0;height: 0px;border-top: 6px solid transparent;border-left: 5px solid #494949;border-bottom: 6px solid transparent}
.trangle_right {
position: absolute;
right: -5px;
bottom: 15px;
width: 0;
height: 0px;
border-top: 6px solid transparent;
border-left: 5px solid #494949;
border-bottom: 6px solid transparent
}
.HeaderSearch { .HeaderSearch {
margin-top: 18px; margin-top: 18px;
margin-right: 20px; margin-right: 20px;
} }
.HeaderSearch .ant-input-search .ant-input { .HeaderSearch .ant-input-search .ant-input {
/*height:30px;*/ /*height:30px;*/
background: #373e3f !important; background: #373e3f !important;
border: 1px solid #373e3f !important; border: 1px solid #373e3f !important;
} }
.ant-input-search .ant-input-affix-wrapper { .ant-input-search .ant-input-affix-wrapper {
border: transparent; border: transparent;
} }
.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) { .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) {
/* 比较奇怪的需求先注释掉了如果需要启用麻烦增加class限制别影响别的地方的使用 */ /* 比较奇怪的需求先注释掉了如果需要启用麻烦增加class限制别影响别的地方的使用 */
/* border-color: transparent; */ /* border-color: transparent; */
@ -206,9 +281,11 @@ body>.-task-title {
width: 325px; width: 325px;
/*right: 20px;*/ /*right: 20px;*/
} }
.HeaderSearch .ant-input-search { .HeaderSearch .ant-input-search {
right: 20px; right: 20px;
} }
.mainheighs { .mainheighs {
height: 100%; height: 100%;
display: block; display: block;
@ -227,6 +304,7 @@ body>.-task-title {
.headwith100b { .headwith100b {
width: 100%; width: 100%;
} }
.wechatcenter { .wechatcenter {
text-align: center; text-align: center;
} }
@ -240,9 +318,11 @@ body>.-task-title {
height: 49px !important; height: 49px !important;
line-height: 24px !important; line-height: 24px !important;
} }
.xiaoshou { .xiaoshou {
cursor: pointer cursor: pointer
} }
.questiontypes { .questiontypes {
width: 37px; width: 37px;
height: 17px; height: 17px;
@ -252,6 +332,7 @@ body>.-task-title {
cursor: pointer; cursor: pointer;
} }
.questiontype { .questiontype {
width: 100%; width: 100%;
font-size: 12px; font-size: 12px;
@ -262,17 +343,21 @@ body>.-task-title {
cursor: pointer; cursor: pointer;
} }
.questiontypeheng { .questiontypeheng {
width: 100%; width: 100%;
height: 1px; height: 1px;
background: #EEEEEE; background: #EEEEEE;
} }
.mystask-sidebar { .mystask-sidebar {
right: 181px !important; right: 181px !important;
} }
.mystask-sidebars { .mystask-sidebars {
right: 20px !important; right: 20px !important;
} }
.shitikussmys { .shitikussmys {
width: 29px !important; width: 29px !important;
height: 20px !important; height: 20px !important;
@ -294,6 +379,7 @@ body>.-task-title {
white-space: nowrap; white-space: nowrap;
cursor: default; cursor: default;
} }
.mystask-sidebarss { .mystask-sidebarss {
right: 5px !important; right: 5px !important;
} }

@ -392,7 +392,7 @@ class ShixunsIndex extends Component {
// console.log(this.state.updata) // console.log(this.state.updata)
return ( return (
<div className="newMain clearfix backFAFAFA"> <div className="newMain clearfix backFAFAFA shi-xun-index">
{this.state.updata === undefined ? "" : <UpgradeModals {this.state.updata === undefined ? "" : <UpgradeModals
{...this.state} {...this.state}
/>} />}

@ -1,3 +1,7 @@
.shi-xun-index .search-keyword-container {
padding: 20px 0 15px 0;
}
.search-keyword-container { .search-keyword-container {
display: flex; display: flex;
flex-flow: row nowrap; flex-flow: row nowrap;

Loading…
Cancel
Save