摘要:
//实现指定多少时间后执行callback const wait = (delay,callback) => { let p = new Promise((res,rej)=>{ setTimeout(()=>{ res(callback) },delay) }).then((callback)=> 阅读全文
摘要:
http://www.jacklmoore.com/autosize/ https://github.com/jackmoore/autosize?tab=readme-ov-file 列表空值自动删行,末行输入,底部自动增行,不超过10行,textarea文本域自动高度没有滚动条 <div id= 阅读全文
摘要:
ary.forEach(function(item,index){...}) forEach循环只能return结束本轮,不能结束整个 $.each(ary,function(index,item){...}) jq的each循环return true是结束本轮循环,return false是结束整 阅读全文
摘要:
<style> #SetLimitAdd td{ line-height: 20px; padding-top: 5px; padding-bottom: 5px; } #wrapper{} .container-fluid{ width:1747px;/*实际显示区域*/ overflow-x: 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>无缝滚动</title> <style type="text/css"> *{ margin: 0; padding: 0; font-family: "微软雅黑"; font-s 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>轮播图</title> <style type="text/css"> *{ margin: 0; padding: 0; font-family: "微软雅黑"; font-si 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <link rel="stylesheet" href="http://www.h5al.cn/js/preview 阅读全文
摘要:
<link href="zTree/zTreeStyle/zTreeStyle.css" rel="stylesheet"/><div class="background" style="display:none"></div><div class="warp_vin" id="app" v-clo 阅读全文
摘要:
完全依赖后台接口实现 微信小程序只能用微信支付,不用考虑支付宝接口 submit(){ var self = this; // console.log(this.price,this.payType) var money = 100000; var amount = this.price; var 阅读全文
摘要:
https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/liveplayer/live-player-plugin.html https://docs.qq.com/doc/DZHhzV0FiYX 阅读全文
摘要:
pages.json: { "pages": [ { "path": "pages/index/index", "name":"index", "style": { "navigationStyle": "custom", "navigationBarTitleText": "首页", "app-p 阅读全文