2020-06-11 16:12:04 +08:00
|
|
|
<template>
|
|
|
|
<view class="list">
|
2020-06-11 16:37:52 +08:00
|
|
|
<view class="top">
|
|
|
|
商品推荐
|
|
|
|
</view>
|
|
|
|
<view class="label">
|
|
|
|
<text>asd</text>
|
|
|
|
<text>sda</text>
|
|
|
|
<text>w3eq</text>
|
|
|
|
</view>
|
|
|
|
<view class="item">
|
|
|
|
<item></item>
|
|
|
|
<item></item>
|
|
|
|
<item></item>
|
|
|
|
<item></item>
|
|
|
|
<item></item>
|
|
|
|
</view>
|
2020-06-11 16:12:04 +08:00
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script>
|
2020-06-11 16:37:52 +08:00
|
|
|
import item from "./item"
|
2020-06-11 16:12:04 +08:00
|
|
|
export default {
|
2020-06-11 16:37:52 +08:00
|
|
|
name:"list",
|
|
|
|
components:{
|
|
|
|
item
|
|
|
|
}
|
2020-06-11 16:12:04 +08:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.list{
|
2020-06-11 16:37:52 +08:00
|
|
|
.top{
|
|
|
|
font-size: 30rpx;
|
|
|
|
height: 90rpx;
|
|
|
|
line-height: 90rpx;
|
|
|
|
text-align: center;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
.label{
|
|
|
|
display: flex;
|
|
|
|
color: #999;
|
2020-06-11 16:12:04 +08:00
|
|
|
|
2020-06-11 16:37:52 +08:00
|
|
|
>text{
|
|
|
|
margin-right: 34rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.item{
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
|
|
|
}
|
2020-06-11 16:12:04 +08:00
|
|
|
}
|
|
|
|
</style>
|