|
@@ -24,11 +24,7 @@ import User from "./user.vue";
|
|
|
<ItemWrap class="contetn_left-center contetn_lr-item" title="馆藏统计">
|
|
|
<LeftCenter />
|
|
|
</ItemWrap>
|
|
|
- <ItemWrap
|
|
|
- class="contetn_left-bottom contetn_lr-item"
|
|
|
- title="设备提醒"
|
|
|
- style="padding: 0 10px 16px 10px"
|
|
|
- >
|
|
|
+ <ItemWrap class="contetn_left-bottom contetn_lr-item" title="设备提醒" style="padding: 0 10px 16px 10px">
|
|
|
<LeftBottom />
|
|
|
</ItemWrap>
|
|
|
</div>
|
|
@@ -37,26 +33,23 @@ import User from "./user.vue";
|
|
|
<ItemWrap class="contetn_center-bottom" title="安装计划">
|
|
|
<CenterBottom />
|
|
|
</ItemWrap> -->
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
<div class="contetn_bottom">
|
|
|
- <el-button type="primary" onclick="./" class="tech-button">数据中心</el-button>
|
|
|
+ <el-button type="primary" @click="this.$router.push('/')" class="tech-button">数据中心</el-button>
|
|
|
<el-button type="primary" class="tech-button">消息中心</el-button>
|
|
|
<el-button type="primary" class="tech-button">档案管理</el-button>
|
|
|
+ <el-button type="primary" class="tech-button">设备管理</el-button>
|
|
|
<el-button type="primary" class="tech-button">实时监控</el-button>
|
|
|
<el-button type="primary" class="tech-button">报表管理</el-button>
|
|
|
- <el-button type="primary" class="tech-button">用户管理</el-button>
|
|
|
+ <el-button type="primary" class="tech-button" @click="this.$router.push('/user')">用户管理</el-button>
|
|
|
<el-button type="primary" class="tech-button">系统设置</el-button>
|
|
|
</div>
|
|
|
<div class="contetn_right">
|
|
|
<ItemWrap class="contetn_left-bottom contetn_lr-item" title="温湿度实时曲线">
|
|
|
<RightTop />
|
|
|
</ItemWrap>
|
|
|
- <ItemWrap
|
|
|
- class="contetn_left-bottom contetn_lr-item"
|
|
|
- title="实时环境"
|
|
|
- style="padding: 0 10px 16px 10px"
|
|
|
- >
|
|
|
+ <ItemWrap class="contetn_left-bottom contetn_lr-item" title="实时环境" style="padding: 0 10px 16px 10px">
|
|
|
<RightCenter />
|
|
|
</ItemWrap>
|
|
|
<ItemWrap class="contetn_left-bottom contetn_lr-item" title="系统消息">
|
|
@@ -74,6 +67,7 @@ import User from "./user.vue";
|
|
|
justify-content: space-between;
|
|
|
align-items: stretch;
|
|
|
}
|
|
|
+
|
|
|
//左边 右边 结构一样
|
|
|
.contetn_left,
|
|
|
.contetn_right {
|
|
@@ -86,12 +80,14 @@ import User from "./user.vue";
|
|
|
flex-shrink: 0;
|
|
|
margin: 0 -20px;
|
|
|
}
|
|
|
+
|
|
|
.contetn_center {
|
|
|
flex: 1;
|
|
|
margin: 0 54px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-around;
|
|
|
+
|
|
|
.contetn_center-bottom {
|
|
|
height: 315px;
|
|
|
}
|
|
@@ -100,22 +96,33 @@ import User from "./user.vue";
|
|
|
.contetn_lr-item {
|
|
|
height: 310px;
|
|
|
}
|
|
|
+
|
|
|
.contetn_bottom {
|
|
|
- width: 100%; /* 占据整个宽度 */
|
|
|
- margin-top: auto; /* 使用margin-top:auto来将内容推到最底部 */
|
|
|
+ width: 100%;
|
|
|
+ /* 占据整个宽度 */
|
|
|
+ margin-top: auto;
|
|
|
+ /* 使用margin-top:auto来将内容推到最底部 */
|
|
|
position: absolute;
|
|
|
bottom: 0;
|
|
|
- left: 30%;
|
|
|
+ left: 24%;
|
|
|
}
|
|
|
+
|
|
|
.tech-button {
|
|
|
transition: all 0.3s;
|
|
|
- background-color: rgba(41, 58, 151, 0.5); /* 使用RGBA,降低不透明度 */
|
|
|
- color: white;
|
|
|
- border: 2px solid transparent; /* 添加透明边框 */
|
|
|
+ background-color: rgba(41, 58, 151, 0.5);
|
|
|
+ /* 使用RGBA,降低不透明度 */
|
|
|
+ color: #31abe3;
|
|
|
+ border: 2px solid transparent;
|
|
|
+ /* 添加透明边框 */
|
|
|
padding: 10px 20px;
|
|
|
+ min-width: 56px;
|
|
|
+ min-height: 48px;
|
|
|
+ font-size: large;
|
|
|
+ text-shadow: 0 0 10px rgb(0, 204, 255, 0.5), 0 0 20px rgba(13, 91, 247, 0.5);
|
|
|
|
|
|
&:hover {
|
|
|
- background-color: rgba(48, 63, 159, 0.8); /* 同样使用RGBA */
|
|
|
+ background-color: rgba(48, 63, 159, 0.8);
|
|
|
+ /* 同样使用RGBA */
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
|
|
}
|
|
|
|
|
@@ -123,11 +130,13 @@ import User from "./user.vue";
|
|
|
content: "";
|
|
|
position: absolute;
|
|
|
z-index: -1;
|
|
|
- width: calc(100% + 4px); /* 边框宽度的两倍 */
|
|
|
+ width: calc(100% + 4px);
|
|
|
+ /* 边框宽度的两倍 */
|
|
|
height: calc(100% + 4px);
|
|
|
left: -2px;
|
|
|
top: -2px;
|
|
|
- background: linear-gradient(to right, rgba(65, 91, 237, 0.8), rgba(48, 63, 159, 0.8)); /* 渐变也使用RGBA */
|
|
|
+ background: linear-gradient(to right, rgba(65, 91, 237, 0.8), rgba(48, 63, 159, 0.8));
|
|
|
+ /* 渐变也使用RGBA */
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
transition: transform 0.3s ease-out;
|
|
|
}
|