Browse Source

上朵公众号增加客服功能

xian 6 years ago
parent
commit
51ab2dfe88

+ 7 - 6
tooth-wechat-web/src/main/webapp/WEB-INF/views/admin/customer/info.jsp

@@ -24,7 +24,7 @@
 <div class="cl pd-20" style=" background-color:#5bacb6">
 	<img class="avatar size-XL l" src="${info.customerHead}">
 	<dl style="margin-left:80px; color:#fff">
-		<dt>
+		<dt style="margin-top: 15px;">
 			<span class="f-18">${info.customerNick}</span>
 		</dt>
 	</dl>
@@ -33,19 +33,20 @@
 	<table class="table">
 		<tbody>
 		<tr>
-			<th class="text-r" width="80">状态:</th>
+			<th class="text-r" style="width: 1%;">状态:</th>
 			<td>
-				${info.customerState == 1 ? "在线" : (info.customerState == 2 ? "已离开" : "已下线")}
+				${info.customerState == 1 ? "在线" : (info.customerState == 2 ? "已离开" : "已下线")}
 			</td>
 		</tr>
 		<tr>
-			<td>
+			<th class="text-r"></th>
+			<td style="width: 20%;">
 				<c:choose>
-					<c:when test="info.customerState == 1" >
+					<c:when test="${info.customerState == 1}" >
 						<button class="btn btn-danger" type="button" onclick="edit_customer_state(3, ${info.customerId})">下线</button>
 						<button class="btn btn-danger" type="button" onclick="edit_customer_state(2, ${info.customerId})">离开</button>
 					</c:when>
-					<c:when test="info.customerState == 2">
+					<c:when test="${info.customerState == 2}">
 						<button class="btn btn-danger" type="button" onclick="edit_customer_state(1, ${info.customerId})">上线</button>
 						<button class="btn btn-danger" type="button" onclick="edit_customer_state(3, ${info.customerId})">下线</button>
 					</c:when>