添加了时间top
This commit is contained in:
parent
8d38b222d7
commit
ad40d7749e
@ -46,7 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-for="i in 7" :key="i" >
|
<div v-for="i in 7" :key="i" >
|
||||||
<div class="day">
|
<div class="day">
|
||||||
<div :class="zhuangtai(week.date[i -1].list[item - 1].zhuangtai)" v-if="week.date[i -1].list[item - 1].title != ''">
|
<div :class="zhuangtai(week.date[i -1].list[item - 1].zhuangtai)" v-if="week.date[i -1].list[item - 1].title != ''" :style="{'top': (week.date[i -1].list[item - 1].start / 60 * 0.63) + 'rem', 'min-height': (week.date[i -1].list[item - 1].num / 60 * 0.63) + 'rem' }">
|
||||||
<div class="one-line-hide" style="max-width: 1.5rem">
|
<div class="one-line-hide" style="max-width: 1.5rem">
|
||||||
{{week.date[i -1].list[item - 1].title}}
|
{{week.date[i -1].list[item - 1].title}}
|
||||||
</div>
|
</div>
|
||||||
@ -64,6 +64,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.head {
|
.head {
|
||||||
width: 1320px;
|
width: 1320px;
|
||||||
height: 57px;
|
height: 57px;
|
||||||
@ -144,6 +145,7 @@
|
|||||||
}
|
}
|
||||||
.body {
|
.body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
.row {
|
.row {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
height: 63px;
|
height: 63px;
|
||||||
@ -165,8 +167,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
color: #111;
|
color: #111;
|
||||||
|
position: relative;
|
||||||
> div {
|
> div {
|
||||||
|
position: absolute;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user