摘要:
<input v-model="searchValue" placeholder="请输入要搜索的内容" class="searchInput" placeholder-style="font-size:26rpx" style="height: 70rpx;"/> watch: { // 搜索框出 阅读全文
摘要:
white-space: nowrap; overflow: scroll; 阅读全文
摘要:
如何提高页面性能? 精灵图、字体图标、图片懒加载或使用base64格式图片 css,js文件压缩,代码复用,组件化 使用CDN网络托管 数据懒加载:分页,按需加载(下拉加载) 频繁触发的事件添加防抖和节流 路由懒加载: 阅读全文
摘要:
类名组合规则: 常见class关键词: 布局类:header, footer, container, main, content, aside, page, section 包裹类:wrap, inner 区块类:region, block, box 结构类:hd, bd, ft, top, bot 阅读全文