11 2019 档案

摘要:效果: let x = shuN.style.x + rectValue/4,//粒子开始的地方 y = zuY+140 + 5, h = 14*0.8, w = rectValue/2; this.drawParticles(x, y , w, h, 20, 0, i); //画牵引粒子 draw 阅读全文
posted @ 2019-11-29 15:24 小白呀白菜 阅读(928) 评论(0) 推荐(0) 编辑
摘要://使用的canvans绘制的三角形 drawArrow(){ var canvas = document.createElement('canvas');//创建一个元素 canvas.width = 10; canvas.height = 5; var ctx = canvas.getConte 阅读全文
posted @ 2019-11-28 14:46 小白呀白菜 阅读(708) 评论(0) 推荐(0) 编辑
摘要:1.存组件元素和取组件元素,会在数据更新时,将存起来的拿出来 在construct(){ this.saveData=[];//先声明一个空的数组 } //存的方法 setSave(ele,i,name){ if(this.saveData[name+"_"+i]){ this.saveData[n 阅读全文
posted @ 2019-11-21 11:52 小白呀白菜 阅读(479) 评论(0) 推荐(0) 编辑
摘要:效果: HTML: <div class="rightBtn cur">+关注</div> CSS: .rightBtn{ width: 80px; height: 30px; background: rgba(200, 200, 200, 1);/*灰色*/ color: #fff; text-a 阅读全文
posted @ 2019-11-19 13:43 小白呀白菜 阅读(690) 评论(0) 推荐(0) 编辑
摘要:效果: html: <div class="warp"> <a class="welcome">期待您的参与</a> </div> css: .warp{ width: 100px; height:40px; background-color: bisque; } .welcome{ cursor: 阅读全文
posted @ 2019-11-19 11:08 小白呀白菜 阅读(999) 评论(0) 推荐(0) 编辑
摘要:HTML: <div class="echo" id='dd'><input class="up" type="file" id="inputs"/> </div><div class="upwarp"> 上传头像</div> CSS: .upwarp{ width:64px; height:16p 阅读全文
posted @ 2019-11-13 15:09 小白呀白菜 阅读(265) 评论(0) 推荐(0) 编辑
摘要:效果图 HTML: JS: 阅读全文
posted @ 2019-11-13 11:25 小白呀白菜 阅读(230) 评论(0) 推荐(0) 编辑
摘要:效果: js: //弹出窗,三秒倒计时 countdown(){ //点击发布按钮后,三秒倒计时开始 $(".btn-pub").click(function(){ var count=3; var timer = setInterval(function() { count--; if(count 阅读全文
posted @ 2019-11-13 10:46 小白呀白菜 阅读(4761) 评论(0) 推荐(0) 编辑
摘要:效果: 主要代码: 阅读全文
posted @ 2019-11-13 10:11 小白呀白菜 阅读(191) 评论(0) 推荐(0) 编辑
摘要:select{ width:57px; height:23px; border:1px solid #e9e9e9; outline: none; appearance: none; -moz-appearance: none; -webkit-appearance: none; backgroun 阅读全文
posted @ 2019-11-11 13:47 小白呀白菜 阅读(195) 评论(0) 推荐(0) 编辑
摘要:效果图: html: css: .an{ margin-top:0px; position: relative; .popzframe,.popcframe{ display: none; word-wrap: break-word; position: absolute; left:333px; 阅读全文
posted @ 2019-11-06 14:14 小白呀白菜 阅读(523) 评论(0) 推荐(0) 编辑
摘要:HTML: <!-- 弹出层 --> <div class="popwindow" > <div class="pop" id="pop" > <div class="close"> × </div> <div class="clear"></div> <div class="pop-inner"> 阅读全文
posted @ 2019-11-04 11:08 小白呀白菜 阅读(784) 评论(0) 推荐(0) 编辑
摘要:到最后实现了效果,但是在理论上感觉还是很牵强,如果哪位大神有方法,请评论指出哦 Html: css: 阅读全文
posted @ 2019-11-01 17:02 小白呀白菜 阅读(223) 评论(0) 推荐(0) 编辑

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