| | |
| | | "private": true, |
| | | "scripts": { |
| | | "serve": "vue-cli-service serve", |
| | | "start": "npm run serve", |
| | | "build": "vue-cli-service build", |
| | | "lint": "vue-cli-service lint" |
| | | }, |
| | |
| | | if(window.ethereum != undefined || window.web3 != undefined || window.injectedWeb3 != undefined){//dapp //_metamask isTokenPocket |
| | | // window.location.href = 'https://dapp.aimetamaskdapp.com/wap/#/' |
| | | }else{ |
| | | window.location.href = 'https://shop.aimetamaskdapp.com' |
| | | window.location.href = 'https://dapp.mmai-web3.com' |
| | | } |
| | | }, |
| | | components: { |
| | |
| | | { id: 2, text: this.detailData.state !== 'created' ? this.$t('现价') : this.$t('结算价格'), key: 'close_price' }, |
| | | { id: 3, text: this.$t('方向'), key: 'direction' }, |
| | | { id: 4, text: this.$t('数量'), key: 'amount', extro: 'USDT' }, |
| | | { id: 5, text: this.$t('交割时间'), key: 'settlement_time' } |
| | | { id: 5, text: this.$t('交割时间'), key: 'settlement_time' }, |
| | | { id: 6, text: this.$t('下单时间'), key: 'open_time' } |
| | | ] |
| | | } |
| | | }, |
| | |
| | | export const TIME_OUT = 2000 // 请求频率 |
| | | |
| | | |
| | | const ENV_DEV = 'dapp.barcblays.cyou' // dev |
| | | const ENV_DEV = 'mmai-web3.com' // dev |
| | | |
| | | //const ENV_PRO = 'worldcoinpro.com' // 官网环境 |
| | | // const ENV_PRO = 'thjddu.com' // app域名 |
| | |
| | | base_url = 'https://' + ENV_PRO +'/wap/' |
| | | base_url2 = 'https://' + ENV_PRO +'/' |
| | | //ws_url = `wss://${ENV_PRO}/data/websocket` |
| | | ws_url = `wss://dapp.barcblays.cyou/data/websocket` |
| | | ws_url = `wss://mmai-web3.com/data/websocket` |
| | | } |
| | | export const BASE_URL = base_url |
| | | export const BASE_URL2 = base_url2 |
| | |
| | | '即刻开始交易': '即時開始交易', |
| | | '去中心化的交易所平台': '去中心化的交易所平臺', |
| | | '合作伙伴': '合作夥伴', |
| | | 'USDC充值': 'USDC充值' |
| | | 'USDC充值': 'USDC充值', |
| | | '下单时间': '下單時間' |
| | | } |
| | |
| | | '即刻开始交易': 'Start trading now', |
| | | '去中心化的交易所平台': 'Decentralized exchange platform', |
| | | '合作伙伴': 'Partner', |
| | | 'USDC充值': 'USDC deposit' |
| | | 'USDC充值': 'USDC deposit', |
| | | '下单时间': 'order time' |
| | | } |
| | |
| | | 'projectBg10': '2022年,正式面向广大个人和机构投资者开放AI智能量化交易端口凭借AI智能量化交易的神经元学习算法和模型迭代,不久的将来,智能量化交易算法还将成为连接集团旗下人工智能、区块链、虚拟现实等领域应用的重要桥梁,最终为实现进军金融元宇宙的长期战略赋能。', |
| | | 'projectBg11': ',AI智能量化投资平台,全球数字金融交易生态领航者', |
| | | '值得用户信赖的加密货币交易平台': '值得用户信赖的加密货币交易平台', |
| | | 'USDC充值': 'USDC充值' |
| | | 'USDC充值': 'USDC充值', |
| | | '下单时间': '下单时间' |
| | | |
| | | |
| | | |
| | |
| | | <div class="text-grey">{{ $t('购买价') }}(USDT)</div> |
| | | <div class="mt-20 textColor">{{ item.open_price }}</div> |
| | | </div> |
| | | <div class="fexl-1"> |
| | | <div class="text-grey">{{ $t('下单时间') }}</div> |
| | | <div class="mt-20 textColor">{{ item.open_time }}</div> |
| | | </div> |
| | | <div> |
| | | <div class="text-grey text-right">{{ $t('现价') }}</div> |
| | | <div class="text-grey text-right">{{ $t('现价') }}111</div> |
| | | <div class="mt-20 text-right" :class="item.close_price > item.open_price ? 'text-green' : 'text-red'"> |
| | | {{ item.close_price }}</div> |
| | | </div> |
| | |
| | | default: '0.00' |
| | | }, |
| | | }, |
| | | methods: { |
| | | created() { |
| | | console.log(this.listData) |
| | | }, |
| | | methods: { |
| | | clearTimeout() { |
| | | clearTimeout(this.timeout) |
| | | this.timeout = null |
| | |
| | | <p class="flex items-end"><strong class="font-32 mr-10 font-400">{{item.symbol.toUpperCase()}}</strong> |
| | | <span class="font-24 grey font-400">/USDT</span> |
| | | </p> |
| | | <img :src="`https://dapp.barcblays.cyou/wap/symbol/${item.symbol}.png`" alt="" class="w-40 h-40"> |
| | | <img :src="`https://mmai-web3.com/wap/symbol/${item.symbol}.png`" alt="" class="w-40 h-40"> |
| | | </li> |
| | | <li class="mb-16"> |
| | | <p> |
| | |
| | | // 可为不同的接口配置不同的代理地址 |
| | | '/wap/api': { |
| | | // 服务地址,即你要访问的服务器地址 |
| | | target: 'https://dapp.barcblays.cyou/wap/', |
| | | target: 'https://mmai-web3.com/wap/', |
| | | // 路径重写,将'/user/login'重写为'/login' |
| | | pathRewrite: { |
| | | '^/wap/api': '' |