会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
漠漠~
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2017年8月2日
微信小程序——简易动画案例
摘要: wxml: js:
阅读全文
posted @ 2017-08-02 11:02 漠漠~
阅读(7549)
评论(0)
推荐(1)
2017年5月10日
ajax发送验证码
摘要: $.ajax({ url:url, type:"POST", data:data, dataType:"JSON", success:function (data) { vue_register.error_code_msg = "";//显示报错信息--后台传输 if (data.status){
阅读全文
posted @ 2017-05-10 15:41 漠漠~
阅读(556)
评论(0)
推荐(0)
touch滑动事件---简单小案例
摘要: html: <!--导航栏头部--><div class="type_nav"> <ul class="clearfix " v-on:touchstart="touch($event,1)" v-on:touchmove="touch($event,2)" v-on:touchend="touch
阅读全文
posted @ 2017-05-10 15:39 漠漠~
阅读(437)
评论(0)
推荐(0)
vue 获取当前元素
摘要: Html: Js: vue获取当前元素 var el = e.target; //当前元素,可修改(能够用此方法获取到他的子元素等) var el = e.currentTarget;//当前元素,不可修改(不能用此方法获取到他的子元素等) $(el) 当前jq元素
阅读全文
posted @ 2017-05-10 15:31 漠漠~
阅读(26278)
评论(1)
推荐(3)
vue数据绑定
摘要: 数据绑定 <input type="tel" placeholder="请输入手机号" v-on:input="verifyPhone()" v-on:blur="verifyPhone()" v-model="phone" /> <p class="labeltext">{{error_phone
阅读全文
posted @ 2017-05-10 15:28 漠漠~
阅读(503)
评论(0)
推荐(0)
提示框插件layer的使用讲解
摘要: 官方网站:http://layer.layui.com/ 在页面中引入: <script src="js/layer-v3.0.3/layer/layer.js"></script> 注意:在引用插件时,先引用jquery Js中简单弹框 其他使用方法在官方文档中有详解
阅读全文
posted @ 2017-05-10 15:23 漠漠~
阅读(244)
评论(0)
推荐(0)
省际联动distpicker插件的使用讲解
摘要: 1.在使用input页面加载script的引用 <script src="js/distpicker/distpicker.data.js"></script> <script src="js/distpicker/distpicker.js"></script> 注意:必须使用jquery Htm
阅读全文
posted @ 2017-05-10 15:21 漠漠~
阅读(1397)
评论(0)
推荐(0)
css样式总结
摘要: .font-hide(@num){ word-break: break-all; text-overflow: ellipsis; display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/ -webkit-box-orient: vertical; /** 设置或检索伸
阅读全文
posted @ 2017-05-10 15:17 漠漠~
阅读(359)
评论(0)
推荐(0)
判断两个数组中是否有重复项
摘要: 两个数组判断是否有重复项 $.each(arr1,function(i,value){ val = value; num1 = i;//用来标记当前arr1数组中的重复项 $.each(arr2,function(i,value){ if(val == value){ alert(value); }
阅读全文
posted @ 2017-05-10 15:14 漠漠~
阅读(2863)
评论(0)
推荐(0)
ajax传输数据
摘要: AJAX向后台传输数//1 直接在url中传递 $.ajax({ type: "POST", url: "/testAjax/addUser?id=1&name=zhangxiaofan&sex=male", success:function(data){ //TODO } }); //2 html
阅读全文
posted @ 2017-05-10 15:09 漠漠~
阅读(543)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告