feat: refine profile and home UI with dynamic fortune rules

This commit is contained in:
zhouzhibo committed 2026-10-15 21:56:45 +08:00
1 parent 869376979c
commit 4608dbd5cf
59 files changed
+3424 -1347

No files matched your search

+9 -1
View File
@@ -10,7 +10,7 @@ export default defineConfig(async () => ({
828: 1.81 / 2
},
sourceRoot: 'src',
outputRoot: 'dist',
outputRoot: process.env.TARO_ENV === 'h5' ? 'dist-h5' : 'dist',
plugins: ['@tarojs/plugin-framework-react'],
defineConstants: {},
copy: {
@@ -19,6 +19,14 @@ export default defineConfig(async () => ({
},
framework: 'react',
compiler: 'webpack5',
h5: {
postcss: {
pxtransform: {
enable: true,
config: { baseFontSize: 20, minRootSize: 16, maxRootSize: 40 }
}
}
},
mini: {
postcss: {
pxtransform: {