123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- /* nova-tourism/pages/homestay/homestay-detail/index.wxss */
- .all{
- width: 100vw;
- height: 100vh;
- background-color: #f7f7f7;
- position: relative;
- .picturebox{
- width: 100%;
- height: 480rpx;
- position: relative;
- .img{
- width: 100%;
- height: 480rpx;
- image{
- width: 100%;
- height: 100%;
- }
- }
- .numberbox{
- position: absolute;
- bottom: 40rpx;
- right: 20rpx;
- border-radius: 45%;
- z-index: 10;
- color: white;
- width: 70rpx;
- height: 45rpx;
- font-size: 24rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: rgba(12, 12, 12, 0.5);
- }
- }
- .Legendary-Information{
- width: 100%;
- background-color: white;
- border-top-left-radius: 20px; /* 左上角圆角 */
- border-top-right-radius: 20px; /* 右上角圆角 */
- position: absolute;
- top: 455rpx;
- padding-top: 20rpx;
- padding-left: 25rpx;
- padding-right: 20rpx;
- z-index: 10;
- overflow-y: hidden;
- padding-bottom: 20rpx;
- .text{
- width: 100%;
- height: 100rpx;
- display: flex;
-
- margin-top: 10rpx;
- .namebox{
- width: 75%;
- height: 100rpx;
- .name{
- font-size: 35rpx;
- font-weight: 500;
- }
- .adress{
- font-size: 30rpx;
- white-space: nowrap; /* 不换行 */
- overflow: hidden; /* 隐藏超出部分 */
- text-overflow: ellipsis; /* 超出部分显示省略号 */
- }
- }
- .markerbox{
- width: 25%;
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- }
- .datebox{
- width: 100%;
- height: 90rpx;
- background-color: #f7f7f7;
- display: flex;
- padding-left: 20rpx;
- padding-right: 20rpx;
- align-items: center;
- color: orange;
- font-size: 32rpx;
- .start{
- display: flex;
- justify-content: flex-end;
- }
- .day{
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: auto;
- width: 90rpx;
- height: 42rpx;
- border-radius: 40rpx;
- border: gray solid 1px;
- font-size: 25rpx;
- color: black;
- }
- .end{
- margin-left: auto;
- }
- }
- .cardbox{
- .card{
- width: 100%;
- height: 620rpx;
- background-color: white;
- margin-top: 15rpx;
- .img{
- width: 100%;
- height: 480rpx;
- }
- .name{
- font-size: 30rpx;
- }
- .intruduce{
- font-size: 28rpx;
- }
- .buttombox{
- width: 100%;
- height: 60rpx;
- color: red;
- display: flex;
- align-items: center;
- .salary{
- width: 50%;
- height: 100%;
- display: flex;
-
- .symbol{
- height: 100%;
- font-size: 28rpx;
- display: flex;
- align-items: flex-end;
- }
- .number{
- height: 100%;
- display: flex;
- align-items: flex-end;
- font-size: 35rpx;
- }
- }
- .buttom{
- width: 130rpx;
- height: 50rpx;
- font-size: 30rpx;
- color: white;
- background-color: red;
- border-radius: 48rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: auto;
- }
- }
- }
- }
- }
- }
|