29 lines
475 B
Vue
29 lines
475 B
Vue
<template>
|
|
<view class="shop-item">
|
|
<image></image>
|
|
<text>1</text>
|
|
</view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name:"shopItem",
|
|
}
|
|
</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> |