| | |
| | | </div> --> |
| | | <div |
| | | :class="touch == 4 ? 'footDemos' : 'footDemo'" |
| | | @click="goRouter('/warehouse', 3)" |
| | | @click="goRouter('/warehouse', 4)" |
| | | > |
| | | <div class="footImgDeft"> |
| | | <img |
| | |
| | | </div> |
| | | <div |
| | | :class="touch == 5 ? 'footDemos' : 'footDemo'" |
| | | @click="goRouter('/user', 4)" |
| | | @click="goRouter('/user', 5)" |
| | | > |
| | | <div class="footImgDeft"> |
| | | <img |
| | |
| | | mounted() {}, |
| | | methods: { |
| | | goRouter(url, index) { |
| | | if (index === 2 || index === 3 || index === 4 || index === 5) { |
| | | 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; |