mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 02:06:38 +08:00
Default images added in product list / search
This commit is contained in:
parent
ccae9db727
commit
78671d35b6
@ -105,7 +105,8 @@
|
||||
@click="selectproduce(item)"
|
||||
>
|
||||
<div class="rc-rccontair">
|
||||
<img :src="item.picture" alt="" />
|
||||
<img :src="item.picture" v-if="(item.picture && item.picture.length>0)" alt="" />
|
||||
<img src="/images/default.jpg" v-if="(!item.picture || item.picture.length<=0)" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="rc-column">
|
||||
|
@ -113,7 +113,8 @@
|
||||
@click="selectproduce(item)"
|
||||
>
|
||||
<div class="rc-rccontair">
|
||||
<img :src="item.picture" alt="" />
|
||||
<img :src="item.picture" v-if="(item.picture && item.picture.length>0)" alt="" />
|
||||
<img src="/images/default.jpg" v-if="(!item.picture || item.picture.length<=0)" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="rc-column">
|
||||
|
Loading…
Reference in New Issue
Block a user