861 lines
16 KiB
Text
861 lines
16 KiB
Text
/* 个人资料页面 - 简化兼容版 */
|
|
@import "../../styles/design-system.wxss";
|
|
@import "../../styles/components.wxss";
|
|
|
|
/* 页面主容器样式 */
|
|
.profile-container {
|
|
height: 874px;
|
|
background: #000000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
|
|
/* 滚动内容区样式 */
|
|
.profile-content {
|
|
flex: 1;
|
|
background: transparent;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* 个人信息卡片样式 */
|
|
.profile-card {
|
|
backdrop-filter: none;
|
|
border-radius: 24px;
|
|
margin: 16px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.profile-card::before {
|
|
display: none;
|
|
}
|
|
|
|
/* 顶部区域样式 */
|
|
.profile-top {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.avatar-section {
|
|
margin: 16px 16px 16px 16px;
|
|
}
|
|
|
|
.avatar-container {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
width: 100px;
|
|
height: 100px;
|
|
position: relative;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
|
|
transition: all 0.3s ease;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.avatar-container:active {
|
|
transform: scale(0.95);
|
|
box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.avatar-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* 在线状态指示器 */
|
|
.online-status.online {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
width: 14px;
|
|
height: 14px;
|
|
background: #4CAF50;
|
|
border: 2px solid #ffffff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
|
|
70% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
|
|
100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
|
|
}
|
|
|
|
.profile-main-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-name-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.profile-name {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
line-height: 1.2;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.profile-id {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 6px 0px;
|
|
width: fit-content;
|
|
}
|
|
|
|
.id-label {
|
|
font-size: 14px;
|
|
color: #f3f3f3;
|
|
font-weight: 400;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.id-value {
|
|
font-size: 14px;
|
|
color: #ffffff;
|
|
font-weight: 400;
|
|
font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.verify-btn {
|
|
color: white;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
padding: 3px 10px;
|
|
border-radius: 12px;
|
|
margin-left: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.verified-tag {
|
|
color: #fa6294;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
padding: 3px 10px;
|
|
border-radius: 12px;
|
|
margin-left: 8px;
|
|
border: 1px solid #50a853;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.verify-btn-p {
|
|
width: 22px;
|
|
height: 22px;
|
|
padding: 2px;
|
|
border-radius: 4px;
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.verified-tag-p {
|
|
width: 22px;
|
|
height: 22px;
|
|
padding: 2px;
|
|
border-radius: 4px;
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* 底部信息区样式 */
|
|
.profile-bottom {
|
|
background: linear-gradient(123deg, #8361FB 15.54%, #70AAFC 39.58%, #F0F8FB 62.43%, #F07BFF 90.28%);
|
|
border-radius: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
width: fit-content;
|
|
margin-left: auto;
|
|
justify-content: flex-end;
|
|
gap: 2px;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.qr-code-btn {
|
|
padding: 4px 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.edit-btn {
|
|
background: linear-gradient(124deg, #FF6460 1.58%, #EC42C8 34.28%, #435CFF 54%, #00D5FF 84.05%);
|
|
border-radius: 999px;
|
|
padding: 0px 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.setting-btn {
|
|
padding: 4px 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: all 0.2s ease;
|
|
margin-left: .5rem;
|
|
}
|
|
|
|
.qr-code-icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.edit-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.setting-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.edit-text {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: black;
|
|
}
|
|
|
|
.profile-location {
|
|
background: rgba(43, 43, 43, 1);
|
|
width:fit-content;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
border-radius: 24px;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.location-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.location-text {
|
|
font-size: 15px;
|
|
color: #e0e0e0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.profile-signature {
|
|
height: 120px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 12px;
|
|
background: rgba(90, 90, 90, 0.548);
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.1);
|
|
margin-right:16px;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.signature-text {
|
|
font-size: 15px;
|
|
color: #000000;
|
|
margin: auto;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.profile-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
margin-right:16px;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.tag-item {
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(90, 90, 90, 0.3);
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
padding: 5px 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.tag-label {
|
|
font-size: 13px;
|
|
color: #ffffff;
|
|
margin-right: 6px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.tag-value {
|
|
font-size: 13px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.qr-code-btn:active, .edit-btn:active, .setting-btn:active {
|
|
transform: scale(0.95);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* 会员卡片样式 */
|
|
.membership-card {
|
|
width: calc(100% - 32px);
|
|
height: 220px;
|
|
margin: 0 16px 16px;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
background: linear-gradient(152deg, rgba(19, 157, 255, 0.3), rgba(49, 55, 234, 0.3), rgba(59, 196, 147, 0.3));
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 0 1px rgba(255, 255, 255, 0.5);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.membership-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
width: 55%;
|
|
}
|
|
|
|
.logo-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.logo-image {
|
|
width: 48px;
|
|
height: 39px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.logo-text {
|
|
color: #FFF;
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.benefit-tag {
|
|
display: flex;
|
|
align-items: center;
|
|
width: fit-content;
|
|
height:fit-content;
|
|
margin-left: 20px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.benefit-content {
|
|
background: #1C4EFE;
|
|
border-radius: 9999px;
|
|
padding: 8px 16px;
|
|
width: fit-content;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.benefit-text {
|
|
color: #FFF;
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.check-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 2px;
|
|
flex-shrink: 0;
|
|
object-fit: contain;
|
|
align-self: center !important;
|
|
}
|
|
|
|
.get-button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 150px;
|
|
height: 50px;
|
|
border-radius: 999px;
|
|
border: 1px solid #4E4E4E;
|
|
background: linear-gradient(262deg, #000 11.88%, #232323 91.52%);
|
|
box-shadow: 8px 0 12px 0 rgba(46, 173, 251, 0.25) inset;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.get-button-text {
|
|
color: #FFF;
|
|
font-family: 'Poppins', sans-serif;
|
|
font-size: 25px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
line-height: 1;
|
|
}
|
|
|
|
.cards-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 45%;
|
|
}
|
|
|
|
.card-stack {
|
|
position: relative;
|
|
width: 200px;
|
|
height: 168px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.vip-card {
|
|
position: absolute;
|
|
width: 170px;
|
|
height: 119px;
|
|
border-radius: 14px;
|
|
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 1px 1px 0 rgba(165, 165, 165, 0.25) inset, 0 0 1px 0 rgba(217, 217, 217, 0.20) inset;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.card-15deg {
|
|
transform: rotate(-15deg)translate(-6px, 6px);
|
|
z-index: 3;
|
|
}
|
|
|
|
.card-10deg {
|
|
transform: rotate(-10deg);
|
|
z-index: 2;
|
|
}
|
|
|
|
.card-5deg {
|
|
transform: rotate(-5deg)translate(6px, -6px);
|
|
z-index: 1;
|
|
}
|
|
|
|
/* 功能模块样式 */
|
|
.quick-actions {
|
|
background: linear-gradient(123deg, rgba(19, 157, 255, 0.4) 14.61%, rgba(49, 55, 234, 0.4) 53.02%, rgba(59, 196, 147, 0.4) 96.97%);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
border-radius: 20px;
|
|
margin: 0 16px 16px;
|
|
padding: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 0 16px rgba(255, 255, 255, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.quick-actions::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
|
|
transform: rotate(30deg);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.action-row {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.action-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 12px;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.5);
|
|
}
|
|
|
|
.action-item:active {
|
|
transform: scale(0.96) translateY(1px);
|
|
background: rgba(102, 126, 234, 0.1);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) inset, 0 1px 2px rgba(255, 255, 255, 0.2);
|
|
filter: brightness(0.98);
|
|
}
|
|
|
|
.action-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin-bottom: 8px;
|
|
display: block;
|
|
object-fit: contain;
|
|
background-color: transparent;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.action-text {
|
|
font-size: 20px;
|
|
color: rgb(255, 255, 255);
|
|
font-weight: 400;
|
|
text-align: center;
|
|
}
|
|
|
|
.menu-section {
|
|
margin: 0 16px 16px;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.menu-group {
|
|
background: rgba(255, 255, 255, 0.9);
|
|
backdrop-filter: blur(20px);
|
|
border-radius: 16px;
|
|
margin-bottom: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.group-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 16px 20px 8px;
|
|
background: rgba(102, 126, 234, 0.05);
|
|
}
|
|
|
|
.group-icon {
|
|
font-size: 16px;
|
|
color: #667eea;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.group-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.menu-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.menu-item:active {
|
|
background: rgba(102, 126, 234, 0.05);
|
|
}
|
|
|
|
.menu-left {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.menu-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
color: #ffffff;
|
|
margin-right: 12px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.menu-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.menu-title {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #2c3e50;
|
|
line-height: 1.2;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.menu-subtitle {
|
|
font-size: 12px;
|
|
color: #666;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.menu-right {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu-badge {
|
|
background: #ff4757;
|
|
color: white;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
padding: 2px 6px;
|
|
border-radius: 8px;
|
|
margin-right: 8px;
|
|
min-width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.menu-arrow {
|
|
color: #bbb;
|
|
font-size: 18px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.logout-section {
|
|
margin: 0 16px 16px;
|
|
}
|
|
|
|
.logout-btn {
|
|
background: rgba(255, 71, 87, 0.1);
|
|
border: 1px solid rgba(255, 71, 87, 0.2);
|
|
border-radius: 16px;
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.logout-btn:active {
|
|
background: rgba(255, 71, 87, 0.15);
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.logout-icon {
|
|
font-size: 16px;
|
|
color: #ff4757;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.logout-text {
|
|
font-size: 16px;
|
|
color: #ff4757;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.bottom-space {
|
|
margin-bottom: env(safe-area-inset-bottom);
|
|
min-height: 40px;
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 375px) {
|
|
.profile-header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.avatar-section {
|
|
margin-right: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.profile-stats {
|
|
justify-content: center;
|
|
}
|
|
|
|
.action-item {
|
|
padding: 8px;
|
|
}
|
|
|
|
.action-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.action-text {
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
|
|
.profile-tabs {
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.tab-scroll {
|
|
display: flex;
|
|
flex-direction: row;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tab-item {
|
|
margin-top: .5rem;
|
|
padding: 15rpx 28rpx; /* smaller padding vertically + horizontally */
|
|
font-size: 25rpx; /* slightly smaller text */
|
|
line-height: 45rpx; /* controls the text vertical alignment */
|
|
height: 60rpx; /* explicit height for the box */
|
|
display: flex; /* ensures vertical centering */
|
|
align-items: center; /* centers text in the box */
|
|
color: white;
|
|
border-radius: 10px;
|
|
background: rgba(90, 90, 90, 0.548);
|
|
transition: all 0.2s;
|
|
margin-left: .3rem;
|
|
margin-right: .3rem;
|
|
}
|
|
|
|
|
|
|
|
.tab-item.active {
|
|
color: #fff;
|
|
background: rgba(90, 90, 90, 0.836);
|
|
font-weight: bold;
|
|
}
|
|
.test-text{
|
|
color: white;
|
|
}
|
|
.profile-bottom {
|
|
background: linear-gradient(123deg, #8361FB 15.54%, #70AAFC 39.58%, #F0F8FB 62.43%, #F07BFF 90.28%);
|
|
border-radius: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.input-box {
|
|
display: flex;
|
|
align-items: center;
|
|
border: 1px solid lightgray;
|
|
border-radius: 25rpx;
|
|
padding: .8rem; /* inner padding */
|
|
margin: 20rpx 35rpx; /* outer margin */
|
|
color: white;
|
|
}
|
|
|
|
.input-field {
|
|
flex: 1; /* take full width */
|
|
font-size: 30rpx;
|
|
border: none; /* remove native border */
|
|
outline: none; /* remove focus outline */
|
|
}
|
|
|
|
.camera-icon {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
margin-left: 12rpx;
|
|
color: white;
|
|
}
|
|
.moments {
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.moment-card {
|
|
border: 1px solid #eee;
|
|
border-radius: 12rpx;
|
|
padding: 20rpx;
|
|
color: white;
|
|
}
|
|
|
|
.moment-header {
|
|
display: flex;
|
|
justify-content: space-between; /* space between date and year */
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.moment-text {
|
|
font-size: 26rpx;
|
|
color: white;
|
|
line-height: 1.5;
|
|
margin-bottom: 15rpx;
|
|
display: block;
|
|
}
|
|
|
|
.moment-img {
|
|
width: 100%;
|
|
border-radius: 8rpx;
|
|
}
|
|
.textcolor{
|
|
color: white;
|
|
margin-left: 1.5rem;
|
|
}
|
|
.myfootprint{
|
|
margin: 30rpx;
|
|
padding: 20rpx;
|
|
border-radius: 20rpx;
|
|
background: linear-gradient(123deg, #8361FB 15.54%, #70AAFC 39.58%, #F0F8FB 62.43%, #F07BFF 90.28%);
|
|
position: relative;
|
|
height: 200rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* White pill badge */
|
|
.footprint-badge {
|
|
position: absolute;
|
|
bottom: 30rpx;
|
|
right: 30rpx;
|
|
background: #fff;
|
|
padding: 8rpx 20rpx;
|
|
border-radius: 30rpx;
|
|
z-index: 3;
|
|
}
|
|
|
|
.footprint-badge text {
|
|
font-size: 26rpx;
|
|
font-weight: bold;
|
|
color: #000;
|
|
}
|
|
|
|
|
|
|
|
|
|
|