|
@@ -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>
|