04 2020 档案

摘要:效果图。 完全不懂,纯是死记。 1.安装1 cnpm install throttle-debounce --save 2.安装2 cnpm install resize-observer-polyfill --save-dev 3.js中 import { debounce } from '../ 阅读全文
posted @ 2020-04-16 16:30 笨笨白 阅读(460) 评论(0) 推荐(0)
摘要:(1)通过npm安装: npm install wowjs --save-dev (2)在main.js中引入animate.css import 'animate.css' (3)页面html中 <div class="wow slideInUp" ></div> (4) js中 import { 阅读全文
posted @ 2020-04-15 16:32 笨笨白 阅读(921) 评论(0) 推荐(0)
摘要:想实现一种效果,当点击‘Echart’时, router-view中不渲染,而是打开新窗口,并且这个页面脱离router-view,独立显示。 那么 router/index.js中需要 import Vue from 'vue';import Router from 'vue-router';im 阅读全文
posted @ 2020-04-15 16:13 笨笨白 阅读(5187) 评论(1) 推荐(0)
摘要:path: '/',component: () => import('../layout/index'), // 原来引用的地址redirect:'/welcome', // 重定位后页面加载的页面原来默认页面没有内容,想默认页面加载到欢迎页 阅读全文
posted @ 2020-04-10 16:55 笨笨白 阅读(2618) 评论(0) 推荐(0)
摘要:el-menu 实现路由需要添加 router :default-active="$route.path"index="/bar"<el-menu default-active="2" class="el-menu-vertical-demo" @open="handleOpen" :collaps 阅读全文
posted @ 2020-04-10 16:47 笨笨白 阅读(1695) 评论(0) 推荐(0)
摘要:1.App.vue中 布局,布局为上,左,右。上部引入子组件topNav,用来放置导航菜单。右边放置要展示的内容<router-view></router-view> 2.在这个子组件topNav中,有两个路由。‘foo.vue’和‘bar.vue’。这两个页面暂时放在views文件夹中 3.在ma 阅读全文
posted @ 2020-04-08 17:03 笨笨白 阅读(318) 评论(0) 推荐(0)