jquery知识汇总
鼠标箭头变手势
1 | style="cursor:pointer;" |
layui知识汇总
tips
1 | layer.tips('个人证书,请点击我', '#personCert', { |
参数说明:``
input
1 | <input type="email" name="email" lay-reqText="请输入qq邮箱" lay-verify="required|email" |
参数说明:
- lay-reqText:自定义非空提示语
- autocomplete=”off” : 关闭显示历史记录
data-属性
1 | <input type="checkbox" name="signType" value="0" data-price="${certPrice.projectManagerSign}" lay-skin="primary" title="项目经理章" lay-filter="signType"> |
radio
说明:用于多组单选框,联动选中的效果
1 | // 企业类型:招、投标单位 |
checkbox
1 | // checkbox是否被选中 |
switch(开关按钮)
1 | form.on('switch(filter)', function(data){ |
layer.msg
1 | var loadindex = layer.msg('数据保存中,请稍等...', { |