dcc
2024-06-29 358dd78ee40aea1e43fd7987c6e604960c2d0672
src/App.vue
@@ -1,6 +1,5 @@
<template>
  <div id="app">
    <!-- <div id="status-bar" style="position: relative;"></div> -->
    <div class="w-full h-full">
      <keep-alive>
        <router-view
@@ -15,12 +14,10 @@
      <Footer v-if="$route.meta.footer"></Footer>
    </div>
  </div>
  <!-- <loading v-else /> -->
</template>
<script>
import { mapState } from "vuex";
// import Loading from '@/components/loading'
import Footer from "@/components/footer";
import { mapActions, mapMutations, mapGetters } from "vuex";
import { SET_CURRENCY, SET_KEFU, SET_CONFIG } from "@/store/const.store";
@@ -51,7 +48,6 @@
        }
      });
      var lastTouchEnd = 0;
      document.addEventListener(
        "touchend",
        function (event) {
@@ -78,6 +74,7 @@
  mounted() {
    window.document.documentElement.setAttribute("data-theme", this.theme);
    changeTheme(this.theme);
    this.GET_UERS_KYC();
  },
  components: {
    // loading: Loading,
@@ -85,7 +82,7 @@
  },
  methods: {
    ...mapActions("home", [SET_KEFU]),
    ...mapActions("user", [SET_CONFIG]),
    ...mapActions("user", [SET_CONFIG, "GET_UERS_KYC"]),
    ...mapMutations("language", ["setLanguage"]),
    ...mapMutations("home", [SET_CURRENCY]),
    async init() {
@@ -531,7 +528,7 @@
.van-popup {
  @include themify() {
    background: themed("main_background");
    // background: themed("main_background");
  }
}