fix: 主题颜色+文字搭配重构 v2

- 修复CSS变量未全局加载的问题(page选择器在H5中转为uni-page-body)
- 背景色由#050508改为#0a0a12(深空紫黑色,更耐看)
- 玻璃拟态透明度从3%提升到6%(卡片现在可见)
- 维度卡片背景从8%提升到12%(色彩更饱和)
- 文字层次重构:primary 0.95/ secondary 0.7/ tertiary 0.5/ muted 0.3
- 字体大小优化:dim-desc 12px, count 11px, news-title 14px
- 维度色系更新:紫#a78bfa/蓝#60a5fa/翠绿#34d399/金#fbbf24/玫瑰#fb7185
- 所有16个页面替换硬编码rgba颜色为CSS变量
- 卡片background/border替换为CSS变量
- 修复news.vue行号污染问题
This commit is contained in:
Yuzhiran Dev
2026-07-10 19:18:37 +08:00
parent f1097a0331
commit ffb23e75b4
15 changed files with 265 additions and 220 deletions
+30
View File
@@ -0,0 +1,30 @@
const ci = require('miniprogram-ci');
const path = require('path');
(async () => {
const project = new ci.Project({
appid: 'wxdad62baf4ccd09e3',
type: 'miniProgram',
projectPath: path.resolve(__dirname, 'frontend/ai-dimension/dist/build/mp-weixin'),
privateKeyPath: path.resolve('/root/Hermes-workspace/宇之然AI维度appid/private.wxdad62baf4ccd09e3.key'),
ignores: ['node_modules/**/*'],
});
console.log('→ 正在上传微信小程序...');
const uploadResult = await ci.upload({
project,
version: '1.1.0',
desc: 'AI维度 - 完整版开发',
setting: {
es6: true,
es7: true,
minify: true,
autoPrefixWXSS: true,
},
onProgressUpdate: console.log,
});
console.log('✅ 上传成功!', uploadResult);
})().catch(err => {
console.error('❌ 上传失败:', err);
process.exit(1);
});