|
@@ -1,12 +1,15 @@
|
|
|
.searchFriend {
|
|
|
+
|
|
|
.searchBox {
|
|
|
position: fixed;
|
|
|
top: 0px;
|
|
|
left: 0px;
|
|
|
width: 100%;
|
|
|
- padding: 4rpx 20rpx;
|
|
|
+ padding: 0rpx 28rpx;
|
|
|
box-sizing: border-box;
|
|
|
z-index: 9;
|
|
|
+ overflow: hidden;
|
|
|
+ background-color: #F2F6FC;
|
|
|
|
|
|
.input {
|
|
|
background-color: white;
|
|
@@ -17,8 +20,9 @@
|
|
|
|
|
|
.searchBtn {
|
|
|
position: absolute;
|
|
|
- right: 40rpx;
|
|
|
- top: 12rpx;
|
|
|
+ right: 50rpx;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
padding: 6rpx 40rpx;
|
|
|
background: #00C657;
|
|
|
border-radius: 40rpx;
|
|
@@ -30,83 +34,89 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .follow {
|
|
|
- margin-top: 20rpx;
|
|
|
- box-sizing: border-box;
|
|
|
- width: 100%;
|
|
|
- background-color: white;
|
|
|
- border-radius: 10rpx;
|
|
|
- margin-bottom: 20rpx;
|
|
|
- padding: 20rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- .userInfo {
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
-
|
|
|
- .avatar {
|
|
|
- position: relative;
|
|
|
+ .box {
|
|
|
+ padding-bottom: 20rpx;
|
|
|
+ margin-top: 100rpx;
|
|
|
|
|
|
- .avatar-image {
|
|
|
- width: 96rpx;
|
|
|
- height: 96rpx;
|
|
|
- background-color: wheat;
|
|
|
- border-radius: 50%;
|
|
|
- border: 4rpx solid #61CA54;
|
|
|
- }
|
|
|
+ .follow {
|
|
|
+ margin: 0rpx 30rpx 20rpx 30rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background-color: white;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ padding: 20rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
- .user-profession {
|
|
|
- position: absolute;
|
|
|
- bottom: -4rpx;
|
|
|
- left: 17rpx;
|
|
|
- width: 68rpx;
|
|
|
- height: 24rpx;
|
|
|
- background: rgba(97, 202, 84, 1);
|
|
|
- border-radius: 50rpx;
|
|
|
- border: 2rpx solid rgba(255, 255, 255, 1);
|
|
|
- font-size: 16rpx;
|
|
|
- color: rgba(255, 255, 255, 1);
|
|
|
- line-height: 24rpx;
|
|
|
- text-align: center;
|
|
|
+ .userInfo {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
|
|
|
+ .avatar {
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .avatar-image {
|
|
|
+ width: 96rpx;
|
|
|
+ height: 96rpx;
|
|
|
+ background-color: wheat;
|
|
|
+ border-radius: 50%;
|
|
|
+ border: 4rpx solid #61CA54;
|
|
|
+ }
|
|
|
+
|
|
|
+ .user-profession {
|
|
|
+ position: absolute;
|
|
|
+ bottom: -4rpx;
|
|
|
+ left: 17rpx;
|
|
|
+ width: 68rpx;
|
|
|
+ height: 24rpx;
|
|
|
+ background: rgba(97, 202, 84, 1);
|
|
|
+ border-radius: 50rpx;
|
|
|
+ border: 2rpx solid rgba(255, 255, 255, 1);
|
|
|
+ font-size: 16rpx;
|
|
|
+ color: rgba(255, 255, 255, 1);
|
|
|
+ line-height: 24rpx;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- .infoBox {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: space-around;
|
|
|
- margin-left: 14rpx;
|
|
|
- margin-top: 2rpx;
|
|
|
-
|
|
|
- .gmtCreated {
|
|
|
- font-size: 26rpx;
|
|
|
- color: #888;
|
|
|
+ .infoBox {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-around;
|
|
|
+ margin-left: 14rpx;
|
|
|
+ margin-top: 2rpx;
|
|
|
+
|
|
|
+ .gmtCreated {
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #888;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- .state {
|
|
|
- text-align: center;
|
|
|
+ .state {
|
|
|
+ text-align: center;
|
|
|
|
|
|
- .stateText {
|
|
|
- width: 160rpx;
|
|
|
- padding: 16rpx 0rpx;
|
|
|
- border-radius: 50rpx;
|
|
|
- font-size: 24rpx;
|
|
|
- }
|
|
|
+ .stateText {
|
|
|
+ width: 160rpx;
|
|
|
+ padding: 16rpx 0rpx;
|
|
|
+ border-radius: 50rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ }
|
|
|
|
|
|
- .already {
|
|
|
- background-color: #E4EDFB;
|
|
|
- }
|
|
|
+ .already {
|
|
|
+ background-color: #E4EDFB;
|
|
|
+ }
|
|
|
|
|
|
- .yet {
|
|
|
- background-color: #1BC665;
|
|
|
- color: white;
|
|
|
+ .yet {
|
|
|
+ background-color: #1BC665;
|
|
|
+ color: white;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .empty {
|
|
|
+ margin-top: 200rpx;
|
|
|
+ }
|
|
|
}
|