// 静态活动配置 export const staticActivityConfigs = [ { // CWG Markets 月赏礼遇 id: 'monthlyGift', title: 'MonthlyActivities.item1', description: 'MonthlyActivities.item1_1', image: '/static/images/yue.jpg', showCondition: "country === 'CN'", hot: true, buttons: [ { type: 'dynamic', text: 'news_add_field1.activities10_trading_aoyun.item3', action: 'openSurplusActivityDialog1', classCondition: 'monthlyGive' }, { type: 'check', text: 'wallet.item15', action: 'openPdf', pdf: '/pdf/pdf13/CWG Prime Bonus-cn.pdf' }, { type: 'check', text: 'Transfer.item7', action: 'openPdf', pdf: '/pdf/pdf13/CWG Markets Prime Bonus Application Process-cn.pdf' }, { type: 'check', text: 'wallet.item14', action: 'goMonthlyTaskList' } ] }, { // 赠金活动 id: 'bonusGift', title: 'surplusList.item1', description: 'surplusList.item2', image: '/static/images/su.png', hot: true, buttons: [ { type: 'dynamic', text: 'news_add_field1.activities10_trading_aoyun.item3', action: 'openSurplusActivityDialog', classCondition: 'surplusGive' }, { type: 'check', text: 'wallet.item15', action: 'openPdf', pdf: { dynamic: true, path: '/pdf/pdf12/CWG Prime Bonus-{lang}.pdf' } }, { type: 'check', text: 'Transfer.item7', action: 'openPdf', pdf: { dynamic: true, path: '/pdf/pdf12/CWG Markets Prime Bonus Application Process-{lang}.pdf', fallback: '/pdf/pdf12/CWG Markets Prime Bonus Application Process-en.pdf', supportedLangs: ['cn', 'zhHant', 'en'] } }, { type: 'check', text: 'wallet.item14', action: 'goSurplusTaskList' } ] }, { // 交易大赛 id: 'tradingCompetition', title: 'news_add_field1.activitiesJYDS2025.item1', description: 'news_add_field1.activitiesJYDS2025.item2', image: '/static/images/banner.jpg', showCondition: 'tableDataCptFlag', hot: true, onClick: 'toSingle', onClickParams: ['23xinjia'], buttons: [ { type: 'red', text: 'news_add_field1.activitiesJYDS.item3', action: 'toApplyCptOpen', classCondition: 'tableDataCpt.signStatus === 0' }, { type: 'check', text: 'news_add_field1.activitiesJYDS.item4', action: 'toSingle', params: ['23xinjia'] }, { type: 'check', text: 'news_add_field1.activitiesJYDS.item4_1', action: 'toOpenSingle', params: ['tableDataCpt.pageAddress'] } ] }, // { // id: 'eliteCup24', // title: 'news_add_field1.activitiesJYB.item1', // description: 'news_add_field1.activitiesJYB.item2', // image: '/static/images/jyb.jpg', // showCondition: 'tableData3FlagJYB', // onClick: 'toSingle', // onClickParams: ['24JYB'], // buttons: [ // { // type: 'red', // text: 'news_add_field1.activitiesJYB.item3', // action: 'toApply24JYBOpenVip', // condition: 'tableData3JYB.show === 1', // and: 'timeExpireJx(tableData3JYB.applicationEndTime)' // }, // { // type: 'gray', // text: 'news_add_field1.activitiesJYB.item3', // action: 'openDialog', // params: ['dialogChinaUnionPayJX'], // condition: 'tableData3JYB.show === 1', // and: '!timeExpireJx(tableData3JYB.applicationEndTime)' // }, // { // type: 'red', // text: 'news_add_field1.activitiesJYB.item4', // action: 'toRealization24JYBVip', // condition: 'isRealizationJxJYB === 1' // }, // { // type: 'gray', // text: 'news_add_field1.activitiesJYB.item4', // condition: 'isRealizationJxJYB === 2' // }, // { // type: 'check', // text: 'news_add_field1.activitiesJYB.item5', // action: 'toSingle', // params: ['24JYB'] // } // ] // }, ]