07 2020 档案

摘要:首先引入jQuery, 其次引入html2canvas.js, savePic为触发点击事件的按钮, contaner为整个DIV容器 有需要做则部分的小伙伴可以参考参考 $(".savePic").on("click", function() { var getPixelRatio = funct 阅读全文
posted @ 2020-07-31 10:17 烂笔头~ 阅读(1719) 评论(0) 推荐(0) 编辑
摘要:document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() { WeixinJSBridge.call('hideToolbar'); WeixinJSBridge.call('hideOptionMenu'); 阅读全文
posted @ 2020-07-30 11:45 烂笔头~ 阅读(405) 评论(0) 推荐(0) 编辑
摘要:该版本无需序列码,安装好就可用,简洁方便。 网盘地址 : 链接: https://pan.baidu.com/s/1fwDz6txFHP-sbsR65-ZnOg 提取码: ce5c 阅读全文
posted @ 2020-07-30 10:35 烂笔头~ 阅读(1813) 评论(0) 推荐(0) 编辑
摘要:CSDN上又要登录,又要下载币,好麻烦。 小伙伴需要的直接从GitHub上下载吧。 附下载 GitHub地址: https://github.com/DmitryBaranovskiy/raphael/releases 阅读全文
posted @ 2020-07-30 10:31 烂笔头~ 阅读(702) 评论(0) 推荐(0) 编辑
摘要:在index.vue 中的onload方法里面或者app.vue中的onLaunch中添加如下部分: update() { var _this = this; uni.request({ url: `${this.$store.state.apiBaseUrl}/users/versions`, / 阅读全文
posted @ 2020-07-28 15:24 烂笔头~ 阅读(20986) 评论(0) 推荐(2) 编辑
摘要:如下方法: function GetRequest() { var url = location.search; //获取url中"?"符后的字串,如"?p=1" var theRequest = new Object(); if (url.indexOf("?") != -1) { var str 阅读全文
posted @ 2020-07-28 15:18 烂笔头~ 阅读(687) 评论(0) 推荐(0) 编辑
摘要:使用uni-app写的h5项目,接收首次进入的参数的问题处理。 经常遇到扫码分享,邀请好友,扫完二维码需要跳转进入当前项目时需要接收地址带过来的参数可以有如下解决方式; 在methods中定义方法: getQueryString(name) { var reg = new RegExp('(^|&) 阅读全文
posted @ 2020-07-28 15:15 烂笔头~ 阅读(2360) 评论(0) 推荐(0) 编辑
摘要:实现如图文本框边上的内阴影,不需要切背景图 css如下 .i-box-m { background-color: #eb5450; border-radius: 0.4rem; box-shadow: inset -5px 5px 5px #cc4845, inset -5px -5px 5px # 阅读全文
posted @ 2020-07-27 16:23 烂笔头~ 阅读(2887) 评论(0) 推荐(0) 编辑
摘要:HTML部分 <div class="shadow" v-show="showShadow"> <div class="shadow-main"> <h3>温馨提示</h3> <p>您来晚啦!本商品太过抢手!明天早点来哦~</p> <button class="choise-shadow" @cli 阅读全文
posted @ 2020-07-27 16:08 烂笔头~ 阅读(237) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-07-27 11:13 烂笔头~ 阅读(0) 评论(0) 推荐(0) 编辑
摘要:在安装vue-awesome-swiper时报错swiper/dist/css/swiper.min.css找不到,如下如: 有的回答安装6.0版本的话需要引入另外一个css import 'swiper/swiper-bundle.css' 但是,我替换完css 之后又一个问题出现了,vue-aw 阅读全文
posted @ 2020-07-24 16:25 烂笔头~ 阅读(3444) 评论(0) 推荐(0) 编辑
摘要:微信端返回按钮 WeixinJSBridge.call('closeWindow'); $("#close").click(function(){ setTimeout(function(){WeixinJSBridge.call('closeWindow');},1000); }) 阅读全文
posted @ 2020-07-23 17:48 烂笔头~ 阅读(877) 评论(0) 推荐(0) 编辑
摘要:安卓软键盘遇到的问题 阅读全文
posted @ 2020-07-23 14:41 烂笔头~ 阅读(359) 评论(0) 推荐(0) 编辑
摘要:简单直接上代码: <button type="button" class="btn" v-for="(item,index) in info.coupon_list" :id="item.id" @click="choise(item.id)" :class="item.selected==0?'f 阅读全文
posted @ 2020-07-23 14:32 烂笔头~ 阅读(7170) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示