Browse Source

客户资料调整。

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7633 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
ouxianqin 9 years ago
parent
commit
956017d70a
1 changed files with 53 additions and 6 deletions
  1. 53 6
      src/main/webapp/resources/tpl/index/sale/customer.html

+ 53 - 6
src/main/webapp/resources/tpl/index/sale/customer.html

@@ -1,7 +1,54 @@
+<style>
+#customer-tab .header th,#customer-tab tbody tr.header,#customer-tab tbody tr.header th{
+	height: 38px;
+	text-align: center;
+	padding: 0;
+	line-height: 38px;
+	border-bottom-width: 0;
+	background: #f5f5f5;
+	border: none;
+	font-size: 12px;
+}
+#customer-tab tbody tr.header:hover{
+	border: none;
+}
+.pane .pane-header{
+	border-radius: 0px 0 0px 0px;
+	box-shadow: 0 0 3px #ccc;
+	background: linear-gradient(to top, #e7e7e7 0%,#ffffff 100%);
+	height: 40px;
+	font-size: 14px;
+	line-height: 40px;
+}
+.table>tbody+tbody{
+	border-top: none;
+}
+#customer-tab tbody td{
+	border: none;
+}
+#customer-tab .pane-body{
+	padding: 0;
+}
+#customer-tab tbody tr{
+	background: none;
+	height: 60px;
+	border-top: #e8e8e8 1px solid;
+	line-height: 60px;
+}
+#customer-tab tbody tr td{
+	text-align: center;
+	line-height: 20px;
+	vertical-align: inherit;
+	font-size: 12px;
+}
+#customer-tab tbody tr:hover{
+	border: #d32526 1px solid;
+}
+</style>
 <div class="loading in" ng-class="{'in': loading}">
 	<i></i>
 </div>
-<div class="pane base-info" style="max-height: 500px;overflow: auto;">
+<div class="pane base-info" style="max-height: 900px;overflow-y: auto; overflow-x: hidden;" id="customer-tab">
 	<div class="pane-header">
 		客户资料 (共{{::totalCount}}个)
 		<div class="pull-right">
@@ -15,11 +62,11 @@
 				<tr class="header">
 					<th width="80">UU</th>
 					<th width="180">客户名称</th>
-					<th width="220">地址</th>
+					<th width="200">地址</th>
 					<th width="80">客户联系人</th>
 					<th width="100">联系人电话</th>
 					<th width="80">我方联系人</th>
-					<th width="50">用户分配</th>
+					<th width="70">用户分配</th>
 				</tr>
 			</thead>
 			<tbody>
@@ -31,18 +78,18 @@
 						<td ng-bind="::customer.myUser.userTel"></td>
 						<td class="text-center" ng-bind="::customer.vendorUser.userName"></td>
 						<td class="text-center">
-								<a title="新增" style="color: green;" ng-click="addUserInfo(customer)"><i class="fa fa-plus-circle fa-lg"></i></a>&nbsp;&nbsp;
+								<a title="新增" style="color: #327ebe;" ng-click="addUserInfo(customer)"><i class="fa fa-plus-circle fa-lg"></i></a>&nbsp;&nbsp;
 								<a title="展开" class="text-muted" ng-click="open(customer,$index)"><i class="fa fa-toggle-down fa-lg"></i></a>
 							</div>
 						</td>
 					</tr>
 			</tbody>
 		</table>
-		<div ng-show="userInfoResult">
+		<div ng-show="userInfoResult" style="padding-bottom: 20px; border-top:15px #f5f5f5 solid ;">
 			<div class="pane-header">
 				客户分配用户资料 (共<span ng-bind="custInfos.length || 0"></span>个)<span class="f16" style="margin-left: 120px;"ng-bind="custInfo.myEnterprise.enName"></span>
 			</div>
-				<table class="table table-hover"
+				<table class="table table-hover" style="border-bottom:#e8e8e8 1px solid;">
 					<thead>
 						<tr class="header">
 							<th class="text-center" width="90">用户UU</th>