主页 美化 header区域
文章目录
信息:
- 视频: https://www.bilibili.com/video/BV1EE411B7SU?p=31
知识点:
- flex 布局
Code
-
home.vue
<template> <!-- <div> <el-button type="success" @click="logout">退出</el-button> </div> --> <el-container class="homeContainer"> <!-- 头部区域 --> <el-header> <!-- 使用div来布局 span内写文字 --> <div> <img src="../assets/img/heima.png" alt=""> <!