update 设备数据
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<template>
|
||||
<div class="techy-analysis-header">
|
||||
<span v-html="titleLeftSVG" />
|
||||
<span style="display: inline-block; width: calc(56px * var(--beilv)); height: calc(13px * var(--beilv));" v-html="titleLeftSVG" />
|
||||
<span class="techy-analysis-header__title">
|
||||
<slot />
|
||||
</span>
|
||||
<span v-html="titleRightSVG" />
|
||||
<span style="display: inline-block; width: calc(56px * var(--beilv)); height: calc(13px * var(--beilv));" v-html="titleRightSVG" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const titleLeftSVG = `<svg
|
||||
width="56px"
|
||||
height="13px"
|
||||
width="100%"
|
||||
height="100%"
|
||||
viewBox="0 0 56 13"
|
||||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -59,8 +59,8 @@ const titleLeftSVG = `<svg
|
||||
</g>
|
||||
</svg>`
|
||||
const titleRightSVG = `<svg
|
||||
width="56px"
|
||||
height="13px"
|
||||
width="100%"
|
||||
height="100%"
|
||||
viewBox="0 0 56 13"
|
||||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -49,18 +49,21 @@ export default {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* justify-content: center; */
|
||||
justify-content: stretch;
|
||||
align-items: stretch;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
.trow:not(:last-of-type) {
|
||||
border-bottom: 1px solid #0d1728;
|
||||
}
|
||||
|
||||
.thead,
|
||||
.tbody {
|
||||
/* min-width: calc(100vw / 1920 * 96); */
|
||||
background-color: #20376080;
|
||||
background-color: rgba(33, 57, 97, 0.8);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
margin-right: 1px;
|
||||
text-align: left;
|
||||
padding-left: calc(12px * var(--beilv));
|
||||
padding-right: calc(12px * var(--beilv));
|
||||
@@ -70,16 +73,20 @@ export default {
|
||||
}
|
||||
|
||||
.thead {
|
||||
width: 25%;
|
||||
min-width: 25%;
|
||||
font-size: calc(14px * var(--beilv));
|
||||
line-height: 1.8;
|
||||
/* line-height: 1.8; */
|
||||
line-height: 2.1;
|
||||
flex: 0;
|
||||
}
|
||||
|
||||
.tbody {
|
||||
width: 24%;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
min-width: 24%;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
font-size: calc(12px * var(--beilv));
|
||||
line-height: 2;
|
||||
/* line-height: 2; */
|
||||
line-height: 2.3;
|
||||
flex: 1 0;
|
||||
}
|
||||
|
||||
.tbody:last-child {
|
||||
|
||||
Reference in New Issue
Block a user