123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- .wrap {
- width: 100%;
- display: flex;
- flex-direction: column;
- padding-top: 84rpx;
- }
- .tab-list {
- width: 100%;
- height: 84rpx;
- display: flex;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 999;
- background-color: #F6F6F6;
- }
- .child {
- flex: 1;
- height: 84rpx;
- line-height: 84rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 30rpx;
- color: #202020;
- position: relative;
- }
- .child.active {
- color: #F2501A;
- font-weight: bold;
- }
- .child.active::after {
- content: "";
- width: 72rpx;
- height: 2px;
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translate(-50%, 0);
- background-color: #F2501A;
- }
- .bg {
- width: 100%;
- }
- .top-module {
- width: 100%;
- border-radius: 32rpx 32rpx 0 0;
- background: linear-gradient(180deg, #FFFFFF, #F8F8F8, #FFFFFF);
- margin-top: -20rpx;
- z-index: 10;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- padding: 20rpx 24rpx 4rpx;
- box-sizing: border-box;
- margin-bottom: 30rpx;
- }
- .top-module-item {
- width: calc(50% - 11rpx);
- height: fit-content;
- display: flex;
- flex-direction: column;
- background-color: #FFFFFF;
- border-radius: 16rpx;
- margin-bottom: 20rpx;
- padding: 0 22rpx 24rpx;
- box-sizing: border-box;
- }
- .top-module-item-name {
- width: 100%;
- height: 82rpx;
- display: flex;
- align-items: center;
- color: #202020;
- font-size: 32rpx;
- }
- .top-module-item-img {
- width: 100%;
- height: 234rpx;
- border-radius: 8rpx;
- }
- .product-item-column2 {
- width: 100%;
- height: 100%;
- border-radius: 12rpx;
- display: flex;
- flex-direction: column;
- }
- .product-item-column2-img {
- width: 100%;
- height: 340rpx;
- border-radius: 12rpx 12rpx 0 0;
- }
- .product-item-column2-bottom {
- width: 100%;
- height: calc(100% - 340rpx);
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- padding: 16rpx;
- box-sizing: border-box;
- border-radius: 0 0 12rpx 12rpx;
- }
- .product-item-column-name2 {
- width: 100%;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-box-orient: vertical;
- color: #202020;
- font-weight: bold;
- font-size: 26rpx;
- }
- .product-item-column2-row-between {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .product-item-column2-btn {
- width: 40rpx;
- height: 40rpx;
- line-height: 40rpx;
- border-radius: initial;
- }
- .product-item-column2-btn image {
- width: 100%;
- height: 100%;
- }
- .product-item-column2-price {
- color: #F2501A;
- font-size: 28rpx;
- }
- .product-item-column2-price>text {
- color: #919191;
- font-size: 24rpx;
- margin-left: 6rpx;
- text-decoration: line-through;
- }
- .product-list {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- padding: 20rpx 24rpx 0;
- box-sizing: border-box;
- }
- .product-item {
- width: calc(50% - 11rpx);
- height: 500rpx;
- border-radius: 12rpx;
- background-color: #fff;
- margin-bottom: 20rpx;
- }
- .bottom {
- width: 100%;
- display: flex;
- flex-direction: column;
- padding: 0 24rpx;
- box-sizing: border-box;
- margin-top: 4rpx;
- }
- .bottom-label {
- width: 100%;
- position: relative;
- color: #000000;
- font-size: 32rpx;
- font-weight: bold;
- padding: 16rpx 24rpx;
- box-sizing: border-box;
- }
- .bottom-label::after {
- content: "";
- width: 6rpx;
- height: 34rpx;
- background-color: #F2501A;
- position: absolute;
- left: 0;
- top: 50%;
- transform: translate(0, -50%);
- }
- .featured-list {
- width: 100%;
- display: flex;
- flex-direction: column;
- }
- .featured-item {
- width: 100%;
- padding: 0 24rpx;
- box-sizing: border-box;
- background-color: #fff;
- display: flex;
- flex-direction: column;
- border-radius: 16rpx;
- margin-bottom: 20rpx;
- }
- .featured-item-top {
- width: 100%;
- height: 82rpx;
- line-height: 82rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .featured-name {
- width: 80%;
- color: #202020;
- font-size: 30rpx;
- font-weight: bold;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-box-orient: vertical;
- }
- .featured-msg {
- width: 100%;
- font-weight: bold;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-box-orient: vertical;
- color: #777777;
- font-size: 26rpx;
- margin-bottom: 20rpx;
- }
- .featured-img {
- width: 100%;
- height: 336rpx;
- border-radius: 16rpx;
- }
- .look-btn {
- width: 104rpx;
- height: 40rpx;
- line-height: 40rpx;
- background-color: #fff;
- border-radius: 100rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #919191;
- font-size: 24rpx;
- border: 1px solid #E6E6E6;
- box-sizing: border-box;
- }
- .featured-tag {
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-box-orient: vertical;
- color: #202020;
- font-size: 26rpx;
- font-weight: bold;
- }
|