摘要: { "S": [{ "id": 1, "name": "上海", "abbr": "SH", "area_code": "021", "sort": 1, "latitude": 31.23037, "longitude": 121.473701, "is_map": true, "pinyin": 阅读全文
posted @ 2020-09-18 15:09 心意如水hucuie22 阅读(2410) 评论(0) 推荐(0) 编辑
摘要: { "navTab": [{ "name": "综合排序", "icon": "caret-down" }, { "name": "距离最近", "condition": "distance" }, { "name": "品质联盟", "condition": "is_premium" }, { " 阅读全文
posted @ 2020-09-18 15:07 心意如水hucuie22 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1。新建index.vue。引入tarbar组件 <template> <div class="index"> <router-view></router-view> <TabBar :data="tabbarData"/> </div> </template> <script> import Ta 阅读全文
posted @ 2020-09-18 13:40 心意如水hucuie22 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 1.登录成功后 .then(res => { // console.log(res); // 检验成功 设置登录状态并且跳转到/ localStorage.setItem("ele_login", true); this.$router.push("/"); } router.js里面 // 路由守 阅读全文
posted @ 2020-09-18 11:27 心意如水hucuie22 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1.总结:去掉scoped ,加上lang=less, 在最外层上的div加上/deep/ <style lang="less"> .mint-switch /deep/ { .mint-switch-core { height: 25px; width: 45px; } .mint-switch- 阅读全文
posted @ 2020-09-18 11:00 心意如水hucuie22 阅读(339) 评论(0) 推荐(0) 编辑