上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 36 下一页
摘要: 1.背景 2.菜单导航实现 代码: <template> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item> 阅读全文
posted @ 2020-10-24 23:01 李东平|一线码农 阅读(1235) 评论(0) 推荐(0)
摘要: 1.背景 2.基本结构 代码: <template> <el-container class="home-container"> <!-- 头部--> <el-header>Header</el-header> <el-container> <!--左侧--> <el-aside width="20 阅读全文
posted @ 2020-10-24 14:59 李东平|一线码农 阅读(1589) 评论(0) 推荐(0)
摘要: 1.背景 在上一节的学习中我们基本上完成了登录的表单输入框界面如下: 代码: <!-- 输入框--> <el-form label-width="0px" class="login_form"> <!-- 用户名 --> <el-form-item > <el-input prefix-icon=" 阅读全文
posted @ 2020-10-24 09:59 李东平|一线码农 阅读(1616) 评论(0) 推荐(0)
摘要: 1.背景 2.element图标库使用 假设要做一个如下效果 代码如下: <!-- 输入框--> <el-form label-width="0px" class="login_form"> <!-- 用户名 --> <el-form-item > <el-input prefix-icon="el 阅读全文
posted @ 2020-10-24 08:34 李东平|一线码农 阅读(1475) 评论(0) 推荐(0)
摘要: 1.背景 2.slot简单使用 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!-- <script src="https://cdn.jsdelivr.net/npm/vue 阅读全文
posted @ 2020-10-21 11:15 李东平|一线码农 阅读(132) 评论(0) 推荐(0)
摘要: 1.背景 参数传递(多理解) 1.父传子<c-parent :messagevue="message"></c-parent>,请看下面具体的截图描述 2.子传父<c-add @eadd="madd"></c-add>,请看下面具体的截图描述 父子组件对象访问(很简单) 1.父组件访问子组件:使用$ 阅读全文
posted @ 2020-10-19 16:12 李东平|一线码农 阅读(278) 评论(0) 推荐(0)
摘要: 1.背景 2.简单使用 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!-- <script src="https://cdn.jsdelivr.net/npm/vue/dis 阅读全文
posted @ 2020-10-19 11:38 李东平|一线码农 阅读(291) 评论(0) 推荐(0)
摘要: 1.背景 2.组件的简单使用 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!-- <script src="https://cdn.jsdelivr.net/npm/vue/ 阅读全文
posted @ 2020-10-19 10:45 李东平|一线码农 阅读(156) 评论(0) 推荐(0)
摘要: 1.背景 2.简单使用 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!-- 开发环境版本,包含了有帮助的命令行警告 --> <script src="https://cdn. 阅读全文
posted @ 2020-10-17 17:58 李东平|一线码农 阅读(112) 评论(0) 推荐(0)
摘要: 1.背景 2.遍历数组 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!-- 开发环境版本,包含了有帮助的命令行警告 --> <script src="https://cdn. 阅读全文
posted @ 2020-10-17 13:55 李东平|一线码农 阅读(422) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 36 下一页