样式
This commit is contained in:
@@ -58,7 +58,7 @@ export default {
|
|||||||
height 61px
|
height 61px
|
||||||
padding-left 10px
|
padding-left 10px
|
||||||
.date-wraper
|
.date-wraper
|
||||||
_font(12px, 20px, #909399,,)
|
_font(16px, 24px, #909399,,)
|
||||||
.time-wraper
|
.time-wraper
|
||||||
_font(12px, 20px, #909399,,)
|
_font(16px, 24px, #909399,,)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/** 10.4寸屏,4:3的,1366*768 */
|
/** 10.4寸屏,4:3的,1366*768 */
|
||||||
// apt设备尺寸分辨率1024*768
|
// apt设备尺寸分辨率1024*768 现在新设备1920*1080
|
||||||
(function (doc, win) {
|
(function (doc, win) {
|
||||||
var docEl = doc.documentElement
|
var docEl = doc.documentElement
|
||||||
var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
|
var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
window.localStorage.removeItem('defaultActive')
|
||||||
// 点对点项目分辨率 1024 * 768
|
// 点对点项目分辨率 1024 * 768
|
||||||
// alert(document.body.clientWidth, 'a')
|
// alert(document.body.clientWidth, 'a')
|
||||||
// alert(document.body.clientHeight, 'b')
|
// alert(document.body.clientHeight, 'b')
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="right_side">
|
<div class="right_side">
|
||||||
<div class="content_wrap">
|
<div class="content_wrap">
|
||||||
<div class="content_wrap_inner">
|
<div class="content_wrap_inner content_wrap_inner_1">
|
||||||
<div class="state_wrap">
|
<div class="state_wrap state_wrap_1">
|
||||||
<div class="state_tip">偏离状态</div>
|
<div class="state_tip">偏离状态</div>
|
||||||
<div class="state_content">
|
<div class="state_content">
|
||||||
<div class="state_item_1">{{status.inLineStatus_name}}</div>
|
<div class="state_item_1">{{status.inLineStatus_name}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="state_wrap">
|
<div class="state_wrap state_wrap_1">
|
||||||
<div class="state_tip">更新状态</div>
|
<div class="state_tip">更新状态</div>
|
||||||
<div class="state_content">
|
<div class="state_content">
|
||||||
<div class="state_item_1">{{status.UpdateStatus_name}}</div>
|
<div class="state_item_1">{{status.UpdateStatus_name}}</div>
|
||||||
@@ -429,4 +429,9 @@ export default {
|
|||||||
color #fff
|
color #fff
|
||||||
.pop_btns_box
|
.pop_btns_box
|
||||||
margin-top 20px
|
margin-top 20px
|
||||||
|
.content_wrap_inner_1
|
||||||
|
justify-content flex-start
|
||||||
|
.state_wrap_1
|
||||||
|
width auto
|
||||||
|
margin-right 50px
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -2,25 +2,31 @@
|
|||||||
<div class="index-container">
|
<div class="index-container">
|
||||||
<div class="header-container">
|
<div class="header-container">
|
||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
<span class="company-logo"></span>
|
<img src="../../../images/aio/logo_1.png" alt="诺力">
|
||||||
</div>
|
</div>
|
||||||
<div class="horizontal-menu-container">
|
<div class="horizontal-menu-container">
|
||||||
<el-menu :default-active="activeIndex" mode="horizontal" @select="handleSelect">
|
<el-menu :default-active="activeIndex" mode="horizontal" @select="handleSelect">
|
||||||
<el-menu-item :index="menu.index" v-for="menu in menus" :key="menu.index">{{menu.label}}</el-menu-item>
|
<el-menu-item :index="menu.index" v-for="menu in menus" :key="menu.index">{{menu.label}}</el-menu-item>
|
||||||
</el-menu>
|
</el-menu>
|
||||||
</div>
|
</div>
|
||||||
<div class="state-container">
|
<div class="header-wraper__right">
|
||||||
<div class="state-item">运行</div>
|
<div class="header_user_wraper">
|
||||||
<div class="state-line"></div>
|
<div class="header_user_wraper_inn">
|
||||||
<div class="state-item">自动</div>
|
<div class="state-item">运行</div>
|
||||||
<div class="state-line"></div>
|
<div class="state-line"></div>
|
||||||
<div class="state-item">中文<i class="icon_dropdown"></i></div>
|
<div class="state-item">自动</div>
|
||||||
</div>
|
<div class="state-line"></div>
|
||||||
<div class="user-container">
|
<div class="state-item">中文 <i class="icon_dropdown"></i></div>
|
||||||
<div class="elec-qty-wrap">
|
</div>
|
||||||
<div class="elec-qty"></div>
|
</div>
|
||||||
|
<div class="header_user_wraper">
|
||||||
|
<div class="header_user_wraper_inn">
|
||||||
|
<div class="elec-qty-wrap">
|
||||||
|
<div class="elec-qty"></div>
|
||||||
|
</div>
|
||||||
|
<div class="elec-txt">90%</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="elec-txt">90%</div>
|
|
||||||
<div class="header_user_wraper">
|
<div class="header_user_wraper">
|
||||||
<div class="header_user_wraper_inn" @click="showDropdown">
|
<div class="header_user_wraper_inn" @click="showDropdown">
|
||||||
<div class="iconfont icon_admin"></div>
|
<div class="iconfont icon_admin"></div>
|
||||||
@@ -34,9 +40,9 @@
|
|||||||
<div class="popper__arrow"></div>
|
<div class="popper__arrow"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="time-container">
|
||||||
<div class="time-container">
|
<jxTime></jxTime>
|
||||||
<jxTime></jxTime>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<router-view></router-view>
|
<router-view></router-view>
|
||||||
@@ -216,32 +222,36 @@ export default {
|
|||||||
.index-container
|
.index-container
|
||||||
_wh(100%, 100%)
|
_wh(100%, 100%)
|
||||||
.header-container
|
.header-container
|
||||||
|
position fixed
|
||||||
|
left 0
|
||||||
|
top 0
|
||||||
|
z-index 150
|
||||||
_fj()
|
_fj()
|
||||||
_wh(100%, 61px)
|
_wh(100%, 81px)
|
||||||
|
overflow-x auto
|
||||||
|
line-height 79px
|
||||||
padding 0 10px
|
padding 0 10px
|
||||||
border-bottom 2px solid #f1f1f1
|
border-bottom 1px solid #f1f1f1
|
||||||
|
background-color #fff
|
||||||
.title-container
|
.title-container
|
||||||
_fj(center)
|
_fj(center)
|
||||||
_wh(130px, 61px)
|
_wh(300px, 100%)
|
||||||
.company-logo
|
img
|
||||||
display block
|
_wh(100%, auto)
|
||||||
_wh(100%, 100%)
|
|
||||||
background url(../../../images/aio/logo_1.png) left center / 100% auto no-repeat
|
|
||||||
.horizontal-menu-container
|
.horizontal-menu-container
|
||||||
height 61px
|
height 100%
|
||||||
>>>.el-menu-item
|
padding 0 10px
|
||||||
padding 0 7px
|
>>>.el-menu--horizontal>.el-menu-item
|
||||||
.state-container
|
line-height 79px
|
||||||
_fj()
|
height 79px
|
||||||
.user-container
|
font-size 18px
|
||||||
_fj()
|
|
||||||
.time-container
|
.time-container
|
||||||
_fj()
|
_fj()
|
||||||
.state-item
|
.state-item
|
||||||
border 1px solid #54C0B3
|
border 1px solid #54C0B3
|
||||||
border-radius 4px
|
border-radius 4px
|
||||||
_font(15px,25px,#54C0B3,,center)
|
_font(18px,32px,#54C0B3,,center)
|
||||||
padding 0 7px
|
padding 0 15px
|
||||||
.state-line
|
.state-line
|
||||||
_wh(2px,20px)
|
_wh(2px,20px)
|
||||||
opacity 0.3
|
opacity 0.3
|
||||||
@@ -250,9 +260,9 @@ export default {
|
|||||||
.elec-qty-wrap
|
.elec-qty-wrap
|
||||||
position relative
|
position relative
|
||||||
width 15px
|
width 15px
|
||||||
height 25px
|
height 32px
|
||||||
border 1px solid #dddddd
|
border 1px solid #dddddd
|
||||||
margin-right 2px
|
margin-right 5px
|
||||||
.elec-qty
|
.elec-qty
|
||||||
position absolute
|
position absolute
|
||||||
width 100%
|
width 100%
|
||||||
@@ -262,16 +272,18 @@ export default {
|
|||||||
background-color #54C0B3
|
background-color #54C0B3
|
||||||
// background-color #fa6400
|
// background-color #fa6400
|
||||||
.elec-txt
|
.elec-txt
|
||||||
_font(15px, 25px, #909399,,left)
|
_font(18px, 32px, #909399,,left)
|
||||||
.icon_admin
|
.icon_admin
|
||||||
_font(20px, 25px, #54C0B3,,left)
|
_font(20px, 32px, #54C0B3,,left)
|
||||||
margin-right 2px
|
margin-right 2px
|
||||||
>>>.el-menu
|
>>>.el-menu
|
||||||
border-right none
|
border-right none
|
||||||
|
.header-wraper__right
|
||||||
|
height 100%
|
||||||
|
_fj(flex-end)
|
||||||
.header_user_wraper
|
.header_user_wraper
|
||||||
padding 0 10px
|
padding 0 10px
|
||||||
height 59px
|
height 100%
|
||||||
margin 0 10px
|
|
||||||
position relative
|
position relative
|
||||||
&:hover
|
&:hover
|
||||||
background-color #f0f0f0
|
background-color #f0f0f0
|
||||||
@@ -280,7 +292,7 @@ export default {
|
|||||||
_wh(100%, 100%)
|
_wh(100%, 100%)
|
||||||
.header_dropdown_wraper
|
.header_dropdown_wraper
|
||||||
position absolute
|
position absolute
|
||||||
top 52px
|
top 90%
|
||||||
left 0
|
left 0
|
||||||
z-index 1000
|
z-index 1000
|
||||||
width 100%
|
width 100%
|
||||||
@@ -324,4 +336,16 @@ export default {
|
|||||||
margin-left: -6px;
|
margin-left: -6px;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
border-bottom-color: #fff;
|
border-bottom-color: #fff;
|
||||||
|
@media only screen and (max-width: 1620px) {
|
||||||
|
.title-container {
|
||||||
|
width 150px
|
||||||
|
height 15px
|
||||||
|
}
|
||||||
|
>>>.el-menu--horizontal>.el-menu-item {
|
||||||
|
font-size 16px
|
||||||
|
}
|
||||||
|
>>>.el-menu-item {
|
||||||
|
padding 0 10px
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -41,7 +41,8 @@
|
|||||||
|
|
||||||
.body-conatiner
|
.body-conatiner
|
||||||
_fj()
|
_fj()
|
||||||
_wh(100%, calc(100% - 61px))
|
_wh(100%, 100%)
|
||||||
|
padding-top 80px
|
||||||
.side-bar-container
|
.side-bar-container
|
||||||
_wh(120px, 100%)
|
_wh(120px, 100%)
|
||||||
border-right solid 1px #e6e6e6
|
border-right solid 1px #e6e6e6
|
||||||
@@ -50,7 +51,7 @@
|
|||||||
|
|
||||||
.site_container
|
.site_container
|
||||||
_fj()
|
_fj()
|
||||||
_wh(100%, calc(100% - 82px))
|
_wh(100%, 100%)
|
||||||
overflow hidden
|
overflow hidden
|
||||||
.left_side
|
.left_side
|
||||||
_wh(2.72rem, 100%)
|
_wh(2.72rem, 100%)
|
||||||
@@ -157,7 +158,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
background: #000;
|
background: #000;
|
||||||
z-index: 101;
|
z-index: 201;
|
||||||
.dialog_wrapper
|
.dialog_wrapper
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -165,7 +166,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
z-index: 102;
|
z-index: 202;
|
||||||
.dialog
|
.dialog
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0 auto 50px;
|
margin: 0 auto 50px;
|
||||||
@@ -370,29 +371,31 @@
|
|||||||
width 100%
|
width 100%
|
||||||
_fj(, flex-start)
|
_fj(, flex-start)
|
||||||
.state_tip
|
.state_tip
|
||||||
_wh(150px, 50px)
|
_wh(200px, 100px)
|
||||||
_fj(center)
|
_fj(center)
|
||||||
_font(18px, 15px, #ffffff,,center)
|
_font(32px, 33px, #ffffff,,center)
|
||||||
border 1px solid $red
|
border 1px solid $red
|
||||||
background-color #ffc3a7
|
background-color #ffc3a7
|
||||||
border-radius 6px
|
border-radius 6px
|
||||||
margin-right 70px
|
margin-right 70px
|
||||||
overflow hidden
|
overflow hidden
|
||||||
.state_content
|
.state_content
|
||||||
width calc(100% - 220px)
|
width calc(100% - 270px)
|
||||||
|
height 100px
|
||||||
|
margin-bottom 20px
|
||||||
_fj(flex-start)
|
_fj(flex-start)
|
||||||
flex-wrap wrap
|
flex-wrap wrap
|
||||||
.state_item_1
|
.state_item_1
|
||||||
_wh(150px, 50px)
|
_wh(260px, 100px)
|
||||||
_fj(center)
|
_fj(center)
|
||||||
border 1.6px solid #54C0B3
|
border 1.6px solid #54C0B3
|
||||||
background-color #fff
|
background-color #fff
|
||||||
_font(18px,25px,#54C0B3,,center)
|
_font(32px,33px,#54C0B3,,center)
|
||||||
border-radius 6px
|
border-radius 6px
|
||||||
margin-bottom 20px
|
margin-bottom 20px
|
||||||
margin-right 24px
|
margin-right 24px
|
||||||
.state_item_2
|
.state_item_2
|
||||||
_wh(calc(33.333333% - 16px), 60px)
|
_wh(calc(33.333333% - 16px), 100px)
|
||||||
_fj(center)
|
_fj(center)
|
||||||
border 10px solid #DFE1E6
|
border 10px solid #DFE1E6
|
||||||
background-color #fff
|
background-color #fff
|
||||||
@@ -406,12 +409,12 @@
|
|||||||
_wh(24px,24px)
|
_wh(24px,24px)
|
||||||
background-color #ffffff
|
background-color #ffffff
|
||||||
border-radius 50%
|
border-radius 50%
|
||||||
margin-right 20px
|
margin-right 24px
|
||||||
.state_item_2_txt
|
.state_item_2_txt
|
||||||
display block
|
display block
|
||||||
_font(18px,25px,#696969,,)
|
_font(32px,33px,#696969,,)
|
||||||
.state_item_3
|
.state_item_3
|
||||||
_wh(calc(33.333333% - 16px), 50px)
|
_wh(calc(33.333333% - 16px), 100px)
|
||||||
_fj(flex-start)
|
_fj(flex-start)
|
||||||
border 1.6px solid #8B90A6
|
border 1.6px solid #8B90A6
|
||||||
background-color #fff
|
background-color #fff
|
||||||
@@ -423,11 +426,11 @@
|
|||||||
margin-right 0
|
margin-right 0
|
||||||
.state_item_3_txt1
|
.state_item_3_txt1
|
||||||
display block
|
display block
|
||||||
_font(18px,25px,#696969,,)
|
_font(32px,33px,#696969,,)
|
||||||
margin-right 12px
|
margin-right 12px
|
||||||
.state_item_3_txt2
|
.state_item_3_txt2
|
||||||
display block
|
display block
|
||||||
_font(18px,25px,#FA6400,,)
|
_font(32px,33px,#FA6400,,)
|
||||||
.state_item_switch
|
.state_item_switch
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -65,10 +65,10 @@ html,body {
|
|||||||
-webkit-tap-highlight-color: #ffffff;
|
-webkit-tap-highlight-color: #ffffff;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/* max-width: 1366px; */
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
overflow: hidden;
|
min-width: 1440px;
|
||||||
|
/* max-width: 1920px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
select, option, textarea {
|
select, option, textarea {
|
||||||
|
|||||||
Reference in New Issue
Block a user