自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 微信小程序 优化经验

1.页面跳转传参解码 escape(JSON.stringify(options)) => JSON.parse(unescape(options)) 2.当使用button组件时 千万记住: 不要设置其position为inherit、initial、static之类(只能为relative、fixed、absolute), 否则在页面中不管你点哪里都会触发button的tap事件 3...

2019-08-07 10:12:09 295

原创 mpvue 小程序开发经验 (不定期更新)

1.公用的css.js过多,会被抽取压缩到vendor wxss/js中去, 导致文件体积过大,可能超出2048kb限制 2.自定义头部 胶囊问题大小适配: wx.getMenuButtonBoundingClientRect() api: https://developers.weixin.qq.com/miniprogram/dev/api/wx.getMenuButtonBoundi...

2019-04-10 14:38:04 182

原创 thymeleaf 页面问题(路径,公共模块引入)

路径:href,src格式: @{  }eg:   <link rel="stylesheet" th:href="@{/css/admin.less}" /><script th:src="@{/js/jquery-3.2.1.min.js}"></script>一般项目默认static就是根路径,所以static下的路径中不能写static,应当以 / 代替..

2018-04-18 12:07:33 20089 14

原创 悬浮侧边导航 屏幕滑动跟随响应

ul{ list-style: none; } i{ font-style: normal; } #menu-left {   width: 260px;   min-height: 90px;   float: left; } #menu-left ul {   width: 260px;   height: auto;   overflow: hidden;  

2017-11-30 19:18:07 2317

原创 css中 :before ,:after 用法合集01(时间线)

css 利用 :before 实现时间线  ul{ width:500px;height:auto; overflow: hidden; margin:100px auto; list-style: none; line-height: 24px; } li{ position:relative; width:100%;height:auto; ove

2017-11-30 18:09:52 1547 2

原创 web 杂记(input(checked) layer.confirm)

判定与操作: if($(this).is(':checked')){ //全选 $('.check-td').each(function(){ $(this).prop("checked",true) }) }else{ //撤销全选 $('.check-td').each(function(){ $(this).prop("checked",false) }) }

2017-06-14 20:26:01 585

空空如也

空空如也

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

TA关注的人

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