67 lines
2.0 KiB
Vue
67 lines
2.0 KiB
Vue
<template>
|
|
<div class="app">
|
|
<router-view />
|
|
</div>
|
|
</template>
|
|
<!--<script lang="ts">-->
|
|
<!--import {EXPIRETIME} from "@/TUIKit/debug";-->
|
|
<!--import store from "@/store";-->
|
|
<!--import {ElMessage} from "element-plus";-->
|
|
<!--import {defineComponent, getCurrentInstance} from "vue";-->
|
|
|
|
<!--export default defineComponent({-->
|
|
<!-- setup() {-->
|
|
<!-- const instance = getCurrentInstance();-->
|
|
<!-- const TUIKit: any = instance?.appContext.config.globalProperties.$TUIKit;-->
|
|
<!-- const userInfo = {-->
|
|
<!-- userID: '00005817b88845da9da53c818d0b4007',-->
|
|
<!-- userSig: 'eJw1jlELgjAUhf-LniO2ubmb0ENChVEPUUT6pm7JrZlmIkb03xtm9*0cvu9w3*S4PUxNX2NjSAC*oHQyVJ1pSED4lJJffupbWteoScAcA1SCN5Kozb3FCw4CdSeBqQwAhNTpTKfSy4GBppnz1H8NCwebmK-Qlr3db2yvqivydbQ8K1MlXb4Lo0dkF1y*TmGRxPNRbLF0fzIfhFCez-zPF6tPNy4_',-->
|
|
<!-- };-->
|
|
|
|
<!-- TUIKit.login(userInfo)-->
|
|
<!-- .then((res: any) => {-->
|
|
<!-- const options = {-->
|
|
<!-- ...userInfo,-->
|
|
<!-- expire: new Date().getTime() + EXPIRETIME * 1000,-->
|
|
<!-- };-->
|
|
<!-- store.commit('setUserInfo', options);-->
|
|
<!-- // router.push({name: 'Home'});-->
|
|
<!-- })-->
|
|
<!-- .catch((error: any) => {-->
|
|
<!-- ElMessage({-->
|
|
<!-- message: error,-->
|
|
<!-- grouping: true,-->
|
|
<!-- type: 'error',-->
|
|
<!-- });-->
|
|
<!-- });-->
|
|
<!-- }-->
|
|
<!--});-->
|
|
<!--</script>-->
|
|
|
|
<style lang="scss">
|
|
#app {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
*::-webkit-scrollbar {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
*::-webkit-scrollbar-button {
|
|
width: 0;
|
|
height: 0;
|
|
display: none;
|
|
}
|
|
*::-webkit-scrollbar-corner {
|
|
background-color: transparent;
|
|
}
|
|
*::-webkit-scrollbar-thumb {
|
|
border: 4px solid rgba(0, 0, 0, 0);
|
|
height: 6px;
|
|
border-radius: 25px;
|
|
background-clip: padding-box;
|
|
background-color: rgba(0, 0, 0, 0.30);
|
|
}
|
|
@import url('./styles/app.scss');
|
|
</style>
|