【update】-下午产生bug的修改
This commit is contained in:
@@ -69,6 +69,8 @@ import PreparationRevisionScreen from './preparationRevision/index'
|
||||
import WPScreen from './wp29/index'
|
||||
import ISOScreen from './iso/index'
|
||||
|
||||
let bodyClass = ''
|
||||
|
||||
export default {
|
||||
name: 'HomePage',
|
||||
components: {
|
||||
@@ -89,6 +91,12 @@ export default {
|
||||
},
|
||||
created() {
|
||||
document.title = `中国汽车标准化研究院运营管理平台`
|
||||
let bodyDom = document.getElementsByTagName('body')[0]
|
||||
bodyClass = bodyDom.getAttribute('class')
|
||||
bodyDom.setAttribute('class', `${bodyClass} screen-body`)
|
||||
},
|
||||
beforeDestroy() {
|
||||
document.getElementsByTagName('body')[0].setAttribute('class', bodyClass)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -226,6 +234,9 @@ export default {
|
||||
::v-deep ::-webkit-scrollbar-thumb{
|
||||
background: #445a9c;
|
||||
}
|
||||
::v-deep ::-webkit-scrollbar-corner {
|
||||
background: #293f6a;
|
||||
}
|
||||
// 下拉框-清除图标的背景色
|
||||
::v-deep .ant-select-selection__clear {
|
||||
background: #293f6a;
|
||||
@@ -251,4 +262,15 @@ export default {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.screen-body{
|
||||
&::-webkit-scrollbar-track{
|
||||
background: #293f6a;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb{
|
||||
background: #445a9c;
|
||||
}
|
||||
&::-webkit-scrollbar-corner {
|
||||
background: #293f6a;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -251,6 +251,9 @@ export default {
|
||||
&::-webkit-scrollbar-thumb{
|
||||
background: #445a9c!important;
|
||||
}
|
||||
&::-webkit-scrollbar-corner {
|
||||
background: #293f6a;
|
||||
}
|
||||
background-color: #181F55;
|
||||
.ant-select-dropdown-content{
|
||||
background-color: #181F55;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
:dataSource="dataSource"
|
||||
:pagination="ipagination"
|
||||
:loading="loading"
|
||||
:scroll="{x: 1200, y: 550}"
|
||||
:scroll="{x: 1200, y: 540}"
|
||||
@change="handleTableChange"
|
||||
class="j-table-force-nowrap main-table iso-table">
|
||||
|
||||
@@ -259,7 +259,7 @@ export default {
|
||||
// 高度必须固定否则没有办法出滚动条
|
||||
.iso-full-table.iso-full-box{
|
||||
//height: 600px;
|
||||
height: 800px;
|
||||
height: 810px;
|
||||
padding-top: 0;
|
||||
//background: transparent;
|
||||
/deep/* {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<!--各SC历年应完成项目情况-->
|
||||
<template>
|
||||
<div class="preparation-full-box preparation-half-box">
|
||||
<div class="preparation-full-box preparation-half-box preparation-half-box-completion">
|
||||
<div class="box-title">各SC历年应完成项目情况</div>
|
||||
<ul class="title-right">
|
||||
<ul class="title-right title-right-completion">
|
||||
<a-select
|
||||
class="active"
|
||||
v-model="selectValue"
|
||||
@@ -131,5 +131,4 @@ export default {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -112,22 +112,32 @@ export default {
|
||||
|
||||
}
|
||||
// 50%的box 536 * 931
|
||||
.preparation-half-box{
|
||||
/deep/ .preparation-half-box{
|
||||
width: 50%;
|
||||
height: 0;
|
||||
padding-top: 28.79%;
|
||||
background-image: url("../../../assets/screen/half_bg.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
/deep/ .box-title {
|
||||
.box-title {
|
||||
// (25 + 18 / 2) / 635
|
||||
top: 6.34%;
|
||||
// (171 + 149 / 2) / 931
|
||||
left: 26.37%;
|
||||
}
|
||||
/deep/ .box-bg-img {
|
||||
.box-bg-img {
|
||||
height: 100%;
|
||||
}
|
||||
.box-content{
|
||||
width: calc(100% - 4% * 2);
|
||||
left: 4%;
|
||||
}
|
||||
.title-right{
|
||||
margin-right: 4.5%;
|
||||
}
|
||||
.title-right-completion{
|
||||
margin-right: 6.5%;
|
||||
}
|
||||
}
|
||||
|
||||
@normal-color: rgba(256, 256, 256, 0.5);
|
||||
@@ -200,6 +210,9 @@ export default {
|
||||
.ant-select-dropdown-content > ul::-webkit-scrollbar-thumb{
|
||||
background: #445a9c;
|
||||
}
|
||||
.ant-select-dropdown-content > ul::-webkit-scrollbar-corner {
|
||||
background: #293f6a;
|
||||
}
|
||||
background-color: #181F55;
|
||||
|
||||
.ant-select-dropdown-menu-item {
|
||||
|
||||
@@ -78,7 +78,6 @@ export default {
|
||||
created() {
|
||||
// 获取用户信息
|
||||
this.$nextTick(() => {
|
||||
console.log('----this.$refs.fullCalendar---------', this.$refs.fullCalendar)
|
||||
this.calendarApi = this.$refs.fullCalendar.getApi()
|
||||
let currentDate = new Date(this.calendarApi.currentData.currentDate)
|
||||
this.time = currentDate.getFullYear() + '年' + (currentDate.getMonth() + 1) + '月'
|
||||
|
||||
Reference in New Issue
Block a user