feat(activity&admin): 优化组局起止时段与性别限制,PC后台核销看板与登录页体验升级
这个提交包含在:
@@ -130,7 +130,8 @@ describe('ContentSecurityService & Compliance Architecture (TDD 微信内容安
|
||||
const raw = fs.readFileSync(pagesJsonPath, 'utf-8');
|
||||
const config = JSON.parse(raw);
|
||||
expect(Array.isArray(config.pages)).toBe(true);
|
||||
expect(config.pages.length).toBeGreaterThanOrEqual(28);
|
||||
const totalPages = config.pages.length + (config.subPackages || []).reduce((acc: number, sub: any) => acc + (sub.pages || []).length, 0);
|
||||
expect(totalPages).toBeGreaterThanOrEqual(28);
|
||||
|
||||
for (const pageItem of config.pages) {
|
||||
const vueFilePath = path.join(rootDir, 'pwuniapp', `${pageItem.path}.vue`);
|
||||
@@ -142,6 +143,19 @@ describe('ContentSecurityService & Compliance Architecture (TDD 微信内容安
|
||||
exists: true
|
||||
});
|
||||
}
|
||||
|
||||
for (const sub of (config.subPackages || [])) {
|
||||
for (const pageItem of sub.pages) {
|
||||
const vueFilePath = path.join(rootDir, 'pwuniapp', sub.root, `${pageItem.path}.vue`);
|
||||
expect({
|
||||
path: `${sub.root}/${pageItem.path}`,
|
||||
exists: fs.existsSync(vueFilePath)
|
||||
}).toEqual({
|
||||
path: `${sub.root}/${pageItem.path}`,
|
||||
exists: true
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
it('主包核心 TabBar 页面保持精炼且四大主页全部就绪', () => {
|
||||
@@ -484,7 +498,7 @@ describe('ContentSecurityService & Compliance Architecture (TDD 微信内容安
|
||||
expect(fs.existsSync(applyPath)).toBe(true);
|
||||
const pagesJsonPath = path.join(rootDir, 'pwuniapp', 'pages.json');
|
||||
const pagesJson = fs.readFileSync(pagesJsonPath, 'utf-8');
|
||||
expect(pagesJson).toContain('pages/expert/apply');
|
||||
expect(pagesJson.includes('pages/expert/apply') || (pagesJson.includes('pages/expert') && pagesJson.includes('"path": "apply"'))).toBe(true);
|
||||
expect(pagesJson).toContain('大神入驻认证');
|
||||
});
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户