feat(expert): adapt expert detail page to dual-theme system with theme-warm support
这个提交包含在:
@@ -1051,6 +1051,16 @@ describe('ContentSecurityService & Compliance Architecture (TDD 微信内容安
|
||||
expect(content).toContain('syncInitialPostStates');
|
||||
});
|
||||
|
||||
it('大神主页必须接入全局双主题联动并在暖阳晨曦模式下适配 theme-warm', () => {
|
||||
const expertDetailPath = path.join(rootDir, 'pwuniapp', 'pages', 'expert', 'detail.vue');
|
||||
const content = fs.readFileSync(expertDetailPath, 'utf-8');
|
||||
expect(content).toContain("theme-warm': currentThemeKey === 'warm'");
|
||||
expect(content).toContain('getCurrentThemeKey');
|
||||
expect(content).toContain('applyThemeToNativeUI');
|
||||
expect(content).toContain('theme-change');
|
||||
expect(content).toContain('.expert-detail-container.theme-warm');
|
||||
});
|
||||
|
||||
it('所有状态持久化修复代码与测试严禁包含任何系统 Emoji 违规字符', () => {
|
||||
const actDetailPath = path.join(rootDir, 'pwuniapp', 'pages', 'activity', 'detail.vue');
|
||||
const ticketPath = path.join(rootDir, 'pwuniapp', 'pages', 'activity', 'my-ticket.vue');
|
||||
|
||||
在新工单中引用
屏蔽一个用户