2***@qq.com
(作者)
回复
爱豆豆 : ```
<template>
<view>
<view class="goodsItem">
<image src="" class="image"></image>
<view class="title">这是商品标题这是商品标题</view>
</view>
</view>
</template>
<style lang="scss">
.goodsItem {
width: 326rpx;
background: #FFFFFF;
box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.16);
border-radius: 16rpx;
padding-bottom: 28rpx;
margin-bottom: 28rpx;
box-sizing: border-box;
overflow: hidden;
.image {
display: block;
width: 326rpx;
height: 284rpx;
margin-bottom: 14rpx;
}
.title{
padding: 0 24rpx;
font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #1D2129;
line-height: 38rpx;
text-align: justify;
}
}
</style>
```
2023-11-15 18:39