摘要: 九、用户页面 该模块作为学生作业,不讲解,仅供源码参考。 创建组件并配置路由 1、创建 views/user/index.vue <template> <div class="user-container">用户页面</div> </template> <script> export default 阅读全文
posted @ 2022-05-19 22:37 PikachuTT 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 六、文章搜索 创建组件并配置路由 1、创建 src/views/search/index.vue <template> <div class="search-container">搜索页面</div> </template> <script> export default { name: "Sear 阅读全文
posted @ 2022-05-19 22:34 PikachuTT 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 四、首页—文章列表 页面布局 头部导航栏 1、使用导航栏组件 2、在导航栏组件中插入按钮 文本 图标 3、样式调整 宽高 背景色 边框 文本大小 图标大小 <template> <div class="home-container"> <!-- 导航栏 --> <van-nav-bar class= 阅读全文
posted @ 2022-05-19 22:27 PikachuTT 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 开发文档 - 黑马头条 src目录树 D:. │ App.vue │ main.js │ ├─api │ user.js │ ├─assets ├─components ├─router │ index.js │ ├─store │ index.js │ ├─styles │ icon.css │ 阅读全文
posted @ 2022-05-19 15:14 PikachuTT 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 开发文档 - 黑马头条 最新API接口 在线演示 http://toutiao.itheima.net/ 接口文档 http://toutiao.itheima.net/api.html 文件结构 D:. │ App.vue │ main.js │ ├─api │ user.js │ ├─asset 阅读全文
posted @ 2022-05-19 14:31 PikachuTT 阅读(297) 评论(0) 推荐(0) 编辑