thymeleaf
fengcai0123
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
thymeleaf th:href 各种传参 --参数在中间,参数在后面,多参数,参数加减计算
<!-- 分页--><div class="ui bottom attached segment" th:if="${pageCount}>1"> <div class="ui middle aligned two column grid"> <div class="column"> <a th:href="@{/home/{uid}/{pageNum}/(uid=$原创 2020-10-22 11:50:56 · 1122 阅读 · 1 评论 -
layui 分类树案例(springboot layui 分类树实现的完整例子)
前端 cateTree.html<!DOCTYPE html><html xmlns:th="http://www.thymeleaf.org"> <head th:include="layout :: htmlhead" th:with="title='角色管理'"></head><link rel="stylesheet" th:href="@{/layui/css/layui.css}"></link><scrip原创 2020-07-05 19:13:59 · 1530 阅读 · 0 评论 -
spring boot thymeleaf 图片上传web项目根目录步骤
form方式上传://html:<form enctype="multipart/form-data" method="post" action="/sell/imageUpload"><div class="modal-header"> <button type="button" class="close&q原创 2018-03-26 09:28:30 · 3237 阅读 · 2 评论 -
thymeleaf 页面a标签 onclick传参数使用方式
thymeleaf a标签onclick 传多个参数给ajax使用,用 ‘’单引号。<a href="javascript:void(0)" th:onclick= "'javascript:goRead('+${item.id}+','+${cartoon.id}+')'" target="_blank" th:title="${item.title}"><scrip...原创 2018-07-04 14:22:15 · 21022 阅读 · 1 评论 -
thymeleaf 页面模板引用
这是thymeleaf 模板引用方式之一:include方式,replace,insert方式后续补充。 模板处为:<div th:fragment="commonNav" ></div> 需要引用的地方:<div th:include="top::commonNav"></div>效果图 模板页面top.html:...原创 2018-09-01 14:33:49 · 6233 阅读 · 0 评论
分享