Browse Source

优化tabs高度

master
LiLongLong 3 months ago
parent
commit
87667596cf
  1. 1
      components.d.ts
  2. 14
      src/pages/Index/Regular/Running.vue
  3. 2
      src/pages/Index/Regular/TestTube.vue
  4. 12
      src/pages/Login/index.vue
  5. 2
      tsconfig.app.tsbuildinfo

1
components.d.ts

@ -18,6 +18,7 @@ declare module 'vue' {
ElRow: typeof import('element-plus/es')['ElRow']
ElTable: typeof import('element-plus/es')['ElTable']
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
ElTooltip: typeof import('element-plus/es')['ElTooltip']
ErrorModal: typeof import('./src/components/dialogs/ErrorModal.vue')['default']
Keyboard: typeof import('./src/components/Keyboard.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']

14
src/pages/Index/Regular/Running.vue

@ -259,7 +259,7 @@ watch(
justify-content: space-around;
align-items: center;
background-color: #f9fafb;
height: 92vh;
height: 88vh;
/* 更柔和的背景色 */
//
@ -515,8 +515,8 @@ watch(
.plate-temp {
position: fixed;
top: 140px;
right: 30px;
top: 11.75rem;
right: 0.575rem;
padding: 10px;
background-color: rgb(209, 229, 255);
border-radius: 5px;
@ -535,18 +535,18 @@ watch(
}
.scan-main {
position: fixed;
top: 54rem;
top: 56rem;
right: 10px;
padding: 8px 5px;
background-color: rgb(223, 237, 248);
border-radius: 5px;
height: 180px;
height: 10.25rem;
.scan-men {
color: #fff;
display: inline-block;
background-color: rgb(120, 206, 86);
border-radius: 5px;
height: 140px;
height: 7.75rem;
padding: 5px;
display: flex;
flex-direction: column;
@ -556,7 +556,7 @@ watch(
.scan-empty {
background-color: #ccc;
height: 140px;
height: 7.75rem;
border-radius: 5px;
display: flex;
justify-content: center;

2
src/pages/Index/Regular/TestTube.vue

@ -308,7 +308,7 @@ const updateTubeSettings = async (rackIdx: number, tubeIdx: number) => {
box-sizing: border-box;
}
@active-color: rgb(82, 140, 254);
@setting-panel-height: 150px;
@setting-panel-height: 185px;
box-sizing: border-box;
position: relative;

12
src/pages/Login/index.vue

@ -70,12 +70,12 @@ const submitPin = async () => {
errorMsg.value = '请输入密码'
return
}
let resData = await isBoardParamInited()
if (!resData.data) {
//
errorMsg.value = '设备正在初始化,请稍候重试'
return
}
// let resData = await isBoardParamInited()
// if (!resData.data) {
// //
// errorMsg.value = ''
// return
// }
const params = {
id: activeUser.value?.id,
password: password.value,

2
tsconfig.app.tsbuildinfo
File diff suppressed because it is too large
View File

Loading…
Cancel
Save