upload project
This commit is contained in:
commit
06961cae04
422 changed files with 110626 additions and 0 deletions
500
subpackages/social/user-preview/user-preview.wxss
Normal file
500
subpackages/social/user-preview/user-preview.wxss
Normal file
|
|
@ -0,0 +1,500 @@
|
|||
.friend-detail-container {
|
||||
min-height: 100vh;
|
||||
background: radial-gradient(ellipse at right bottom, #1c3954 0%, #1d3c7c 40%, #193170 70%, rgba(25, 49, 112, 0.8) 100%);
|
||||
}
|
||||
|
||||
.detail-content {
|
||||
height: 100vh;
|
||||
padding: 24rpx 28rpx 48rpx 28rpx;
|
||||
padding-bottom: 120rpx;
|
||||
box-sizing: border-box;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
margin: 32rpx;
|
||||
}
|
||||
|
||||
.info-out {
|
||||
/* border: 1px solid red; */
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.profile-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.avatar-container {
|
||||
width: 186rpx;
|
||||
height: 186rpx;
|
||||
position: relative;
|
||||
background: #000;
|
||||
border-radius: 50%;
|
||||
border: 10rpx solid #394e83;
|
||||
transition: all 0.3s ease;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.avatar-image {
|
||||
width: 166rpx;
|
||||
height: 166rpx;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.avatar-placeholder {
|
||||
width: 166rpx;
|
||||
height: 166rpx;
|
||||
border-radius: 50%;
|
||||
background: #2a2a2a;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.avatar-text {
|
||||
font-size: 64rpx;
|
||||
color: #888;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.online-status.online {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
right: 5rpx;
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
background: #4CAF50;
|
||||
border: 3rpx solid #ffffff;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.profile-info {
|
||||
flex: 1;
|
||||
padding-left: 24rpx;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.profile-name-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.gender-badge {
|
||||
font-size: 24rpx;
|
||||
margin-left: 8rpx;
|
||||
color: #ffffff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.gender-badge .gender-icon {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
|
||||
.vip-crown {
|
||||
font-size: 24rpx;
|
||||
margin-left: 8rpx;
|
||||
color: #ffd700;
|
||||
}
|
||||
|
||||
.profile-id {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.id-label {
|
||||
font-size: 28rpx;
|
||||
color: #f3f3f3;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
|
||||
.id-value-wrapper {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 10rpx 8rpx;
|
||||
margin-right: 12rpx;
|
||||
border-radius: 8rpx;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.id-value-wrapper:active {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.id-value {
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
font-weight: 400;
|
||||
font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
||||
}
|
||||
|
||||
.profile-bio .bio-text {
|
||||
font-size: 28rpx;
|
||||
color: #b0b0b0;
|
||||
}
|
||||
|
||||
.profile-bottom {
|
||||
background: linear-gradient(123deg, #8361FB 15.54%, #70AAFC 39.58%, #F0F8FB 62.43%, #F07BFF 90.28%);
|
||||
border-radius: 28rpx;
|
||||
padding-top: 15rpx;
|
||||
gap: 16rpx;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
margin-top: -70rpx;
|
||||
padding-bottom: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
width: fit-content;
|
||||
margin-left: auto;
|
||||
justify-content: flex-end;
|
||||
gap: 4rpx;
|
||||
padding-top: 20rpx;
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.qr-code-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
transition: all 0.2s ease;
|
||||
margin-top: 10rpx;
|
||||
margin-right:20rpx;
|
||||
}
|
||||
|
||||
.qr-code-icon,
|
||||
.edit-icon {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
|
||||
.edit-text {
|
||||
font-size: 24rpx;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.profile-location {
|
||||
background: rgba(43, 43, 43, 1);
|
||||
max-width: 80%;
|
||||
width: fit-content;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #36393e;
|
||||
border-radius: 24rpx;
|
||||
min-height: 48rpx;
|
||||
padding: 0 20rpx;
|
||||
margin-left: 32rpx;
|
||||
margin-top: 40rpx;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.location-icon {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
|
||||
.location-arrow {
|
||||
font-size: 36rpx;
|
||||
color: #ffffff;
|
||||
margin-left: auto;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.location-text-qr {
|
||||
font-size: 30rpx;
|
||||
color: #e0e0e0;
|
||||
line-height: 1.4;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.profile-signature {
|
||||
min-height: 120rpx;
|
||||
max-height: 300rpx;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
padding: 16rpx 24rpx;
|
||||
background: rgba(90, 90, 90, 0.548);
|
||||
border-radius: 24rpx;
|
||||
backdrop-filter: blur(20rpx);
|
||||
-webkit-backdrop-filter: blur(20rpx);
|
||||
border: 1rpx solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 8rpx 12rpx rgba(0, 0, 0, 0.1), inset 0 0 20rpx rgba(255, 255, 255, 0.1);
|
||||
margin: 0 32rpx;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.signature-text {
|
||||
font-size: 30rpx;
|
||||
color: #000000;
|
||||
margin: auto;
|
||||
font-weight: 400;
|
||||
width: 100%;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.profile-tabs {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
padding: 0 40rpx;
|
||||
}
|
||||
|
||||
.tab-scroll {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
white-space: nowrap;
|
||||
align-items: center;
|
||||
padding: 8rpx 0;
|
||||
}
|
||||
|
||||
.tab-item {
|
||||
|
||||
font-size: 24rpx;
|
||||
margin-top: 20rpx; /* slightly smaller text */
|
||||
line-height: 36rpx; /* controls the text vertical alignment */
|
||||
height: 36rpx; /* explicit height for the box */
|
||||
display: flex; /* ensures vertical centering */
|
||||
align-items: center; /* centers text in the box */
|
||||
color: white;
|
||||
padding: 6rpx 20rpx;
|
||||
border-radius: 20rpx;
|
||||
background: rgba(90, 90, 90, 0.548);
|
||||
transition: all 0.2s;
|
||||
margin-left: .3rem;
|
||||
margin-right: .3rem;
|
||||
}
|
||||
|
||||
.gender-icon {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.myfootprint {
|
||||
|
||||
margin: 30rpx 0;
|
||||
padding: 20rpx;
|
||||
border-radius: 20rpx;
|
||||
background: radial-gradient(circle at right, #0F918B 36%, #8827FF 50%, #0F918B 64%);
|
||||
position: relative;
|
||||
height: 236rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.footprint-title {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
left: 20rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 400;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.footprint-earth {
|
||||
width: 560rpx;
|
||||
height: 120rpx;
|
||||
position: relative;
|
||||
top: 61%;
|
||||
left: 40%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.footprint-badge {
|
||||
position: absolute;
|
||||
bottom: 20rpx;
|
||||
right: 20rpx;
|
||||
background: #fff;
|
||||
padding: 0 20rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 24rpx;
|
||||
height: 56rpx;
|
||||
line-height: 56rpx;
|
||||
}
|
||||
|
||||
/* 足迹下方两个容器并排平分整行 */
|
||||
.footprint-gradient-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 32rpx;
|
||||
width: 100%;
|
||||
margin: 32rpx auto;
|
||||
}
|
||||
|
||||
.footprint-gradient-row .footprint-gradient-box {
|
||||
width: 100%;
|
||||
height: 332rpx;
|
||||
border-radius: 40rpx;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 足迹下方两个渐变圆角容器样式 */
|
||||
.footprint-gradient-box {
|
||||
width: 100%;
|
||||
height: 332rpx;
|
||||
border-radius: 40rpx;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.footprint-gradient-yellow {
|
||||
background:radial-gradient( circle at center, #fff600 ,rgba(255, 255, 255, 0.1) );
|
||||
}
|
||||
|
||||
.footprint-gradient-blue {
|
||||
background: linear-gradient(130deg, #139dff 1%,#3137ea 40%,#3137ea 60%, #3137ea 80%, #3bc493 100%);
|
||||
}
|
||||
|
||||
|
||||
.detail-section.danger-section {
|
||||
background: linear-gradient(-15deg, #00D5FF 1.54%, #435CFF 39.58%, #EC42C8 62.43%, #FF6460 90.28%);
|
||||
border-radius: 44rpx;
|
||||
height: 88rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
.but-bom {
|
||||
margin-top: 70rpx;
|
||||
}
|
||||
|
||||
/* 详细信息上方操作按钮 */
|
||||
.detail-action-buttons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin: 32rpx 0;
|
||||
padding: 0 30rpx;
|
||||
gap: 30rpx;
|
||||
}
|
||||
|
||||
.detail-action-btn-wrapper {
|
||||
flex: 1;
|
||||
height: 64rpx;
|
||||
border-radius: 32rpx;
|
||||
padding: 2rpx;
|
||||
background: linear-gradient(180deg, #4e4e4e 0%, #404040 100%);
|
||||
}
|
||||
|
||||
.detail-action-btn-wrapper.gray {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.detail-action-btn {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 30rpx;
|
||||
background: linear-gradient(180deg, #000 0%, #232323 100%);
|
||||
}
|
||||
|
||||
.detail-action-btn text {
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.danger-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
|
||||
.danger-text {
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
letter-spacing: 1rpx;
|
||||
}
|
||||
|
||||
.tag {
|
||||
margin-left: 20rpx;
|
||||
width: 150rpx;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.tagImg {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
|
||||
.tagText {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.video{
|
||||
|
||||
width: 96rpx;
|
||||
height: 96rpx;
|
||||
}
|
||||
.title-home{
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
.title-return{
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
.title{
|
||||
width: 400rpx;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
height: 50rpx;
|
||||
/* border: 1px solid red; */
|
||||
margin-left: 40rpx;
|
||||
background-color: #36393E;
|
||||
border-radius: 14rpx;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.gray{
|
||||
background-color: #494949;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue