zzzz
2024-04-22 44db498cedee7573d090797b1fe5c331c413b00a
src/components/foot.vue
@@ -65,7 +65,7 @@
    </div> -->
    <div
      :class="touch == 4 ? 'footDemos' : 'footDemo'"
      @click="goRouter('/warehouse', 3)"
      @click="goRouter('/warehouse', 4)"
    >
      <div class="footImgDeft">
        <img
@@ -83,7 +83,7 @@
    </div>
    <div
      :class="touch == 5 ? 'footDemos' : 'footDemo'"
      @click="goRouter('/user', 4)"
      @click="goRouter('/user', 5)"
    >
      <div class="footImgDeft">
        <img
@@ -112,16 +112,6 @@
  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;