摘要: 下拉单选: 1、行内 1)初始化数据: <select class="form-control select5"> <option selected>张三1/18800188009</option> <option>张三2/18800188009</option> <option>张三3/18800 阅读全文
posted @ 2018-12-29 10:38 雨夜稻草 阅读(1172) 评论(0) 推荐(0) 编辑
摘要: https://www.imooc.com/article/70339 https://www.cnblogs.com/gavin-cn/p/6943584.html 阅读全文
posted @ 2018-12-29 07:34 雨夜稻草 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 1、建立文件 2、在variables.scss文件中添加 @import "style"; @import "common"; @import "style"; @import "common"; 阅读全文
posted @ 2018-12-28 06:17 雨夜稻草 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1、 问题:Error: read ECONNRESET 启动使用ionic serve启动服务器之后只要一刷新界面就会导致服务器关闭,报的错误如下: events.js:136 throw er; // Unhandled ‘error’ event ^ Error: read ECONNRESE 阅读全文
posted @ 2018-12-26 22:55 雨夜稻草 阅读(474) 评论(0) 推荐(0) 编辑
摘要: ionic g page 文件名 --pagesDir src/pages/about 阅读全文
posted @ 2018-12-26 22:18 雨夜稻草 阅读(1421) 评论(0) 推荐(0) 编辑
摘要: 1、获取jquery对象:height():内容高2、js原生对象:clientHeight:内容高+paddingscrollHeight:内容高+padding+滚动offsetHeight:内容高+padding+边框outerHeight :内容高+padding+边框+margin 阅读全文
posted @ 2018-12-20 17:52 雨夜稻草 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1、$(document).ready(function(){ alert("页面加载完成!"); }); 简写: $(function(){ alert("页面加载完成!"); }); 2、原生JS方法 window.onload=function(){ alert("页面加载完成!"); } window.onload:会在页面的document全部加... 阅读全文
posted @ 2018-12-20 17:38 雨夜稻草 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 给不同浏览器识别: color{ 阅读全文
posted @ 2018-12-14 11:31 雨夜稻草 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 1、-moz代表firefox浏览器私有属性 2、-ms代表IE浏览器私有属性 3、-webkit代表safari、chrome私有属性 需要设置这个的样式: transform,border-radio 阅读全文
posted @ 2018-12-14 11:08 雨夜稻草 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 作用: 1)缩放 2)反转 水平翻转:transform: scale(-1,1); 垂直翻转:transform: scale(1,-1); 水平垂直翻转: transform: scale(-1,-1);或 transform: scale(-1); 阅读全文
posted @ 2018-12-14 11:05 雨夜稻草 阅读(2063) 评论(0) 推荐(0) 编辑