html
夕冰
学知识如修心法
展开
-
SpingBoot使用webSocket(一)---给自己发消息
一、pom.xml引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> 二、添加ServerEndpointExporter配置bean(不知道干什么用的呀!) 大家都说:如果使用独立的servle.原创 2021-05-12 19:10:40 · 257 阅读 · 1 评论 -
自定义一个好看一丢丢的搜索框
1、先上效果图 <div class="topBar">SN号查询</div> <form class="searchform"> <div> <input type="text" id="searchText" onfocus="clearText()" placeholder="请输入SN号" /> </div...原创 2019-06-24 16:24:14 · 244 阅读 · 0 评论 -
SpringBoot学习叁——themeleaf模版引擎之公共页面引用(菜单栏制作)
1、菜单栏抽取为单独页面 <html xmlns:th="http://www.thymeleaf.org"> 使用thymeleaf引擎解析页面 th:fragment="topBar" 声明为片段 <!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org"> <head> <...原创 2019-06-24 18:20:04 · 1381 阅读 · 0 评论