上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 在jQuery中each 用return false结束整个循环,用return true结束本轮循环 $('#Consignor_ID option:selected').text(); //获取select选项文本 $('#Consignor_ID option:selected').attr( 阅读全文
posted @ 2020-12-16 17:30 石头记1 阅读(3) 评论(0) 推荐(0)
摘要: 在绑值的时候设置 $(function () { loadCarBsmTreeData(); }) //加载品牌 车型 车款 var carBsmSetting = { check: { enable: true, chkStyle: "radio", radioType: "all" }, dat 阅读全文
posted @ 2020-12-16 17:16 石头记1 阅读(724) 评论(0) 推荐(0)
摘要: 用递归: function Fibonacci(n){ if(n == 1 || n == 2){ return 1; }else{ return Fibonacci(n-1)+Fibonacci(n-2) } } 动态规划: function fib(n){ if(n == 1 || n == 2 阅读全文
posted @ 2020-12-03 10:26 石头记1 阅读(64) 评论(0) 推荐(0)
摘要: //当天 function writeCurrentDate() { var now = new Date(); var year = now.getFullYear(); //得到年份 var month = now.getMonth();//得到月份 var date = now.getDate 阅读全文
posted @ 2020-11-24 11:57 石头记1 阅读(106) 评论(0) 推荐(0)
摘要: mui('.mui-scroll').on('tap', '.dianhua1', function () { var btnArray = ['拨打','取消']; var phone = h(this).attr("value"); mui.confirm('是否拨打'+phone+'?','提 阅读全文
posted @ 2020-11-19 13:45 石头记1 阅读(742) 评论(0) 推荐(0)
摘要: function deepClone(obj) { let newObj = Array.isArray(obj) ? [] : {} if (obj && typeof obj "object") { for (let key in obj) { if (obj.hasOwnProperty(ke 阅读全文
posted @ 2020-10-30 17:56 石头记1 阅读(101) 评论(0) 推荐(0)
摘要: vscode修改缩进 文件—首选项—设置:搜索 Detect Indentation 取消勾选 搜索 Editor: Tab Size 改为2 https://blog.csdn.net/yunhuaikong/article/details/130353418 vscode字体: Myriad P 阅读全文
posted @ 2020-10-10 14:36 石头记1 阅读(513) 评论(0) 推荐(0)
摘要: <style type="text/css"> [v-cloak]{display: none;} body { margin: 0; padding: 0; } #app { width: 400px; margin: 0 20px; text-align: left; } </style> <d 阅读全文
posted @ 2020-10-09 14:31 石头记1 阅读(118) 评论(0) 推荐(0)
摘要: 页面打印的背景色需要设置固定的样式,并且需要开启打印机的“背景图形”选项 @media all { .trrbg { background-color: #cccccc !important; -webkit-print-color-adjust: exact; } } 如果放在页面上需要加两个@@ 阅读全文
posted @ 2020-09-29 15:58 石头记1 阅读(362) 评论(0) 推荐(0)
摘要: class Foo { constructor(){ this.a = 'a' } gougou(){ return 'dididada' } jiji(temp){ if(!isNaN(temp)){ return Number(temp)+20 }else{ return 'Hello |' + 阅读全文
posted @ 2020-09-16 14:57 石头记1 阅读(182) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页