123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- .list {
- display: flex;
- align-items: center;
- width: 690rpx;
- min-height: 278rpx;
- padding: 20rpx 22rpx 34rpx 28rpx;
- margin: 0 auto 20rpx;
- border-radius: 24rpx;
- background: rgba(255, 255, 255, 1);
- box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.1);
- }
- .goods-cover-wrap {
- width: 224rpx;
- height: 224rpx;
- border-radius: 16rpx;
- overflow: hidden;
- .goods-cover {
- display: block;
- width: 100%;
- height: 100%;
- }
- }
- .goods-describe {
- width: calc(100% - 224rpx);
- padding-left: 24rpx;
- }
- .name-wrap {
- display: flex;
- &.has-tag {
- .name {
- max-width: calc(100% - 46rpx);
- }
- }
- .name {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- font-size: 32rpx;
- line-height: 46rpx;
- color: rgba(31, 51, 73, 1);
- word-break: break-all;
- word-wrap: break-word;
- overflow: hidden;
- }
- .tag {
- width: 46rpx;
- height: 26rpx;
- margin-top: 10rpx;
- margin-left: 6rpx;
- border-radius: 12rpx;
- background: rgba(255, 76, 44, 1);
- font-size: 16rpx;
- line-height: 26rpx;
- color: rgba(255, 255, 255, 1);
- text-align: center;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- .price-wrap {
- display: flex;
- align-items: flex-end;
- margin-top: 16rpx;
- .now {
- display: flex;
- align-items: center;
- .unit,
- .yuan,
- .jiao {
- font-size: 28rpx;
- line-height: 32rpx;
- color: rgba(31, 51, 73, 1);
- }
- }
- .old {
- margin-left: 26rpx;
- font-size: 20rpx;
- line-height: 28rpx;
- color: rgba(31, 51, 73, 0.6);
- text-decoration: line-through;
- }
- }
- .star-words {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- margin-top: 16rpx;
- font-size: 24rpx;
- line-height: 32rpx;
- color: rgba(183, 191, 206, 1);
- word-break: break-all;
- word-wrap: break-word;
- overflow: hidden;
- }
- .key-words-list {
- display: flex;
- flex-flow: row wrap;
- width: 100%;
- padding-top: 14rpx;
- margin-top: 14rpx;
- border-top: 1rpx solid rgba(183, 191, 206, 1);
- .key-words {
- display: flex;
- align-items: center;
- margin-left: 12rpx;
- margin-top: 14rpx;
- }
- .key-words:nth-of-type(2n + 1) {
- margin-left: 0;
- }
- .label {
- width: 12rpx;
- height: 22rpx;
- background-color: pink;
- }
- .value {
- width: 125rpx;
- margin-left: 2rpx;
- font-size: 16rpx;
- line-height: 24rpx;
- color: rgba(128, 128, 128, 1);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
|