|
|
|
<template>
|
|
|
|
<div class="container">
|
|
|
|
<!-- 顶部信息 -->
|
|
|
|
<div class="containertop">
|
|
|
|
<div class="topleft">
|
|
|
|
<img src="../../../assets/images/detailsicon/1.png" alt="">
|
|
|
|
<span>五要素模型信息</span>
|
|
|
|
</div>
|
|
|
|
<div class="topright">
|
|
|
|
<el-button type="primary" size="medium" plain
|
|
|
|
style="border: none;background-color: rgba(43,98,241,0.1);color: #2B62F1;">
|
|
|
|
<img src="../../../assets/images/detailsicon/icon-bj@2x.png" alt="编辑"
|
|
|
|
style="width: 0.6rem; height: 0.6rem; margin-right: 4px;">
|
|
|
|
编辑
|
|
|
|
</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 内容区 -->
|
|
|
|
<div class="content">
|
|
|
|
<div class="descriptionsdiv">
|
|
|
|
<div>
|
|
|
|
<table class="custom-table">
|
|
|
|
<tr v-for="(row, index) in tableData" :key="index">
|
|
|
|
<td class="left-column">{{ row.left }}</td>
|
|
|
|
<td class="right-columns"><span class="label-color">{{ row.label1 }}</span> {{ row.right1 }}</td>
|
|
|
|
<td class="right-columns"><span class="label-color">{{ row.label2 }}</span> {{ row.right2 }}</td>
|
|
|
|
<td class="right-columns"><span class="label-color">{{ row.label3 }}</span> {{ row.right3 }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: "CustomTable",
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
tableData: [
|
|
|
|
{ left: "环保安全", label1: "危险等级:", right1: "7.65", label2: "生产火灾危险等级:", right2: "丙类", label3: "环境保护: ", right3: "无" },
|
|
|
|
{ left: "设备载重", label1: "设备载重:", right1: "无", label2: "", right2: "", label3: "", right3: "" },
|
|
|
|
{ left: "垂直交通", label1: "货梯要求:", right1: "原材料质量是否<3吨", label2: "货梯要求:", right2: "1人/15m³", label3: "", right3: "" },
|
|
|
|
{ left: "减震措施", label1: "加工精度:", right1: "纳米级", label2: "减震措施:", right2: "无", label3: "", right3: "" },
|
|
|
|
{ left: "工艺需求", label1: "生产类型:", right1: "无", label2: "层高要求:", right2: "无", label3: "", right3: "" },
|
|
|
|
],
|
|
|
|
props: {
|
|
|
|
size: {
|
|
|
|
type: String,
|
|
|
|
default: 'mini'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
box-shadow: 0rem 0.13rem 0.63rem 0rem rgba(177, 177, 177, 0.1);
|
|
|
|
border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
padding: 1rem;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.containertop {
|
|
|
|
height: auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: .7rem 0;
|
|
|
|
padding: .5rem;
|
|
|
|
border-bottom: 1px solid #E5E5E5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topleft {
|
|
|
|
width: 8rem;
|
|
|
|
display: flex;
|
|
|
|
gap: 0.4rem;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topleft img {
|
|
|
|
width: 0.81rem;
|
|
|
|
height: 0.81rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topleft span {
|
|
|
|
width: auto;
|
|
|
|
height: 0.88rem;
|
|
|
|
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 0.88rem;
|
|
|
|
color: #3D424C;
|
|
|
|
line-height: 0.88rem;
|
|
|
|
text-align: right;
|
|
|
|
font-style: normal;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.picturediv {
|
|
|
|
width: 18.31rem;
|
|
|
|
height: 25.31rem;
|
|
|
|
background-color: lightblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.descriptionsdiv {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 1rem;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.two-row-item {
|
|
|
|
height: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border: 1px solid #E6EAF2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-table th,
|
|
|
|
.custom-table td {
|
|
|
|
padding: 8px;
|
|
|
|
text-align: left;
|
|
|
|
border-top: 1px solid #E6EAF2;
|
|
|
|
border-bottom: 1px solid #E6EAF2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-column {
|
|
|
|
border-right: 1px solid #E6EAF2;
|
|
|
|
background-color: #F4F7FE;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-columns {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
.label-color{
|
|
|
|
color: #808080;
|
|
|
|
}
|
|
|
|
</style>
|