<template>
<view class="like">
<view class="like_list">
<view class="list_like_item" v-for="(item,index) in list" :key="index">
<view class="list_item">
<view class="list_item_image">
<image :src="item.image" mode="heightFix"></image>
</view>
<view class="list_item_footer">
<view class="list_item_name">
{{item.name}}
</view>
<view class="list_item_number">
收藏于2021-10-28
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list: [{
image: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
name: "Virtual Clothing系列系列系列系列",
authImage: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
authName: "",
limi: 10000,
}, {
image: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
name: "Virtual Clothing系列",
authImage: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
authName: "",
limi: 10000,
}, {
image: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
name: "Virtual Clothing系列",
authImage: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
authName: "",
limi: 10000,
},
{
image: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
name: "Virtual Clothing系列",
authImage: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F11780621658%2F0.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1619914935&t=7d98cfe6b5a2634598fc7bda871aa7c9",
authName: "",
limi: 10000,
}
],
}
},
}
</script>
<style lang="scss" scoped>
.like {
padding: 20rpx 30rpx;
.like_list {
margin-top: 30rpx;
column-count: 2;
column-gap: 20rpx;
.list_like_item {
overflow: hidden;
margin-bottom: 20rpx;
.list_item {
background: #2E2E2E;
border-radius: 16rpx;
padding-bottom: 20rpx;
.list_item_image {
border-top-left-radius: 16rpx;
border-top-right-radius: 16rpx;
overflow: hidden;
}
image {
// width: 100%;
}
.list_item_footer {
padding: 0 20rpx;
}
.list_item_name {
// margin-top: 20rpx;
line-height: 50rpx;
font-size: 26rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
}
.list_item_number{
font-size: 24rpx;
// font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
opacity: 0.5;
}
.limt_list {
padding: 20rpx 0;
}
.limt {
display: flex;
.limt_left {
padding: 10rpx 20rpx;
font-size: 22rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #321700;
border: 1px solid #F5D69F;
background-color: #F5D69F;
}
.limt_right {
padding: 10rpx 20rpx;
font-size: 22rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #F5D69F;
border: 1px solid #1E1E1E;
background-color: #1E1E1E;
}
}
}
}
}
}
</style>
uniapp商品瀑布流
于 2022-10-27 15:25:22 首次发布