You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.3 KiB
70 lines
1.3 KiB
<template>
|
|
<div id="app">
|
|
<router-view />
|
|
<theme-picker />
|
|
</div>
|
|
</template>
|
|
|
|
<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>
|
|
.wj-uploader .el-icon-upload:before {
|
|
font-size: 100px;
|
|
}
|
|
.wj-uploader .el-upload {
|
|
display: flex;
|
|
align-content: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
.wj-uploader .el-upload__text {
|
|
line-height: 20px;
|
|
width: 100% !important;
|
|
}
|
|
.avatar-uploader {
|
|
height: 180px;
|
|
}
|
|
.avatar-uploader .el-upload {
|
|
border: 1px dashed #d9d9d9 !important;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100% !important;
|
|
height: 180px !important;
|
|
line-height: 150px;
|
|
}
|
|
.el-upload-dragger,
|
|
.el-upload {
|
|
width: 100% !important;
|
|
}
|
|
.el-upload-list__item {
|
|
transition: none !important;
|
|
}
|
|
.el-upload-list__item:first-child {
|
|
margin-top: 0;
|
|
}
|
|
</style>
|
|
|