摘要: 将博客搬至CSDN 阅读全文
posted @ 2021-07-08 09:10 诩小贝 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1、引用animate.css,wow.min.js 2、定义全局函数 //动画效果 wow = new WOW({ animateClass: 'animated', offset: 100, callback: function(box) { console.log("WOW: animatin 阅读全文
posted @ 2021-07-03 16:53 诩小贝 阅读(348) 评论(0) 推荐(0) 编辑
摘要: https://open.weixin.qq.com/cgi-bin/index?t=home/index&lang=zh_CN一、申请过程中,苹果应用要申请苹果APPID 这个需要在苹果开发者申请成为开发者,成为开发者先需要申请邓白氏码,之后才能申请成为苹果开发者二、安卓APP,需要应用包名称和签 阅读全文
posted @ 2021-06-18 18:56 诩小贝 阅读(6846) 评论(0) 推荐(0) 编辑
摘要: 对于手机上图片的缩放通常有两种: 介绍第一种情况的插件,pinchzoom.js,用法很简单,只需要修改img的路径,在引用pinchzoom.js以及你平时用的jquery就可以。 pinchzoom.js下载链接 链接: https://pan.baidu.com/s/1niv1Eb2pZFqb 阅读全文
posted @ 2020-11-12 11:16 诩小贝 阅读(1487) 评论(0) 推荐(0) 编辑
摘要: 1.鼠标点击事件 document.onmousedown = function mdClick(event) { var e = event || window.event || arguments.callee.caller.arguments[0]; if (e.button == 2 || 阅读全文
posted @ 2020-08-04 18:01 诩小贝 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 写这章博客不是为了要获得多少赞,主要是利用vue开发项目时踩的坑太多了。自己曾不理解或者遇到的问题再这里搞清楚,不想后来的人再遇到这样的坑,做技术的要懂得分享,做人嘛,最重要的是开心。 vue官网说,“你暂时不用搞清楚这些...",我觉得你既然准备用vue做开发的,不搞懂搞透它,你以后会发现踩的坑终 阅读全文
posted @ 2020-07-08 10:45 诩小贝 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 1,设置或获取对象指定的文件名或路径。 alert(window.location.pathname) 2,设置或获取整个 URL 为字符串。 alert(window.location.href); 3,设置或获取与 URL 关联的端口号码。 alert(window.location.port) 阅读全文
posted @ 2020-05-27 16:48 诩小贝 阅读(456) 评论(0) 推荐(0) 编辑
摘要: onBackPress(options) { // 这里可以自定义返回逻辑,比如下面跳转其他页面 uni.redirectTo({ url: "/pages/center_home/order/goods_lst?sta=all" }) // return true 表示禁止默认返回 return 阅读全文
posted @ 2020-05-09 10:46 诩小贝 阅读(11250) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://blog.csdn.net/hanshileiai/article/details/40398177 阅读全文
posted @ 2020-04-16 16:06 诩小贝 阅读(173) 评论(0) 推荐(0) 编辑
摘要: .tips{ font-size: 24px; font-family: sans-serif; font-weight: 600; text-shadow: 1px 1px #ffb700; color:#000; background:-webkit-gradient(linear,left t 阅读全文
posted @ 2019-12-24 17:44 诩小贝 阅读(195) 评论(0) 推荐(0) 编辑
Copyright ©2016 诩小贝   联系QQ:980823367