fix: BUG修改
This commit is contained in:
parent
c9485cf41b
commit
e3dcb853c1
@ -7,7 +7,7 @@
|
|||||||
<span :class="activeTab == 2 ? 'active-span' : ''" @click="changeActive(2)">施工要点</span>
|
<span :class="activeTab == 2 ? 'active-span' : ''" @click="changeActive(2)">施工要点</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-content">
|
<div class="text-content">
|
||||||
{{ activeTab == 0?props.dataObj.dangerPointIdentification:activeTab == 1?props.dataObj.riskControlMeasure:activeTab == 2?props.dataObj.constructionKeyPoint:'' }}
|
<div v-html="activeTab == 0?props.dataObj.dangerPointIdentification:activeTab == 1?props.dataObj.riskControlMeasure:activeTab == 2?props.dataObj.constructionKeyPoint:''"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -61,13 +61,16 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.text-content{
|
.text-content{
|
||||||
color: #fff;
|
div{
|
||||||
height: 500px;
|
font-size: 16px;
|
||||||
overflow-y: scroll;
|
color: #fff;
|
||||||
text-indent: 2em;
|
height: 500px;
|
||||||
margin-top: 20px;
|
overflow-y: scroll;
|
||||||
line-height: 25px;
|
text-indent: 2em;
|
||||||
letter-spacing: 0.3em;
|
margin-top: 20px;
|
||||||
|
line-height: 25px;
|
||||||
|
letter-spacing: 0.3em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user