<c:forEach var="obj" items="${list }"> <tr> <td> <dl> <dt style="width: 25%; float: left; height: 100%;"> <img src="${obj.headimgurl }" style="height: 6rem; width: 6rem;" /> <label style="display: block; text-align: center; width: 80%; margin-top: 0.3rem;">${obj.id}</label> <label style="display: block; text-align: center; width: 80%; margin-top: 0.5rem;">${obj.nickname}</label> </dt> <dd class="dd1"> <label class="label3">状态:</label> <c:if test="${obj.status_=='normal'}"> <span style="color: #1a9f0c;">正常</span> </c:if> <c:if test="${obj.status_=='disable'}"> <span style="color: #f41272;">已停用</span> </c:if> </dd> <dd class="dd1"> <label class="label3">剩余房卡:</label> <span>${obj.stock_card}</span> </dd> <dd class="dd1"> <label class="label3">已购房卡:</label> <span>${obj.accumulate_card}</span> </dd> <dd class="dd1"> <label class="label3">注册时间:</label> <span>${obj.create_date}</span> </dd> <dd class="dd1" style="margin: 0.5rem 0rem 1rem 7rem;"> <label class="button1" onclick="skipView('app2/mMoneyLog/toAdd.do?receive_id=${obj.id}&callBack=/app2/mPlayer/list.do')">点击充值</label> <c:if test="${obj.status_=='normal'}"> <label class="button1" onclick="dispose('?id=${obj.id}&status_=disable')">停用</label> </c:if> <c:if test="${obj.status_=='disable'}"> <label class="button1" onclick="dispose('?id=${obj.id}&status_=normal')">启用</label> </c:if> </dd> <dd class="dd1" style="margin: 0.5rem 0rem 1rem 7rem;"> <label class="button1" onclick="skipView('app2/mPlayer/createRoomRecord.do?buyer=${obj.id}')">开房记录</label> <label class="button1" onclick="skipView('app2/mMoneyLog/list.do?receive_id=${obj.id}')">充值记录</label> </dd> </dl> </td> </tr> </c:forEach>//我想问这段代码有错吗
添加回答
举报
0/150
提交
取消