锦水居民端小程序
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.
 

153 lines
3.1 KiB

page {
width: 100%;
height: 100vh;
}
.invite-friend {
width: 100%;
height: 100%;
background-color: #f7f7f7;
}
.invite-friend .search {
width:100%;
height: 110rpx;
background: #fff;
display: flex;
justify-content: flex-start;
align-items: center;
}
.invite-friend .search .left {
width: 20%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.invite-friend .search .left .type {
font-size: 28rpx;
color: #333;
margin-right: 10rpx;
}
.invite-friend .search .left .triangle {
width: 0;
height: 0;
border: 15rpx solid transparent;
border-top: 15rpx solid #333;
position: relative;
top: 10rpx;
transform: rotate(0deg);
transition: transform linear .3s;
transform-origin: center 7rpx;
}
.invite-friend .search .left .triangle.rotate {
transform: rotate(180deg);
transition: transform linear .3s;
transform-origin: center 7rpx;
}
.invite-friend .search .left .options {
position: absolute;
left: 0;
top: 110rpx;
width: 100%;
height: auto;
z-index: 1000;
background: #fff;
height: 0;
transition: height linear .3s;
overflow: hidden;
}
.invite-friend .search .left .options.show {
height: 150rpx;
transition: height linear .3s;
}
.invite-friend .search .left .options .option {
width: 100%;
height: 50rpx;
font-size: 28rpx;
color: #333;
text-align:center;
line-height: 50rpx;
}
.invite-friend .search .right {
width: 78%;
height: 74rpx;
border-radius: 8rpx;
background: #F2F2F2;
display: flex;
align-items: center;
}
.invite-friend .search .right .search {
width: 26rpx;
height: 26rpx;
object-fit: cover;
margin: 0 10rpx;
}
.invite-friend .search .right input {
width: calc(100% - 40rpx);
height:74rpx;
line-height:74rpx;
font-size: 26rpx;
color: #666;
}
.invite-friend .search .right .search-input {
font-size: 26rpx;
color: #a8a8a8;
}
.invite-friend .search .right .search-text {
font-size: 28rpx;
color:#333;
margin-left: 5prx;
}
.invite-friend .operation {
width: 100%;
height: 110rpx;
position: fixed;
bottom: 0;
left: 0;
background: #fff;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 0 20rpx;
}
.invite-friend .operation .left {
height: 100%;
display: flex;
align-items: center;
}
.invite-friend .operation .left text {
font-size: 32rpx;
color: #999;
}
.invite-friend .operation .right button {
width: 180rpx;
height: 66rpx;
border-radius: 8rpx;
line-height: 66rpx;
text-align:center;
color: #fff;
font-size: 32rpx;
padding: 0;
border: 0;
}
.invite-friend .operation .right .invite {
background: linear-gradient(to right, #02c7b7, #00cd95);
}
.invite-friend .operation .right .confirm {
background: linear-gradient(to right, #fd2316, #ff624a);
}
.invite-friend .operation .right .hover-invite {
background: #00a799;
}
.invite-friend .operation .right .hover-confirm {
background: #c60b00;
}
.invite-friend .operation .right button + button {
margin-left: 10rpx;
}
.invite-friend .operation .right {
height: 100%;
display: flex;
align-items: center;
}