2021年7月14日
摘要:
背景分析:在页面导航hover列表时下拉动画使用$(e).slideDown(),鼠标离开后使用动画$(e).slideUp(); 当鼠标移动很快时,就是出现下拉和上拉来回闪动,鼠标都离开很远了还是在闪烁。 解决办法:$(e).stop(true).slideDown(), $(e).stop(tr
阅读全文
posted @ 2021-07-14 10:27
小虾米吖~
阅读(128)
推荐(0)
2021年4月20日
摘要:
如果用了display:inline-block;标签换行时就会出现间隙。如果必须用的话就改变div默认样式: div{margin:0;padding:0;} 改成 div{margin:0;padding:0;font-size: 0;}
阅读全文
posted @ 2021-04-20 17:54
小虾米吖~
阅读(513)
推荐(0)
2021年4月19日
摘要:
1.$(selector).each()主要对DOM的遍历 $(selector).each(function(index,element)){ //index - 选择器的 index 位置 //element - 当前的元素(也可使用 "this" 选择器) } $("button").clic
阅读全文
posted @ 2021-04-19 17:56
小虾米吖~
阅读(202)
推荐(0)
摘要:
<div class="page_box"> 页面 页面代码 <input type="button" class="save" name="save" value="保存"></div> 引入包: <head> <meta charset="UTF-8"> <title>Title</title>
阅读全文
posted @ 2021-04-19 09:16
小虾米吖~
阅读(1020)
推荐(0)
摘要:
html页面代码 <span>费用合计(人民币大写): <input class="width_input" type="text" id="one"/>拾 <input class="width_input" type="text" id="two"/>万 <input class="width_
阅读全文
posted @ 2021-04-19 09:05
小虾米吖~
阅读(251)
推荐(0)
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>邮件模板</title> </head> <body> <table width="1024" border="0" cellspacing="0" cellp
阅读全文
posted @ 2021-04-19 08:53
小虾米吖~
阅读(1838)
推荐(0)
2021年3月30日
摘要:
pointer-events: none;
阅读全文
posted @ 2021-03-30 13:50
小虾米吖~
阅读(144)
推荐(0)
2021年3月26日
摘要:
<script> (function (doc, win) { var docEle = doc.documentElement, resizeEvent = 'orientationchange' in window ? 'orientationchange' : 'resize'; var re
阅读全文
posted @ 2021-03-26 17:37
小虾米吖~
阅读(145)
推荐(0)
2021年3月16日
摘要:
vue安装sass对应的 node-sass 和 sass-loader 版本如下(使用最新的版本会编译不成功)
阅读全文
posted @ 2021-03-16 13:58
小虾米吖~
阅读(519)
推荐(0)
2021年3月5日
摘要:
一、 Vue项目打包发布apache报错: route,配置一个覆盖所有的路由情况 1、需要修改router/index.js中new Router 配置,加一个base: '/htcm_front/', 它指定应用的基路径,该应用是服务于localhost/htcm_front路径下,所以必须加b
阅读全文
posted @ 2021-03-05 11:10
小虾米吖~
阅读(456)
推荐(0)