众包优化

dev_admin
杨树明 6 years ago
parent 987a935fae
commit 540a1ccd43

@ -313,7 +313,7 @@ class PackageIndexNEITaskDetails extends Component {
</span> </span>
</div> </div>
<div className=" item-head-price mtf7"> <div className=" item-head-price mt2">
{data&&data.min_price===null?"":<span><span className={"font-24"}>{data&&data.min_price}</span></span>} {data&&data.min_price===null?"":<span><span className={"font-24"}>{data&&data.min_price}</span></span>}
{data&&data.max_price===null||data&&data.min_price===null?"":<span>~</span>} {data&&data.max_price===null||data&&data.min_price===null?"":<span>~</span>}
{data&&data.max_price===null?"":<span><span className={"font-24"}>{data&&data.max_price}</span></span>} {data&&data.max_price===null?"":<span><span className={"font-24"}>{data&&data.max_price}</span></span>}

@ -176,7 +176,7 @@ class InfosPackage extends Component{
<div className="item-head-tags"> <div className="item-head-tags">
</div> </div>
<div className="item-head-blank"></div> <div className="item-head-blank"></div>
<div className="item-head-price"> <div className="item-head-price mtf10">
{item.min_price===null?"":<span>{item.min_price}</span>} {item.min_price===null?"":<span>{item.min_price}</span>}
{item.max_price===null||item.min_price===null?"":<span>~</span>} {item.max_price===null||item.min_price===null?"":<span>~</span>}
{item.max_price===null?"":<span>{item.max_price}</span>} {item.max_price===null?"":<span>{item.max_price}</span>}
@ -199,9 +199,9 @@ class InfosPackage extends Component{
<span className="item-group-icon"><i className="fa fa-user"></i></span> <span className="item-group-icon"><i className="fa fa-user"></i></span>
<span className="item-group-text">{item.bidding_users_count}人竞标</span> <span className="item-group-text">{item.bidding_users_count}人竞标</span>
</div> </div>
<div className="item-group item-other-publish-at"> {item.published_at===null?"":<div className="item-group item-other-publish-at">
发布于{moment(item.published_at).format("YYYY-MM-DD HH:mm")} 发布于{moment(item.published_at).format("YYYY-MM-DD HH:mm")}
</div> </div>}
</div> </div>
</div> </div>
</div> </div>

@ -1,93 +1,97 @@
.navInfo{ .navInfo{
border:none!important; border:none!important;
position: absolute; position: absolute;
width: 100%; width: 100%;
bottom: -8px; bottom: -8px;
} }
.navInfo li { .navInfo li {
float: left; float: left;
margin: 0px 40px; margin: 0px 40px;
padding:0px; padding:0px;
height: 45px; height: 45px;
line-height: 40px; line-height: 40px;
font-size: 16px; font-size: 16px;
position: relative; position: relative;
} }
.navInfo li.active::after{ .navInfo li.active::after{
position: absolute; position: absolute;
left: 0px; left: 0px;
height: 2px; height: 2px;
width: 100%; width: 100%;
content: ''; content: '';
bottom: 0px; bottom: 0px;
background: #05101A!important; background: #05101A!important;
color: #666!important; color: #666!important;
} }
.navInfo li,.navInfo li.ant-menu-item-active{ .navInfo li,.navInfo li.ant-menu-item-active{
border-bottom: none!important; border-bottom: none!important;
color: #666!important; color: #666!important;
} }
.navInfo li.ant-menu-item-selected{ .navInfo li.ant-menu-item-selected{
border-bottom: 2px solid #05101A!important; border-bottom: 2px solid #05101A!important;
color: #05101A!important; color: #05101A!important;
} }
.navInfo ul.ant-menu{float: left!important;border:none!important;} .navInfo ul.ant-menu{float: left!important;border:none!important;}
.substancenenew{ .substancenenew{
width: 236px; width: 236px;
height: 206px; height: 206px;
background: rgba(248,248,248,1); background: rgba(248,248,248,1);
border: 2px dotted rgba(225,225,225,1); border: 2px dotted rgba(225,225,225,1);
opacity: 1; opacity: 1;
border-radius: 4px; border-radius: 4px;
padding-top: 50px; padding-top: 50px;
position: inherit; position: inherit;
} }
.substancepad{ .substancepad{
padding: 20px 20px 0px 20px; padding: 20px 20px 0px 20px;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
} }
.substancefont{ .substancefont{
height:24px; height:24px;
font-size:18px; font-size:18px;
font-family:Microsoft YaHei; font-family:Microsoft YaHei;
font-weight:400; font-weight:400;
line-height:21px; line-height:21px;
color:rgba(153,153,153,1); color:rgba(153,153,153,1);
opacity:1; opacity:1;
margin-top: -8px; margin-top: -8px;
} }
.topten{ .topten{
width: 1px; width: 1px;
height: 100px; height: 100px;
border: 2px soild rgba(225,225,225,1); border: 2px soild rgba(225,225,225,1);
background: rgba(225,225,225,1); background: rgba(225,225,225,1);
border: 1px solid rgba(225,225,225,1); border: 1px solid rgba(225,225,225,1);
margin: 0 auto; margin: 0 auto;
} }
.leftten{ .leftten{
width: 100px; width: 100px;
height: 1px; height: 1px;
background: rgba(225,225,225,1); background: rgba(225,225,225,1);
border: 1px solid rgba(225,225,225,1); border: 1px solid rgba(225,225,225,1);
margin: 0px auto; margin: 0px auto;
position: absolute; position: absolute;
top: 120px; top: 120px;
left: 88px; left: 88px;
} }
.squarebox{ .squarebox{
position: absolute; position: absolute;
top: 0px; top: 0px;
left: 0px; left: 0px;
} }
/*题库的标签--和资源标签样式相似*/ /*题库的标签--和资源标签样式相似*/
.bankTag{max-height: 82px;overflow-y: auto} .bankTag{max-height: 82px;overflow-y: auto}
.bankTag #sourceTag li{margin-left: 0px;margin-right: 5px;} .bankTag #sourceTag li{margin-left: 0px;margin-right: 5px;}
.bank_list_Tag{cursor: default} .bank_list_Tag{cursor: default}
/*资源标签*/ /*资源标签*/
#sourceTag li,.bank_list_Tag{font-size: 12px;color: #4E7A9B;background-color: #E5F3FF;padding: 0px 4px;height: 20px;line-height: 20px; margin-left: 5px;display: inline-block;cursor: pointer;margin-bottom: 5px;} #sourceTag li,.bank_list_Tag{font-size: 12px;color: #4E7A9B;background-color: #E5F3FF;padding: 0px 4px;height: 20px;line-height: 20px; margin-left: 5px;display: inline-block;cursor: pointer;margin-bottom: 5px;}
#sourceTag li a{color: #4e7a9b!important;} #sourceTag li a{color: #4e7a9b!important;}
#sourceTag li.active{background-color: #4CACFF;color: #fff;} #sourceTag li.active{background-color: #4CACFF;color: #fff;}
#sourceTag li.active a{background-color: #4CACFF;color: #fff!important;} #sourceTag li.active a{background-color: #4CACFF;color: #fff!important;}
.mtf10{
margin-top:-10px;
}
Loading…
Cancel
Save