This commit is contained in:
yanran200730
2022-06-01 10:05:20 +08:00
parent 8511ba81ea
commit 867596892e
5 changed files with 7 additions and 7 deletions

View File

@@ -54,7 +54,7 @@
<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" v-if="!item.lastPhotoUrl" />
<image src="./../images/icon.png" :loading-img="$cdn + 'watermark/loading.png'" v-if="!item.lastPhotoUrl" />
<u-lazy-load class="item-img" :image="item.lastPhotoUrl" v-else img-mode="aspectFill"></u-lazy-load>
<div class="item-bottom">
<h2>{{ item.albumName }}</h2>
@@ -90,7 +90,7 @@
countPhotoNo: '',
countPhotographer: '',
list: [],
msgInfo: {}
msgInfo: {},
}
},
computed: { ...mapState(['user']) },

View File

@@ -29,10 +29,10 @@
computed: {
tabBar() {
const link = icon => `${this.$cdn}askform/${icon}.png`
const link = icon => `${this.$cdn}watermark/${icon}.png`
return [
{text: "相册", iconPath: "bdlb1", selectedIconPath: "bdlb2"},
{text: "组织", iconPath: "xjxm1", selectedIconPath: "xjxm2"}
{text: "相册", iconPath: "xiangce", selectedIconPath: "xiangce-active"},
{text: "组织", iconPath: "zuzhi", selectedIconPath: "zuzhi-active"}
].map(e => ({
...e,
iconPath: link(e.iconPath),