123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <template>
- <div id="app">
- <transition name="el-fade-in">
- <router-view />
- </transition>
- </div>
- </template>
- <script>
- export default {
- watch: {
- $route(to) {
- this.$store.commit("setPages", to.path);
- this.$store.commit("setDefaultActive", unescape(to.fullPath));
- },
- },
- };
- </script>
- <style lang="scss">
- @import "assets/style";
- @import "assets/simple";
- * {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- // font-family: Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB,
- // WenQuanYi Micro Hei, Microsoft Yahei, sans-serif !important;
- font-family: "Microsoft YaHei",微软雅黑,Consolas,"LiberationMono",Courier,monospace,simsun !important;
- }
- html,
- body,
- #app,
- .page {
- width: 100%;
- min-width: 1000px;
- overflow: hidden;
- height: 100%;
- font-family: "Avenir", Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .page {
- background: rgb(229, 235, 242);
- position: relative;
- z-index: 0;
- background-repeat: repeat-y;
- }
- .el-header {
- padding: 0 !important;
- }
- // .page:after {
- // content: '.';
- // color: rgba(0, 0, 0, 0);
- // position: absolute;
- // left: 0;
- // top: 0;
- // z-index: 1;
- // width: 100%;
- // height: 308px;
- // background: linear-gradient(to right, #107CFF, #1025FF);
- // }
- .router-page {
- height: 100%;
- flex-grow: 1;
- }
- .query-card {
- .el-form--inline {
- margin-top: -17px;
- padding-left: 20px;
- padding-right: 20px;
- .el-form-item {
- padding-top: 17px;
- padding-bottom: 0px;
- margin-bottom: 0;
- margin-right: 40px;
- }
- }
- }
- .el-menu {
- border: none;
- .el-menu-item,
- .el-submenu__title {
- height: 47px;
- line-height: 47px;
- font-family: PingFangSC-Regular;
- font-size: 14px;
- color: #666666;
- letter-spacing: 0;
- }
- .is-active {
- color: #107cff;
- }
- }
- .el-button--primary {
- background-color: #107cff;
- }
- .table-card {
- margin-top: 9px;
- }
- .p-table-header-row {
- background-color: rgba(16, 124, 255, 0.05) !important;
- }
- .p-table-header-cell {
- background-color: rgba(16, 124, 255, 0.05) !important;
- font-family: PingFangSC-Medium;
- font-size: 14px;
- color: #333333;
- text-align: center !important;
- }
- .p-table-cell {
- font-family: PingFangSC-Regular;
- font-size: 14px;
- color: #666666;
- text-align: center !important;
- }
- .router-page {
- display: flex;
- flex-direction: column;
- .query-card {
- flex-grow: 0;
- flex-shrink: 0;
- }
- .table-card {
- flex-grow: 1;
- flex-shrink: 1;
- height: 100%;
- overflow-y: auto;
- }
- }
- .el-image-viewer__close {
- color: #fff;
- }
- .el-menu-item {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- </style>
|