deming/components/shop/shop-item/index.vue

32 lines
520 B
Vue
Raw Normal View History

2020-06-11 09:34:23 +08:00
<template>
<view class="shop-item">
<image></image>
2020-06-18 14:57:26 +08:00
<text>{{ info.gc_name }}</text>
2020-06-11 09:34:23 +08:00
</view>
</template>
<script>
export default {
2020-06-18 14:57:26 +08:00
name:"shopItem",
props: {
info: Object
}
2020-06-11 09:34:23 +08:00
}
</script>
<style lang="scss" scoped>
.shop-item{
display: flex;
flex-direction: column;
align-items: center;
>image{
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
>text{
font-size: 24rpx;
color: #333;
margin-top: 14rpx;
}
}
</style>