![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码
-多巴胺-
这个作者很懒,什么都没留下…
展开
-
echarts外部触发echarts事件 VUE
//显示事件 listMousEnter(event){ event.target.style.backgroundColor='#f00'; console.log(event.target.innerText.match("[\u4e00-\u9fa5]+")) //显示高亮 this.myChart.dispatchAction({ type: 'highlight', name: event.ta原创 2021-02-23 15:29:34 · 795 阅读 · 1 评论 -
CSS实现文字动画炫酷效果
span{ //设置文字动画背景动图 background:url(https://www.17sucai.com/preview/776331/2019-07-28/asw/img/giphy.gif); //调节图片大小位置 background-position-x: 0%; background-position-y: 0%; background-size: auto; background-clip: border-box; background-size: contain; ba原创 2020-08-25 15:55:55 · 2225 阅读 · 0 评论 -
判断checkbox的状态后实现跳转或者显示提示弹框
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="http://code.jquery.com/jquery-2.1.4.min.js">&l...原创 2019-03-29 16:55:20 · 1600 阅读 · 0 评论 -
使用JQuery实现盒子自动循环切换
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> /*设置盒子大小背景色*/ .div { wi...原创 2019-04-02 14:11:49 · 901 阅读 · 0 评论 -
兼容各种模式的图片旋转
<!DOCTYPE html> <html lang="en"> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <style> img { transform: rotate(30deg); ...原创 2019-04-09 13:20:26 · 258 阅读 · 0 评论 -
JQ实现轮播图
<script> $(function(){ var t; var index= 0; t=setInterval(play,5000); //自动轮播 function play(){ // ...原创 2019-04-22 16:39:49 · 927 阅读 · 0 评论 -
input判断并跳转
<script> //DOM对象调用需要写在head里面 //button判断跳转 function enter() { var color =$("#rule").css("backgroundColor"); if(color==="rgb(255, 255, 255)"){ ...原创 2019-04-29 10:55:07 · 582 阅读 · 0 评论