feat: 完成见素起名小程序核心功能
- 实现 AI 起名功能(Kimi API 接入) - 添加用户收藏功能(MySQL 数据库) - 实现海报生成与分享 - 添加音效和触觉反馈 - 配置生产环境部署(WAR 包 + Nginx) - 支持多种起名模式(经典、诗词、自然、现代) - 实现分批加载优化体验
This commit is contained in:
66
miniprogram/app.wxss
Normal file
66
miniprogram/app.wxss
Normal file
@@ -0,0 +1,66 @@
|
||||
/* 全局变量定义 */
|
||||
page {
|
||||
--jiansu-bg: #ffffff;
|
||||
--jiansu-text: #2c2c2c;
|
||||
--jiansu-text-secondary: #4a4a4a;
|
||||
--jiansu-text-tertiary: #a0a0a0;
|
||||
--jiansu-border: #f0f0f0;
|
||||
--jiansu-border-light: #e0e0e0;
|
||||
--jiansu-accent: #8e8e8e;
|
||||
--jiansu-red: #b22222;
|
||||
}
|
||||
|
||||
/* 全局基础样式 */
|
||||
page {
|
||||
font-family: "Noto Serif SC", "Source Han Serif SC", "PingFang SC", "Microsoft YaHei", serif;
|
||||
background-color: var(--jiansu-bg);
|
||||
color: var(--jiansu-text);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* 隐藏滚动条 */
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 通用按钮重置 */
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
button::after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* 通用输入框重置 */
|
||||
input {
|
||||
font-family: inherit;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* 通用文本样式 */
|
||||
.text-primary {
|
||||
color: var(--jiansu-text);
|
||||
}
|
||||
|
||||
.text-secondary {
|
||||
color: var(--jiansu-text-secondary);
|
||||
}
|
||||
|
||||
.text-tertiary {
|
||||
color: var(--jiansu-text-tertiary);
|
||||
}
|
||||
|
||||
/* 通用边框样式 */
|
||||
.border-light {
|
||||
border-color: var(--jiansu-border);
|
||||
}
|
||||
|
||||
.border-lighter {
|
||||
border-color: var(--jiansu-border-light);
|
||||
}
|
||||
Reference in New Issue
Block a user