自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 html图片间隙处理

<img style="width: 60%;vertical-align: bottom;" src="images/shareleshua/button.png" />使用vertical-align: bottom;

2020-08-28 10:51:56 349

原创 html 子元素相对父元素垂直居中

<div class="father"> <div class="son"> 子元素 </div></div>子元素相对父元素垂直居中,在不清楚父元素高度的情况下,可使用如下方式:.father{ position:relative;}.son{ position: absolute; top: 50%; transform: translateY(-50%);}..

2020-08-28 10:24:38 531

原创 html ${}表达式多参数使用

${param1=='13'?param2:""}param1表示参数1,param2表示参数2

2019-04-09 18:34:17 16083 1

原创 h5移动端自适应布局

场景:为适应各种大小的屏幕自适应布局我知道的两种方式1.使用媒体查询,下面制定了几种适应方式,例如第一个表示屏幕宽度在320px-360px之间的,html字体大小适配为13.65px<style> @media only screen and (max-width: 360px) and (min-width: 320px){ html{ ...

2019-04-08 19:02:54 7118

原创 小程序 下载功能

小程序下载实现 这是小程序结构图和实现效果1.config->httpconfig.js这是个工具jsfunction sendPost(cb, data, url) { wx.request({ url: url, method: 'POST', dataType: "json", header: { "Content-T...

2019-03-21 16:59:44 1974

原创 线程池原理

ThreadPoolExecutor(int corePoolSize,                              int maximumPoolSize,                              long keepAliveTime,                              TimeUnit unit,                ...

2019-02-22 22:50:50 102

原创 spring boot+jpa框架搭建

spring boot+jpa框架搭建1.首先依赖jar的引入      &lt;parent&gt; &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt; &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt; &lt;...

2018-06-30 17:53:47 578

原创 spring+spring mvc+spring data+jpa+mysql/oracle框架搭建

spring+spring mvc+spring data+jpa+mysql/oracle框架搭建

2018-06-30 16:26:54 1225

原创 小程序 图片+视频轮播

index.wxml <swiper class="swiper" indicator-dots="true" autoplay="{{flag}}" interval="5000" duration="1000"> <block wx:for="{{movies}}" wx:for-index="index"> ...

2018-06-27 17:29:44 7888 2

原创 JPA接口查询

JPA接口查询 本人首次玩,有不对的地方请见谅,不喜勿喷,谢谢.有时可以看到在dao里面的接口方法,有些是没有用注解写sql语句也没有在配置文件写sql语句的,而只是有个光秃秃的接口名,但是它既然还可以查询到数据库里的数据.因为这是用到了jpa,接口名遵循jpa方法命名规则,通过接口名就可以解析成sql语句,然后查到数据. 如有需要可以找度娘先了解下jpa接下来本人通过下面的接口类来讲解

2017-11-30 18:15:54 2229

spring boot+jpa框架

spring boot+jpa框架搭建,支持spring boot热部署,通过jpa来对数据层进行操作

2018-06-30

空空如也

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

TA关注的人

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