| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- // 静态活动配置
- 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']
- // }
- // ]
- // },
- ]
|