123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319 |
- .layout{
- transition: all ease 0.8s;
- box-sizing: border-box;
- width: 100%;
- overflow: hidden;
- -webkit-overflow-scrolling: touch;
- }
- .txt-bold{
- font-weight: bold;
- width: 60px;
- }
- .clear{
- clear: both;
- }
- .nav-top{
- margin: 0 50px 20px;
- padding-top: 60px;
- }
- .nav-top .nav-name .go-map{
- background: #fa3800;
- color: #fff;
- padding: 10px;
- border-radius: 4px;
- display: inline-block;
- cursor: pointer;
- text-decoration: none;
- margin:0 15px 30px 0;
- font-size: 14px;
- }
- .nav-top .nav-name .nav-tag{
- display: inline-block;
- font-size: 0;
- }
- .nav-top .nav-name .fs{
- padding: 10px 10px 7px 10px;
- box-shadow:0 3px 8px rgba(0,0,0,0.1);
- font-size: 14px;
- cursor: default;
- border-radius: 3px 0 0 3px;
- }
- .nav-top .nav-name .hpsj{
- cursor: pointer;
- font-size: 14px;
- background: #fa3800;
- color: #fff;
- padding: 10px;
- border-radius: 0 3px 3px 0;
- margin-bottom: 30px;
- box-shadow:0 3px 8px rgba(0,0,0,0.1);
- display: inline-block;
- }
- .nav-top .go-map .iconfont{
- font-size: 14px;
- }
- .nav-top .area,.nav-top .types{
- margin-bottom: 20px ;
- display: flex;
- align-items: baseline;
- }
- .nav-top .area ul,.nav-top .types ul{
- display: inline-block;
- }
- .nav-top .area ul li,.nav-top .types ul li{
- display: inline-block;
- padding: 5px 10px;
- margin:0 2px;
- cursor: pointer;
- border-radius: 4px;
- }
- .nav-top .area ul li:hover,.nav-top .types ul li:hover{
- background: #fa3800;
- color: #fff;
- }
- .nav-top .active{
- background: #fa3800;
- color: #fff;
- }
- .list-con{
- width: 100%;
- padding: 0 30px 40px;
- box-sizing: border-box;
- overflow-y: scroll;
- }
- .list-con .card{
- display: inline-block;
- width: 23%;
- box-sizing: border-box;
- margin: 30px 1% 0;
- background: #fff;
- border-radius: 4px;
- overflow: hidden;
- box-shadow: 1px 1px 10px #ccc;
- cursor: pointer;
- }
- .card-animation{
- animation: scaleFrames 0.5s 1;
- }
- .list-con .card:hover{
- animation: scaleFrames 0.5s 1;
- animation-fill-mode: forwards;
- }
- .list-con .card .card-img{
- position: relative;
- font-size: 0;
- max-height: 11vw;
- overflow: hidden;
- }
- .list-con .card .card-img .card-mask{
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.5);
- color: #fff;
- font-size: 16px;
- }
- .list-con .card .card-img .clear-mask{
- background: none;
- }
- .list-con .card .card-img .card-mask p {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translateX(-50%) translateY(-50%);
- line-height: 1.5;
- }
- .list-con .card .card-img .card-mask .show-type {
- position: absolute;
- bottom: 10px;
- left: 20px;
- }
- .list-con .card .card-img .card-mask .show-type i{
- font-size: 24px;
- margin-right: 10px;
- }
- .list-con .card .card-img img{
- width: 100%;
- height: 100%;
- }
- .list-con .card .card-txt{
- padding: 0 10px;
- }
- .list-con .card .card-txt div{
- margin: 10px 0;
- }
- .list-con .card .card-txt .title .iconfont{
- color: #fa3800;
- font-size: 28px;
- }
- .list-con .card .card-txt .title{
- font-weight: bold;
- display: table;
- }
- .list-con .card .card-txt .title span{
- display: table-cell;
- vertical-align: middle;
- padding-left: 10px;
- }
- .list-con .card .card-txt .tag .tag-span{
- display: inline-block;
- color: #f13800;
- border: 1px solid #ff9d7f;
- padding: 2px 4px;
- border-radius: 3px;
- margin-right: 10px;
- font-size: 12px;
- }
- .list-con .card .card-txt .address{
- font-size: 14px;
- color: #2b2521;
- }
- .mobile-top{
- overflow: hidden;
- margin: 70px 10px 0;
- }
- .mobile-types,.mobile-area{
- position: relative;
- display: flex;
- align-items: center;
- margin: 10px 0;
- }
- .mobile-types .li-type,.mobile-area .li-type{
- position: absolute;
- left: 0;
- padding: 5px 0;
- width: 50px;
- display: inline-block;
- }
- .mobile-types .li-ul,.mobile-area .li-ul{
- position: relative;
- left: 50px;
- white-space: nowrap;
- overflow-x: scroll;
- overflow-y: hidden;
- }
- .mobile-types .li-ul li,.mobile-area .li-ul li{
- padding: 5px 10px;
- border-radius: 4px;
- display: inline-block;
- -webkit-tap-highlight-color:transparent;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- overflow-x: auto;
- overflow-y: hidden;
- white-space: nowrap;
- }
- .mobile-types .li-ul::-webkit-scrollbar, .mobile-area .li-ul::-webkit-scrollbar{
- display: none;
- }
- .mobile-top .active{
- background: #fa3800;
- color: #fff;
- }
- .mobile-top .tiancong{
- display: inline-block;
- width: 40px;
- }
- .mobile-icon{
- position: fixed;
- bottom: 10px;
- left: 10px;
- z-index: 99999;
- }
- .mobile-icon .list-icon{
- padding: 5px 12px;
- border-radius: 5px;
- box-shadow: 0 0 10px rgba(0,0,0,0.2);
- text-align: center;
- color: #2b2521;
- font-size: 12px;
- background-color: #fff;
- width: 48px;
- box-sizing: border-box;
- margin-top: 10px;
- text-decoration: none;
- display: block;
- }
- .mobile-icon .list-icon i {
- display: block;
- color: #2b2521;
- font-size: 24px;
- }
- /* 动画帧 */
- @keyframes scaleFrames
- {
- 0% {
- transform: scale(1)
- }
- 100% {
- transform: scale(1.05)
- }
- }
- @media screen and (max-width: 1085px){
- .list-body{
- width: 100%;
- }
- .list-con{
- padding: 10px 0;
- box-sizing:inherit;
- }
- .list-con .card{
- width: calc(100% - 20px);
- margin: 10px;
- }
- .nav-top{
- margin: 0 10px 20px;
- }
- .nav-name{
- display: none;
- }
- .nav-top{
- padding-top: 80px;
- }
- .list-con .card{
- -webkit-tap-highlight-color:transparent;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- }
- .list-con .card:hover{
- animation: none;
- animation-fill-mode: none;
- }
- }
|