摘要: 来源:https://www.cnblogs.com/jiaoyu121/p/6965230.html 阅读全文
posted @ 2020-06-23 13:46 笨笨白 阅读(119) 评论(0) 推荐(0) 编辑
摘要: html中 1. :row-key="getRowKeys" 2. :reserve-selection="true" <el-table :data="tableData" border stripe v-loading="loading" :row-key="getRowKeys" @selec 阅读全文
posted @ 2020-05-06 15:17 笨笨白 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 效果图。 完全不懂,纯是死记。 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 笨笨白 阅读(445) 评论(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 笨笨白 阅读(902) 评论(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 笨笨白 阅读(4674) 评论(1) 推荐(0) 编辑
摘要: path: '/',component: () => import('../layout/index'), // 原来引用的地址redirect:'/welcome', // 重定位后页面加载的页面原来默认页面没有内容,想默认页面加载到欢迎页 阅读全文
posted @ 2020-04-10 16:55 笨笨白 阅读(2583) 评论(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 笨笨白 阅读(1621) 评论(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 笨笨白 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 1.登录iconFont官网 2.选中需要的icon,添加入库 3.添加至项目 4.添加到自己的项目中,点击更新代码,并复制此代码,并单击下载至本地 5.解压后只复制iconfont.css,放入自己的项目中并正确引入 . 6.我放到styles文件夹中了 7.在index.scss中引入了 . 8 阅读全文
posted @ 2019-10-09 14:51 笨笨白 阅读(3700) 评论(0) 推荐(1) 编辑
摘要: .box{ width: 10px; height: 10px; background-color: #ccc; position:absolute; } </style><body> <div class='box' id="div1"></div> <script> document.onkey 阅读全文
posted @ 2019-08-26 16:58 笨笨白 阅读(850) 评论(0) 推荐(0) 编辑