• 纯CSS实现立体纸张折叠动效

    <!DOCTYPEhtml><html><head><style>.shadow-card{width:300px;padding:2rem;background:#fff;border-radius:12px;box-shadow:02px8pxrgba(0,0,0,0.1);/*初始阴影*/transition:box-shadow0.3scub…...

  • mui

    https://www.dcloud.io/mui.htmlhttps://zhuanlan.zhihu.com/p/361878292...

  • 手写输入

    html文件<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0">&…...

  • 打印iframe 页面

    <iframeid="iframepage"style="display:none;"></iframe>variframe=document.getElementById('iframepage');iframe.src=window.location.href+'&pt=2';iframe.…...

  • 阿拉伯数字转金额大写

    functionnumberParseChina(money){//汉字的数字letcnNums=newArray('零','壹','贰','叁','肆','伍','陆','柒','捌','玖')//基本单位letcnIntRadice=n…...

  • layui open 传递数据

    父页面jslayer.open({closeBtn:0,type:2,title:false,area:['80%','70%'],btn:['确定','取消'],content:"/project/xmlb",//这里是你的表单HTMLsuccess:function(layero,index){body=lay…...

  • layui的坑 一

    layuiopen返回值赋值的时候要刷新表单,不然不生效radio赋值$(":radio[name='xmsx'][value='1']").prop("checked","true");layui.form.render();select赋值$("#d1").val(data.d1);…...

  • 动态生成带删除样式的框

    <divid="fujian2"></div>varcode=Math.floor(Math.random()*(100+1));$("#fujian2").append('<divclass="select-div"id="'+code+'">'+&…...

  • html 禁用鼠标

    body样式禁用body{-moz-user-select:-moz-none;-moz-user-select:none;-o-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}jsfunctiondisableSelection(eve…...

  • js自动计算

    <scriptsrc="/static/jquery-3.5.1.slim.min.js"></script>body<inputtype="text"name="data1"id="data1"placeholder="请输入"><inputtype=&q…...