租房小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

98 lines
1.8 KiB

.u-popup__content,.uni-page-head,.u-tabbar__content,.u-navbar__content,.u-transition{
width: 750rpx !important;
max-width: 750px;
margin: 0 auto;
}
.se-header,.se-bottom,
.se-app{
> view {
width: 750rpx !important;
max-width: 750px;
margin: 0 auto;
}
}
.se-bottom{
width: 750rpx !important;
max-width: 750px;
}
.uni-tabbar-bottom {
bottom: 0;
.uni-tabbar {
width: 750rpx !important;
max-width: 750px;
position: absolute !important;
left: 50% !important;
transform: translateX(-50%);
}
}
html{
height: 100%;
background-color: #fff;
}
.uni-body{
height: auto;
background-color: #fff;
}
uni-app{
height: unset;
uni-page {
display: block;
height: 100%;
.uni-input-input{
padding-left:2rpx;
font-size: 22rpx;
}
uni-page-head .uni-page-head{
height: 88rpx;
height: calc(88rpx + constant(safe-area-inset-top));
height: calc(88rpx + env(safe-area-inset-top));
padding: 0rpx 10rpx;
}
uni-page-head .uni-page-head__title{
line-height: 88rpx;
}
uni-page-head .uni-page-head~.uni-placeholder {
width: 100%;
height: 88rpx;
height: calc(88rpx + constant(safe-area-inset-top));
height: calc(88rpx + env(safe-area-inset-top));
}
uni-page-body {
color: #333333;
font-size: 28rpx;
}
uni-page-wrapper{
background: #fff;
}
uni-slider .uni-slider-handle-wrapper {
height: 20rpx;
}
}
}
// 控制 tabbar 选中样式
// .uni-tabbar__icon__diff {
// width: 100rpx !important;
// height: 100rpx !important;
// }
.uni-page-head {
border-bottom: 1px solid #dddddd;
}
.refresh {
animation: rotating 300ms linear infinite reverse;
}
@keyframes rotating {
from {
transform: rotate(0deg);
}
to {
transform: rotate(-360deg);
}
}