init: initial commit

This commit is contained in:
2026-10-07 09:28:43 +08:00
commit a68a4ef411
251 changed files with 38279 additions and 0 deletions
+308
View File
@@ -0,0 +1,308 @@
/* pages/profile/profile.wxss */
@import '../../styles/common.wxss';
page { background: linear-gradient(180deg, #F4E2E3 0%, #FAF5EE 55%, #FAF5EE 100%); height: 100vh; overflow: hidden; }
.container { padding-top: 16rpx; padding-bottom: 300rpx; }
.page-root { height: 100vh; overflow: hidden; }
scroll-view.page-bg { height: 100vh; overflow-y: scroll; -webkit-overflow-scrolling: touch; }
/* 编辑卡全屏 */
.edit-root {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 1000;
background: linear-gradient(180deg, #FFF0F5 0%, #F4E2E3 40%, #FAFAFA 100%);
display: flex;
flex-direction: column;
}
.edit-nav {
display: flex;
align-items: center;
padding: 100rpx 32rpx 24rpx;
}
.edit-body {
flex: 1;
padding: 0 56rpx;
overflow-y: auto;
}
.edit-avatar-wrap {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 24rpx;
}
.edit-avatar-img,
.edit-avatar-placeholder {
width: 120rpx; height: 120rpx;
border-radius: 50%;
border: 4rpx solid #FFB4C8;
}
.edit-avatar-placeholder {
background: linear-gradient(135deg, #FF6B81, #B388FF);
display: flex; align-items: center; justify-content: center;
font-size: 40rpx; font-weight: 700; color: white;
}
.edit-avatar-hint {
font-size: 22rpx; color: #B74768; margin-top: 8rpx;
}
.edit-id {
font-size: 24rpx; color: #bbb;
text-align: center; display: block;
margin-bottom: 24rpx;
}
.input-group { margin-bottom: 20rpx; }
.input-group label {
font-size: 28rpx; font-weight: 500; color: #555;
display: block; margin-bottom: 8rpx;
}
.input {
padding: 20rpx 28rpx; font-size: 30rpx;
background: white;
border-radius: 16rpx;
border: 2rpx solid #F0E6FF;
}
.input-group.readonly .input.readonly-text {
background: #F8F4FF;
color: #666;
border-color: #E8DCF5;
padding: 20rpx 28rpx;
font-size: 30rpx;
border-radius: 16rpx;
border: 2rpx solid #E8DCF5;
line-height: 1.5;
min-height: 44rpx;
display: flex;
align-items: center;
}
.edit-footer {
padding: 20rpx 56rpx;
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
}
/* ===== 邀请绑定面板 ===== */
.invite-root {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 1000;
background: #FFF5F5;
display: flex;
flex-direction: column;
}
.invite-nav {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 1001;
height: 176rpx;
display: flex;
align-items: flex-end;
justify-content: space-between;
padding-bottom: 16rpx;
background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
}
.invite-nav-title {
font-size: 32rpx;
font-weight: 600;
color: #333;
}
.invite-body {
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
/* 邀请页标签 */
.invite-tabs {
display: flex;
background: white;
border-radius: 100rpx;
padding: 8rpx;
margin-bottom: 48rpx;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.05);
}
.invite-tab {
flex: 1;
padding: 24rpx;
text-align: center;
border-radius: 100rpx;
font-size: 28rpx;
font-weight: 600;
transition: all 0.3s;
color: #888;
}
.invite-tab.active {
background: linear-gradient(135deg, #B74768, #B388FF);
color: white;
}
.invite-list {
display: flex;
flex-direction: column;
gap: 32rpx;
}
.invite-card {
background: white;
border-radius: 48rpx;
padding: 40rpx;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.05);
}
.invite-card-header {
display: flex;
align-items: center;
gap: 24rpx;
margin-bottom: 24rpx;
}
.invite-avatar {
width: 96rpx;
height: 96rpx;
border-radius: 50%;
background: linear-gradient(135deg, #B388FF, #82B1FF);
display: flex;
align-items: center;
justify-content: center;
font-size: 36rpx;
font-weight: 700;
color: white;
flex-shrink: 0;
}
.invite-info {
flex: 1;
}
.invite-name {
font-size: 30rpx;
font-weight: 600;
display: block;
}
.invite-time {
font-size: 26rpx;
color: #888;
display: block;
margin-top: 4rpx;
}
.invite-status {
padding: 8rpx 20rpx;
border-radius: 40rpx;
font-size: 24rpx;
flex-shrink: 0;
}
.invite-status.accepted {
background: #E8F5E9;
color: #4CAF50;
}
.invite-status.pending {
background: #FFF3E0;
color: #FF9800;
}
.invite-message {
font-size: 28rpx;
color: #4A4A4A;
padding: 24rpx;
background: #FFF8E7;
border-radius: 24rpx;
margin-bottom: 24rpx;
}
.invite-actions {
display: flex;
gap: 24rpx;
}
.invite-actions .btn {
flex: 1;
padding: 24rpx;
font-size: 28rpx;
}
.empty-tip {
text-align: center;
padding: 80rpx 0;
color: #888;
font-size: 26rpx;
}
/* 分享绑定弹窗 */
.auth-header {
text-align: center;
margin-bottom: 64rpx;
}
.auth-icon {
font-size: 112rpx;
margin-bottom: 32rpx;
display: block;
animation: bounce 2s ease-in-out infinite;
}
.auth-title {
font-size: 52rpx;
font-weight: 700;
color: #4A4A4A;
margin-bottom: 16rpx;
display: block;
background: linear-gradient(135deg, #B74768, #B388FF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.auth-desc {
color: #888;
font-size: 28rpx;
display: block;
}
.btn-sm {
padding: 24rpx 32rpx;
font-size: 28rpx;
}
.btn-secondary {
background: white;
color: #B74768;
border: 4rpx solid #B74768;
}
.btn-secondary:active {
background: #F4E2E3;
}
.btn-outline {
background: transparent;
color: #B74768;
border: 4rpx solid #FFB4C8;
}
.btn-outline:active {
background: #F4E2E3;
}
@import '../../styles/design.wxss';
@import '../../styles/journal.wxss';
/* TA 的资料仅供查看,不预留编辑操作区。 */
.partner-view .edit-body { min-height: 0; padding-bottom: calc(40rpx + env(safe-area-inset-bottom)); }
.partner-view .edit-nav { position: relative; }
.partner-nav-title { position: absolute; left: 120rpx; right: 120rpx; text-align: center; font-size: 32rpx; font-weight: 600; color: #342F2B; pointer-events: none; }
.partner-view .readonly-text { white-space: pre-wrap; overflow-wrap: anywhere; }