.shop-info { width: 100%; height: 220rpx; border: 1rpx solid #ECECEC; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 20rpx 30rpx; box-sizing: border-box; margin-bottom: 10rpx; background-color: #fff; >.shopimg { width: 150rpx; height: 150rpx; >.img { width: 100%; height: 100%; } } .shopmsg { flex: 2; height: 200rpx; margin-left: 50rpx; display: flex; flex-direction: column; justify-content: space-around; >.shopview { display: flex; justify-content: space-between; } /* 处理定位图标上移的问题 */ >.shop-address { position: relative; padding-left: 45rpx; .address-icon { position: absolute; top: -6rpx; left: 0; } } /* 新品促销标签 */ .mark { width: 105rpx; height: 30rpx; line-height: 30rpx; text-align: center; border-radius: 30rpx; } .discount { color: #E359A8; border: 1px solid#E359A8; } .new { border: 1px solid #80CB5F; color: #80CB5F; } } } .c-202020 { color: #202020; } .c-707070 { color: #707070; } .f12 { font-size: 12px; } .f15 { font-size: 15px; }