| | |
| | | this.time = dataTimeEx(Date.parse(new Date()), true); |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | this.tabList[index]['data'] = this.tabList[index]['data'].filter(item => item.symbol.includes(this.keywords)) |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | this.time = dataTimeEx(Date.parse(new Date()), true); |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | |
| | | // 公司logo |
| | | export const LOGO = new URL('@/assets/imgs/logo.png', import.meta.url) |
| | | export const customerServiceUrl = 'https://chat.onlinesupport.help/chat_online/index?channelId=5c7314eab72c4a72b2dc9b63c4502e69' // 客服外链链接 |
| | | |
| | | |
| | | export const customerServiceUrl = ()=>{ |
| | | let str = 'https://chat.onlinesupport.help/chat_online/index?channelId=5c7314eab72c4a72b2dc9b63c4502e69' |
| | | let user = JSON.parse(localStorage.getItem('user')) |
| | | console.log(user); |
| | | let userName = '',pid = ''; |
| | | if(user && user.userInfo){ |
| | | userName = user.userInfo.username |
| | | pid = user.userInfo.usercode |
| | | } |
| | | str += `&userName=${userName}&pid=${pid}` |
| | | return str |
| | | } // 客服外链链接 |
| | | |
| | | export default { |
| | | sliderOptions: { |
| | |
| | | nationality: "Staatsangehörigkeit", |
| | | realName: "Real Name", |
| | | entryRealName: "Bitte geben Sie Ihren echten Namen ein", |
| | | credentPassport: "Document/Passport Number", |
| | | credentPassport: "Von der Regierung ausgestellte Ausweis-/Passnummer", |
| | | entryCredentPassport: "Bitte geben Sie Ihre ID/Passnummer ein", |
| | | uploadCredentPassport: "ID Foto/Pass hochladen", |
| | | uploadPicCredentPassport: "Upload ID/Pass Authentication Images", |
| | |
| | | nationality: "Country of Citizenship", |
| | | realName: "Actual name", |
| | | entryRealName: "Please enter your real name", |
| | | credentPassport: "Document/passport number", |
| | | entryCredentPassport: "Please enter your ID/passport number", |
| | | credentPassport: "Government-issued ID / Passport Number", |
| | | entryCredentPassport: "Please enter your government-issued ID or passport number", |
| | | uploadCredentPassport: "ID photo/upload passport", |
| | | uploadPicCredentPassport: "Document/passport authentication picture upload", |
| | | credentFront: "ID front", |
| | |
| | | return str |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | return str |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | return formatTime(new Date(time), 'yyyy-MM-dd hh:mm:ss') |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | }, |
| | | methods: { |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | this.$router.push({ path: '/chat' }) |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | const language = ref('en') |
| | | const controlChild = ref(null) |
| | | const { proxy } = getCurrentInstance(); |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | |
| | | onMounted(() => { |
| | | fetchInfo(); |
| | |
| | | }) |
| | | } |
| | | const tokefu = () => { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push('/customerService') |
| | | } |
| | |
| | | }, |
| | | getCms() { |
| | | let language |
| | | if (this.$i18n.locale == 'zh-CN' || this.$i18n.locale == 'CN') { |
| | | language = this.$i18n.locale |
| | | } else { |
| | | language = 'en' |
| | | } |
| | | // if (this.$i18n.locale == 'zh-CN' || this.$i18n.locale == 'CN') { |
| | | language = this.$i18n.locale |
| | | // } else { |
| | | // language = 'en' |
| | | // } |
| | | |
| | | // 白皮书限定只要中文的 |
| | | if (this.serviceTerm == '28') language = 'en' |
| | |
| | | <img src="../../../assets/image/assets-center/exchange.png" alt="exchange-img" class="w-44 h-38" |
| | | @click="goRouter('/cryptos/assetsCenter/rechargeWithdrawRecord')" /> |
| | | </assets-head> |
| | | <assets-head v-else :title="$t('充值通道')" > |
| | | <assets-head v-else :title="$t('充值通道')"> |
| | | <img src="../../../assets/image/assets-center/exchange.png" alt="exchange-img" class="w-44 h-38" |
| | | @click="goRouter('/cryptos/assetsCenter/rechargeWithdrawRecord')" /> |
| | | </assets-head> |
| | |
| | | <div class="recharge-list flex justify-between"> |
| | | <div class="item-view flex flex-col items-center justify-center text-center w-189 h-220 box-border" |
| | | @click="selectSymbol('usdt')"> |
| | | <img src="../../../assets/image/symbol/usdt.png" class="w-92 h-92" /> |
| | | <img :src="`${HOST_URL}/symbol/usdt.png`" class="w-92 h-92" /> |
| | | <div class="text-grey font-26 mt-32">{{ $t('USDT充值') }}</div> |
| | | </div> |
| | | <div class="item-view flex flex-col items-center justify-center text-center w-189 h-220 box-border" |
| | | @click="selectSymbol('usdc')"> |
| | | <img src="../../../assets/image/symbol/usdc.png" class="w-92 h-92" /> |
| | | <div class="text-grey font-26 mt-32">{{ $t('USDC充值') }}</div> |
| | | </div> |
| | | <div class="item-view flex flex-col items-center justify-center text-center w-189 h-220 box-border" |
| | | @click="selectSymbol('usdc')"> |
| | | <img :src="`${HOST_URL}/symbol/usdc.png`" class="w-92 h-92" /> |
| | | <div class="text-grey font-26 mt-32">{{ $t('USDC充值') }}</div> |
| | | </div> |
| | | <div class="item-view flex flex-col items-center justify-center text-center w-189 h-220 box-border" |
| | | @click="selectSymbol('btc')"> |
| | | <img src="../../../assets/image/symbol/btc.png" class="w-92 h-92" /> |
| | | <img :src="`${HOST_URL}/symbol/btc.png`" class="w-92 h-92" /> |
| | | <div class="text-grey font-26 mt-32">{{ $t('BTC充值') }}</div> |
| | | </div> |
| | | <div class="item-view flex flex-col items-center justify-center text-center w-189 h-220 box-border" |
| | | @click="selectSymbol('eth')"> |
| | | <img src="../../../assets/image/symbol/eth.png" class="w-92 h-92" /> |
| | | <img :src="`${HOST_URL}/symbol/eth.png`" class="w-92 h-92" /> |
| | | <div class="text-grey font-26 mt-32">{{ $t('ETH充值') }}</div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import assetsHead from "@/components/Transform/assets-head/index.vue"; |
| | | import { HOST_URL } from '@/config' |
| | | import { Icon } from 'vant'; |
| | | export default { |
| | | name: 'rechageList', |
| | |
| | | imgPath: new URL('@/assets/image/crypto.png', import.meta.url), |
| | | } |
| | | ], |
| | | isForeign: false |
| | | isForeign: false, |
| | | HOST_URL, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | border-radius: 15px; |
| | | box-sizing: border-box; |
| | | } |
| | | .reminder{ |
| | | |
| | | .reminder { |
| | | font-size: 2rem; |
| | | padding: 2rem; |
| | | } |
| | |
| | | this.time = dataTimeEx(Date.parse(new Date()), true); |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | this.time = dataTimeEx(Date.parse(new Date()), true); |
| | | }, |
| | | tokefu() { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | |
| | | <img src="@/assets/imgs/home/more.png" alt="" @click="onRoute('/my')"> |
| | | </div> |
| | | |
| | | <div class="more_input tabBackground1 pl-5 pr-5 flex items-center justify-start mr-5 pt-2"> |
| | | <div class="more_input pl-5 pr-5 flex items-center justify-start mr-5 pt-2"> |
| | | <img src="@/assets/imgs/quotes/search.png" alt=""> |
| | | <!-- <span class="pl-5">{{ $t('请输入关键词搜寻') }}</span> --> |
| | | <van-field v-model="iValue" :placeholder="$t('请输入关键词搜寻')" style="padding: 0 1rem;" |
| | | <van-field v-model="iValue" :placeholder="$t('请输入关键词搜寻')" style="padding: 0 1rem;background: none;" |
| | | @input="emit('search', iValue)" /> |
| | | </div> |
| | | <div class="scan"><img src="@/assets/image/assets-center/language.png" alt="" @click="onRoute('/language')"> |
| | | </div> |
| | | |
| | | |
| | | <!-- <div class="" @click="store.commit('vant/SET_THEME', 'dark')">切换1</div> |
| | | <div class="" @click="store.commit('vant/SET_THEME', 'light')">切换2</div> --> |
| | | |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @import '@/assets/theme/index.scss'; |
| | | .head { |
| | | width: 100%; |
| | | margin-bottom: 1rem; |
| | |
| | | } |
| | | |
| | | .more_input { |
| | | // width: 26rem; |
| | | // background: #fff; |
| | | width: 100%; |
| | | height: 4.5rem; |
| | | border-radius: 2.25rem; |
| | | font-size: 1.5rem; |
| | | |
| | | @include themify() { |
| | | background-color: themed("input_background"); |
| | | color: themed("text_color1"); |
| | | } |
| | | |
| | | span { |
| | | text-overflow: ellipsis; |
| | | overflow: hidden; |
| | |
| | | |
| | | <video autoplay loop muted playsinline class="home_logo"> |
| | | <source src="@/assets/video/home_1.mp4" type="video/mp4"> |
| | | 您的浏览器不支持 video 标签。 |
| | | </video> |
| | | |
| | | <!-- <div class="text-center font-bold mt-8 logo_text">{{ $t('复制财富,從此刻開始') }}</div> |
| | |
| | | const { t } = useI18n() |
| | | const router = useRouter() |
| | | const store = useStore(); |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | |
| | | const tabbers = [ |
| | | // { key: 1, name: t('跟单'), icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url) }, |
| | |
| | | // { key: 12, name: "C2C", icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '/wantBuy' }, |
| | | // { key: 13, name: t('质押'), icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '' }, |
| | | { key: 14, name: t('onLineService'), icon: new URL('@/assets/imgs/home/home_10.png', import.meta.url), path: '/customerService' }, |
| | | { key: 15, name: 'DXCM PDF', icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '' }, |
| | | { key: 15, name: 'DXCM PDF', icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: 'https://www.dexm-whitepaper.com/' }, |
| | | ] |
| | | |
| | | // 获取公告数据 |
| | |
| | | const toPage = (path) => { |
| | | if (!path) return |
| | | |
| | | // 如果路径包含 "http",则作为外链跳转 |
| | | if (path && (path.startsWith('http://') || path.startsWith('https://'))) { |
| | | window.open(path, '_blank'); |
| | | return; |
| | | } |
| | | |
| | | if (path == '/customerService') { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | // 客服链接,有值的话就会跳转到客服外链 |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |
| | |
| | | import store from '@/store/store' |
| | | import { LOGO, customerServiceUrl } from "@/config"; |
| | | const { t } = useI18n() |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | |
| | | const router = useRouter() |
| | | const onRoute = (path) => { |
| | |
| | | router.go(-1) |
| | | } else { |
| | | if (path == '/customerService') { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |
| | |
| | | |
| | | <div class="tabbers flex justify-between mt-20 pl-1 pr-1"> |
| | | <div class="item" v-for="item in tabList" :key="item.key" @click="toPage(item.path)"> |
| | | <img style="width: 100px;" :src="item.icon" alt=""> |
| | | <img :src="item.icon" alt=""> |
| | | <div class="mt-3 text-center">{{ item.name }}</div> |
| | | </div> |
| | | </div> |
| | |
| | | img { |
| | | height: $item_width; |
| | | border-radius: 50%; |
| | | background: #fff; |
| | | |
| | | @include themify() { |
| | | border: themed("main_background") 1px solid; |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | const router = useRouter() |
| | | const userStore = useUserStore() |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | const status = ref(null) |
| | | const kycHighStatus = ref(null) |
| | | const userdata = ref({}) |
| | |
| | | }) |
| | | const onRoute = (path) => { |
| | | if (path == '/customerService') { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |
| | |
| | | store.state.user.userInfo = {} |
| | | }) |
| | | } |
| | | // 获取客服信息 |
| | | const getcustomer = () => { |
| | | _customer().then((data) => { |
| | | customer_service_url.value = data.customer_service_url |
| | | console.log(customer_service_url); |
| | | }).catch(error => { |
| | | console.error('Error fetching data:', error); |
| | | }); |
| | | }; |
| | | const getinfo = () => { |
| | | _info().then((data) => { |
| | | userdata.value = data; // 确保 userdata 被正确声明 |
| | |
| | | const showPopup = ref(false) |
| | | const orderNo = ref(null) |
| | | const onRoute = () => { |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push('/customerService?order_no=' + orderNo.value) |
| | | } |
| | |
| | | import { ref, onMounted, reactive, onUnmounted } from 'vue'; |
| | | import { showToast } from "vant"; |
| | | import store from '@/store/store' |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | const { t } = useI18n() |
| | | const router = useRouter() |
| | | const onRoute = (path) => { |
| | |
| | | router.go(-1) |
| | | } else { |
| | | if (path == '/customerService') { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |
| | |
| | | import { ref, onMounted, reactive, onUnmounted } from 'vue'; |
| | | import { showToast } from "vant"; |
| | | import store from '@/store/store' |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | const { t } = useI18n() |
| | | const router = useRouter() |
| | | const onRoute = (path) => { |
| | |
| | | router.go(-1) |
| | | } else { |
| | | if (path == '/customerService') { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |