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');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ 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).toBe(17);
|
||||
expect(config.pages.length).toBe(18);
|
||||
|
||||
for (const pageItem of config.pages) {
|
||||
const vueFilePath = path.join(rootDir, 'pwuniapp', `${pageItem.path}.vue`);
|
||||
@@ -685,13 +685,11 @@ describe('ContentSecurityService & Compliance Architecture (TDD 微信内容安
|
||||
expect(pagesJson).toContain('收益提现');
|
||||
});
|
||||
|
||||
it('独立提现页面必须支持微信零钱、支付宝、银行卡三渠道与金额输入校验', () => {
|
||||
it('独立提现页面必须支持微信零钱官方极速直达渠道与金额输入校验', () => {
|
||||
const wdPath = path.join(rootDir, 'pwuniapp', 'pages', 'user', 'withdraw.vue');
|
||||
const content = fs.readFileSync(wdPath, 'utf-8');
|
||||
expect(content).toContain('currentChannel');
|
||||
expect(content).toContain('WECHAT');
|
||||
expect(content).toContain('ALIPAY');
|
||||
expect(content).toContain('BANK');
|
||||
expect(content).toContain('withdrawAmount');
|
||||
expect(content).toContain('handleFillAllCommission');
|
||||
expect(content).toContain('withdrawCommission');
|
||||
|
||||
在新工单中引用
屏蔽一个用户