今日完成项目框架搭建,每个组员都按时完成分配的任务。
本人完成thymeleaf研究,用户注册,加了验证,登录,登录过滤器。
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<tbody th:each="questionType,stat:${pageInfo.getList()}" th:with="name='wanmait'">
<tr th:style="'background-color:'+(${stat.even}?'#ddccff':'#ff99cc')">
<td th:switch="${stat.count % 2}">
<span th:case="1">奇数行</span>
<span th:case="*">偶数行</span>
</td>~
<td th:text="${stat.count}">1</td>
<td th:text="${#strings.abbreviate(questionType.title,10)}">[[${questionType.title}]]</td>
<td th:text="${#strings.length(questionType.title) > 10 ?(#strings.substring(questionType.title,0,10)+'...'):questionType.title}">[[${questionType.title}]]</td>
<td>
<input type="text" value="0" th:value="${questionType.sort}"/>
</td>
<td th:~="${questionType.questionCount}" th:id="'questionCount'+${questionType.id}" th:title="|问题数量为${questionType.questionCount}|">1</td>
<td><a href="#" th:href="@{/manage/questionType/update(id=${questionType.id})}">修<>改</a>
<a href="#" class="del" th:data-id="${questionType.id}">删除</a>
</td>
</tr>
</tbody>

0条评论
点击登录参与评论