page{ background-color: #F6F6F6; } .mian{ // 头部样式 .head{ position: fixed; z-index: 100; width: 100%; top: 0; left: 0; background:#FCF0F1; .head_search{ width: 517rpx; margin:0rpx 0px 0rpx 10px;; display: flex; align-items: center; background-color: #FFFFFF; height: 38px; border-radius: 50rpx; font-size: 28rpx; color: #000000; justify-content: space-between; .head_search_img{ width: 20px; height: 20px; margin-right: 13rpx; margin-left: 23rpx; } .head_search_input{ width: 500rpx; height: 100%; font-size: 28rpx; display: flex; align-items: center; } } .head_class{ white-space: nowrap; padding-left: 5px; height: 50px; line-height: 50px; position: relative; .head_class_scroll{ overflow: hidden; height: 50px; width: 90%; .head_class_item{ padding: 0rpx 10px 0rpx 10px; height: 50px; display: inline-block; .head_class_title{ font-size: 28rpx; color: #666666; text-align: center; height: 24px; line-height: 24px; } .head_class_active{ margin: 0 auto; width: 32px; height: 8px; display: block; } } .head_class_item_active{ .head_class_title{ font-size: 32rpx; color: #333333; font-weight: 500; } .head_class_active_img{ background: url(../../static/act.png); background-repeat: no-repeat; background-size: 100% 100%; width: 32px; height: 8px; } } } .head_class_btn{ position: absolute; top: 0; right: 0px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(252, 240, 241, 0.3); backdrop-filter: blur(2px); .head_class_arrow_box{ width: 30px; height: 30px; border-radius: 50%; background-color: #FFFFFF; position: relative; display: flex; align-items: center; justify-content: center; .head_class_arrow_box_img{ width: 50rpx; height: 50rpx; } } } } } // 商品区域样式 .shop_view{ padding: 13rpx 20rpx 0rpx 20rpx; display: flex; justify-content: space-between; background: linear-gradient(180deg, #FCF0F1 0%, #f6f6f6 50%); .shop_view_ul{ width: 346rpx; .shop_view_li{ background-color: #FFFFFF; border-radius: 20rpx; width: 100%; box-shadow: 0 4rpx 8rpx rgba(0,0,0,.05); margin-bottom: 20rpx; .shop_view_li_swiper{ width: 100%; height: 504rpx; .shop_view_li_swiper_item{ width: 100%; .shop_view_li_swiper_img_url{ width: 100%; height: 504rpx; display: block; border-radius: 20rpx; } } } .shop_view_img{ width: 100%; position: relative; height: 320rpx; .shop_view_tag{ width: 66rpx; height: 42rpx; position: absolute; z-index: 2; right: -15rpx; top: 20rpx; background: url(../../static/tag_img.png); background-repeat: no-repeat; background-size: 100% 100%; .shop_view_tag_text{ font-size: 20rpx; color: #FFFFFF; height: 30rpx; display: flex; align-items: center; justify-content: center; } } .shop_view_img_u{ width: 300rpx; position: absolute; z-index: 1; left: 20rpx; top: 20rpx; .shop_view_img_url{ width: 100%; height: 300rpx; display: block; } } } .shop_view_cont{ padding: 20rpx; .shop_view_cont_title{ font-size: 28rpx; font-weight: 500; color: #000000; min-height: 80rpx; } .shop_view_cont_desc{ color: #666666; font-size: 24rpx; } .shop_view_cont_tag{ display: flex; flex-wrap: wrap; .shop_view_cont_tag_text{ border-radius: 6rpx; border: 1rpx solid #FF6868; padding: 0rpx 10rpx; border-radius: 10rpx; color: #ff6868; font-size: 18rpx; margin-top: 10rpx; margin-right: 10rpx; } } } .shop_view_cont_bottom{ display: flex; align-items: center; justify-content: space-between; .shop_view_cont_price{ font-size: 32rpx; color: red; font-weight: 500; } .shop_view_cont_cart{ width: 65rpx; height: 65rpx; display: flex; align-items: center; justify-content: flex-end; .shop_view_cont_cart_img{ width: 40rpx; height: 40rpx; display: block; } } } } .shop_view_bcg{ background-color: inherit; } } } .price::before { content: '¥'; font-size: 24rpx; margin-right: 5rpx; } .prices::before { content: '¥'; font-size: 20rpx; margin-right: 5rpx; margin-left: 5rpx; } .market_name{ color: #999999; font-size: 23rpx; text-decoration: line-through; margin-left: 5rpx; font-weight: 400; } }