feat(auth): compact agreement layout to single-line and support flexible backend configuration for user agreement and privacy policy

这个提交包含在:
xcbyy
2026-10-12 09:20:40 +08:00
父节点 f899829000
当前提交 334b7a63b0
共有 6 个文件被更改,包括 161 次插入 和 34 次删除

查看文件

@@ -473,6 +473,15 @@ describe('ContentSecurityService & Compliance Architecture (TDD 微信内容安
const emojiRegex = /(?:\p{Extended_Pictographic}|\p{Emoji_Presentation}|[\u2600-\u27BF])/u;
expect(emojiRegex.test(content)).toBe(false);
});
it('登录页面底部协议必须支持后台灵活配置与单行紧凑展示规范', () => {
const loginPath = path.join(rootDir, 'pwuniapp', 'pages', 'auth', 'login.vue');
const content = fs.readFileSync(loginPath, 'utf-8');
expect(content).toContain('getPlatformConfigs');
expect(content).toContain('platformProtocol');
expect(content).toContain('loadProtocolConfig');
expect(content).toContain('white-space: nowrap');
});
});
});