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
阅读全文
摘要://使用的canvans绘制的三角形 drawArrow(){ var canvas = document.createElement('canvas');//创建一个元素 canvas.width = 10; canvas.height = 5; var ctx = canvas.getConte
阅读全文
摘要:1.存组件元素和取组件元素,会在数据更新时,将存起来的拿出来 在construct(){ this.saveData=[];//先声明一个空的数组 } //存的方法 setSave(ele,i,name){ if(this.saveData[name+"_"+i]){ this.saveData[n
阅读全文
摘要:效果: HTML: <div class="rightBtn cur">+关注</div> CSS: .rightBtn{ width: 80px; height: 30px; background: rgba(200, 200, 200, 1);/*灰色*/ color: #fff; text-a
阅读全文
摘要:效果: html: <div class="warp"> <a class="welcome">期待您的参与</a> </div> css: .warp{ width: 100px; height:40px; background-color: bisque; } .welcome{ cursor:
阅读全文
摘要:HTML: <div class="echo" id='dd'><input class="up" type="file" id="inputs"/> </div><div class="upwarp"> 上传头像</div> CSS: .upwarp{ width:64px; height:16p
阅读全文
摘要:效果: js: //弹出窗,三秒倒计时 countdown(){ //点击发布按钮后,三秒倒计时开始 $(".btn-pub").click(function(){ var count=3; var timer = setInterval(function() { count--; if(count
阅读全文
摘要:select{ width:57px; height:23px; border:1px solid #e9e9e9; outline: none; appearance: none; -moz-appearance: none; -webkit-appearance: none; backgroun
阅读全文
摘要:效果图: html: css: .an{ margin-top:0px; position: relative; .popzframe,.popcframe{ display: none; word-wrap: break-word; position: absolute; left:333px;
阅读全文
摘要:HTML: <!-- 弹出层 --> <div class="popwindow" > <div class="pop" id="pop" > <div class="close"> × </div> <div class="clear"></div> <div class="pop-inner">
阅读全文
摘要:到最后实现了效果,但是在理论上感觉还是很牵强,如果哪位大神有方法,请评论指出哦 Html: css:
阅读全文