| | |
| | | <template> |
| | | <div id="app"> |
| | | <!-- <div id="status-bar" style="position: relative;"></div> --> |
| | | <div class="w-full h-full"> |
| | | <keep-alive> |
| | | <router-view |
| | |
| | | <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"; |
| | |
| | | } |
| | | }); |
| | | var lastTouchEnd = 0; |
| | | |
| | | document.addEventListener( |
| | | "touchend", |
| | | function (event) { |
| | |
| | | mounted() { |
| | | window.document.documentElement.setAttribute("data-theme", this.theme); |
| | | changeTheme(this.theme); |
| | | this.GET_UERS_KYC(); |
| | | }, |
| | | components: { |
| | | // loading: Loading, |
| | |
| | | }, |
| | | 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() { |
| | |
| | | |
| | | .van-popup { |
| | | @include themify() { |
| | | background: themed("main_background"); |
| | | // background: themed("main_background"); |
| | | } |
| | | } |
| | | |