123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557 |
- page {
- padding-bottom: 120rpx;
- background: #f8f8f8;
- .flexd {
- position: fixed;
- z-index: 999;
- width: 100%;
- .nav-background {
- background: #f39283;
- height: 40rpx;
- }
- .v-search {
- position: relative;
- top: -40rpx;
- // box-shadow: 0px 5rpx 10rpx rgba(0, 0, 0, 0.2);
- background-color: transparent;
- }
- }
- .rank {
- width: 687rpx;
- height: 346rpx;
- margin: 24rpx 32rpx;
- color: #ffffff;
- border-radius: 16rpx;
- background: url('https://file.ruixiuauto.com/cDBRXuM6Xh/20230809/v8ee31103601302.web 拷贝 (1)') no-repeat 50%;
- .item-title {
- display: flex;
- align-items: center;
- text-align: center;
- justify-content: center;
- margin: 24rpx 0 36rpx 0;
- .text {
- text-indent: 16rpx;
- }
- }
- .loading{
- display: flex;
- justify-content: center;
- }
- .content {
- padding: 0 32rpx;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- align-items: center;
- .card {
- background-color: #f8f8f8;
- // display: flex;
- // flex-direction: column;
- // align-items: center;
- border-radius: 16rpx;
- height: 85rpx;
- width: 298rpx;
- padding: 8rpx;
- margin-bottom: 24rpx;
- display: flex;
- flex-direction: row;
- .left {
- position: relative;
- .ranking{
- // width: 32rpx;
- // height: 16rpx;
- padding: 3rpx 4rpx 3rpx 3rpx;
- background-color: #f39283;
- border-radius: 0 12rpx 12rpx 0;
- position: absolute;
- left: 0;
- top: 10rpx;
- font-size: 8rpx;
- font-family: MiSans;
- font-weight: bold;
- color: #F8F8F8;
- }
- image {
- border-radius: 16rpx;
- width: 66rpx;
- height: 66rpx;
- }
- }
- .right {
- height: 70rpx;
- text-indent: 8rpx;
- width: 200rpx;
- >view {
- padding: 0;
- }
- .h1 {
- font-size: 16rpx;
- font-weight: bold;
- color: #000;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- overflow: hidden;
- }
- .h2 {
- font-size: 14rpx;
- color: #999999;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .light {
- font-size: 16rpx;
- font-weight: bold;
- color: #fb7204;
- }
- }
- .h3 {
- overflow:hidden; //超出的文本隐藏
- text-overflow:ellipsis; //溢出用省略号显示
- white-space:nowrap; //溢出不换行
- font-size: 12rpx;
- color: #999999;
- }
- }
- }
- }
- }
- .play-around {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin: 32rpx;
- .play-left {
- font-weight: bold;
- }
- .play-right {
- font-size: 24rpx;
- color: #999999;
- display: flex;
- align-content: center;
- >view {
- padding-right: 12rpx;
- }
- }
- }
- .play-list {
- margin: 32rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex-wrap: wrap;
- .play-item {
- width: 332rpx;
- height: 480rpx;
- background: #FFFFFF;
- box-shadow: 0px 5px 9px 0px rgba(14, 5, 9, 0.05);
- border-radius: 12rpx;
- margin-bottom: 24rpx;
- .item-img{
- position: relative;
- .item-ranking{
- position: absolute;
- top: 18rpx;
- left: 0;
- font-size: 24rpx;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #FFFFFF;
- padding: 18rpx 24rpx;
- background-color: #f39283;
- border-radius: 0 32rpx 32rpx 0;
- }
- }
- .body {
- padding: 0 16rpx;
- height: 150rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- .item-text {
- height: 62rpx;
- font-size: 24rpx;
- font-weight: 300;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .label {
- display: flex;
- font-size: 15rpx;
- font-weight: 400;
- // margin: 16rpx 0;
- overflow:hidden; //超出的文本隐藏
- text-overflow:ellipsis; //溢出用省略号显示
- white-space:nowrap; //溢出不换行
- >view {
- background-color: #fdefed;
- border-radius: 12rpx;
- padding: 5rpx 16rpx;
- margin-right: 12rpx;
- overflow:hidden; //超出的文本隐藏
- text-overflow:ellipsis; //溢出用省略号显示
- white-space:nowrap; //溢出不换行
- }
- }
- .detail {
- display: flex;
- align-items: center;
- font-size: 18rpx;
- font-weight: 300;
- // padding-bottom: 20rpx;
- .d-light {
- font-weight: bold;
- font-size: 26rpx;
- margin-right: 26rpx;
- color: #FB8737;
- }
- }
- }
- }
- }
- }
- .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;
- }
- }
- }
- .swiper {
- margin: 128rpx 32rpx 24rpx 32rpx;
- height: 329rpx;
- .slide-image {
- width: 100%;
- height: 98%;
- margin-bottom: 20rpx;
- border-radius: 12rpx;
- }
- }
- .navBar {
- display: flex;
- justify-content: space-between;
- align-items: center;
- position: relative;
- margin: 32rpx;
- .navItem {
- display: flex;
- flex-direction: column;
- align-items: center;
- border-bottom: 4rpx solid transparent;
- text-align: center;
- .navItemTitle {
- font-size: 28rpx;
- }
- .navItemIcon {
- image {
- width: 80rpx;
- height: 80rpx;
- }
- }
- }
- .active {
- color: #333;
- font-weight: bold;
- border-bottom: 4rpx solid #399899;
- }
- }
- .nav_content {
- flex: 1;
- }
- .sidebar {
- display: flex;
- flex-direction: row;
- background: #fff;
- margin: 30rpx;
- border-radius: 30rpx;
- // font-family: "Microsoft YaHei";
- .left {
- width: 32%;
- // background-color: #f4f4f4;
- .sidebarItem {
- padding: 20rpx;
- .sidebarItemTime {
- font-size: 22rpx;
- }
- .sidebarItemText {
- font-size: 28rpx;
- }
- }
- .active {
- color: #fff;
- font-weight: bold;
- background-color: #399899;
- border-radius: 0 50rpx 50rpx 0;
- }
- }
- .sidebar_content {
- width: 68%;
- margin: 0;
- // margin-left: 30rpx;
- }
- }
- .title {
- display: flex;
- justify-content: space-between;
- padding-right: 30rpx;
- .recommended-box {
- display: flex;
- margin: 0rpx 0 0 30rpx;
- .recommended {
- font-size: 36rpx;
- font-weight: 500;
- color: #222222;
- line-height: 36rpx;
- margin-left: 10rpx;
- }
- .recommended-icon {
- width: 6rpx;
- height: 36rpx;
- background: #49aaa6;
- border-radius: 3rpx;
- }
- }
- }
- .village {
- .homestay {
- background: #ffffff;
- margin: 0 30rpx;
- border-radius: 20rpx;
- position: relative;
- .homestay-image {
- width: 420rpx;
- height: 205rpx;
- border-radius: 30rpx;
- }
- .homestay-images {
- position: absolute;
- top: 0;
- width: 420rpx;
- height: 205rpx;
- border-radius: 30rpx;
- }
- .title1 {
- .title_left {
- display: flex;
- .homestay-name {
- font-size: 30rpx;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #222222;
- margin: 10rpx;
- overflow: hidden; //一定要写
- text-overflow: ellipsis; //超出省略号
- display: -webkit-box; //一定要写
- -webkit-line-clamp: 2; //控制行数
- -webkit-box-orient: vertical; //一定要写
- .price {
- font-size: 32rpx;
- display: inline-block;
- // margin-top: -8rpx;
- // margin-left: -20rpx;
- width: 120rpx;
- }
- }
- }
- .homestay-address {
- font-size: 24rpx;
- font-family: Source Han Sans CN;
- font-weight: 300;
- color: #666666;
- line-height: 36rpx;
- margin: 8rpx;
- padding-bottom: 10rpx;
- text-overflow: ellipsis; //超出省略号
- }
- }
- }
- .button {
- width: 40rpx;
- height: 40rpx;
- transform: translate(190rpx, -65rpx);
- text-align: center;
- line-height: 40rpx;
- // margin-right: 10rpx;
- border-radius: 50%;
- background-color: #229293;
- font-size: 18rpx;
- font-weight: bold;
- padding: 0;
- color: white;
- // line-height: 70rpx;
- }
- }
- .kong {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- padding: 0 30rpx;
- margin-bottom: 30rpx;
- // .kong-box {
- // .kong-icon {
- // width: 120rpx;
- // height: 120rpx;
- // border-radius: 30rpx;
- // }
- // .kong-name {
- // margin-top: 10rpx;
- // text-align: center;
- // }
- // }
- // .kong-image {
- // width: 330rpx;
- // height: 200rpx;
- // margin-top: 30rpx;
- // background-repeat: no-repeat;
- // background-position: center top;
- // background-size: 100% 100%;
- // color: #ffffff;
- // font-weight: 900;
- // text-align: center;
- // padding-top: 80rpx;
- // }
- .homestay {
- background: #ffffff;
- margin-top: 30rpx;
- width: 330rpx;
- border-radius: 20rpx;
- .homestay-image {
- width: 100%;
- height: 300rpx;
- border-radius: 30rpx 30rpx 0 0;
- }
- .homestay-name {
- font-size: 30rpx;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #222222;
- margin: 10rpx;
- overflow: hidden; //一定要写
- text-overflow: ellipsis; //超出省略号
- display: -webkit-box; //一定要写
- -webkit-line-clamp: 2; //控制行数
- -webkit-box-orient: vertical; //一定要写
- }
- .homestay-price {
- display: flex;
- color: red;
- font-size: 24rpx;
- margin: 20rpx 10rpx 0 10rpx;
- .price {
- font-size: 32rpx;
- margin-top: -8rpx;
- }
- }
- .homestay-address {
- font-size: 20rpx;
- font-family: Source Han Sans CN;
- font-weight: 300;
- color: #666666;
- line-height: 36rpx;
- margin: 10rpx;
- }
- }
- }
|