会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wings_lhw
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2017年7月31日
正则的一个小坑
摘要: var $name = '好1' var reg = /[`~!@#$%^&*()_\-+=<>?:"{}|,\/;'\\[\]~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、1234567890]/g; console.log(reg.test($name)) var is
阅读全文
posted @ 2017-07-31 12:17 wings-lhw
阅读(152)
评论(0)
推荐(0)
2017年5月17日
vue移动端300毫秒延时
摘要: 引入,在main.js里
阅读全文
posted @ 2017-05-17 18:49 wings-lhw
阅读(1401)
评论(1)
推荐(0)
2017年5月11日
替换字符串的自定范围
摘要: 适合于隐藏部分手机号,银行卡,姓名等 str:字符串 begin:开始 end:结束 char:用什么替换 function mask(str,begin,end,char){ var fstStr = str.substring(0,begin); var scdStr =str.substrin
阅读全文
posted @ 2017-05-11 14:15 wings-lhw
阅读(238)
评论(0)
推荐(0)
2017年5月5日
vue 商品星级评价
摘要: <template> <div id="shoplist"> <p class="all" > <input type="radio" name="b" value="0" v-model="inputdata"/> <span>★</span> <input type="radio" name="
阅读全文
posted @ 2017-05-05 18:09 wings-lhw
阅读(2196)
评论(1)
推荐(0)
2017年4月26日
vue三级联动,不发ajax请求
摘要: <template> <div class="city-select" id="city"> <select v-model="selectedProvince" name="province"> <option v-for="(item, index) in provinces" v-if="it
阅读全文
posted @ 2017-04-26 18:10 wings-lhw
阅读(923)
评论(0)
推荐(0)
vue实现头像上传
摘要: <template> <div> <div style="padding:20px;"> <div class="show"> <div class="picture" :style="'backgroundImage:url('+headerImage+')'"></div> </div> <di
阅读全文
posted @ 2017-04-26 15:00 wings-lhw
阅读(1375)
评论(0)
推荐(0)
2016年9月27日
原生js简单留言板功能
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } #win{ left: 500px; width: 300p
阅读全文
posted @ 2016-09-27 21:00 wings-lhw
阅读(230)
评论(0)
推荐(0)
上一页
1
2
3
公告