会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BlueSky1024
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2018年3月7日
小程序自定义组件之省市区地址三级联动
摘要: wxml结构图如下 json包如下 1 { 2 "component":true, 3 "usingComponents":{} 4 } wxss样式图如下 js代码如下 思路来源于以下文章 新手小程序自定义组件教程
阅读全文
posted @ 2018-03-07 16:51 BlueSky1024
阅读(947)
评论(0)
推荐(0)
2018年1月5日
使用图片作为a标签的点击按钮时,当触发touchstart的时候,往往会有一个灰色的背景,想要去掉的话可以用下面这种方式
摘要: a,a:hover,a:active,a:visited,a:link,a:focus{ -webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; outline:none; backgr
阅读全文
posted @ 2018-01-05 17:18 BlueSky1024
阅读(355)
评论(0)
推荐(0)
2017年12月25日
常用UI模板,loading框,提醒框,弹框确认框
摘要: css部分 #public_box{width:100%;height:100%;position:fixed;top:0;left:0;z-index:100;background:rgba(0,0,0,.4);}.spinner { margin:-17px -75px; width: 150p
阅读全文
posted @ 2017-12-25 19:25 BlueSky1024
阅读(643)
评论(0)
推荐(0)
2017年11月23日
css 超出规定行数自动隐藏
摘要: 单行overflow: hidden;text-overflow: ellipsis;white-space: nowrap; 多行(兼容各个浏览器)//通过覆盖最后几个字的形式p{position:relative;line-height:1.4em;height:4.2em;/* 3 倍line
阅读全文
posted @ 2017-11-23 14:27 BlueSky1024
阅读(322)
评论(0)
推荐(0)
2017年11月22日
touch.js下载使用方式
摘要: touch.js下载地址 https://gitee.com/mirrors/touch-js Touch 在开发移动端的应用中会使用到很多的手势操作,例如一指拖动、两指旋转等等,为了方便开放者快速集成这些手势,在Clouda中内置了事件和手势库Library.touch,下面将详细的介绍如何使用L
阅读全文
posted @ 2017-11-22 14:09 BlueSky1024
阅读(5504)
评论(0)
推荐(1)
2017年10月21日
各种文字编码解码方式大合集
摘要: 文字编码方式
阅读全文
posted @ 2017-10-21 10:47 BlueSky1024
阅读(1471)
评论(0)
推荐(1)
2017年9月21日
自用公共js文件
摘要: // 加载配置文件var instance = axios.create({ baseURL: 'http://zy-shop.tincent.me/Wechat/', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
阅读全文
posted @ 2017-09-21 10:53 BlueSky1024
阅读(1078)
评论(0)
推荐(0)
2017年7月28日
常用UI框架
摘要: jQuery Smart UI Liger UI框架链接地址:http://www.ligerui.com/ DWZ富客户端框架(jQuery RIA framework) angela UI
阅读全文
posted @ 2017-07-28 18:26 BlueSky1024
阅读(257)
评论(0)
推荐(0)
各种HTML锚点跳转方式
摘要: 1 js控制锚点跳转 <a name="anchor"></a> location.hash="anchor"; 不只有a其他元素也可以,比如在报表中:<tr id="tr1">...</tr>location.hash="tr1"或者用jQuery的动画滚动效果:var id="tr1";$('h
阅读全文
posted @ 2017-07-28 16:55 BlueSky1024
阅读(21713)
评论(0)
推荐(0)
2017年7月7日
ajax交互数据简单拼装,数组成字符串
摘要: json2Form:function(json) { var str = ""; for(var p in json){ // 判断对象是否为数组 if(typeof json[p]=="object"){ var m=String(p) for(var i=0;i<json[p].length;i
阅读全文
posted @ 2017-07-07 16:46 BlueSky1024
阅读(953)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告