优化
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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']) },
|
||||
|
||||
@@ -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),
|
||||
|
||||
BIN
src/saas/AppCountryAlbum/images/loading.png
Normal file
BIN
src/saas/AppCountryAlbum/images/loading.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
Reference in New Issue
Block a user