lb #22

Merged
gtz217 merged 2 commits from lb into master 2022-12-01 08:57:55 +08:00
2 changed files with 14 additions and 11 deletions

View File

@ -7,7 +7,7 @@
--> -->
<template> <template>
<div class="visual-base-table-container"> <div class="visual-base-table-container">
<el-table class="techy-el-table" v-loading="isLoading" :data="renderData" border height="100%"> <el-table v-loading="isLoading" class="techy-el-table" :data="renderData" border height="100%">
<el-table-column <el-table-column
v-if="page && limit && showIndex" v-if="page && limit && showIndex"
prop="_pageIndex" prop="_pageIndex"
@ -29,7 +29,7 @@
:inject-data="{ ...scope.row, ...item }" :inject-data="{ ...scope.row, ...item }"
@emitData="emitData" @emitData="emitData"
/> />
<span v-else>{{ scope.row[item.prop] | commonFilter(item.filter) }}</span> <span v-else :title="scope.row[item.prop]">{{ scope.row[item.prop] | commonFilter(item.filter) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<slot name="content" /> <slot name="content" />

View File

@ -318,20 +318,14 @@ export default {
.techy-body-part__middle { .techy-body-part__middle {
position: absolute; position: absolute;
/* background: #ff3311; */
top: 0; top: 0;
right: calc(-16px * var(--beilv)); right: calc(-16px * var(--beilv));
} transform: translateX(100%);
.techy-body-part__middle .techy-box {
position: absolute;
top: 0;
left: 0;
height: calc(128px * var(--beilv));
width: calc(188px * var(--beilv));
} }
.techy-body-part__middle__inner { .techy-body-part__middle__inner {
height: 100%; /* height: 100%; */
padding: calc(16px * var(--beilv)); padding: calc(16px * var(--beilv));
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -346,8 +340,17 @@ export default {
line-height: 1.5; line-height: 1.5;
color: #fff; color: #fff;
display: flex; display: flex;
min-width: calc(168px * var(--beilv));
} }
.techy-body-part__middle__inner p:not(:last-child) {
margin-bottom: calc(8px * var(--beilv));
}
/* .techy-body-part__middle__inner p > b {
width: calc(90px * var(--beilv));
} */
.techy-body-part__middle__inner p > span { .techy-body-part__middle__inner p > span {
position: relative; position: relative;
padding-left: calc(16px * var(--beilv)); padding-left: calc(16px * var(--beilv));