perf: 去除屏幕大小处理

This commit is contained in:
奔跑的面条 2022-10-01 17:26:52 +08:00
parent a96fa8f4b7
commit edecfc7116
3 changed files with 14 additions and 39 deletions

View File

@ -83,24 +83,3 @@
opacity: 1;
}
}
/* 小屏处理 0~1000*/
.mobile-terminal {
display: none;
}
@media (max-width: 1000px) {
#app {
display: none;
}
.mobile-terminal {
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
text-align: center;
font-size: 24px;
font-weight: 200;
background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}
}

View File

@ -24,9 +24,6 @@
</div>
</div>
</div>
<div class="mobile-terminal">
<p>请使用 Web 端进行查看</p>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>

View File

@ -1,22 +1,21 @@
import { HistoryTargetTypeEnum, HistoryActionTypeEnum } from './chartHistoryStore.d'
export const historyActionTypeName = {
[HistoryActionTypeEnum.ADD]: '新增图表',
[HistoryActionTypeEnum.DELETE]: '删除图表',
[HistoryActionTypeEnum.UPDATE]: '修改属性',
[HistoryActionTypeEnum.MOVE]: '移动图表',
[HistoryActionTypeEnum.PASTE]: '粘贴图表',
[HistoryActionTypeEnum.COPY]: '复制图表',
[HistoryActionTypeEnum.CUT]: '剪切图表',
[HistoryActionTypeEnum.TOP]: '层级置顶',
[HistoryActionTypeEnum.BOTTOM]: '层级置底',
[HistoryActionTypeEnum.UP]: '层级上移',
[HistoryActionTypeEnum.DOWN]: '层级下移',
[HistoryActionTypeEnum.GROUP]: '创建分组',
[HistoryActionTypeEnum.UN_GROUP]: '解除分组',
[HistoryActionTypeEnum.SELECT_HISTORY]: '选择记录',
[HistoryActionTypeEnum.ADD]: '新增',
[HistoryActionTypeEnum.DELETE]: '删除',
[HistoryActionTypeEnum.UPDATE]: '更新',
[HistoryActionTypeEnum.MOVE]: '移动',
[HistoryActionTypeEnum.PASTE]: '粘贴',
[HistoryActionTypeEnum.COPY]: '复制',
[HistoryActionTypeEnum.CUT]: '剪切',
[HistoryActionTypeEnum.TOP]: '置顶',
[HistoryActionTypeEnum.BOTTOM]: '置底',
[HistoryActionTypeEnum.UP]: '上移',
[HistoryActionTypeEnum.DOWN]: '下移',
[HistoryActionTypeEnum.GROUP]: '成组',
[HistoryActionTypeEnum.UN_GROUP]: '解组',
[HistoryActionTypeEnum.LOCK]: '锁定',
[HistoryActionTypeEnum.UNLOCK]: '解',
[HistoryActionTypeEnum.UNLOCK]: '解锁',
[HistoryActionTypeEnum.HIDE]: '隐藏',
[HistoryActionTypeEnum.SHOW]: '显示',