组件
<template>
<view class="shop-cell">
<image v-if="index == 0" class="shopItem" src="../../static/logo.png"></image>
<view class="flex">
<view else class="shopItemDefault">
<image class="shopimg" src="../../static/shuijiao.jpg"></image>
<view class="cell-title">淘气城堡</view>
</view>
</view>
</view>
</template>
<script>
export default {
props: {
shopListItem: '',
index: ''
}
};
</script>
<style>
.shopItem {
width: 44.85vw;
height: 44.85vw;
background: #ffffff;
border-radius: 6upx;
}
.shopItemDefault {
width: 44.85vw;
height: 52.332vw;
background: #ffffff;
border-radius: 6upx;
}
.shopimg {
width: 44.85vw;
height: 29.904vw;
}
.shop-cell{
margin-top: 2.67vw;
b