摘要: 1.旋转 2.缩放 3.遮罩层覆盖图片 4.遮罩层隐藏在img上方 5.遮罩层上下效果 6. 阅读全文
posted @ 2017-11-16 17:21 陌凌雪 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 都要引入jq 阅读全文
posted @ 2017-11-16 15:51 陌凌雪 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 演示不了 请刷新下 点击试试 阅读全文
posted @ 2017-11-16 15:48 陌凌雪 阅读(1421) 评论(0) 推荐(0) 编辑
摘要: function Browser() { this.Opera = window.opera ? true : false; this.IE = document.all && !this.Opera ? true : false; this.IE6 = this.IE && typeof(window.XMLHttpRequest) == "undefined" ? t... 阅读全文
posted @ 2017-11-16 15:36 陌凌雪 阅读(172) 评论(0) 推荐(0) 编辑
摘要: var images=''; // 上传商品 var jsApiSdk; var localIds; // 获取微信接口conf参数 $.ajax({ url:'/index.php?r=wxtest/wxshare', data:{url:window.location.href}, dataType:'jso... 阅读全文
posted @ 2017-11-16 14:45 陌凌雪 阅读(1672) 评论(0) 推荐(0) 编辑
摘要: 一.清关里边申请清关 上传图片由于本身就是布局用的图片,微信手机长按会出现保存收藏该图片。 解决方法:添加同级元素充当遮罩层。设置样式,把点击事件从设置的上传图片中移除即可。 1)<!-- 图片遮罩层 --> <div class="cover"></div> 2)/* 遮罩层 */ .cover{ 阅读全文
posted @ 2017-11-16 14:30 陌凌雪 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 1.-webkit-appearance : none ; /*解决iphone safari上的圆角问题input或者button*/ 阅读全文
posted @ 2017-11-16 14:01 陌凌雪 阅读(129) 评论(0) 推荐(0) 编辑
摘要: http://www.9miao.com/thread-90655-1-1.html 阅读全文
posted @ 2017-11-16 13:57 陌凌雪 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1.http://amazeui.org/ 妹子UI2.https://cn.vuejs.org Vue.js 3.百度地图apihttp://lbsyun.baidu.com/index.php?title=jspopular 信息检索http://lbsyun.baidu.com/jsdemo. 阅读全文
posted @ 2017-11-15 17:49 陌凌雪 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: //一。$(function(){var w = $("#demo1").width();//容器宽度$("#demo1 img").each(function(){//如果有很多图片,我们可以使用each()遍历var img_w = $(this).width();//图片宽度var img_h 阅读全文
posted @ 2017-11-15 15:07 陌凌雪 阅读(180) 评论(0) 推荐(0) 编辑