Files
phone-app------test1-/pages/ContactPages/ContactPages.css
2026-07-07 18:02:55 +08:00

493 lines
8.3 KiB
CSS

.tabbar-page {
display: flex;
flex-direction: column;
background: linear-gradient(180deg, #f5f4f9 0%, #faf9fe 100%);
}
.content-swiper {
width: 100%;
height: calc(100% - 120rpx);
}
.tabpage-content {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.tabpage-containner {
width: 100%;
height: 100%;
display: flex;
align-items: center;
flex-direction: column;
}
.tabpage-header {
width: 100%;
display: flex;
align-items: center;
flex-shrink: 0;
padding: 20rpx 24rpx;
box-sizing: border-box;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1rpx solid rgba(170, 170, 255, 0.1);
}
.tabpage-header .iconfont {
font-size: 46rpx;
margin-right: 12rpx;
color: #6c63ff;
}
.tabpage-title {
font-size: 36rpx;
font-weight: 700;
color: #1a1a2e;
}
.tabpage-body {
width: 100%;
display: flex;
flex: 1;
min-height: 0;
align-items: center;
flex-direction: column;
padding: 24rpx;
box-sizing: border-box;
}
/* 新建群聊 */
.group-info {
width: 100%;
height: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-shrink: 0;
}
.group-name {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.group-name .input {
width: 100%;
height: auto;
padding: 22rpx 28rpx;
box-sizing: border-box;
border: 2rpx solid #d4d4f0;
border-radius: 24rpx;
font-size: 28rpx;
background: #fff;
transition: all 0.2s ease;
}
.group-name .input:focus {
border-color: #6c63ff;
box-shadow: 0 0 0 4rpx rgba(108, 99, 255, 0.06);
}
.group-member-wrapper {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 24rpx;
box-sizing: border-box;
background: rgba(16, 185, 129, .04);
border: 2rpx solid rgba(16, 185, 129, .15);
border-radius: 24rpx;
margin: 12rpx 0;
}
.group-member-wrapper .member-title {
color: #059669;
font-weight: 600;
font-size: 28rpx;
}
.group-ismember-list {
display: flex;
flex-wrap: wrap;
margin-top: 12rpx;
box-sizing: border-box;
max-height: 200rpx;
overflow-y: auto;
}
.group-ismember-info {
padding: 10rpx 20rpx;
box-sizing: border-box;
border: 2rpx solid rgba(16, 185, 129, 0.5);
background: #fff;
border-radius: 24rpx;
margin: 6rpx 8rpx;
}
.group-ismember-name {
font-size: 22rpx;
color: #059669;
font-weight: 500;
}
.create-group-btn {
width: 100%;
background: linear-gradient(135deg, #6c63ff, #4a45d1);
border-radius: 24rpx;
padding: 24rpx;
box-sizing: border-box;
font-weight: 600;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 10rpx;
font-size: 30rpx;
box-shadow: 0 4rpx 16rpx rgba(108, 99, 255, 0.25);
transition: all 0.2s ease;
}
.create-group-btn:active {
transform: scale(0.97);
}
.group-member {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
padding: 10rpx;
margin-top: 10rpx;
box-sizing: border-box;
}
.friend-list {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
width: 100%;
}
.friend-card {
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
padding: 24rpx;
margin: 8rpx 0;
box-sizing: border-box;
border: 2rpx solid rgba(170, 170, 255, 0.25);
border-radius: 24rpx;
background: rgba(255, 255, 255, 0.7);
transition: all 0.2s ease;
}
.friend-card:active {
background: rgba(108, 99, 255, 0.04);
border-color: #6c63ff;
transform: scale(0.98);
}
.friend-card-left {
flex-shrink: 0;
margin-right: 16rpx;
}
.friend-avatar {
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
width: 90rpx;
height: 90rpx;
overflow: hidden;
border: 3rpx solid rgba(170, 170, 255, 0.2);
}
.friend-card-middle {
flex: 1;
height: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.friend-name {
font-weight: 600;
font-size: 30rpx;
color: #1a1a2e;
}
.friend-card-right {
width: auto;
flex-shrink: 0;
display: flex;
justify-content: center;
align-items: center;
}
.friend-checkbox {
width: 36rpx;
height: 36rpx;
border-radius: 10rpx;
display: flex;
justify-content: center;
align-items: center;
border: 2rpx solid rgba(108, 99, 255, 0.5);
background: #fff;
}
.friend-checkbox.checked {
background: linear-gradient(135deg, #6c63ff, #4a45d1);
border-color: #6c63ff;
}
/* 添加好友 */
.search-warpper {
width: 100%;
display: flex;
align-items: center;
}
.search-warpper .search-file-input {
flex: 1;
background: #ffffff;
border: 2rpx solid #e8e7f5;
padding: 22rpx 24rpx;
margin-right: 16rpx;
height: auto;
box-sizing: border-box;
border-radius: 24rpx;
font-size: 28rpx;
transition: all 0.25s ease;
}
.search-file-input.active {
border-color: #6c63ff;
box-shadow: 0 0 0 4rpx rgba(108, 99, 255, 0.06);
}
.search-warpper .iconfont {
flex-shrink: 0;
font-size: 36rpx;
font-weight: bold;
color: #fff;
background: linear-gradient(135deg, #6c63ff, #4a45d1);
padding: 20rpx;
box-sizing: border-box;
border-radius: 20rpx;
}
.search-result {
width: 100%;
}
.add-btn {
background: linear-gradient(135deg, #6c63ff, #4a45d1);
color: #fff;
font-size: 14px;
font-weight: 500;
border-radius: 20rpx;
padding: 12rpx 28rpx;
box-shadow: 0 2rpx 8rpx rgba(108, 99, 255, 0.25);
}
/* 添加好友卡片 */
.nickname-wrapper {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 20rpx 0;
box-sizing: border-box;
}
.input-nickname {
width: 100%;
height: auto;
padding: 22rpx 24rpx;
box-sizing: border-box;
border: 2rpx solid #d4d4f0;
border-radius: 24rpx;
margin: 20rpx 0;
font-size: 28rpx;
background: #fff;
}
.input-nickname:focus {
border-color: #6c63ff;
}
.confirm-btn {
background: linear-gradient(135deg, #6c63ff, #4a45d1);
color: #fff;
font-size: 16px;
font-weight: 600;
padding: 14rpx 40rpx;
border-radius: 24rpx;
}
/* 视频会议 */
.create-meeting-wrapper,
.join-meeting-wrapper {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20rpx 30rpx;
box-sizing: border-box;
}
.input-meeting {
width: 100%;
height: auto;
padding: 22rpx 24rpx;
box-sizing: border-box;
border: 2rpx solid #d4d4f0;
border-radius: 24rpx;
margin: 10rpx 0;
font-size: 28rpx;
background: #fff;
}
.input-meeting:focus {
border-color: #6c63ff;
}
.meeting-btn {
width: 100%;
background: linear-gradient(135deg, #6c63ff, #4a45d1);
margin: 10rpx 0;
color: #fff;
border-radius: 24rpx;
padding: 24rpx;
font-size: 30rpx;
font-weight: 600;
box-shadow: 0 4rpx 16rpx rgba(108, 99, 255, 0.25);
}
.meeting-field {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.meeting-toggles {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.meeting-toggles-item {
width: 100%;
display: flex;
justify-content: space-between;
padding: 16rpx 0;
}
/* 好友申请 */
.friend-option {
display: flex;
justify-content: center;
align-items: center;
}
.agree-btn {
font-size: 14px;
font-weight: 500;
border: 2rpx solid #6c63ff;
color: #6c63ff;
box-sizing: border-box;
border-radius: 20rpx;
padding: 10rpx 24rpx;
}
.agree-btn:active {
background: rgba(108, 99, 255, 0.08);
}
/* 好友申请状态 */
.friend-status {
font-size: 14px;
font-weight: 500;
padding: 8rpx 24rpx;
border-radius: 20rpx;
}
.friend-status.agreed {
color: #059669;
background-color: rgba(16, 185, 129, 0.08);
}
/* 通讯录 */
.contact-list {
display: flex;
height: 100%;
padding: 10rpx;
margin-top: 10rpx;
box-sizing: border-box;
}
/* 底部导航 */
.bottom-tabbar {
width: 100%;
height: 130rpx;
display: flex;
justify-content: space-between;
align-items: center;
padding: 16rpx 30rpx;
box-sizing: border-box;
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-top: 1rpx solid rgba(170, 170, 255, 0.1);
}
.tab-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 8rpx 20rpx;
border-radius: 16rpx;
transition: all 0.2s ease;
}
.tab-item.active {
background: rgba(108, 99, 255, 0.08);
}
.tab-label {
font-size: 26rpx;
color: #666;
}
.tab-item.active .tab-label {
color: #6c63ff;
font-weight: 600;
}