非空判断
This commit is contained in:
parent
13cef0b0bf
commit
0be3e9b263
@ -83,7 +83,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<span class="info-label">职称 / 职务:</span>
|
<span class="info-label">职称 / 职务:</span>
|
||||||
<span class="info-value">{{ teacher.basicInformation.name2 }} / {{ teacher.basicInformation.name3 }}</span>
|
<span class="info-value">{{ teacher.basicInformation.name2 }}{{ teacher.basicInformation.name3 ? ' / ' + teacher.basicInformation.name3 : '' }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<span class="info-label">所属院校:</span>
|
<span class="info-label">所属院校:</span>
|
||||||
@ -398,6 +398,11 @@ const openTeacherDetail = (teacher) => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.teacher-info span{
|
.teacher-info span{
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
.evaluation-page {
|
.evaluation-page {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -206,6 +206,10 @@ h2{
|
|||||||
|
|
||||||
.info-value {
|
.info-value {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
/* white-space: nowrap; */
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ========= 按钮样式 ========= */
|
/* ========= 按钮样式 ========= */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user