最近想在项目上使用vue,因为是移动端我选择了饿了么的mintUI,发现坑居多
底部导航切换设置路由不跳转,搜了好多都没有说到点上,为了让大家少走几步弯路直接上代码吧!
<template> <mt-tabbar v-model="selected"> <!-- @click="goHome" --> <mt-tab-item id="home" @click.native="goHome"> <img v-if="this.selected == 'home' " slot="icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjBENTQ0QzU0N0Q2NTExRTk4M0IxRDM2N0I3ODg3QTFCIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjBENTQ0QzU1N0Q2NT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ab-item> <mt-tab-item id="manage" @click.native="goManage"> <img v-if="this.selected == 'manage' " slot="icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkNGNUREOTc3N0Q2NDExRTk4M0IxRDM2N0I3ODg3QTFCIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkNGNUREOTc4N0Q2NDExRTk4M0IxRDM2N0I3ODg3QTFCIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6Q0Y1REQ5NzU3RDY0MTFFOTgzQj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p8skdESQGGdWbGOJlzU+8QAiriS8gRYqOeJAVSKzuszTy+g0dgEiRUZrXJ5V6wDapWMlgBqpliIYF1/7YkBlIoFOok0UixEgGiXvoFktGJy+78MtgG1AbUBtckG1AbUBtQmG1Ab0KeA/hNgAHL9QYj2M603AAAAAElFTkSuQmCC"> 管理 </mt-tab-item> <mt-tab-item id="active" @click.native="goActive"> <img v-if="this.selected == 'active' " slot="icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAABgdJREFUeAHtnF+IG0Ucx2c2yWn9U0+l5U5QPLyrYEFFUCh9MTmp/1582bvWtiJoc7mqfZK2iH/SU3xQn/x7V/WltmibPohI1dbkrlXBfxSEHgWj9sl/BR+stmmzyY6/3yaL2XZz2dmZ/ZPLLITZmf3N9ze/z87u7M4sIURtioAioAgoAoqAIqAIKAKKgCLQ9QRomBHoer7vL/r7FGPsIfRLKd11NRt8tlDIV2W0I2h9L21MejGSZdOEuc3WA7DboAyz2+0ykTRofS9t07wYybKxe2arnltZ63GefTcttzIeTV7bUIFC4wZdGuhW5mLmqchNy63Mk5gfo7CB+mljV9VRQCWfLgVUAZVMQLKc6qGSgfp+sIfHETo6PvkoY+Yj8Ii+khB2meS2hSxH/4UY5inV3i3ufesdeOlgfhrgC+jdG7KDxjm6mxGW8eM07nUooaXURWzDZ7t3Wm8dPO3lvuSxZy5mmAgPO4oVI8TKAxNtE7wVvjj+5yZwuIW3XhfaD+3af+DXE/PfH+Vpu48eivfM3tga4wNfrNxAGwMQn5PutcbBlm/zAbTbR3MeQPyx+gDK06Des1VAJZ9zBVQBlUxAspzqoT0K9DDEjb/Yb6Eu0vmlQYk2hXUZMYt+NcKq1w1AvywVpksIJD028RVhbHVYcPz4if09VCPU6p0YnMbIDj9Bhlkn3kAp/bpYmDlkA7H2oczOxzGNNVC3HulWFiewsQVKKfkOeuSn58PCMjx2fnlc8jEG2hjZ3UDBMsWUW3kcymIJ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xrphKy7UcnV2Wg/CdRmKvM2E42bP/Mkbmq+lEGirNWxnL3KENlbsyRuaoCPTAjHlQA9xf3r9qCwnJ2joAj4Ag4Ao6AI+AIOAKOgCPQWgT+A1yTVcYVkJTJAAAAAElFTkSuQmCC"> 活动 </mt-tab-item> <!-- v-tap="{methods:goFinance}" --> <mt-tab-item id="finance" @click.native="goFinance"> <img v-if="this.selected == 'finance' " slot="icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkNGNUREOTdCN0Q2NDExRTk4M0IxRDM2N0I3ODg3QTFCIiB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R91PfCo50Mf93SUOkO32pDXXHRoVzFlYAT04P3MOIspg4RjRVVMh3zZDnkzBinD7l7SWCKTtzQKjtlj4kYG4hfDU5No95tKbS+pAZV32k8HbVQymfwcoeAzhVj+Wx+x/FnE8iMKHsqO5hy6pRRXP4t6qCrec0sT6KY1N2YMLNAjAlpUiqtPRE1B8Z5GDIzfD0XDJoLG9DBKeRiIVWxNY/kNj1jeaMG3UqmkIH3YZoPOn7lcbsqElfGKPZOqADYQUCqGOrI+4utJD4t7w9DV4T01fFDjJwTGkRIz1OI6efrR3Rgo0/34TnoMY/gX1F0dKHMnme4XQ6DrfvJGfS2OMHey3jubxxhmlTqrL44cCHN6mDsZI6BrfpNvfS/fMRE1Dr2UOlJXv9f5BipZvSsx6KArzWQwN7XAzKxebLaPMcxt0dGJBChTpJnVe1xpUrdm08CbfgQiiQOrYSpWL2coaB6Rgaw2m/4dCCiFKdLO/1m9oUihUHgfPmCqxhdO8ViIMJ+LTs0bs6DJs3yJCr8PtUsGcqOICDosNHKTIkmeZQOYIs3nRW0Mc4c6aHzwxaZ3t2J6txipp/gv326nBRT5AMFtE5iR99DaOdWxn8jQA3rg2tiPuCgCrZlX7WeGNIFS7IewlIEeiP1UmzLQWqNlPyZoP3fZ+kA93K14fJDVirJjb8UCtUAtUCsWqAVqgVqxQJXlPwEGAKEU0AQa5hHoAAAAAElFTkSuQmCC"> 财务 </mt-tab-item> </mt-tabbar> </template> <script> export default { data(){ return { selected:"", title:"" } }, created(){ this.selected = this.$route.name; }, methods:{ goHome(){ if(this.$route.name !== 'home'){ this.$router.push({ name: 'home', params: { titles: '首页' }}) } }, goManage(){ if(this.$route.name !== 'manage'){ this.$router.push({ name: 'manage', params: { titles: '管理' }}) } }, goActive(){ if(this.$route.name !== 'active'){ this.$router.push({ name: 'active', params: { titles: '活动' }}) } }, goFinance(){ if(this.$route.name !== 'finance'){ this.$router.push({ name: 'finance', params: { titles: '财务' }}) } } } } </script> <style> </style>
其实只要给click后面加一个native就好了,至于什么道理我也不知,问题是解决了