摘要:<article ref='articleHeight' class="show-list" style="height: calc(100vh - 46px - 38px - 38px)"> <div ref='listHeight'> 遍历的内容 </div> </div> mounted ()
阅读全文
|
07 2021 档案
摘要:<article ref='articleHeight' class="show-list" style="height: calc(100vh - 46px - 38px - 38px)"> <div ref='listHeight'> 遍历的内容 </div> </div> mounted ()
阅读全文
摘要:<article onScroll={this.handleScroll.bind(this)} ref="scrollWrap" data-scroll={'yes'} style={{ "height": "calc(100vh - 3.5rem)", "overflow": 'auto', "
阅读全文
摘要:参考文档:https://www.cnblogs.com/hjvsdr/p/6639649.html
阅读全文
摘要:selectPhoneNumber(str) { var regx = /(1[3|4|5|7|8][\d]{9}|0[\d]{2,3}-[\d]{7,8}|400[-]?[\d]{3}[-]?[\d]{4})/g; var phoneNums = str.match(regx); if (phon
阅读全文
|