wangchuanjin 9 年 前
コミット
f261c2b233

+ 29 - 7
core/src/web/staticres/css/entcommunity.css

@@ -226,7 +226,8 @@ a:focus, a:hover{
 }
 /********************企业画像**********************/
 .entinfo-basicinfo .b-com-content{
-	padding: 60px 0px;
+	padding-top: 60px !important;
+	padding-bottom: 60px !important;
 }
 .entinfo-basicinfo .entinfo-round{
 	border: 1px solid #DFE0E2;
@@ -538,6 +539,14 @@ a:focus, a:hover{
 	margin-top: 20px;
 	width: 200px;
 }
+/*************产品服务******************/
+.ent-service{
+	padding: 0px 20px;
+}
+.ent-service img{
+	width: 110px;
+	height: 101px;
+}
 /************公用****************/
 .ent-layout-up{
 	padding: 0px 20px;
@@ -557,16 +566,13 @@ a:focus, a:hover{
 	margin-left: 5px;
 }
 .ent-layout-up .b-com-content{
-	margin-top: 20px;
-}
-.ent-layout-down{
-	padding-top: 20px;
+	padding-top: 30px;
+	padding-bottom: 30px;
 }
 .ent-layout-down .b-com-content{
-	padding: 0px 25px;
+	padding: 30px 20px;
 }
 .ent-layout-down .b-com-title{
-	margin-bottom: 30px;
 	font-size: 16px;
 	color: #16a086;
 }
@@ -580,4 +586,20 @@ a:focus, a:hover{
 	width: 25px;
 	height: 25px;
 	color: #FFFFFF;
+}
+.ent-table td{
+	padding: 15px 0px !important;
+	border-top: none !important;
+}
+.ent-table tr:first-child{
+	border-top: none !important;
+}
+.ent-table tr:nth-child(2n+1){
+	border-top: 1px solid #e5e6e9;
+}
+.ent-table .b-com-name{
+	font-weight: bold;
+	font-size: 16px;
+	word-wrap: break-word;
+	word-break: normal;
 }

+ 6 - 1
core/src/web/staticres/js/entportrait.js

@@ -101,7 +101,12 @@ function ServiceList(){
 		paging = new Paging("serviceList","/front/findServiceByEntId",{entId:entId},6,function(r){
 			var html = '';
 			for(var i=0;i<r.length;i++){
-				
+				html += '<tr>'
+						+'<td rowspan="2" width="120"><img src="/images/services/default.png"></td>'
+						+'<td class="b-com-name">'+r[i].s_name+'</td>'
+						+'<tr>'
+						+'<td>'+r[i].s_introduction+'</td>'
+						+'</tr>';
 			}
 			$("#serviceList").html(html);
 		});

+ 2 - 9
core/src/web/templates/yellowpage/enterpriseinfo.html

@@ -313,15 +313,8 @@
 				<h4>抱歉,未找到相关数据!</h4>
 			</div>
 		</div>
-		<div class="hide">
-			<table class="table a-table" id="serviceList">
-				<tr id="tableTitle">
-					<td width="30%">我的预约</td>
-					<td width="30%" align="center">服务商名称</td>
-					<td width="20%" align="center">预约时间</td>
-					<td	width="10%" align="center">订单状态</td>
-					<td width="10%" align="center">操作</td>
-				</tr>
+		<div class="ent-service">
+			<table class="table ent-table" id="serviceList">
 				<tr>
 					<td colspan="5" class="text-center" id="myAppointmentPaging"></td>
 				</tr>