@charset "UTF-8"; /* 页面左右间距 */ /* 文字尺寸 */ /*文字颜色*/ /* 边框颜色 */ /*颜色*/ /* 图片加载中颜色 */ /* 行为相关颜色 */ /* 功能栏字体大小 */ /*功能栏左侧小图标*/ page, .container { height: auto; min-height: 100%; background: #ffffff; } .titleNview-placing { height: 25px; box-sizing: content-box; } .bg { position: absolute; top: 0; left: 0; width: 750rpx; height: 460rpx; background: linear-gradient(#ff4c4c, #ffffff); } .main-title { padding: 20rpx 0 0; text-align: center; position: relative; z-index: 2; font-size: 36rpx; font-family: PingFang SC; font-weight: bold; color: #ffffff; } .top-search { margin-top: 30rpx; height: 80rpx; padding: 0 20rpx; } .top-search .search-box { position: relative; z-index: 2; justify-content: center; width: 740rpx; height: 60rpx; background: #fff; border-radius: 30rpx; } .top-search .search-box .search { width: 26rpx; height: 30rpx; } .top-search .search-box .search-font input { width: 500rpx; margin-left: 14rpx; font-size: 28rpx; font-family: PingFang SC; font-weight: 500; color: #aaaaaa; } .banner { margin: 20rpx auto 0; width: 690rpx; height: 350rpx; } .banner .banner-item { width: 690rpx; height: 350rpx; } .banner .banner-item image { width: 100%; height: 100%; } .product-box { margin-top: 20rpx; background: #ffffff; padding: 26rpx 30rpx 20rpx; } .product-box .product-title { margin: 0 auto; position: relative; width: 352rpx; display: flex; align-items: center; } .product-box .product-title .pt-title { width: 352rpx; text-align: center; font-size: 35rpx; font-family: Source Han Sans CN; font-weight: 500; color: #ff4c4c; } .product-box .product-title .pt-bg { position: absolute; top: 0; left: 0; right: 0; width: 352rpx; height: 9rpx; } .product-box .product-title .pt-bg image { width: 100%; height: 100%; } .product-box .hotgoods { width: 100%; padding: 0 0 30rpx; } .product-box .hotgoods .hotgoods-item { position: relative; padding: 20rpx 15rpx; margin: 20rpx auto 0; width: 710rpx; background: #ffffff; box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06); border-radius: 10rpx; display: flex; align-items: center; } .product-box .hotgoods .hotgoods-item .btn { position: absolute; right: 35rpx; bottom: 25rpx; width: 137rpx; height: 52rpx; background: #ff4c4c; border-radius: 26rpx; text-align: center; line-height: 52rpx; font-size: 26rpx; font-family: PingFang SC; font-weight: 500; color: #ffffff; } .product-box .hotgoods .hotgoods-item .image-wrapper { flex-shrink: 0; width: 236rpx; height: 236rpx; border-radius: 10px; } .product-box .hotgoods .hotgoods-item .image-wrapper .image { width: 100%; height: 100%; opacity: 1; } .product-box .hotgoods .hotgoods-item .hotgoods-right { margin-left: 20rpx; height: 100%; display: flex; flex-direction: column; justify-content: space-between; } .product-box .hotgoods .hotgoods-item .title { padding-top: 10rpx; font-size: 32rpx; font-family: PingFang SC; font-weight: bold; color: #333333; } .product-box .hotgoods .hotgoods-item .song { display: flex; align-items: center; } .product-box .hotgoods .hotgoods-item .song .song-icon { width: 40rpx; height: 30rpx; } .product-box .hotgoods .hotgoods-item .song .song-font { margin-left: 8rpx; font-size: 24rpx; font-family: PingFang SC; font-weight: 500; color: #b59467; background: linear-gradient(0deg, #bb9159 0%, #e6c79d 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .product-box .hotgoods .hotgoods-item .hot-price { display: flex; justify-content: flex-start; align-items: center; padding: 20rpx 0 10rpx; } .product-box .hotgoods .hotgoods-item .hot-price .price { margin-left: 10rpx; font-size: 36rpx; font-family: PingFang SC; font-weight: bold; color: #ff4c4c; } .product-box .hotgoods .hotgoods-item .hot-price .yuanPrice { margin-left: 10rpx; font-size: 26rpx; font-family: PingFang SC; font-weight: 500; text-decoration: line-through; color: #999999; } .main-box { background-color: #ffffff; margin-top: 20rpx; padding: 22rpx 30rpx; } .main-box .main-top { display: flex; justify-content: flex-start; align-items: center; } .main-box .main-top .main-icon { width: 36rpx; height: 36rpx; } .main-box .main-top .main-title { margin-left: 8rpx; font-size: 32rpx; font-family: Source Han Sans CN; font-weight: 500; color: #333333; } .main-box .main-top .main-synopsis { margin-left: 16rpx; font-size: 20rpx; font-family: PingFang SC; font-weight: bold; color: #95a0b1; } .main-box .main-content { width: 690rpx; background: #f4f4f4; border-radius: 12rpx; margin: 20rpx auto 0; padding-bottom: 10rpx; } .main-box .main-content .xfq { background: linear-gradient(43deg, #ffc063, #ffa163) !important; } .main-box .main-content .content-top { width: 690rpx; background: linear-gradient(43deg, #73deb2, #52c696); border-radius: 12rpx 12rpx 0px 0px; padding: 24rpx 22rpx 68rpx 27rpx; } .main-box .main-content .content-top .content-font .content-title { font-size: 32rpx; font-family: Source Han Sans CN; font-weight: 500; color: #ffffff; } .main-box .main-content .content-top .content-font .content-synopsis { margin-top: 10rpx; font-size: 24rpx; font-family: Source Han Sans CN; font-weight: 400; color: #ffffff; } .main-box .main-content .content-top .go { width: 30rpx; height: 35rpx; transform: rotate(180deg); -ms-transform: rotate(180deg); /* Internet Explorer */ -moz-transform: rotate(180deg); /* Firefox */ -webkit-transform: rotate(180deg); /* Safari 和 Chrome */ -o-transform: rotate(180deg); /* Opera */ } .main-box .commodity { width: 670rpx; background: #ffffff; border-radius: 8rpx; padding: 2rpx; margin: -50rpx auto 0; flex-wrap: wrap; justify-content: flex-start; } .main-box .commodity .commodity-item { width: 33%; padding: 14rpx 30rpx 22rpx; } .main-box .commodity .commodity-item .commodity-image { width: 160rpx; height: 160rpx; } .main-box .commodity .commodity-item .commodity-title { margin-top: 14rpx; width: 162rpx; font-size: 24rpx; font-family: PingFang SC; font-weight: bold; color: #3f3f3f; } .main-box .commodity .commodity-item .price { font-size: 24rpx; font-family: PingFang SC; font-weight: 500; color: #999999; } .main-box .commodity .commodity-item .vip-price { font-size: 30rpx; font-family: PingFang SC; font-weight: bold; color: #ff6f0f; } .main-box .commodity .commodity-item .vip-price image { position: relative; z-index: 10; width: 26rpx; height: 26rpx; } .main-box .commodity .commodity-item .vip-price text { display: inline-block; margin-left: 6rpx; } .popup-box { width: 522rpx; height: 605rpx; background-color: #ffffff; border-radius: 20rpx; position: relative; } .popup-box .img { position: relative; top: -56rpx; left: 0; width: 522rpx; height: 132rpx; display: flex; justify-content: center; } .popup-box .img image { border-radius: 20rpx 20rpx 0 0; width: 450rpx; height: 132rpx; } .popup-box .mian { margin-top: -44rpx; display: flex; flex-direction: column; align-items: center; background-color: #ffffff; border-radius: 0 0 20rpx 20rpx; text-align: center; } .popup-box .mian .delivery { font-size: 40rpx; color: #333333; display: flex; align-items: center; flex-direction: column; } .popup-box .mian .delivery image { margin-top: 48rpx; width: 172rpx; height: 160rpx; } .popup-box .mian .nocancel { font-size: 32rpx; color: #333333; margin-top: 14rpx; } .popup-box .mian .comfirm-box { margin-top: 52rpx; display: flex; } .popup-box .mian .comfirm-box .cancel { display: flex; align-items: center; justify-content: center; width: 197rpx; height: 74rpx; border: 1px solid #dcc786; border-radius: 38rpx; font-size: 32rpx; color: #605128; } .popup-box .mian .comfirm-box .comfirm { margin-left: 32rpx; display: flex; align-items: center; justify-content: center; width: 197rpx; height: 74rpx; background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%); border-radius: 38px; font-size: 32rpx; color: #605128; }