page{ height: 100%; } .position{ position: fixed; top:0; left: 0; right: 0; margin: 0 auto; } /* 原css */ .col1{ margin-top: 39rpx; margin-left: 33rpx; margin-bottom: 32rpx; color: #333; font-size: 36rpx; /* font-size: 68rpx; */ font-weight: bold; } .col2{ margin-left: 32rpx; margin-bottom: 55rpx; height: 160rpx; /* height: 230rpx; */ } .col2 .item{ border: 1rpx solid #efefef; border-radius: 4px; margin-right: 20rpx; color: #000; font-size: 30rpx; box-sizing: border-box; } .col2 .item .name{ margin-top: 15rpx; text-align: center; } .item image{ /* width: 80rpx; height: 80rpx; */ width: 65rpx; } .col3{ margin-left: 33rpx; margin-bottom: 32rpx; color: #333; font-size: 36rpx; font-weight: bold; } .col4{ margin: 0 32rpx; padding: 0 32rpx; margin-bottom: 50rpx; border: 1rpx solid #F0F0F0; border-radius: 4px; box-sizing: border-box; /* padding-bottom: 300rpx; */ } .col4 .item{ height: 90rpx; border-bottom: 1rpx solid #e5e5e5; box-sizing: border-box; color: #666; display: flex; align-items: center; justify-content: space-between; } .col4 .item .jiantou{ width: 12rpx; } .col4 .item.last{ border-bottom:none; } .col4 .item .itemTitle{ font-size: 26rpx; color: #333; margin-left: 20rpx; } .col4 .item .desc{ font-size: 24rpx; color: #666; } .h100{ display: flex; align-items: center; } /* 头部搜索 */ .top{ height: 88rpx; display: flex; flex-direction:row; justify-content: center; align-items: center; background-color: #f8f8f8; } .search{ width: 690rpx; } .search-icon{ width: 32rpx; height: 32rpx; position: absolute; left:40rpx; top:14rpx; } .search_arr { border: 1px solid #d0d0d0; border-radius: 50rpx; position: relative; background-color: #fff; } .record{ position: absolute; width: 48rpx; height: 48rpx; right: 40rpx; top:6rpx; } .search_arr input{ height: 60rpx; border-radius: 5px; padding-left: 90rpx; } .placText{ font-size: 26rpx; color:#666; padding-left: 90rpx; } .bc_text { line-height: 68rpx; height: 68rpx; margin-top: 34rpx; } .sousuo { margin-left: 15rpx; width: 15%; line-height: 150%; text-align: center; border: 1px solid #d0d0d0; border-radius: 10rpx; } .page_row{ height: 60rpx; line-height: 88rpx; display: flex; flex-direction: row; justify-content:center; } .searchcion { position: absolute; left:40rpx; z-index: 2; height: 32rpx; width: 32rpx; top: 8rpx; } /* tab切换 */ .t{ height: 200rpx; display: flex; align-items: center; } .tab{ width: 690rpx; margin: 0 auto; display: flex; flex-direction: column; border-radius: 20rpx; overflow: hidden; -moz-box-shadow:0px 0px 5px 2px #D4D4D4; -webkit-box-shadow:0px 0px 5px 2px #D4D4D4; box-shadow:0px 0px 5px 2px #D4D4D4; } .tab_card{ width: 100%; display: flex; flex-direction: row; } .tab_card view{ width: 50%; height: 70rpx; text-align: center; font-size: 30rpx; display: flex; align-items: center; justify-content: center; } .tab_card1{ width: 100%; display: flex; flex-direction: row; } .tab_content{ background-color:#f2f2f2; } .tab_content view{ font-size: 26rpx; } .select1{ background-color:#33ad37; color: #fff; } .select2{ color:#33ad37; } /* 服务详情 */ .server{ display: flex; flex-wrap: wrap; /* justify-content: space-between; */ width: 704rpx; margin: 0 auto; } .server view{ width: 160rpx; height: 160rpx; border-radius: 10rpx; border:1rpx solid #efefef; margin: 7rpx; } .server_content{ display: flex; flex-direction: column; justify-content: space-around; } .server_content view{ display: flex; flex-direction: row; justify-content: center; height: 30rpx; border:none; margin:0rpx; } .server_content view image{ width: 60rpx; height: 60rpx; } .server_content text{ text-align: center; font-size: 26rpx; color: #333; } swiper,.scroll{ height: 100%; }