fix(withdraw): remove alipay/bank channels and enhance rules card text contrast in warm theme
这个提交包含在:
@@ -147,17 +147,27 @@ describe('ClientFeatures (TDD 测试套件: 用户端功能闭环)', () => {
|
||||
expect(content).toContain("app.get('/api/favorites/check'");
|
||||
});
|
||||
|
||||
it('陪玩详情页与个人中心必须实现收藏状态联动与列表渲染', () => {
|
||||
it('陪玩详情页、个人中心与独立收藏页面必须实现收藏状态联动与列表渲染', () => {
|
||||
const detailVuePath = path.join(uniPagesDir, 'expert', 'detail.vue');
|
||||
const detailContent = fs.readFileSync(detailVuePath, 'utf-8');
|
||||
expect(detailContent).toContain('toggleFavorite');
|
||||
expect(detailContent).toContain('isFav');
|
||||
|
||||
// 个人中心点击我的收藏直接跳转独立页面
|
||||
const userVuePath = path.join(uniPagesDir, 'user', 'index.vue');
|
||||
const userContent = fs.readFileSync(userVuePath, 'utf-8');
|
||||
expect(userContent).toContain('openFavoritesModal');
|
||||
expect(userContent).toContain('favoriteList');
|
||||
expect(userContent).toContain('handleRemoveFavorite');
|
||||
expect(userContent).toContain('/pages/user/favorites');
|
||||
|
||||
// 独立收藏页面完整闭环与能力
|
||||
const favVuePath = path.join(uniPagesDir, 'user', 'favorites.vue');
|
||||
expect(fs.existsSync(favVuePath)).toBe(true);
|
||||
const favContent = fs.readFileSync(favVuePath, 'utf-8');
|
||||
expect(favContent).toContain('removeFavorite');
|
||||
expect(favContent).toContain('handleCancelFavorite');
|
||||
expect(favContent).toContain('filterOnlyOnline');
|
||||
expect(favContent).toContain('isOnline');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户