自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 chartss社区

https://gallery.echartsjs.com/explore.html#charts=pie~sort=rank~timeframe=all~author=all转载于:https://www.cnblogs.com/loveAline/p/11125255.html

2019-07-03 11:12:00 169

转载 js比较两个数组对象,取出不同的值(转)

var array1 = [ {"Num": "A " },{"Num": "B" }];var array2 = [ {"Num": "A ","Name": "t1 " }, {"Num": "B","Name": "t2"}, {"Num": "C " ,"Name": "t3 "}];var result = [];for(var i = 0; i <...

2019-04-25 19:02:00 1967

转载 解决"disabled". Expected Boolean, got Number with value 0

类型定义问题解决转载于:https://www.cnblogs.com/loveAline/p/10735031.html

2019-04-19 11:49:00 3356

转载 vue打包npm run build时候界面报错

方法1:找到config里的index.js,打开修改assetsPublicPath 为“./”方法2:把index.html文件中的路径/去掉;转载于:https://www.cnblogs.com/loveAline/p/10450696.html...

2019-02-28 15:29:00 263

转载 Es6作用域{}隔开

转载于:https://www.cnblogs.com/loveAline/p/10337853.html

2019-01-30 14:02:00 126

转载 js中的浅拷贝

转载于:https://www.cnblogs.com/loveAline/p/10337845.html

2019-01-30 14:01:00 87

转载 css3D文字效果

div {width:400px;height: 300px;line-height: 300px;background: #4bb1ff;font-size: 100px;text-align: center;color: #fff;text-shadow:1px 1px 0 #158af7,2px 2px 0 #158af7, /*...

2019-01-16 10:30:00 196

转载 echarts折线图

转载于:https://www.cnblogs.com/loveAline/p/10266459.html

2019-01-14 14:07:00 88

转载 less安装 出错问题

运行npm install less --save-dev npm install less-loader --save-dev npm run dev转载于:https://www.cnblogs.com/loveAline/p/10240753.html

2019-01-08 18:41:00 1295

转载 vue计算属性与侦听器

转载于:https://www.cnblogs.com/loveAline/p/10177705.html

2018-12-26 10:13:00 58

转载 vue属性绑定与双向数据绑定

转载于:https://www.cnblogs.com/loveAline/p/10177698.html

2018-12-26 10:11:00 83

转载 vue-devtools vue开发调试神器

https://www.cnblogs.com/aaron-pan/p/7156615.html?utm_source=tuicool&utm_medium=referralgit地址https://github.com/vuejs/vue-devtools转载于:https://www.cnblogs.com/loveAline/p/9957189.html...

2018-11-14 11:51:00 95

转载 VUE中画饼状图

1.首先安装cnpm install echarts -S(可能会出现报错情况,查看node是不是符合,node_modules删除重新下载)2.main.js引入import echarts from "echarts";Vue.prototype.$echarts = echarts;(原型,在需要的地方引入let myChart = this.$echa...

2018-09-28 17:20:00 199

转载 记录ie暂时遇到的问题

1.数组 最后一个逗号 不要有 否则会报错2.overflow: hidden; white-space: nowrap; -o-text-overflow: ellipsis; /* for Opera */ text-overflow: ellipsis; /* for IE */ 3.过渡-webkit-transition: all .2s lin...

2018-07-27 14:37:00 63

转载 input输入框正则验证全是数字且只能输入大于1小于90的数字

html-------<div class="validity_input"><input type="text" class="videoDay" value={{queryList}} onkeyup="value=value.replace(/[^\d]/g,'')"placeholder="有效期1-90天" maxlength="2">&...

2018-07-27 14:25:00 2479

转载 jquery与anglarjs下根据下标折叠或者展开按钮(含全部展开与全部折叠)

由于展开折叠时顺序容易出错,html---------<div class="header"><ul class="clear"><li class="CS_return hide"><i class="turnBack hide"></i></li><!-全部 -->...

2018-07-27 14:16:00 94

转载 转载:Angular在页面加载很慢的时候,会出现双花括号的问题

我们知道在应用的页面或者组件需要加载数据时,浏览器和angular渲染页面都需要消耗一定的时间。这里的间隔可能很小,甚至让人感觉不到区别;但也可能很长,这样会导致让我们的用户看到了没有被渲染过的页面。这种情况被叫做Flash Of Unrendered Content (FOUC)(K)?and is always unwanted.以下几种方法可以解决这个问题:1、ng...

2018-07-10 19:22:00 141

转载 导出字符串拼接jquery

$(".rExport").click(function () {var exportStr = "pageSize=" + $scope.pageSize + "&pageNum=" + $scope.pageNum;if ($scope.taskName !== "") {exportStr += "&taskName=" + $scope.taskN...

2018-07-10 19:13:00 71

转载 jquery,ztree,anglarjs使用(一)

html---------<span class="filterDIV_sp ">名称:</span><div class="filter_inp"><div class="filter_select_t"><span >{{queryGalleryTxt}}</span><div...

2018-07-10 19:10:00 67

转载 anglarjs结合jquery字符长度限制

html----------<input type="text" ng-keyup="Message($event,20)" maxlength="100" placeholder="请输入1~100个字符"><span class="hintMessage">最多输入100个字符</span>js----------------...

2018-07-10 15:27:00 69

转载 时间戳转时间

var addtime =$scope.days;var date = new Date($('.curTime').html().replace(/-/g, '/'));var new1 = Number(date.getTime()/1000) + Number(addtime)*86400;var newTime = timestampToTime(new1);//...

2018-07-10 15:18:00 88

转载 bootstrap表格结合anglarjs 含全选与全不选(-)

http://bootstrap-table.wenzhixin.net.cn/zh-cn/documentation/html--------------<table id="mytab" class="table table-hover"></table>js-----------------------$scope.pageSize=...

2018-07-10 15:00:00 111

转载 key value值的获取

var geoCoordMap = {// '六堰':[110.795837,32.655337],// '房县':[110.746404,32.059009],// '丹江':[111.515151,32.553645],// '武当':[111.094132,32.515486]}var _data=[// {name: '六堰', value: 150}...

2018-07-10 14:32:00 114

转载 layui,jquery,angularjs结合使用日期限制 (爬坑一)

html------------<div class="year_date"><div class="years" ng-repeat="items in ChecthiskList track by $index"><div class="parameter_year clear"><span class="paramete...

2018-07-09 19:33:00 186

转载 layui 日期插件

layui插件日期中间符号更换if(data.result.length!=0){for(var i = 0; i < data.result.length; i++){data.result[i].timeslot = data.result[i].timeslot.replace("%%"," - ");}}日期封装function...

2018-07-09 19:22:00 92

转载 附件上传

最近的事情比较多,也没时间去做总结,但是心里总感觉少点东西,还是把这坑记录下来吧<form id="uploadForm" enctype="multipart/form-data" method="POST"><div class="fileDIV clear"><p class="file_box"><input type="...

2018-07-09 13:54:00 82

转载 jquery弹出框

<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head&...

2018-05-07 21:49:00 77

转载 Vue2.0---将页面中表格数据导出excel

一、需要安装三个依赖: npm install -S file-saver xlsx npm install -D script-loader  二、项目中新建一个文件夹:(vendor---名字任取)    里面放置两个文件Blob.js和Export2Excel.js。    百度可下载。  三、在.v...

2018-04-08 14:12:00 83

转载 vue mounted 的使用

借用图个人理解mounted 的使用是网页加载的时候调用methods里的函数mounted:function(){this.getReportInfor(this.$route.params.user)},methods: {getReportInfor(params){var that = thisthis.axios({met...

2018-03-08 15:54:00 3309

转载 let、const 区别

let、const在任何情况下都优于varconst一旦定义就不可改变大部分情况下const的出场率比let高很多,所以一般建议默认使用const,除非一定要改变变量的值,再使用letconst 常量let 变量,块作用域,不能重复声明覆盖var 变量,函数作用域,能重复声明覆盖const:如果定义了一个基本数据类型,比...

2018-03-08 14:43:00 146

转载 vue爬坑之路--------this$refs[formName]validate

vue element-ui使用自定义正则表达式:let validatePass = (rule, value, callback) => { let regExp = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/ if (value === '') { callback(new Err...

2018-03-08 14:28:00 1705

转载 vue-router的link样式设置问题

发现router-link添加上去后文字上会出现下划线,打开调试工具发现router-link其实是由a来实现的,在reset的时候a { text-decoraction: none;}至于点击之后的样式则是router-link-active.router-link-active { text-decoration: none;...

2018-03-05 17:08:00 255

转载 j中的substr(start,length)和substring(start,end)

substring1 substring 方法用于提取字符串中介于两个指定下标之间的字符(包头不包尾)2 substring(start,end)开始和结束的位置,从零开始的索引  end:字符串下标,结束符是不包括该下标的。比如substring(0,3),那就是从下标0开始,截取到下标为3的前一位(不包括下标为3的那个字符)substr1substr 方...

2018-03-05 14:08:00 277

转载 js实现input:file的click事件

div class = "clp" onclick = "clp();">从相册中选择图片</div><input type="file" id="File" /><br><br><br><br><br><br><div class = "clp...

2018-03-01 15:49:00 745

转载 学习网站

百度云https://cloud.baidu.com/index.html优秀案例:http://www.luobotetian.com/about.htmlhttps://adminlte.io/themes/AdminLTE/index2.html关于Vue.js的学习http://blog.csdn.net/sinat_17775997/article/details...

2018-03-01 11:57:00 76

转载 打开就随机生长的树

<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Comp...

2018-03-01 11:47:00 60

空空如也

空空如也

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

TA关注的人

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