摘要:
创建分支:city-search 拉取到本地并切换分支: git pull git checkout city-search 新建Search.vue文件: <template> <div class="search"> <input class="search-input" type="text" 阅读全文
摘要:
创建分支:city-router 拉取到本地并切换分支: git pull git checkout city-router 然后配置路由index.js: import Vue from 'vue' import Router from 'vue-router' import Home from 阅读全文
摘要:
头部城市部分,在Home.vue页面添加代码: <home-header :city="city"></home-header> <script> export default { data () { return { city: '', swiperList: [], iconList: [], 阅读全文