feat:添加职业信息的transferType字段;
This commit is contained in:
parent
eef022600d
commit
ca85e75101
@ -101,6 +101,7 @@
|
||||
:timestamp="i.transferTime"
|
||||
placement="top"
|
||||
>
|
||||
<div v-if="i.transferType" class="timeline-name">{{i.transferType}}</div>
|
||||
<p>{{i.transferRecord}}</p>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
@ -152,6 +153,17 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style lang='scss' scoped>
|
||||
.timeline-name {
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
left: 140px;
|
||||
background: #3e8ef7;
|
||||
color: #fff;
|
||||
padding: 6px 8px;
|
||||
font-size: 18px;
|
||||
transform: scale(0.5);
|
||||
border-radius: 8px;
|
||||
}
|
||||
.el-timeline {
|
||||
margin: 0 0 0 -40px;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user