|
@@ -10,7 +10,7 @@
|
|
|
width="38"
|
|
width="38"
|
|
|
height="38"
|
|
height="38"
|
|
|
:radius="32"
|
|
:radius="32"
|
|
|
- :class="{ activeAvatar: userInfo.useCollectionPic }"
|
|
|
|
|
|
|
+ :class="{ activeAvatar: isLogin && userInfo.useCollectionPic }"
|
|
|
:src="isLogin ? userInfo.avatar : require('@assets/img_default_photo.png')"
|
|
:src="isLogin ? userInfo.avatar : require('@assets/img_default_photo.png')"
|
|
|
></van-image>
|
|
></van-image>
|
|
|
</div>
|
|
</div>
|
|
@@ -24,7 +24,7 @@
|
|
|
v-if="banners.length > 0"
|
|
v-if="banners.length > 0"
|
|
|
>
|
|
>
|
|
|
<swiper-slide v-for="item in banners" :key="item.id">
|
|
<swiper-slide v-for="item in banners" :key="item.id">
|
|
|
- <product-small :info="item"></product-small>
|
|
|
|
|
|
|
+ <product-small :info="item"></product-small>
|
|
|
</swiper-slide>
|
|
</swiper-slide>
|
|
|
</swiper>
|
|
</swiper>
|
|
|
|
|
|