|
@@ -27,12 +27,12 @@
|
|
|
}
|
|
|
.a-bg-gray-new{
|
|
|
display:inline-block;
|
|
|
- height:21px;
|
|
|
+ height:22px;
|
|
|
width:81px;
|
|
|
background:#FFF;
|
|
|
background-image:url({{Msg "seo" "cdn"}}/images/tbn9.png);
|
|
|
position: relative;
|
|
|
- top: -4px;
|
|
|
+ /*top: -4px;*/
|
|
|
}
|
|
|
.d-bg-green, .d-bg-gray,.d-bg-blue{
|
|
|
width:81px;
|
|
@@ -52,6 +52,39 @@
|
|
|
.a-c-right>.a-com-title {
|
|
|
margin-top:10px !important;
|
|
|
}
|
|
|
+ .xq-introduction{
|
|
|
+ height:38px;overflow: hidden;text-overflow: ellipsis;margin-top: 10px;
|
|
|
+ }
|
|
|
+ .xq-introduction p{
|
|
|
+ font-family: tahoma, arial, 'Hiragino Sans GB', 'Microsoft YaHei', 宋体, sans-serif !important;
|
|
|
+ line-height:20px !important;
|
|
|
+ color:#999 !important;
|
|
|
+ }
|
|
|
+ .xq-introduction span{
|
|
|
+ font-family: tahoma, arial, 'Hiragino Sans GB', 'Microsoft YaHei', 宋体, sans-serif !important;
|
|
|
+ line-height:20px !important;
|
|
|
+ color:#999 !important;
|
|
|
+ }
|
|
|
+ .xq-img{
|
|
|
+ float:left;width:15%;
|
|
|
+ }
|
|
|
+ .xq-img img{
|
|
|
+ width:100px;
|
|
|
+ }
|
|
|
+ .xq-intro{
|
|
|
+ float:left;width:84%;
|
|
|
+ }
|
|
|
+ .xq-title{
|
|
|
+ float:left;width: 70%;font-size: 16px;height: 45px;line-height: 20px;padding-top: 5px;overflow: hidden;text-overflow: ellipsis;
|
|
|
+ }
|
|
|
+ .xq-state{
|
|
|
+ float:left;padding-top:5px;margin-left:20px;
|
|
|
+ }
|
|
|
+ .xq-list {
|
|
|
+ height: 120px;
|
|
|
+ border-bottom: 1px solid #f0f0f0;
|
|
|
+ margin: 20px 0px;
|
|
|
+ }
|
|
|
</style>
|
|
|
{{include "/common/inc.html"}}
|
|
|
<!-- extra CSS -->
|
|
@@ -209,6 +242,7 @@
|
|
|
<div class="m-title">
|
|
|
<span class="f-d u-focus">需求描述</span>
|
|
|
<span class="f-s">服务商报价</span>
|
|
|
+ <span class="f-s">需求列表</span>
|
|
|
{{if eq 1 2}} <span class="f-s">评价详情</span>{{end}}
|
|
|
</div>
|
|
|
<div class="m-content">
|
|
@@ -242,6 +276,18 @@
|
|
|
|
|
|
</div>
|
|
|
{{end}}
|
|
|
+ <div class="f-s f-display">
|
|
|
+ <div class="table a-table margin-t-20" id="demandList">
|
|
|
+ <div id="tableTitle">
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <div class="text-center" id="demandPaging"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -251,6 +297,37 @@
|
|
|
</div>
|
|
|
{{include "/service/bid.html"}}
|
|
|
<script charset="utf-8" src="/js/paging.js"></script>
|
|
|
+ <script>
|
|
|
+
|
|
|
+ var paging;
|
|
|
+ $(function(){
|
|
|
+ paging = new Paging("demandPaging","/market/demand/list",{id:{{.T.demandInfo.s_enterpriseid}}},5,function(r){
|
|
|
+ var html = '';
|
|
|
+ for(var i=0; i< r.length;i++){
|
|
|
+ var status = "";
|
|
|
+ if (r[i].i_status == 1){
|
|
|
+ status = "<img src='/images/u288.png'/>"
|
|
|
+ }else if(r[i].i_status == 2){
|
|
|
+ status = "<img src='/images/u252.png'/>"
|
|
|
+ }else{
|
|
|
+ status = "<span class='a-bg-gray-new'>任务超时</span>"
|
|
|
+ }
|
|
|
+ html +='<div data-id="'+r[i]._id+'" class="xq-list">'
|
|
|
+ +'<div class="xq-img"><img src="'+r[i].s_image+'"></div>'
|
|
|
+ +'<div class="xq-intro"><div>'
|
|
|
+ +'<div class="xq-title"><a href="/market/demandview/'+r[i]._id+'.html">'+r[i].s_name+'</a></div>'
|
|
|
+ +'<div class="xq-state">'+status+'</div>'
|
|
|
+ +'<div style="clear:both;"></div></div>'
|
|
|
+ +'<div class="xq-introduction">'+r[i].s_introduction+'</div></div>'
|
|
|
+ +'<div style="clear:both;"></div></div>';
|
|
|
+ }
|
|
|
+ $("#demandList #tableTitle").nextAll("[data-id]").remove();
|
|
|
+ $("#demandList #tableTitle").after(html);
|
|
|
+
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+ </script>
|
|
|
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"http://test.qimingxing.info/upload/2015/10/27/2015102708191301041479.jpg","bdStyle":"0","bdSize":"16","onAfterClick":function(){$.post("/member/credit/inCreditAjx",{"param":"fx"},function(r){})}},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
|
|
|
<script>
|
|
|
|