瀏覽代碼

首页改版

wangshan 9 年之前
父節點
當前提交
991f6c3a24
共有 4 個文件被更改,包括 131 次插入32 次删除
  1. 1 1
      core/src/timetask.json
  2. 99 2
      core/src/web/staticres/css/index-new.css
  3. 2 2
      core/src/web/staticres/js/qfw.js
  4. 29 27
      core/src/web/templates/index.html

+ 1 - 1
core/src/timetask.json

@@ -1 +1 @@
-{"comment":{"c_rate":10,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-01-09 09:39:26"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-01-09 09:39:26"}},"marketisstart":true,"marketrate":300}
+{"comment":{"c_rate":10,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-01-09 12:14:12"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-01-09 12:14:12"}},"marketisstart":true,"marketrate":300}

+ 99 - 2
core/src/web/staticres/css/index-new.css

@@ -269,11 +269,11 @@ a:focus, a:hover{
 	padding:10px 25px; 
 	border-bottom:0px;
 }
-.index-new-rmfw-list,.a-qysq,.index-new-wgw,.index-new-xwzx{
+.a-qysq,.index-new-wgw,.index-new-xwzx{
 	border:1px solid #f0f0f0; 
 	padding:10px;
 }
-.index-new-rmxq-list{
+.index-new-rmxq-list,.index-new-rmfw-list{
 	border:1px solid #f0f0f0;
 }
 .index-new-fbfw-a{
@@ -577,3 +577,100 @@ a:focus, a:hover{
     left: 3.5px;
     top: 4px;
 }
+.index-new-rmxq-listcon{
+	height:420px;
+    width:25%; 
+    float:left;
+}
+.index-new-rmfw-listcon{
+	height:270px;
+    width:25%; 
+    float:left;
+}
+.index-new-rmxq-listcon span{
+	width:250px; 
+	display:inline-block; 
+	margin-bottom:10px;
+}
+.index-new-rmxq-listimg,.index-new-wgw-listimg{
+	width:100%;
+	padding-top:25px;
+	padding-bottom:15px;
+}
+.index-new-rmxq-listtype a,.index-new-rmxq-listas a,.index-new-rmxq-name a,.index-new-rmxq-remark a{
+	float:left;
+}
+.index-new-rmxq-listas .a-com-last{
+	margin-left:-5px;
+}
+.index-new-rmfw-listcon .index-new-rmxq-listimg .index-new-spanqmfw{
+	border:1px solid #ccc;
+	display:inline-block;
+	width:250px; 
+	height:230px;
+	position:relative;
+}
+.index-new-wgw-listcon .index-new-wgw-listimg .index-new-spanqmfw{
+	border:1px solid #ccc;
+	display:inline-block;
+	width:250px; 
+	height:230px;
+	position:relative;
+}
+.index-new-rmfw-remarktitle{
+	position:absolute; 
+	z-index:4; 
+	top:174px; 
+	left:10px;
+}
+.index-new-rmfw-nameent{
+	position:absolute; 
+	z-index:4; 
+	top:184px; 
+	left:10px;
+    margin-top: 20px;
+    margin-bottom: 30px;
+}
+.index-new-wgw-nameent{
+	position:absolute; 
+	z-index:4; 
+	top:184px; 
+	left:10px;
+}
+.index-new-rmfw-nameent a {
+    font-family: '宋体 Regular', 宋体;
+    font-size: 12px;
+    color: rgb(160, 160, 160);
+}
+.index-new-rmfw-bg1,.index-new-wgw-bg1{
+	position:absolute; 
+	top:163px; 
+	left:-1px;
+}
+.index-new-rmfw-bg1 span,.index-new-wgw-bg1 span{
+	border-top:2px solid #FF5A5F;
+	display:inline-block;
+	width:250px; height:65px;
+	background-image:url(/images/u46.png);
+	background-repeat:no-repeat;
+	background-position:-1px -1px;
+	background-size: 252px 65px;
+}
+.index-new-rmfw-remarktitle{
+    font-family: '微软雅黑 Regular', '微软雅黑';
+    font-size: 16px;
+    color: #FFFFFF;
+}
+.index-new-rmfw-remarktitle a,.index-new-rmfw-nameent  a{
+	color:#fff;
+}
+.index-new-wgw-listcon {
+    height: 270px;
+    width: 33%;
+    float: left;
+}
+.index-new-wgw-nameent a{
+    font-family: '微软雅黑 Regular', '微软雅黑';
+    font-size: 14px;
+    color: #FFFFFF;
+}

+ 2 - 2
core/src/web/staticres/js/qfw.js

@@ -469,9 +469,9 @@ function advertAjaxRqe(position){
 					var status = demand[i].status;
 					var html = null;
 					if(status == 1){
-						html = '<span><img src="/images/u385.png"/></span>';
+						html = '<img src="/images/u385.png"/>';
 					}else if(status == 2){
-						html = '<span><img src="/images/u347.png"/></span>';
+						html = '<img src="/images/u347.png"/>';
 					}else if(status == 3){
 						html = '<span class="a-bg-gray">任务超时</span>';
 					}else if(status == 4){

+ 29 - 27
core/src/web/templates/index.html

@@ -95,18 +95,18 @@
 	-->
 	<div class="a-panel a-rmfw" style="margin-bottom:0px;">
 		<div class="a-com-title index-new-rmfw-title" style="margin-bottom:0px;"><font><a href="/market/0/list.html" target="_blank">热门服务</a></font><span class="hidden-xs">一对一服务,迅速,高效的响应你的需求</span><span style="float:right;margin-top:10px;"><a class="index-new-fbfw-a" id="releaseService">发布服务</a>|<a  href="/market/0/list.html" class="index-new-fbfw-a">更多>></a></span></div>
-		<div class="a-cols row index-new-rmfw-list" id="hotService">
+		<div class="row index-new-rmfw-list" id="hotService">
 			{{$s:=(Ad "index-center-04" 4)}}
 			{{range $k,$v := $s}}
-			<ul class="a-com-ul-block{{if ge $k 3}} a-com-last{{end}}{{if ge $k 2}} hidden-xs{{end}}" data-id="{{$v.s_id}}">
-				<li class="a-com-first" 
-				style="background-image:url(/images/u46.png),url(/images/u166.png);background-repeat:no-repeat;background-position:0px 186px,2px 0px;">
-				<a target="_blank"  href="{{$v.s_link}}"></a>
-				</li>
-				<li class="a-com-title index-new-rmfw-remark"><div><a target="_blank" href="{{$v.s_link}}">{{$v.s_remark}}</a></div></li>
-				<li class="a-com-name index-new-rmfw-name"><div style="color:#fff;">{{$v.o_extend.entName}}</div></li>
-				<li class="index-new-rmfw-fgx"></li>
-			</ul>
+			<div style="{{if gt $k 0}} border-left:1px solid #f0f0f0; {{end}}" class="index-new-rmfw-listcon"  data-id="{{$v.s_id}}">
+			<div class="index-new-rmxq-listimg text-center">
+			<span class="index-new-spanqmfw" style="background-image:url({{if $v.s_pic}}{{$v.s_pic}}{{else}}/images/u166.png{{end}});background-repeat:no-repeat;background-position:0px 0px;">
+			<div class="text-center index-new-rmfw-remarktitle"><span><a target="_blank" href="{{$v.s_link}}">{{$v.s_remark}}</a></span></div>
+			<div class="index-new-rmfw-nameent text-center"><span><a target="_blank" href="{{$v.s_link}}">{{$v.o_extend.entName}}</a></span></div>
+			<div class="index-new-rmfw-bg1 text-center"><span></span></div>
+			</span>
+			</div>
+			</div>
 			{{end}}
 		</div>
 	</div>
@@ -116,12 +116,13 @@
 		<div class="row index-new-rmxq-list" id="hotDemand">
 			{{$s:=(Ad "index-center-05" 4)}}
 			{{range $k,$v := $s}}
-			<div style="height:420px;{{if gt $k 0}} border-left:1px solid #ccc; {{end}} width:25%; float:left;"  data-id="{{$v.s_id}}">
-			<div style="width:100%;padding-top:25px;padding-bottom:15px;" class="text-center"><a target="_blank" href="{{$v.s_link}}"><img{{if $v.s_picalt}} alt="{{$v.s_picalt}}"{{end}} src="{{if $v.s_pic}}{{$v.s_pic}}{{else}}null{{end}}" onerror="this.src='/images/u166.png'"></a></div>
-			<div class="text-center index-new-rmxq-remark"><span style="width:250px; border:1px solid #ccc; display:inline-block; margin-bottom:10px;"><a style="float:left;" target="_blank" href="{{$v.s_link}}">{{$v.s_remark}}</a></span></div>
-			<div class="text-center"><span style="width:250px; border:1px solid #ccc; display:inline-block; margin-bottom:10px;"><a style="float:left;" class="a-com-servcename">{{$v.o_extend.type}}</a></span></div>
-			<div class="text-center "><span style="width:250px; border:1px solid #ccc; display:inline-block; margin-bottom:10px;"><a class="a-com-last" style="float:left;"></a></span></div>
-			<div class="index-new-rmxq-name text-center"><span style="width:250px; border:1px solid #ccc; display:inline-block; margin-bottom:10px;"><a style="float:left;" target="_blank" href="{{$v.s_link}}">{{$v.o_extend.entName}}</a></span></div>
+			<div class="index-new-rmxq-listcon" style="{{if gt $k 0}} border-left:1px solid #f0f0f0; {{end}}"  data-id="{{$v.s_id}}">
+			<a target="_blank"  href="{{$v.s_link}}"></a>
+			<div class="index-new-rmxq-listimg text-center"><a target="_blank" href="{{$v.s_link}}"><img{{if $v.s_picalt}} alt="{{$v.s_picalt}}"{{end}} src="{{if $v.s_pic}}{{$v.s_pic}}{{else}}null{{end}}" onerror="this.src='/images/u166.png'"></a></div>
+			<div class="text-center index-new-rmxq-remark"><span><a target="_blank" href="{{$v.s_link}}">{{$v.s_remark}}</a></span></div>
+			<div class="index-new-rmxq-listtype text-center"><span><a class="a-com-servcename">{{$v.o_extend.type}}</a></span></div>
+			<div class="index-new-rmxq-listas text-center "><span><a class="a-com-last" ></a></span></div>
+			<div class="index-new-rmxq-name text-center"><span><a target="_blank" href="{{$v.s_link}}">{{$v.o_extend.entName}}</a></span></div>
 			
 			</div>
 			{{end}}
@@ -159,19 +160,20 @@
 		<span>案例展示</span>
 		<span><img src="/images/u4171.png"/></span>
 		</div>
-		<div class="a-cols row index-new-wgwcon">
+		<div class="row index-new-wgwcon text-center">
 			{{$s:=(Ad "index-center-07" 6)}}
 			{{range $k,$v := $s}}
-			<ul class="a-com-ul-block{{if ge $k 3}} a-com-last{{end}}">
-				<li class="a-com-first" 
-				style="background-image:url(/images/u46.png),url({{if $v.s_pic}}{{$v.s_pic}}{{else}}/images/u166.png{{end}});background-repeat:no-repeat;background-position:0px 200px,0px 0px;">
-				<a target="_blank"  href="{{$v.s_link}}"></a>
-				</li>
-				<li class="a-com-title index-new-wgw-remark"><div><a target="_blank" href="{{$v.s_link}}">{{$v.s_remark}}</a></div></li>
-				<li class="index-new-wgw-fgx2"></li>
-				
-			</ul>
-			{{if ge $k 2}}{{if lt $k 3}}</div><div class="a-cols row index-new-wgwcon">{{end}}{{end}}
+			<div class="index-new-wgw-listcon" >
+			<div class="index-new-wgw-listimg text-center">
+			<a target="_blank"  href="{{$v.s_link}}"></a>
+			<span class="index-new-spanqmfw" style="background-image:url({{if $v.s_pic}}{{$v.s_pic}}{{else}}/images/u166.png{{end}});background-repeat:no-repeat;background-position:0px 0px;">
+			
+			<div class="index-new-wgw-nameent text-center"><span><a target="_blank" href="{{$v.s_link}}">{{$v.o_extend.entName}}</a></span></div>
+			<div class="index-new-wgw-bg1 text-center"><span></span></div>
+			</span>
+			</div>
+			</div>
+			{{if ge $k 2}}{{if lt $k 3}}</div><div class="row index-new-wgwcon text-center">{{end}}{{end}}
 			{{end}}
 		</div>
 	</div>