docs(mp): 新增小程序全页面 HTML 原型 + UI 优化指南

- 新增 12 个核心页面原型(登录/首页/咨询/预约/商城/健康等)
- 新增医生端分包原型(核心 + 临床两个分包)
- 新增 AI 客服对话页原型
- 新增 MP UI 优化指南文档
- 更新 wiki 基础设施和小程序文档
This commit is contained in:
iven
2026-05-17 00:51:07 +08:00
parent 710b2e2423
commit aa27c5174c
93 changed files with 15506 additions and 70 deletions

View File

@@ -20,5 +20,23 @@ export default {
});
},
},
h5: {},
h5: {
devServer: {
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
},
},
client: {
overlay: {
errors: true,
warnings: false,
},
},
},
webpackChain(chain) {
chain.resolve.alias.set('react-dom$', require.resolve('react-dom'));
},
},
} satisfies UserConfigExport;

View File

@@ -8,7 +8,7 @@ export default defineConfig(async (merge) => {
designWidth: 375,
deviceRatio: { 640: 2.34 / 2, 750: 1, 375: 2, 828: 1.81 / 2 },
sourceRoot: 'src',
outputRoot: 'dist',
outputRoot: process.env.TARO_ENV === 'h5' ? 'dist-h5' : 'dist',
plugins: [],
defineConstants: {
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),

View File

@@ -18,7 +18,6 @@ export default {
h5: {
miniCssExtractPluginOption: {
ignoreOrder: true,
cssLoaderOption: { importLoaders: 1, esModule: false },
},
},
} satisfies UserConfigExport;