/* pages/home/home.wxss */ page { height: auto !important; } .page { /* background-color: rgba(0, 0, 0, 0); */ background-color: #F8F8F8; } .custom { position: sticky; width: 100%; top: 0; left: 0; z-index: 999; height: 80rpx; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0); /* padding-left: 40rpx; */ background: #FFFFFF; text-align: center; } .customBg { background: #FFFFFF; transition: all .5s; } .swiper { width: 750rpx; height: 360rpx; } .swiper image { width: 750rpx; height: 360rpx; } .search { height: 68rpx; background: #FFFFFF; margin: 24rpx 20rpx 24rpx 20rpx; position: relative; } .search input { width: 100%; height: 100%; font-weight: 500; font-size: 28rpx; padding: 20rpx; padding-right: 60rpx; box-sizing: border-box; } .search icon { position: absolute; right: 15rpx; top: 14rpx; font-size: 28rpx; } .menu { padding: 30rpx 0; background: #FFFFFF; overflow: hidden; overflow-x: auto; white-space: nowrap; } .menu-item { display: inline-block; width: 106rpx; margin: 0 22rpx; box-sizing: border-box; text-align: center; } .menu-item image { width: 64rpx; height: 64rpx; } .menu-item .text { display: block; font-size: 24rpx; color: #0D0D0D; } .floorTitle { line-height: 80rpx; font-weight: 600; font-size: 28rpx; color: #000000; text-align: center; } .goodsPanel { padding: 0 24rpx; background: #FFFFFF; } .goodsQuery { position: sticky; top: 116rpx; background: #FFFFFF; } .queryItem { display: inline-block; font-size: 28rpx; line-height: 96rpx; margin-right: 45rpx; } .queryItem:nth-child(2) { content: "\e617"; } .queryItem:last-child { float: right; margin-right: 0; vertical-align: middle; top: 0; } .queryItem icon { vertical-align: middle; /* height: 62rpx; */ } .xiaoliang { vertical-align: middle; } .xiaoliang::after { vertical-align: middle; padding-left: 5rpx; color: #D9D9D9; content: "\e625"; } .jiage { vertical-align: middle; } .jiage::after { vertical-align: middle; padding-left: 5rpx; content: "\e623"; } .jiage::after { fill: red; } .shaixuan { vertical-align: middle; position: relative; /* padding-right: 36rpx; */ } .shaixuan::after { vertical-align: middle; padding-left: 10rpx; content: "\e61e"; } .goodsList { display: flex; justify-content: space-between; flex-wrap: wrap } .goods { width: 342rpx; height: 496rpx; background: #FFFFFF; } .goods image { width: 342rpx; height: 342rpx; background-color: #F8F8F8; } .goods .name { font-weight: 400; font-size: 24rpx; color: #0D0D0D; line-height: 36rpx; padding: 0 22rpx; margin: 12rpx 0; } .goods .bar { padding: 0 22rpx; padding-bottom: 20rpx; display: flex; justify-content: space-between } .goods .bar .price { flex: 1; /* float: left; */ font-weight: bold; font-size: 28rpx; color: #202020; vertical-align: middle; } .goods .bar .icon { /* float: right; */ font-size: 28rpx; color: #00BC8A; margin-top: 6rpx; } .goods .bar::after { content: ""; display: table; clear: both; } .icon-guanbi { position: absolute; top: 22rpx; right: 42rpx; color: #D9D9D9; } .shaixuanBox { padding: 0 24rpx; } .shaixuanBoxTitle { font-weight: 600; font-size: 32rpx; color: #000000; } .shaixuanBoxBrand { padding: 40rpx 0; display: flex; justify-content: space-between; flex-wrap: wrap; } .shaixuanBoxBrand::after { min-width: 214rpx; content: ""; } .shaixuanBoxBrand view { width: 214rpx; height: 68rpx; font-weight: 400; font-size: 28rpx; text-align: center; color: #000000; line-height: 68rpx; background: #F8F8F8; border-radius: 8rpx 8rpx 8rpx 8rpx; margin-bottom: 16rpx; padding: 0 10rpx; box-sizing: border-box; } .shaixuanBoxBrand view.active { color: #FFFFFF; background: linear-gradient(180deg, #0D0D0D 0%, #4F4F4F 100%); } .shaixuanBoxPrice { padding: 40rpx 0; display: flex; justify-content: space-between; flex-wrap: nowrap; } .shaixuanBoxPrice input { width: 324rpx; height: 68rpx; border-radius: 8rpx 8rpx 8rpx 8rpx; border: 1rpx solid #A2A2A2; padding: 0 20rpx; box-sizing: border-box; text-align: center; } .shaixuanBoxBtn { display: flex; justify-content: space-between; flex-wrap: nowrap; margin-bottom: 70rpx; } .shaixuanBoxBtn button { width: 264rpx; height: 92rpx; background: #EEEEEE; border-radius: 8rpx 8rpx 8rpx 8rpx; text-align: center; line-height: 92rpx; font-weight: 500; font-size: 32rpx; padding: 0; margin: 0; } .shaixuanBoxBtn button:last-child { /* width: 407rpx; */ color: white !important; background: #00BC8A !important; border-radius: 8rpx 8rpx 8rpx 8rpx; }