45 lines
910 B
Vue
45 lines
910 B
Vue
<template>
|
|
<div id="app">
|
|
<router-view />
|
|
<theme-picker />
|
|
</div>
|
|
</template>
|
|
<script src="https://api.tianditu.gov.cn/api?v=4.0&tk=c691040443c68cda625755c5c3e2acc3" type="text/javascript">
|
|
</script>
|
|
|
|
<script>
|
|
import ThemePicker from "@/components/ThemePicker";
|
|
|
|
export default {
|
|
name: "App",
|
|
components: { ThemePicker },
|
|
metaInfo() {
|
|
return {
|
|
title:
|
|
this.$store.state.settings.dynamicTitle &&
|
|
this.$store.state.settings.title,
|
|
titleTemplate: (title) => {
|
|
return title
|
|
? `${title} - ${process.env.VUE_APP_TITLE}`
|
|
: process.env.VUE_APP_TITLE;
|
|
},
|
|
};
|
|
},
|
|
};
|
|
</script>
|
|
<style scoped>
|
|
#app .theme-picker {
|
|
display: none;
|
|
}
|
|
</style>
|
|
|
|
<style lang="scss">
|
|
input[aria-hidden="true"] {
|
|
display: none !important;
|
|
}
|
|
|
|
.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
|
|
box-shadow: none;
|
|
}
|
|
</style>
|