| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- var content = {
- 'cn': {
- headers1: '登陆',
- headers2: '在线客服',
- headers3: '创建账户',
- box1item1: 'CWG C Plus+俱乐部上线!',
- box1item2: '交易得积分 好礼享不停',
- box1item3: '立即兑换',
- box1item4: '*丰富好礼请登录客户专区进行兑换',
- box2item1: '积分无上限长期有效',
- box2item2: '礼遇账户也可参与积分',
- box2item3: '新用户积分翻倍',
- box2item4: '所有账户类型均可积分',
- box2item5: '积分活动与CWG所有活动同享',
- box3item1: '名车超跑',
- box3item3: '电子数码',
- box3item5: '轻奢尚品',
- box3item6: '轻 奢 单 品',
- box3item7: '时 尚 前 沿',
- box3item8: '*丰富好礼请登录客户专区进行兑换',
- box3item9: '居家优选',
- box3item10: '优选家居好物',
- box3item11: '开启品质生活',
- box4item1: '乐善有恒 大爱无疆',
- box4item2: '您还可以用积分兑换慈善捐赠,为更多需要帮助的儿童提供一个公平的成功机会。',
- box4item3: '让困境地区喝上纯净水',
- box4item4: '为战乱儿童送一支铅笔',
- box4item5: '为灾区孩子送一个足球',
- box5item1: '还等什么,立即开启您的CWG好礼之旅吧!',
- box5item2: '立即兑换',
- box6item1: '告诉我们您想要的积分礼品!即有机会上架!',
- box6item2: '品牌:',
- box6item3: '产品:',
- box6item4: '提交',
- box7item1: 'CWG Markets是CWG集团的商标。',
- box7item2: 'Cwgvu.com由CWG集团所有并运营。CWG集团包括:',
- box7item3: 'CWG Markets Ltd(UK),在英格兰和威尔士注册,公司编号为08888720。该公司是一家730K投资公司,由英国金融行为监管局(FCA)完全授权和监管,公司监管编号 FRN 785129 。',
- box7item4: 'CWG Markets Ltd(VU),是一家证券及金融衍生品交易商,接受瓦努阿图金融服务委员会(VFSC)监管,监管编号为41694,获得授权从事证券交易业务。',
- box7item5: '客户必须年满18周岁才能使用CWG Markets的服务。',
- box7item6: '外汇和杠杆化金融产品是复杂的工具,并且由于杠杆而有快速亏损的风险。您应该考虑是否了解差价合约是如何运作的,以及您是否有能力承担损失资金的风险。您应该了解与差价合约(CFD)相关的所有风险,如果您有任何疑问,请寻求独立顾问的建议。请仔细阅读我们的',
- box7item7: '风险披露',
- box7item8: '。',
- box7item9: '受限地区: CWG Markets Ltd无法为特定国家/地区提供服务,例如:美国,以色列和伊朗。如果此类分发或使用违反当地法律或法规,则本网站上的信息不是分发或用于此类国家或地区的任何人。',
- box7item10: '本网站使用cookies为您提供最佳体验并更好地了解您。通过访问我们的网站并将您的浏览器设置为允许cookie,即表示您同意我们使用我们的隐私政策中所述的cookie。',
- box7item11: '© 2020 CWG MARKETS',
- box7item12: 'cookies政策',
- box7item13: '和',
- box7item14: ' 隐私政策',
- box7item15: '.',
- SystemError: "系统错误,请稍后再试。",
- LoginSuccess: "提交成功!",
- product: "不能为空"
- },
- 'en': {
- headers1: 'Login',
- headers2: 'Live Chat',
- headers3: 'Create Account',
- box1item1: 'CWG C Plus + Club is launched!',
- box1item2: 'Use your trading points to exchange for gifts with no limits!',
- box1item3: 'Redeem now',
- box1item4: '*Please log in to our customer portal to redeem the gifts!',
- box2item1: 'Trading points has no expiry dates',
- box2item2: 'Hi accounts can participate as well',
- box2item3: 'New accounts trading points will be doubled',
- box2item4: 'All account types are entitled to trading points',
- box2item5: 'You can also earn points while participating in other CWG promotions',
- box3item1: 'Super Car',
- box3item3: 'Electrical Digital Products',
- box3item5: 'Affordable Luxury',
- box3item6: 'Affordable Luxury Items',
- box3item7: 'in trending fashion',
- box3item8: '*Log in to our customer portal to redeem exclusive gifts',
- box3item9: 'Home Selection',
- box3item10: 'Premium home selection',
- box3item11: 'to start your life',
- box4item1: 'Giving peace and love to others as love has no boundaries',
- box4item2: 'You can also redeem points for charitable donations to provide a fair chance of success for more children in need.',
- box4item3: 'Providing clean water to the under-privilege people',
- box4item4: 'Giving a pencil to the children who was in the war',
- box4item5: 'Giving a football to the children who was in a disaster',
- box5item1: 'What are you waiting for? Start your gift-redemption journey right now!',
- box5item2: 'Redeem now',
- box6item1: 'Tell us what gifts you want and it will stand the chance to get listed!',
- box6item2: 'Brand:',
- box6item3: 'Item:',
- box6item4: 'Submit',
- box7item1: 'CWG Markets is the trading name of CWG Group of companies.',
- box7item2: 'Cwgvu.com is owned and operated within the CWG Group of companies. CWG Group consists of:',
- box7item3: 'CWG Markets Ltd(UK), which is registered in England and Wales with company number 08888720. It is an investment firm fully authorised and regulated by the Financial Conduct Authority (FCA), under the firm reference number FRN 785129.',
- box7item4: 'CWG Markets Ltd(VU), authorized and regulated by the Vanuatu Financial Services Commission (VFSC), with registration no. 41694. and the address is 1276, Govant Building, Kumul Highway, PORT VILA, VANUATU.It is a licensed financial dealer authorized to carry on the business of dealing in securities.',
- box7item5: 'Clients must be at least 18 years old to use the services of CWG Markets.',
- box7item6: 'Forex and Leveraged Financial Instruments are complex instruments and come with a high risk of losing money rapidly due to leverage. Please ensure you fully understand the risks and take appropriate care to manage your own risk. Please read our',
- box7item7: ' Risk Disclosure ',
- box7item8: 'carefully.',
- box7item9: 'Restricted Regions: CWG Markets Ltd does not provide services for the residents of certain countries, such as the United States of America, Israel and the Islamic Republic of Iran. If such distribution or use violates local laws or regulations, the information on this website is not intended to be distributed or used to anyone in such countries or regions.',
- box7item10: 'This website uses cookies to provide you with the very best experience and to know you better. By visiting our website with your browser set to allow cookies, you consent to our cookies policy and Privacy Policy .',
- box7item11: '© 2020 CWG MARKETS',
- box7item12: 'Privacy Policy',
- box7item13: '.',
- box7item14: ' Terms & Conditions',
- box7item15: '.',
- SystemError: "System Error, please try again.",
- LoginSuccess: "Submitted successfully!",
- product: "Cannot be empty"
- }
- }
- let vm = new Vue({
- el: "#active3",
- data: {
- //多语言
- langList: {
- en: "ENGLISH",
- cn: "中文简体"
- },
- language: "en",
- lang: {},
- flag: false,
- loading: false,
- mock_options: [],
- // img_logo: logo,
- timer: 59,
- interval: null,
- getCodeString: "",
- // 表单参数
- params: {
- product: '',
- brand: '',
- },
- // 验证规则
- rules: {
- product: [
- {
- validator: (rule, value, callback) => {
- if (value != "" && value != null) {
- callback();
- } else {
- callback(new Error(content[sessionStorage.getItem('lang')].product));
- }
- },
- trigger: "blur",
- },
- ],
- brand: [
- {
- validator: (rule, value, callback) => {
- if (value != "" && value != null) {
- callback();
- } else {
- callback(new Error(content[sessionStorage.getItem('lang')].product));
- }
- },
- trigger: "blur",
- },
- ],
- },
- imgUrl: '',
- ho: ''
- },
- computed: {
- },
- methods: {
- // 语言切换函数
- chooseLang(key) {
- this.lang = content[key];
- this.language = key;
- sessionStorage.setItem("lang", this.language);
- location.reload();
- this.initTimer();
- },
- //banner切换
- change(item){
- this.$refs.carousel.setActiveItem(item)
- },
- //获取当前国家编码
- async getCountryMsg() {
- axios.get(window.location.origin + '/country/get', {
- //参数
- }).then(res => {//请求成功后的处理函数
- if (res.data.code == 200) {
-
- if ((res.data.msg == "GB"||res.data.msg == "IE")&&res.data.data.indexOf('//195.224.141.218') == -1) {
- window.location.href = 'https://www.cwgmarkets.co.uk';
- } else {
- document.getElementById("pre").style.display = 'none'
- }
- } else {
- document.getElementById("pre").style.display = 'none'
- this.$message.error(res.data.msg);
- }
- }).catch(err => {//请求失败后的处理函数
- })
- },
- // 提交
- register: async function () {
- this.$refs["params"].validate(async (valid) => {
- if (valid) {
- if (this.flag) {
- return;
- } else {
- this.flag = true;
- }
- axios.post(this.imgUrl + '/custom/feedback/add', {
- ...this.params
- //参数
- }).then(res => {//请求成功后的处理函数
- if (res.data.code == 200) {
- this.loading = true;
- this.$message({
- message: this.lang.LoginSuccess,
- type: 'success'
- });
- this.$refs['params'].resetFields();
- this.flag = false;
- } else {
- this.$message.error(res.data.msg);
- this.flag = false;
- }
- }).catch(err => {//请求失败后的处理函数
- this.$message.error(this.lang.SystemError);
- this.flag = false;
- })
- } else {
- return false;
- }
- });
- },
- },
- mounted() {
- this.ho = window.location.host.split('.')[1];
- // this.imgUrl = window.location.origin;
- let ht = window.location.protocol;
- this.imgUrl = ht + "//shopmanager." + this.ho + ".com";
- this.getCountryMsg()
- if (sessionStorage.getItem("lang")) {
- this.language = sessionStorage.getItem("lang"),
- this.lang = content[sessionStorage.getItem("lang")];
- } else {
- this.language = 'en',
- this.lang = content['en'];
- }
- },
- });
|