| | |
| | | </div> |
| | | <div :class="$store.state.select == '/warehouse'?'blueFont':''">仓位</div> |
| | | </div> |
| | | <div :class="touch==4?'footDemos':'footDemo'" @click="goRouter('/newUser',4)"> |
| | | <div :class="touch==4?'footDemos':'footDemo'" @click="goRouter('/user',4)"> |
| | | <div class="footImgDeft"> |
| | | <img v-show="$store.state.select == '/newUser'" src="~@/assets/foot/mine_selected.png" /> |
| | | <img v-show="$store.state.select != '/newUser'" src="~@/assets/foot/tab_main_mine_default.png" /> |
| | | <img v-show="$store.state.select == '/user'" src="~@/assets/foot/mine_selected.png" /> |
| | | <img v-show="$store.state.select != '/user'" src="~@/assets/foot/tab_main_mine_default.png" /> |
| | | </div> |
| | | <div :class="$store.state.select == '/newUser'?'blueFont':''">我的</div> |
| | | <div :class="$store.state.select == '/user'?'blueFont':''">我的</div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | }, |
| | | methods: { |
| | | goRouter(url, index) { |
| | | if(index==3||index==4){ |
| | | if(window.localStorage.getItem('USERTOKEN')==""||window.localStorage.getItem('USERTOKEN')==null||window.localStorage.getItem('USERTOKEN')==undefined){ |
| | | this.$emit('close') |
| | | return; |
| | | } |
| | | } |
| | | this.touch = index |
| | | setTimeout(() => { |
| | | this.touch = 0 |