29820
This commit is contained in:
@@ -141,8 +141,8 @@
|
||||
this.list = res.data.map(v => {
|
||||
return {
|
||||
...v,
|
||||
workInTime: v.workInTime ? this.$dayjs(v.workInTime).format('hh:mm') : '',
|
||||
workOutTime: v.workOutTime ? this.$dayjs(v.workOutTime).format('hh:mm') : ''
|
||||
workInTime: v.workInTime ? this.$dayjs(v.workInTime).format('HH:mm') : '',
|
||||
workOutTime: v.workOutTime ? this.$dayjs(v.workOutTime).format('HH:mm') : ''
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
<div class="album-list__wrapper">
|
||||
<div class="item" v-for="(item, index) in list" :key="index" @click="linkTo('./AlbumDetail?id=' + item.id)">
|
||||
<span v-if="item.photoHasRead === 'NO'">未查看</span>
|
||||
<image src="./../images/icon.png" />
|
||||
<image src="./../images/icon.png" v-if="!item.lastPhotoUrl" />
|
||||
<image class="item-img" :src="item.lastPhotoUrl" v-else />
|
||||
<div class="item-bottom">
|
||||
<h2>{{ item.albumName }}</h2>
|
||||
<div class="item-bottom__info">
|
||||
@@ -332,6 +333,11 @@
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.item-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user