docs(website): 添加简记memo产品原型和UI设计规范文档

- 新增「简记memo」一体化小程序产品原型设计文档
- 新增简记memo完整版UI视觉设计规范和界面细节
- 添加IDEA项目配置文件.gitignore
- 创建404页面HTML文件,包含响应式布局和错误提示
- 添加关于页面HTML文件,展示品牌介绍和团队信息
- 实现AES加解密工具函数,支持请求体加密
- 添加用户协议页面基础框架
This commit is contained in:
sunct
2026-07-31 14:12:32 +08:00
commit 3c3bf53ae4
115 changed files with 21304 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+301
View File
@@ -0,0 +1,301 @@
/* ===================================
简记memo - 表单公共样式
=================================== */
/* 表单容器 */
.form-container {
width: 100%;
max-width: 400px;
background: #fff;
border-radius: 24px;
padding: 40px;
box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}
/* ===================================
表单标签页
=================================== */
.form-tabs {
display: flex;
background: #f1f5f9;
border-radius: 14px;
padding: 5px;
margin-bottom: 32px;
}
.form-tab {
flex: 1;
padding: 12px;
font-weight: 600;
color: #64748b;
background: none;
border: none;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s;
font-size: 0.9rem;
text-align: center;
}
.form-tab:hover {
color: #6366f1;
}
.form-tab.active {
background: #fff;
color: #6366f1;
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}
/* 表单组 */
.form-group {
margin-bottom: 20px;
}
.form-label {
display: block;
font-weight: 600;
color: #1e293b;
margin-bottom: 8px;
font-size: 0.875rem;
line-height: 1.4;
}
/* 输入框 */
.form-input {
width: 100%;
padding: 14px 16px;
border: 2px solid #e2e8f0;
border-radius: 12px;
font-size: 1rem;
transition: all 0.2s;
background: #fff;
box-sizing: border-box;
margin: 0;
-webkit-autofill: none;
autocomplete: off;
}
.form-input:focus {
outline: none;
border-color: #6366f1;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}
.form-input::placeholder {
color: #94a3b8;
}
/* 文本域 */
.form-textarea {
width: 100%;
padding: 14px 16px;
border: 2px solid #e2e8f0;
border-radius: 12px;
font-size: 1rem;
transition: all 0.2s;
background: #fff;
box-sizing: border-box;
margin: 0;
resize: vertical;
min-height: 80px;
font-family: inherit;
-webkit-autofill: none;
autocomplete: off;
}
.form-textarea:focus {
outline: none;
border-color: #6366f1;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}
.form-textarea::placeholder {
color: #94a3b8;
}
/* 选择框 */
.form-select {
width: 100%;
padding: 14px 16px;
border: 2px solid #e2e8f0;
border-radius: 12px;
font-size: 1rem;
transition: all 0.2s;
background: #fff;
box-sizing: border-box;
cursor: pointer;
margin: 0;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
}
.form-select:focus {
outline: none;
border-color: #6366f1;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}
/* 表单行 */
.form-row {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 12px;
align-items: flex-end;
}
/* 主要按钮 */
.btn-primary {
width: 100%;
padding: 15px;
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
color: #fff;
border: none;
border-radius: 12px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.2s;
text-align: center;
box-sizing: border-box;
line-height: 1.4;
letter-spacing: 0.5px;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}
.btn-primary:active {
transform: translateY(0);
}
/* 发送验证码按钮 */
.btn-code {
padding: 14px 16px;
border: 2px solid #6366f1;
border-radius: 12px;
background: #fff;
color: #6366f1;
font-weight: 600;
font-size: 0.875rem;
cursor: pointer;
transition: all 0.2s;
height: 50px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
text-align: center;
white-space: nowrap;
}
.btn-code:hover {
background: rgba(99, 102, 241, 0.04);
}
.btn-code:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* 次要链接 */
.forgot-link {
display: block;
font-size: 0.875rem;
color: #64748b;
text-align: right;
cursor: pointer;
transition: color 0.2s;
margin-top: -4px;
}
.forgot-link:hover {
color: #6366f1;
}
/* 返回链接 */
.back-link {
display: inline-flex;
align-items: center;
gap: 4px;
color: #64748b;
font-size: 0.875rem;
cursor: pointer;
transition: color 0.2s;
margin-bottom: 16px;
}
.back-link:hover {
color: #6366f1;
}
/* 错误提示 */
.error-message {
background: rgba(239, 68, 68, 0.06);
color: #ef4444;
padding: 12px 16px;
border-radius: 10px;
font-size: 0.875rem;
margin-bottom: 16px;
display: none;
line-height: 1.4;
}
.error-message.show {
display: block;
}
/* 成功提示 */
.success-message {
background: rgba(16, 185, 129, 0.06);
color: #10b981;
padding: 12px 16px;
border-radius: 10px;
font-size: 0.875rem;
margin-bottom: 16px;
display: none;
line-height: 1.4;
}
.success-message.show {
display: block;
}
/* 底部提示 */
.footer-tip {
text-align: center;
font-size: 0.875rem;
color: #94a3b8;
margin-top: 24px;
line-height: 1.4;
}
.footer-tip a {
color: #6366f1;
text-decoration: none;
font-weight: 500;
}
.footer-tip a:hover {
text-decoration: underline;
}
/* 响应式 */
@media (max-width: 768px) {
.form-container {
padding: 24px;
}
.form-row {
grid-template-columns: 1fr;
}
.btn-code {
width: 100%;
}
}
+153
View File
@@ -0,0 +1,153 @@
/* FullCalendar Base Styles */
.fc {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-start {
margin-left: 2px;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-end {
margin-right: 2px;
}
.fc-daygrid-day-top {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
}
.fc-daygrid-day-number {
font-size: 14px;
font-weight: 500;
padding: 4px 8px;
}
.fc-theme-standard td,
.fc-theme-standard th {
border: 1px solid #e5e7eb;
}
.fc-theme-standard thead {
background: #f9fafb;
}
.fc-col-header-cell-cushion {
padding: 8px 4px;
font-weight: 600;
color: #666;
text-transform: uppercase;
font-size: 12px;
}
.fc-daygrid-day {
background: #fff;
transition: all 0.2s;
}
.fc-daygrid-day:hover {
background: #f3f4f6;
}
.fc-daygrid-day-frame {
min-height: 100px;
}
.fc-toolbar-title {
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
}
.fc-button {
background: transparent !important;
border: 1px solid #e5e7eb !important;
color: #666 !important;
border-radius: 8px !important;
padding: 8px 16px !important;
margin: 0 4px !important;
font-weight: 500 !important;
transition: all 0.2s !important;
cursor: pointer;
}
.fc-button:hover {
background: #667eea !important;
border-color: #667eea !important;
color: #fff !important;
}
.fc-button-active {
background: #667eea !important;
border-color: #667eea !important;
color: #fff !important;
}
.fc-button-primary:not(:disabled).fc-button-active,
.fc-button-primary:not(:disabled):active {
background: #667eea !important;
border-color: #667eea !important;
}
.fc-today-button {
background: #667eea !important;
border-color: #667eea !important;
color: #fff !important;
}
.fc-day-today {
background: rgba(102, 126, 234, 0.1) !important;
}
.fc-day-today .fc-daygrid-day-frame {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
border-radius: 8px;
}
.fc-day-today .fc-daygrid-day-number {
color: #fff;
font-weight: 700;
}
.fc-event {
border-radius: 4px;
padding: 2px 6px;
font-size: 12px;
margin: 2px;
}
.fc-event-title {
font-weight: 500;
}
.fc-more-link {
font-size: 12px;
color: #667eea;
cursor: pointer;
}
.fc-more-link:hover {
text-decoration: underline;
}
.fc-highlight {
background: rgba(102, 126, 234, 0.2);
}
.fc-popover {
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border: 1px solid #e5e7eb;
}
.fc-popover-header {
padding: 8px 12px;
border-bottom: 1px solid #e5e7eb;
font-weight: 600;
}
.fc-popover-body {
padding: 8px;
}
+344
View File
@@ -0,0 +1,344 @@
/* ===================================
简记memo - 全局样式变量
=================================== */
:root {
--primary-color: #4F9EDE;
--primary-light: #67B8E3;
--primary-dark: #3A8BC9;
--secondary-color: #6366f1;
--accent-color: #34d399;
--warning-color: #fbbf24;
--danger-color: #ef4444;
--success-color: #10b981;
--text-primary: #1e293b;
--text-secondary: #64748b;
--text-muted: #94a3b8;
--bg-primary: #ffffff;
--bg-secondary: #f8fafc;
--bg-tertiary: #f1f5f9;
--border-color: #e2e8f0;
--border-light: #f1f5f9;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--gradient-primary: linear-gradient(135deg, #4F9EDE 0%, #3A8BC9 100%);
--gradient-secondary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}
/* ===================================
基础样式重置
=================================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-family);
font-size: 14px;
line-height: 1.6;
color: var(--text-primary);
background-color: var(--bg-secondary);
min-height: 100vh;
}
a {
color: var(--primary-color);
text-decoration: none;
transition: color 0.15s ease;
}
a:hover {
color: var(--primary-dark);
text-decoration: underline;
}
button {
font-family: inherit;
cursor: pointer;
border: none;
outline: none;
transition: all 0.15s ease;
}
input, textarea, select {
font-family: inherit;
font-size: inherit;
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
padding: 10px 12px;
background: var(--bg-primary);
color: var(--text-primary);
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(79, 158, 222, 0.08);
}
/* ===================================
按钮样式
=================================== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 16px;
border-radius: var(--radius-md);
font-weight: 500;
font-size: 14px;
transition: all 0.15s ease;
}
.btn-primary {
background: var(--gradient-primary);
color: #fff;
box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
box-shadow: var(--shadow-md);
transform: translateY(-0.5px);
}
.btn-secondary {
background: var(--bg-primary);
color: var(--text-secondary);
border: 1px solid var(--border-color);
}
.btn-secondary:hover {
background: var(--bg-tertiary);
border-color: var(--primary-color);
color: var(--primary-color);
}
.btn-sm {
padding: 6px 12px;
font-size: 12px;
}
/* ===================================
卡片样式
=================================== */
.card {
background: var(--bg-primary);
border-radius: var(--radius-lg);
border: 1px solid var(--border-color);
box-shadow: var(--shadow-sm);
padding: 20px;
}
.card-header {
padding-bottom: 16px;
margin-bottom: 16px;
border-bottom: 1px solid var(--border-light);
display: flex;
align-items: center;
justify-content: space-between;
}
.card-title {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
}
/* ===================================
表单样式
=================================== */
.form-group {
margin-bottom: 16px;
}
.form-label {
display: block;
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
margin-bottom: 6px;
}
.form-input {
width: 100%;
}
.form-textarea {
width: 100%;
min-height: 80px;
resize: vertical;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
/* ===================================
布局样式
=================================== */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.gap-4 {
gap: 16px;
}
.gap-6 {
gap: 24px;
}
/* ===================================
文字样式
=================================== */
.text-sm {
font-size: 12px;
}
.text-md {
font-size: 14px;
}
.text-lg {
font-size: 16px;
}
.text-xl {
font-size: 20px;
}
.font-medium {
font-weight: 500;
}
.font-semibold {
font-weight: 600;
}
.text-center {
text-align: center;
}
.text-muted {
color: var(--text-muted);
}
/* ===================================
状态提示
=================================== */
.alert {
padding: 12px 16px;
border-radius: var(--radius-md);
margin-bottom: 16px;
font-size: 13px;
display: flex;
align-items: flex-start;
gap: 8px;
}
.alert-success {
background: rgba(16, 185, 129, 0.08);
color: var(--success-color);
border: 1px solid rgba(16, 185, 129, 0.2);
}
.alert-error {
background: rgba(239, 68, 68, 0.08);
color: var(--danger-color);
border: 1px solid rgba(239, 68, 68, 0.2);
}
.alert-warning {
background: rgba(251, 191, 36, 0.08);
color: #d97706;
border: 1px solid rgba(251, 191, 36, 0.2);
}
/* ===================================
响应式
=================================== */
@media (max-width: 768px) {
.container {
padding: 0 16px;
}
.form-row {
grid-template-columns: 1fr;
}
.btn {
padding: 12px 16px;
font-size: 14px;
}
.card {
padding: 16px;
}
}
@media (max-width: 480px) {
body {
font-size: 13px;
}
.container {
padding: 0 12px;
}
.btn {
padding: 10px 14px;
font-size: 13px;
}
.card {
padding: 12px;
}
}
+174
View File
@@ -0,0 +1,174 @@
/* ===================================
简记memo - 登录页样式
=================================== */
.login-page {
display: flex;
min-height: calc(100vh - 70px);
}
/* 左侧品牌区 */
.login-left {
flex: 1;
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px;
color: #fff;
}
.login-logo {
width: 120px;
height: 120px;
border-radius: 28px;
background: rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 32px;
overflow: hidden;
}
.login-logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.login-brand {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 12px;
letter-spacing: 3px;
}
.login-slogan {
font-size: 1rem;
opacity: 0.9;
text-align: center;
line-height: 1.8;
max-width: 300px;
}
.login-features {
margin-top: 48px;
display: flex;
gap: 32px;
}
.feature-item {
text-align: center;
}
.feature-icon {
font-size: 2rem;
margin-bottom: 8px;
}
.feature-text {
font-size: 0.875rem;
opacity: 0.85;
}
/* 右侧表单区 */
.login-right {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
background: #f8fafc;
padding: 40px;
}
/* 响应式 */
@media (max-width: 768px) {
.login-page {
flex-direction: column;
}
.login-left {
padding: 40px 24px;
}
.login-logo {
width: 80px;
height: 80px;
}
.login-brand {
font-size: 1.75rem;
}
.login-features {
margin-top: 24px;
gap: 20px;
}
.login-right {
padding: 24px;
}
}
/* 页面底部版权信息 */
.page-footer {
padding: 24px;
text-align: center;
font-size: 0.75rem;
color: #94a3b8;
background: #fff;
border-top: 1px solid #e2e8f0;
}
.page-footer a {
color: #6366f1;
text-decoration: none;
}
.page-footer a:hover {
text-decoration: underline;
}
.footer-divider {
margin: 0 8px;
color: #cbd5e1;
}
/* 协议勾选框样式 */
.checkbox-group {
padding: 0;
margin-bottom: 16px;
}
.checkbox-label {
display: flex;
align-items: flex-start;
gap: 6px;
cursor: pointer;
font-size: 13px;
color: #64748b;
flex-wrap: wrap;
}
.form-checkbox {
width: 14px;
height: 14px;
cursor: pointer;
margin-top: 3px;
flex-shrink: 0;
}
.checkbox-text {
line-height: 1.6;
}
.link-text {
color: #4F9EDE;
text-decoration: none;
line-height: 1.6;
}
.link-text:hover {
text-decoration: underline;
}