Loading

摘要: <!-- #ifdef APP-PLUS --> <view class="status_bar"> <view class="top_view"></view> </view> <!-- #endif --> css部分 .status_bar { height: var(--status-bar 阅读全文
posted @ 2021-10-19 09:50 菜鸟的道路 阅读(271) 评论(0) 推荐(0)
摘要: <template> <view> <!-- #ifdef APP-PLUS --> <view class="status_bar"> <view class="top_view"></view> </view> <!-- #endif --> <view> </view> </view> </t 阅读全文
posted @ 2021-09-29 11:27 菜鸟的道路 阅读(55) 评论(0) 推荐(0)
摘要: 手机测试时,啥都查不出来,谷歌一些正常,就奇了怪了, 然后,换别的浏览器测试,发现replaceAll is not a function 后来,在浏览器使用一下这个方法测试,果然是浏览器没有这个replaceAll方法 只好使用正则解决 wh = wh.replace(/#EmployeeName 阅读全文
posted @ 2021-09-29 11:10 菜鸟的道路 阅读(741) 评论(0) 推荐(0)
摘要: 1、common.js //防抖节流 let timeout, result; const debounce = function (func) { let args = arguments; console.log(args); if (timeout) { clearTimeout(timeou 阅读全文
posted @ 2021-09-29 09:42 菜鸟的道路 阅读(2754) 评论(0) 推荐(0)