| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- /* 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;
- }
|