123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- page {
- background: #f6f6f6;
- padding-bottom: 148rpx;
- }
- .location{
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20rpx 25rpx 0rpx 25rpx;
- background-color: #ffffff;
- .l_left {
- font-size: 24rpx;
- }
- .l_right{
- color:#636363;
- font-size: 24rpx;
- span{
- color: #229293;
- font-weight: bold;
- }
- }
- }
- .search {
- position: sticky;
- top: 0px;
- left: 0;
- z-index: 9;
- }
- .swiper {
- margin: 30rpx;
- height: 400rpx;
- .slide-image {
- width: 100%;
- height: 98%;
- margin-bottom: 20rpx;
- border-radius: 30rpx;
- }
- }
- .navBar {
- display: flex;
- justify-content: space-around;
- height: 150rpx;
- position: relative;
- background: #fff;
- margin: 30rpx;
- border-radius: 30rpx;
- .navItem {
- // display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 30rpx;
- border-bottom: 4rpx solid transparent;
- .navItemTitle {
- font-size: 30rpx;
- }
- .navItemIcon {
- width: 60rpx;
- image {
- width: 50rpx;
- height: 50rpx;
- margin-left: 6rpx;
- // transform: translate(-25rpx -25rpx 0);
- }
- }
- }
- .active {
- color: #333;
- font-weight: bold;
- border-bottom: 4rpx solid #399899;
- }
- }
- .nav_content{
- flex: 1;
- }
- .kind {
- width: 687rpx;
- // height: 150rpx;
- position: relative;
- left: 15rpx;
- // top: 30rpx;
- display: flex;
- .item {
- width: 219rpx;
- height: 150rpx;
- margin-left: 17rpx;
- image {
- width: 219rpx;
- height: 150rpx;
- border-radius: 6px;
- }
- }
- .item2 {
- width: 219rpx;
- height: 150rpx;
- margin-left: 15rpx;
- image {
- width: 219rpx;
- height: 150rpx;
- border-radius: 6px;
- }
- }
- .item3 {
- width: 219rpx;
- height: 150rpx;
- margin-left: 15rpx;
- image {
- width: 219rpx;
- height: 150rpx;
- border-radius: 6px;
- }
- }
- .head-text{
- width: 219rpx;
- height: 50rpx;
- position: relative;
- z-index: 99;
- background-color: #439f9b;
- // opacity:0.6;
- background-color:rgba(63,156,152,0.9);
- line-height: 50rpx;
- text-align: center;
- font-weight: 550;
- font-size: 25rpx;
- color: white;
- // left:58rpx;
- bottom: 55rpx;
- border-radius: 10px;
-
- }
- }
- .box {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- padding: 30rpx;
- border-radius: 18rpx;
- .recommended-box {
- background: #ffffff;
- border-radius: 18rpx;
- padding-bottom: 20rpx;
- margin-top: 0rpx;
- width: 687rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .recommended-image {
- width: 180rpx;
- height: 180rpx;
- border-radius: 30rpx;
- }
- .recommended__box{
- flex: 1;
- display: flex;
- flex-direction: column;
- .price {
- color: #fb7306;
- font-size: 30rpx;
- margin: 10rpx 0 0 15rpx;
- }
- .recommended-name {
- font-size: 30rpx;
- font-weight: bold;
- color: #222222;
- line-height: 36rpx;
- margin: 10rpx 0 0 20rpx;
- height: 50rpx;
- // border: 1px solid red;
- overflow: hidden; //一定要写
- text-overflow: ellipsis; //超出省略号
- display: -webkit-box; //一定要写
- -webkit-line-clamp: 2; //控制行数
- -webkit-box-orient: vertical; //一定要写
-
- }
-
- .recommended-score {
- display: flex;
- margin: 0 20rpx;
- .score {
- font-size: 25rpx;
- // font-weight: bold;
- // color: #F01740;
- line-height: 36rpx;
- margin-right: 20rpx;
- margin-top: 5rpx;
- margin-left: 10rpx;
- }
-
- .sale {
- font-size: 25rpx;
- font-weight: 400;
- color: #666666;
- line-height: 36rpx;
- }
-
- .recommended-address {
- font-size: 25rpx;
- font-family: Source Han Sans CN;
- // font-weight: 300;
- color: #666666;
- line-height: 30rpx;
- margin: 10rpx 0 0 0rpx;
- // height: 60rpx;
- overflow: hidden; //一定要写
- text-overflow: ellipsis; //超出省略号
- display: -webkit-box; //一定要写
- -webkit-line-clamp: 2; //控制行数
- -webkit-box-orient: vertical; //一定要写
-
- }
-
-
- }
-
- .recommended-distance {
- font-size: 24rpx;
- color: #666666;
- margin: 6rpx 0 0 0rpx;
-
- }
-
- }
- .button_1 {
- width: 60rpx;
- height: 60rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-right: 10rpx;
- border-radius: 50%;
- background-color: #229293;
- font-size: 26rpx;
- font-weight: bold;
- color: white;
- // line-height: 70rpx;
- }
-
- }
- }
|