2020年3月17日
摘要: 创建分支:city-search 拉取到本地并切换分支: git pull git checkout city-search 新建Search.vue文件: <template> <div class="search"> <input class="search-input" type="text" 阅读全文
posted @ 2020-03-17 17:09 JoeYoung 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 创建分支:city-router 拉取到本地并切换分支: git pull git checkout city-router 然后配置路由index.js: import Vue from 'vue' import Router from 'vue-router' import Home from 阅读全文
posted @ 2020-03-17 11:40 JoeYoung 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 头部城市部分,在Home.vue页面添加代码: <home-header :city="city"></home-header> <script> export default { data () { return { city: '', swiperList: [], iconList: [], 阅读全文
posted @ 2020-03-17 09:36 JoeYoung 阅读(237) 评论(0) 推荐(0) 编辑