10 2020 档案

摘要:头部组件 <template> <!-- 公共头部--> <div class="header flexCenter"> <div class="logo">陕西新闻图片网</div> <div class="menu flexBetween"> <div class="menu_item flex 阅读全文
posted @ 2020-10-30 14:52 小白&小菜 阅读(1312) 评论(0) 推荐(0) 编辑
摘要:官方文档 https://aplayer.netlify.app/docs/guide/ 1.下载依赖 npm install vue-aplayer --save 2.引用 import vueAplayer from 'vue-aplayer' components: { 'vueAplayer 阅读全文
posted @ 2020-10-28 17:24 小白&小菜 阅读(1732) 评论(0) 推荐(0) 编辑
摘要:document.getElementById('目标元素id').scrollIntoView({ block: 'start', behavior: 'smooth' }) 阅读全文
posted @ 2020-10-27 17:43 小白&小菜 阅读(879) 评论(0) 推荐(0) 编辑
摘要:1.下载字体.ttf放到assets/font下2.在font.css中引入字体 3.main.js中引入font.css import './assets/scss/font.css' 4.使用字体 阅读全文
posted @ 2020-10-21 16:32 小白&小菜 阅读(4086) 评论(0) 推荐(1) 编辑
摘要:解决方式: npm uninstall sass-loader npm install --save-dev sass-loader@7.3.1 阅读全文
posted @ 2020-10-21 14:11 小白&小菜 阅读(1052) 评论(0) 推荐(0) 编辑
摘要:// 批量下载 downloadFile(url){ const iframe = document.createElement("iframe"); iframe.style.display = "none"; // 防止影响页面 iframe.style.height = 0; // 防止影响页 阅读全文
posted @ 2020-10-16 15:59 小白&小菜 阅读(7317) 评论(0) 推荐(0) 编辑

我是一个小菜鸟,飞呀飞呀,快飞高