feat(brand): rename product to 帮道

This commit is contained in:
2026-07-25 01:09:49 +08:00
parent 7e37b6803e
commit 4d2b3828c0
25 changed files with 42 additions and 42 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ const centeredButtonRule = (source, selector) => {
assert.match(rule, /line-height:\s*1(?:;|\s)/);
};
test('银城大喇叭仅使用认证后的真实广播接口', async () => {
test('帮道大喇叭仅使用认证后的真实广播接口', async () => {
const service = await read('../src/services/broadcast.ts');
assert.match(service, /\/api\/aihr\/broadcast\/unread-count/);
@@ -35,9 +35,9 @@ test('首页喇叭只在确认有未读消息时显示红点,未登录保留
assert.match(page, /const request = requests\.begin\('broadcast-unread'\);\s*unreadBroadcastCount\.value = null;/);
assert.match(page, /visibleAccountKey !== nextAccountKey[\s\S]*unreadBroadcastCount\.value = null;/);
assert.match(page, /<button class="brand-bell" :aria-label="broadcastBellLabel"/);
assert.match(page, /'银城大喇叭,未读状态暂不可用'/);
assert.match(page, /'银城大喇叭,无未读消息'/);
assert.match(page, /`银城大喇叭,\$\{unreadBroadcastCount\.value\} 条未读消息`/);
assert.match(page, /'帮道大喇叭,未读状态暂不可用'/);
assert.match(page, /'帮道大喇叭,无未读消息'/);
assert.match(page, /`帮道大喇叭,\$\{unreadBroadcastCount\.value\} 条未读消息`/);
assert.match(page, /rememberLoginRedirect\(path\)/);
assert.match(page, /uni\.navigateTo\(\{ url: path \}\)/);
});