自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 vue单页面跳转锚点及跨页面跳转锚点

单页面跳转锚点<div @click="jump('#port'+index)">了解详情</div><div :id="'port'+index"><srcipt>export default{ methods:{ jump(selector){ let anchor = this.$el.querySelector(selector); anchor.scrollIntoView();

2020-12-31 17:41:40 865 1

原创 vue跳转当前组件时重新渲染

<router-view :key="key"></router-view><script>export default { computed: { //router-view指定唯一key,路由切换时重新渲染触发钩子 key() { return this.$route.name !== undefined ? this.$route.name + +new Date():

2020-12-30 20:56:11 695

转载 vue-element-admin文档 教程

https://juejin.cn/post/6844903476661583880#heading-16 手摸手,带你用vue撸后台 系列一(基础篇)https://juejin.cn/post/6844903478880370701 手摸手,带你用vue撸后台 系列二(登录权限篇)https://juejin.cn/post/6844903481224986638 手摸手,带你用vue撸后台 系列三(实战篇)https://juejin.cn/post/6844903486241374221

2020-12-30 20:43:39 1883

原创 thymeleaf中th:href多参数拼接无法解析的问题

使用的是th:replace,这是fragment公用代码块为了代码块能够在多个URL中使用,所以从后台传递parent参数用在URL中之前使用的是这种直接调用的方式,发现不能解析 <li th:each="obj : ${list}"> <a th:href="@{/web/${parent}/detail(id=${obj.id})}"> </a> </li>

2020-11-24 16:51:19 1086

原创 瀑布流加载下一页

<li id="end-sign"></li><script type="text/javascript" th:fragment="more_list"> //滑动加载 // 默认当前起始页 var page = 2; // 当前是否允许加载 var isLoading = true; $(document).ready(function(){ // 加载第一页(页数为1) window

2020-11-24 14:33:16 143

原创 springboot拦截器拦截数据库映射文件的问题

在拦截器的配置拦截路径类中添加@Configurationpublic class MyInterceptorConfig extends WebMvcConfigurationSupport { //添加需要拦截的请求 @Override protected void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new MyInterceptor()).addP

2020-11-24 14:23:25 194

原创 springboot上传图片地址配置

加入配置类import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;@Configurationpublic class MyW

2020-11-13 15:28:41 255

转载 MD5加密工具类

转载:https://blog.csdn.net/ladymorgana/article/details/89847926?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.c

2020-11-10 17:11:32 61

原创 layui.tree无线菜单无线分类及增删改查事件,自动展开

创建Menu类创建menu类,键名必须和layui文档一致,否则不能读取数据public class Menu { private int id; private String title; private int pId; private List<Menu> children = new ArrayList<>(); //getter setter constructor省略}layui接收的数据是嵌套的json数组data =

2020-11-07 19:01:17 1011

原创 layui iframe弹窗编辑页面提交

子窗口的数据从父窗口的table中获取子窗口的赋值和提交都在父窗口中执行前端 <table id="LAY-user-manage" lay-filter="LAY-user-manage" class="layui-hide"></table><!-- 行工具栏--> <script type="text/html" id="table-useradmin-webuser"> <a class="layui-btn layui-btn-no

2020-11-04 18:17:19 1763

原创 springboot layuiAdmin 传递Json数组批量删除

ajax传递data:data: JSON.stringify(checkData),Controller接收加@RequestBody注解public JsonResult batchDel(@RequestBody List batchDelCases) {}前端<div class="layui-fluid"> <div class="layui-card"> <div class="layui-card-body">

2020-11-04 17:25:28 677

原创 springboot layuiAdmin实现分页

前端:<table id="LAY-user-manage" lay-filter="LAY-user-manage" class="layui-hide"></table><script th:inline="none">//"[[" 和 thymeleaf模板解析冲突,用th:inline="none"解决 layui.config({ base: '/layuiAdmin/src/layuiadmin/' //静态资源所在路径 }).extend(

2020-11-04 16:28:14 604

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除