6.18
This commit is contained in:
@@ -4,16 +4,11 @@
|
||||
商品推荐
|
||||
</view>
|
||||
<view class="label">
|
||||
<text>asd</text>
|
||||
<text>sda</text>
|
||||
<text>w3eq</text>
|
||||
<text>分类名称</text>
|
||||
<text v-for="item in classifyList" :key="item.gc_id">{{ item.gc_name }}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<item></item>
|
||||
<item></item>
|
||||
<item></item>
|
||||
<item></item>
|
||||
<item></item>
|
||||
<item v-for="item in goodsList" :key="item.goods_id" :info="item"></item>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -23,7 +18,11 @@ export default {
|
||||
name:"list",
|
||||
components:{
|
||||
item
|
||||
}
|
||||
},
|
||||
props: {
|
||||
classifyList: Array,
|
||||
goodsList: Array,
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@@ -38,9 +37,10 @@ export default {
|
||||
.label{
|
||||
display: flex;
|
||||
color: #999;
|
||||
|
||||
flex-wrap: wrap;
|
||||
>text{
|
||||
margin-right: 34rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
.item{
|
||||
|
||||
Reference in New Issue
Block a user