refactor(layout): 调整下拉箭头样式和位置

- 注释掉 Navbar 组件中下拉箭头的绝对定位样式
- 修改 app store 中侧边栏默认状态为关闭
- 在事件历史页面中增加车辆牌照信息显示
master
Tuzki 6 months ago
parent 87816e0216
commit 03f291d2ab
  1. 6
      src/layout/components/Navbar.vue
  2. 2
      src/store/modules/app.js
  3. 2
      src/views/report/eventHistory/index.vue

@ -176,9 +176,9 @@ export default {
.el-icon-caret-bottom {
cursor: pointer;
position: absolute;
right: -20px;
top: 25px;
// position: absolute;
// right: -20px;
// top: 25px;
font-size: 12px;
}
}

@ -2,7 +2,7 @@ const state = {
sidebar: {
opened: localStorage.getItem("sidebarStatus")
? !!+localStorage.getItem("sidebarStatus")
: true,
: false,
withoutAnimation: false,
hide: false,
},

@ -33,7 +33,7 @@
<template v-else>
<div class="event-history-item" v-for="item in list">
<div class="event-history-item-left">
<div class="enent-name">{{ item.userUnit || '--' }}</div>
<div class="enent-name">{{ item.userUnit+'-'+item.licensePlate || '--' }}</div>
<div class="event-history-item-time">创建时间:{{ parseTime(item.createTime) }}</div>
</div>
<div class="event-history-item-right">

Loading…
Cancel
Save