123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- .product-list-wrap {
- margin: 21px 16px 0;
- background: #FFFFFF;
- border-radius: 16px;
- position: relative;
- .product-item {
- padding: 27px 20px 27px 17px;
- display: flex;
- align-items: center;
- // 单选框内容
- .at-checkbox::after,
- .at-checkbox::before {
- content: none;
- }
- .at-checkbox__option-wrap {
- padding: 0 15px 0 0;
- }
- .at-checkbox__option {
- padding: 0;
- }
- .at-checkbox__option--selected .at-checkbox__icon-cnt {
- background-color: #f6c71a;
- }
- .at-checkbox__icon-cnt {
- margin-right: 0;
- }
- .right {
- display: flex;
- }
- .product-img {
- width: 260px;
- height: 256px;
- margin-right: 20px;
- flex-shrink: 0;
- }
- .product-info {
- flex: 1;
- min-width: 0; // 解决flex布局下文本溢出问题
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .product-name {
- font-size: 28px;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- /* autoprefixer: ignore next */
- -webkit-box-orient: vertical;
- line-height: 42px;
- .self-tag {
- padding: 2px 8px;
- background: #FFD43A;
- border-radius: 4px;
- color: #803A04;
- font-size: 24px;
- line-height: 28px;
- margin-right: 8px;
- vertical-align: middle;
- }
- }
- .price-line {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .price-info {
- display: flex;
- align-items: baseline;
- .symbol {
- font-size: 22px;
- color: #FF1D17;
- }
- .price {
- font-size: 36px;
- color: #FF1D17;
- font-weight: bold;
- margin-right: 8px;
- }
- .original-price {
- font-size: 26px;
- color: #999999;
- text-decoration: line-through;
- }
- }
- .add-btn {
- position: relative;
- width: 158px;
- height: 58px;
- .join-store-bg {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .btn-text {
- padding-left: 8px;
- position: absolute;
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #FFFFFF;
- font-size: 24px;
- z-index: 1;
- }
- }
- }
- .profit-line {
- display: flex;
- gap: 20px;
- .save-money {
- color: #F6C71A;
- display: flex;
- align-items: center;
- justify-content: center;
- .content {
- width: 74px;
- height: 88px;
- font-size: 28px;
- line-height: 41px;
- text-align: center;
- }
- }
- .share-earn {
- color: #fff;
- }
- .save-money,
- .share-earn {
- position: relative;
- width: 192px;
- height: 84px;
- .bg {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .content {
- position: relative;
- z-index: 1;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: 28px;
- // 清除Button默认样式
- Button {
- padding: 0;
- margin: 0;
- background: none;
- border: none;
- line-height: normal;
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: 28px;
- color: #FFFFFF;
- &::after {
- border: none;
- }
- }
- .button-hover {
- background-color: transparent !important;
- /* 移除背景高亮 */
- box-shadow: none !important;
- /* 移除可能的阴影 */
- }
- .label,
- .money {
- line-height: 41px;
- }
- }
- }
- }
- }
- }
- .divider {
- height: 1px;
- margin: 0 17px 0 20px;
- border-top: 1px dashed #D8D8D8;
- }
- .seckill-icon {
- padding: 18px 0 0 17px;
- font-size: 26px;
- font-weight: bold;
- Image {
- height: 26px;
- width: 26px;
- margin-right: 10px;
- }
- }
- .loading {
- width: 100%;
- position: relative;
- height: 60px;
- }
- .no-more {
- width: 100%;
- height: 60px;
- text-align: center;
- font-size: 20px;
- line-height: 60px;
- margin-top: 20px;
- color: #999999;
- }
- }
|