能效诊断
This commit is contained in:
+94
@@ -0,0 +1,94 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<keep-alive>
|
||||
<router-view :key="key" v-if="$route.meta.keepAlive"></router-view>
|
||||
</keep-alive>
|
||||
<router-view :key="key" v-if="!$route.meta.keepAlive"></router-view>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "app",
|
||||
data() {
|
||||
return {
|
||||
ShowDark: false,
|
||||
isFullScreen: false, // 是否全面屏,刘海屏
|
||||
// devLogin:{
|
||||
// show: true,
|
||||
// usermane: 'zhujj01',
|
||||
// },
|
||||
ENV: process.env.NODE_ENV,
|
||||
// toast: this.$createToast({
|
||||
// time: 0,
|
||||
// txt: '正在加载,请稍等',
|
||||
// mask: true
|
||||
// })
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
key() {
|
||||
return this.$route.path;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
#app {
|
||||
// -webkit-font-smoothing: antialiased;
|
||||
// -moz-osx-font-smoothing: grayscale;
|
||||
// // text-align: center;
|
||||
// color: #101010;
|
||||
// background: #f6f6f6;
|
||||
// position: absolute;
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// font-size: 14px;
|
||||
// overflow: hidden;
|
||||
height: 100%;
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
// text-align: center;
|
||||
font-size: 14px;
|
||||
color: #2c3e50;
|
||||
}
|
||||
// html,
|
||||
// body {
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// margin: 0;
|
||||
// padding: 0;
|
||||
// position: relative;
|
||||
// /*background: white;*/
|
||||
// }
|
||||
// ::-webkit-scrollbar {
|
||||
// display: none;
|
||||
// }
|
||||
// /deep/ .cube-textarea-active::after {
|
||||
// border: none;
|
||||
// }
|
||||
// /deep/ .cube-textarea-active {
|
||||
// border: none !important;
|
||||
// }
|
||||
// /deep/ input {
|
||||
// border: 1px solid;
|
||||
// font-family: "Microsoft YaHei",serif;
|
||||
// }
|
||||
// ::v-deep .van-tabs__line {
|
||||
// background-color: rgba(58, 170, 255, 1);
|
||||
// }
|
||||
// .van-cell-group-title{
|
||||
// .label{font-weight: bold;display: flex;align-items: center;}
|
||||
// .label:before{
|
||||
// content: " "; padding: 2px;
|
||||
// background-color:rgb(58, 170, 255);
|
||||
// width: 1px;
|
||||
// height: 10px;
|
||||
// border-radius: 5px;
|
||||
// margin-right: 5px;
|
||||
// display: inline-block;
|
||||
// }
|
||||
// }
|
||||
</style>
|
||||
Reference in New Issue
Block a user