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

@@ -48,7 +48,7 @@
<div class="photo-item__wrapper">
<div class="photo-item" @click="linkTo('./Photo?id=' + item.id)" v-for="(item, index) in list" :key="index">
<!-- <image :src="item.photoUrl" mode="aspectFill" /> -->
<u-lazy-load :image="item.photoUrl" img-mode="aspectFill"></u-lazy-load>
<u-lazy-load :image="item.photoUrl" :loading-img="$cdn + 'watermark/loading.png'" img-mode="aspectFill"></u-lazy-load>
<div class="photo-item__text">
<h2><AiOpenData v-if="item.createUserId" type="userName" :openid="item.createUserId"></AiOpenData></h2>
<p>{{ item.createTime }}</p>

View File

@@ -1,7 +1,7 @@
<template>
<div class="EditAlbum" v-if="pageShow">
<div class="img-item" v-for="(item, index) in list" :key="index" @click="choose(index)">
<u-lazy-load class="img" :image="item.photoUrl" img-mode="aspectFill"></u-lazy-load>
<u-lazy-load class="img" :loading-img="$cdn + 'watermark/loading.png'" :image="item.photoUrl" img-mode="aspectFill"></u-lazy-load>
<span class="icon" v-if="!item.checked"></span>
<image class="icon" v-else src="./images/img-choose.png" />
</div>

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),

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB