摘要:
1、html <div class="option"> <input type="radio" :value="optitem.optionId"> <label :for="optitem.optionId"></label> <span class="radio_span"> {{optitem 阅读全文
摘要:
Easyui Datagrid 最后一行添加合计有多种方法,由于我们列表的列比较多会出现横向滚动条,所以直接用它本身showfooter:true;会出现列表数据和合计行之间出现横向滚动条,所以选择列表最后追加合计行进行处理 1、最后一行添加合计 后台计算好每页合计值 前端在列表最后追加一列 Eas 阅读全文
摘要:
1、下载select2包 地址https://github.com/select2/select2/releases/tag/4.0.10 2、引入<link href="/css/select2.css"rel="stylesheet" /> 3、引入jQuery.js和select2.js <s 阅读全文
摘要:
我在用vue和element-ui做项目中遇到这样的需求 列表记忆翻页勾选 阅读全文
摘要:
监听刷新/关闭/后退浏览器 window.onbeforeunload = function (e) {//刷新或关闭浏览器窗口 e = e || window.event;// 兼容IE8和Firefox 4之前的版本 if (e) { e.returnValue = '关闭提示'; } // C 阅读全文
摘要:
情景一: 当前代码为 select{ font-size: 14px; height: 20px; line-height: 20px; } select行高不起作用,字下沉 解决办法 : font-size: 14px; 改为 font-size: 12px; 情景二: 当前代码为 select{ 阅读全文
摘要:
在写项目当中,我们总会遇到兼容各种浏览器,当然包括ie各种版本,在解决ie css兼容性问题中,比如说使用“\0”,“\”和“\9”来仅让IE某些版本识别,但浏览器有时会无视这些代码。那我们可以尝试使用@media实现IE hack的方法. 列如: 仅IE6和IE7识别 @media screen\ 阅读全文
摘要:
@-moz-document url-prefix() { //火狐要展示的样式} 例子: @-moz-document url-prefix() { .search_btn .el-button--medium{ padding:0px 16px; height:26px; } } 阅读全文