自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 vue-动态验证码

<el-input type="text" placeholder="请输入验证码" class="code" @blur="checkLpicma" v-model="code" autoComplete="off" @keyup.enter.native="login"/> <div class="login-code" @cl...

2019-05-09 17:13:00 271

转载 ES6 数组函数forEach()、map()、filter()、find()、every()、some()、reduce()

forEach()map()— —更新数组filter()、includes()、find()、findIndex()— —筛选(删除)数组some()、every()— —判断数组reduce()— —叠加数组arr.forEach()遍历数组全部元素,利用回调函数对数组进行操作,自动遍历数组.length次数,且无法break中途跳出循环因此不可控...

2019-01-24 17:55:00 250

转载 eslint配置文件规则

rules: { // allow async-await 'generator-star-spacing': 'off', 'no-debugger': 'off', // 四个空格缩进 'indent': ['error', 4, {'SwitchCase': 1}], // 使用let, const代替var声明变量 'no-var': [...

2018-12-27 10:19:00 216

转载 列表秒杀倒计时-vue

HTML:<div v-for="(i,index) in mydata" :key="index">{{countDownList[index].day}}天{{countDownList[index].hou}}时{{countDownList[index].min}}分{{countDownList[index].sec}}秒</div>scr...

2018-10-19 18:53:00 323

转载 详情秒杀倒计时-vue

HTML:<div>{{countDownList}}</div>script:export default {   data() {     return {       countDownList: '00天00时00分00秒',       actEndTime: '2018-11-19 18:50:0...

2018-10-19 18:16:00 180

转载 vue消息无缝滚动

HTML:<div class="marquee">   <ul class="nameList" :class="{anim:animate==true}">     <li v-for='(item,index) in marqueeList' :key="index">{{item.name}}</li>  ...

2018-10-19 16:33:00 199

转载 vue npm install报错解决方法

0 info it worked if it ends with ok1 verbose cli [ 'D:\Program Files\nodejs\node.exe',1 verbose cli 'D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',1 verbose cli 'start' ]2 info using n...

2018-07-11 15:55:00 1108

转载 ajax 封装

var config = "https://*******.com";var aHttp = {};aHttp.resultHandler = function(opt) { var option = { url: config + opt.url, type: 'post', dataType: 'json', data: ...

2018-06-28 11:36:00 94

转载 vue中select设置默认选中

<select name="public-choice" v-model="couponSelected" @change="getCouponSelected"> <option :value="coupon.name" v-for="coupon in couponList" ...

2018-06-26 14:47:00 300

转载 vue 省市区三级联动

<select class="myCenter_add_row-5" v-model="province" :v-bind="province" @change="citychange($event)"><option v-for="i in provincelist" v-bind:value="i.id">{{i.name}}</option>...

2018-06-26 14:40:00 113

转载 小程序-验证码

Page({   data:{     verifyCodeUrl:'',   }   getVerifyCode:function(){     Ajax('url?'+new Date().getTime()).then(res=>{       this.setData({   ...

2018-01-23 15:28:00 151

转载 ejs-使用Gulp生成静态页面

在gulpfile.js里添加varejs=require('gulp-ejs')命令行中执行:npminstall gulp-ejsgulp.task('gulp-ejs', function(){   gulp.src(模版目录 + '/**/*.html')   .pipe(data(function (file) {   ...

2017-04-17 13:00:00 264

转载 Gulp的安装

安装Gulp首先要确保本地已经安装node环境(在命令行中输入"node -v"查看node版本号)node下载地址"https://nodejs.org/en/download/"个人推荐,根据自己电脑进行下载(不会安装node可以百度这里就不多说了)安装cnpm:npm install -g cnpm --registry=https://registry.npm.taob...

2017-04-17 10:45:00 76

转载 JS图片src转义

var _Url = "/qfy_Angular/Pubimg/merchant.jpg"str +='<img onerror="this.onerror=null||undefined;this.src=\'' + _Url + '\'"/>'转载于:https://www.cnblogs.com/CMing/p/6710128.html

2017-04-14 17:58:00 747

转载 验证码

<img class="img-code" id="vcode"title="换一换" alt="加載中" src="接口" onclick='this.src="接口?v="+Math.random()'>初始化页面刷新一次function refresh(){   var vcode=document.getElementById('vcode');...

2017-04-14 17:57:00 135

空空如也

空空如也

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

TA关注的人

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