luyisha 3 years ago
parent
commit
162a3b8915
  1. BIN
      dist.zip
  2. 1
      src/assets/scss/module/_contact-us.css
  3. 3
      src/assets/scss/module/_contact-us.min.css
  4. 7
      src/components/SecondaryNav.vue
  5. 2
      src/i18n/de.json
  6. 2
      src/i18n/en.json
  7. 2
      src/i18n/fra.json
  8. 2
      src/i18n/it.json
  9. 2
      src/i18n/jp.json
  10. 2
      src/i18n/kor.json
  11. 2
      src/i18n/pt.json
  12. 2
      src/i18n/spa.json
  13. 2
      src/i18n/tr.json
  14. 2
      src/i18n/tw.json
  15. 16
      src/views/contactUs/index.vue
  16. 22
      src/views/contract/handicap.vue
  17. 8
      src/views/contract/hold-position.vue
  18. 25
      src/views/contract/index.vue
  19. 19
      src/views/exchange/book-trades.vue
  20. 10
      src/views/exchange/index.vue
  21. 20
      src/views/exchange/make-deal.vue
  22. 128
      src/views/profile/certification.vue
  23. 4
      src/views/purchase/index.vue
  24. 7
      src/views/wallet/exchange-assets.vue

BIN
dist.zip

Binary file not shown.

1
src/assets/scss/module/_contact-us.css

@ -2,4 +2,5 @@
background: #cfd6df url("~@/assets/img/concat_us.png"); background: #cfd6df url("~@/assets/img/concat_us.png");
background-size: cover; background-size: cover;
max-width: 700px; max-width: 700px;
height: 210px;
} }

3
src/assets/scss/module/_contact-us.min.css

@ -1 +1,2 @@
.contact-us-page .form-content{background:#cfd6df url("~@/assets/img/concat_us.png");background-size:cover;max-width:700px} .contact-us-page .form-content{background:#cfd6df url("~@/assets/img/concat_us.png");background-size:cover;max-width:700px;
height: 210px;}

7
src/components/SecondaryNav.vue

@ -51,10 +51,11 @@ export default {
{ {
url: `/wallet/funding`, url: `/wallet/funding`,
label: this.$t('common.rechargeWithdraw') label: this.$t('common.rechargeWithdraw')
},{
url: `/wallet/address`,
label: this.$t('common.addressManagement'),
} }
// ,{
// url: `/wallet/address`,
// label: this.$t('common.addressManagement'),
// }
]; ];
}, },

2
src/i18n/de.json

@ -793,9 +793,11 @@
"startSubscription":"Abonnement starten", "startSubscription":"Abonnement starten",
"endOfSubscription":"Schließen Sie das Abonnement", "endOfSubscription":"Schließen Sie das Abonnement",
"announceResults":"Veröffentlichen von Ergebnissen", "announceResults":"Veröffentlichen von Ergebnissen",
"ListedTraded": "Gelistet und gehandelt",
"projectCetails":"Details des Projekts", "projectCetails":"Details des Projekts",
"useOrNot":"Verwenden oder nicht", "useOrNot":"Verwenden oder nicht",
"subscribe":"für den Kauf", "subscribe":"für den Kauf",
"SubscriptionPrice":"Einschreibegebühr",
"prompt":"Tipps", "prompt":"Tipps",
"subscribeSuccess":"Erfolgreicher Kauf" "subscribeSuccess":"Erfolgreicher Kauf"
}, },

2
src/i18n/en.json

@ -893,9 +893,11 @@
"startSubscription": "Apply start", "startSubscription": "Apply start",
"endOfSubscription": "Apply close", "endOfSubscription": "Apply close",
"announceResults": "Results release", "announceResults": "Results release",
"ListedTraded": "Listed and traded",
"projectCetails": "Project details", "projectCetails": "Project details",
"useOrNot": "Using?", "useOrNot": "Using?",
"subscribe": "Apply", "subscribe": "Apply",
"SubscriptionPrice":"Subscription price",
"prompt": "Tips", "prompt": "Tips",
"subscribeSuccess": "Apply Success" "subscribeSuccess": "Apply Success"
}, },

2
src/i18n/fra.json

@ -793,9 +793,11 @@
"startSubscription":"Début de la souscription", "startSubscription":"Début de la souscription",
"endOfSubscription":"Clôture de la souscription", "endOfSubscription":"Clôture de la souscription",
"announceResults":"Publication des résultats", "announceResults":"Publication des résultats",
"ListedTraded": "Coté et négocié",
"projectCetails":"Détails du projet", "projectCetails":"Détails du projet",
"useOrNot":"Oui Non", "useOrNot":"Oui Non",
"subscribe":"Abonnement", "subscribe":"Abonnement",
"SubscriptionPrice":"Prix ​​de l'abonnement",
"prompt":"Conseils", "prompt":"Conseils",
"subscribeSuccess":"Souscription réussie" "subscribeSuccess":"Souscription réussie"
}, },

2
src/i18n/it.json

@ -793,9 +793,11 @@
"startSubscription":"Avvia sottoscrizione", "startSubscription":"Avvia sottoscrizione",
"endOfSubscription":"Chiudi l'abbonamento", "endOfSubscription":"Chiudi l'abbonamento",
"announceResults":"Pubblica i risultati", "announceResults":"Pubblica i risultati",
"ListedTraded": "Quotato e scambiato",
"projectCetails":"Dettagli del progetto", "projectCetails":"Dettagli del progetto",
"useOrNot":"Uso o no", "useOrNot":"Uso o no",
"subscribe":"domanda per l'acquisto", "subscribe":"domanda per l'acquisto",
"SubscriptionPrice":"Prezzo dell'abbonamento",
"prompt":"Suggerimenti", "prompt":"Suggerimenti",
"subscribeSuccess":"Acquisto riuscito" "subscribeSuccess":"Acquisto riuscito"
}, },

2
src/i18n/jp.json

@ -792,9 +792,11 @@
"startSubscription":"申し込みを開始する", "startSubscription":"申し込みを開始する",
"endOfSubscription":"申し込みを終了する", "endOfSubscription":"申し込みを終了する",
"announceResults":"結果を公表する", "announceResults":"結果を公表する",
"ListedTraded": "上場および取引される",
"projectCetails":"プロジェクトの詳細", "projectCetails":"プロジェクトの詳細",
"useOrNot":"使用するかどうか", "useOrNot":"使用するかどうか",
"subscribe":"購入を申請する", "subscribe":"購入を申請する",
"SubscriptionPrice":"定期購入価格",
"prompt":"ヒント", "prompt":"ヒント",
"subscribeSuccess":"申し込み成功" "subscribeSuccess":"申し込み成功"
}, },

2
src/i18n/kor.json

@ -792,9 +792,11 @@
"startSubscription":"구 매 신청 을 시작 하 다", "startSubscription":"구 매 신청 을 시작 하 다",
"endOfSubscription":"구 매 신청 을 마감 하 다", "endOfSubscription":"구 매 신청 을 마감 하 다",
"announceResults":"결 과 를 발표 하 다", "announceResults":"결 과 를 발표 하 다",
"ListedTraded": "상장 및 거래",
"projectCetails":"프로젝트 정보", "projectCetails":"프로젝트 정보",
"useOrNot":"사용 여부", "useOrNot":"사용 여부",
"subscribe":"구입 을 신청 하 다.", "subscribe":"구입 을 신청 하 다.",
"SubscriptionPrice":"구독 가격",
"prompt":"제시 하 다.", "prompt":"제시 하 다.",
"subscribeSuccess":"구 매 신청 성공" "subscribeSuccess":"구 매 신청 성공"
}, },

2
src/i18n/pt.json

@ -793,9 +793,11 @@
"startSubscription":"Início da subscrição", "startSubscription":"Início da subscrição",
"endOfSubscription":"Fim da subscrição", "endOfSubscription":"Fim da subscrição",
"announceResults":"Publicação dos resultados", "announceResults":"Publicação dos resultados",
"ListedTraded": "Listado e negociado",
"projectCetails":"Pormenores do projecto", "projectCetails":"Pormenores do projecto",
"useOrNot":"São utilizados", "useOrNot":"São utilizados",
"subscribe":"subscrição", "subscribe":"subscrição",
"SubscriptionPrice":"Preço da assinatura",
"prompt":"dica", "prompt":"dica",
"subscribeSuccess":"O pedido foi aceite." "subscribeSuccess":"O pedido foi aceite."
}, },

2
src/i18n/spa.json

@ -793,9 +793,11 @@
"startSubscription":"Inicio de la compra", "startSubscription":"Inicio de la compra",
"endOfSubscription":"Cierre de la suscripción", "endOfSubscription":"Cierre de la suscripción",
"announceResults":"Publicación de los resultados", "announceResults":"Publicación de los resultados",
"ListedTraded": "Listado y negociado",
"projectCetails":"Detalles del proyecto", "projectCetails":"Detalles del proyecto",
"useOrNot":"Usar o no", "useOrNot":"Usar o no",
"subscribe":"Suscripción", "subscribe":"Suscripción",
"SubscriptionPrice":"Precio de suscripción",
"prompt":"Prompt", "prompt":"Prompt",
"subscribeSuccess":"éxito de la compra" "subscribeSuccess":"éxito de la compra"
}, },

2
src/i18n/tr.json

@ -793,9 +793,11 @@
"startSubscription":"Satın almaya başla", "startSubscription":"Satın almaya başla",
"endOfSubscription":"Aboneliğin sonu", "endOfSubscription":"Aboneliğin sonu",
"announceResults":"Sonuçları duyurun", "announceResults":"Sonuçları duyurun",
"ListedTraded": "Listelendi ve işlem gördü",
"projectCetails":"Proje detayları", "projectCetails":"Proje detayları",
"useOrNot":"kullan ya da kullanma", "useOrNot":"kullan ya da kullanma",
"subscribe":"Abone ol", "subscribe":"Abone ol",
"SubscriptionPrice":"Abonelik ücreti",
"prompt":"Komut istemi", "prompt":"Komut istemi",
"subscribeSuccess":"Başarılı abonelik" "subscribeSuccess":"Başarılı abonelik"
}, },

2
src/i18n/tw.json

@ -835,9 +835,11 @@
"startSubscription": "開始申購", "startSubscription": "開始申購",
"endOfSubscription": "結束申購", "endOfSubscription": "結束申購",
"announceResults": "公佈結果", "announceResults": "公佈結果",
"ListedTraded": "上市交易",
"projectCetails": "項目詳情", "projectCetails": "項目詳情",
"useOrNot": "是否使用", "useOrNot": "是否使用",
"subscribe": "申購", "subscribe": "申購",
"SubscriptionPrice":"申購價格",
"prompt": "提示", "prompt": "提示",
"subscribeSuccess": "申購成功" "subscribeSuccess": "申購成功"
}, },

16
src/views/contactUs/index.vue

@ -38,22 +38,22 @@
</div> --> </div> -->
<div class="col-12"> <div class="col-12">
<div class="py-2"> <div class="py-2">
<div class="my-3" style="text-align: center;"> <!-- <div class="my-3" style="text-align: center;">
{{$t('contact.contactInformation')}}: {{$t('contact.contactInformation')}}:
<div class="">{{contacts.contact}}</div> <div class="">{{contacts.contact}}</div>
</div> </div>
<div class="my-3" style="text-align: center;"> <div class="my-3" style="text-align: center;">
<div class="label">{{$t('contact.routineConsultation')}}:</div> <div class="label">{{$t('contact.routineConsultation')}}:</div>
<div class="">{{contacts.email}}</div> <div class="">{{contacts.email}}</div>
</div> </div> -->
<div class="my-3" style="text-align: center;"> <div class="my-3" style="text-align: center;font-size: 20px;">
<div class="label">{{$t('contact.customerService')}}:</div> <div class="label">{{$t('contact.customerService')}}:</div>
<div class="">{{contacts.service}}</div> <div class="">{{contacts.contact}}</div>
</div> </div>
<div class="my-3" style="text-align: center;"> <!-- <div class="my-3" style="text-align: center;">
<div class="label">{{$t('contact.mediaCooperation')}}:</div> <div class="label">{{$t('contact.mediaCooperation')}}:</div>
<div class="">{{contacts.media}}</div> <div class="">{{contacts.media}}</div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@ -121,4 +121,8 @@ export default {
</script> </script>
<style scoped> <style scoped>
.contact-us-page .form-content{
height: 260px;
padding: 4.5rem !important;
}
</style> </style>

22
src/views/contract/handicap.vue

@ -146,14 +146,14 @@ export default {
}, },
props: { props: {
symbol: { symbol: {
default: "", default: "",
type: String, type: String,
required: false required: false
}, },
wsUrl: { wsUrl: {
default: "", default: "",
type: String, type: String,
required: true required: true
}, },
ws: {} ws: {}
}, },
@ -215,8 +215,10 @@ export default {
} }
bus.$on('collapse', msg => { bus.$on('collapse', msg => {
// + // +
this.newPriceObj.price = +(this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3)); // this.newPriceObj.price = +(this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3));
this.$emit("input", this.newPriceObj); //
// let price = +(this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3));
// this.$emit("input", price);
}); });
}, },
// //
@ -286,8 +288,8 @@ export default {
this.tradeList.unshift(data); this.tradeList.unshift(data);
this.tradeList.pop(); this.tradeList.pop();
// console.info(this.tradeList, 2222222) // console.info(this.tradeList, 2222222)
// this.newPriceObj = data; this.newPriceObj = data;
// this.$emit("input", this.newPriceObj); this.$emit("input", this.newPriceObj);
} else if (type == "ping" ||cmd == "ping") { } else if (type == "ping" ||cmd == "ping") {
this.ws.send({ this.ws.send({
cmd: "pong" cmd: "pong"

8
src/views/contract/hold-position.vue

@ -30,8 +30,8 @@
<th>{{ $t("contract.i3") }}</th> <th>{{ $t("contract.i3") }}</th>
<!-- <th>{{ $t("contract.g8") }}{{ $t("contract.e2") }}</th> <!-- <th>{{ $t("contract.g8") }}{{ $t("contract.e2") }}</th>
<th>{{ $t("contract.a5") }}{{ $t("contract.e2") }}</th> --> <th>{{ $t("contract.a5") }}{{ $t("contract.e2") }}</th> -->
<th>{{ $t("contract.g9") }}</th> <th style="width:180px;">{{ $t("contract.g9") }}</th>
<th>{{ $t("contract.g3") }}</th> <th style="width:150px;">{{ $t("contract.g3") }}</th>
<!-- <th>{{ $t("contract.a8") }}</th> --> <!-- <th>{{ $t("contract.a8") }}</th> -->
<th >{{ $t("contract.a6") }}</th> <th >{{ $t("contract.a6") }}</th>
<th>{{ $t("contract.h0") }}</th> <th>{{ $t("contract.h0") }}</th>
@ -48,8 +48,8 @@
<td>{{ item.side == 1 ? $t("contract.i4") : $t("contract.i5") }}</td> <td>{{ item.side == 1 ? $t("contract.i4") : $t("contract.i5") }}</td>
<!-- <td>{{ item.avail_position }}</td> <!-- <td>{{ item.avail_position }}</td>
<td>{{ item.freeze_position }}</td> --> <td>{{ item.freeze_position }}</td> -->
<td>{{ item.avg_price * 1 }}</td> <td style="width:180px;">{{ item.avg_price * 1 }}</td>
<td>{{ item.realtimePrice }}</td> <td style="width:150px;">{{ item.realtimePrice }}</td>
<!-- <td>{{ item.flatPrice }}</td> --> <!-- <td>{{ item.flatPrice }}</td> -->
<td :class="item.unRealProfit>0?'increase':item.unRealProfit<0?'decreace':''">{{ (parseFloat(item.unRealProfit)).toFixed(2) }}</td> <td :class="item.unRealProfit>0?'increase':item.unRealProfit<0?'decreace':''">{{ (parseFloat(item.unRealProfit)).toFixed(2) }}</td>
<td>{{ item.profitRate }}</td> <td>{{ item.profitRate }}</td>

25
src/views/contract/index.vue

@ -166,7 +166,7 @@
class="w-7/24 " class="w-7/24 "
:class="item.increase < 0 ? 'decreace' : 'increase'" :class="item.increase < 0 ? 'decreace' : 'increase'"
> >
{{ item.price }} {{ item.close }}
</td> </td>
<td <td
class="w-7/24 text-right" class="w-7/24 text-right"
@ -312,7 +312,7 @@ export default {
if(val.price){ if(val.price){
delete contractList.price delete contractList.price
} }
// console.log(contractList, 'co-activeContract----------------') // console.log(contractList.price, 'co-activeContract----------------')
return contractList; return contractList;
}, },
isLogin() { isLogin() {
@ -341,18 +341,21 @@ export default {
this.swapMarketList(); this.swapMarketList();
}); });
// console.info(this.$refs) // console.info(this.$refs)
bus.$on('collapse', msg => { // bus.$on('collapse', msg => {
this.activeContract.price =this.activeContract.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3); // // this.activeContract.price =this.activeContract.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3);
this.holdPositionList.map(item=>{ // //
if(item.symbol==this.activeContract.symbol) item.realtimePrice=this.activeContract.price // let price = +this.activeContract.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3);
}) // this.holdPositionList.map(item=>{
}); // if(item.symbol==this.activeContract.symbol) item.realtimePrice=price;
// })
// });
}, },
// //
mounted: function () { mounted: function () {
setInterval(() => { // setInterval(() => {
this.holdPosition(); // this.holdPosition();
}, 2000) // }, 2000)
}, },
methods: { methods: {
ispopover1(item){ ispopover1(item){

19
src/views/exchange/book-trades.vue

@ -1,5 +1,5 @@
<template> <template>
<div class="col-md-4" style="margin-left: -15px;"> <div class="right-box-A">
<div style="display: flex;flex-direction: column;align-items: end;height: 100%;"> <div style="display: flex;flex-direction: column;align-items: end;height: 100%;">
<div class="order-book mb15" style="width: 95%;background-color: #fff;"> <div class="order-book mb15" style="width: 95%;background-color: #fff;">
<h2 class="heading">{{ $t("exchange.order-book") }}</h2> <h2 class="heading">{{ $t("exchange.order-book") }}</h2>
@ -21,8 +21,8 @@
<!-- 卖单 使用弹性盒子倒序排列 --> <!-- 卖单 使用弹性盒子倒序排列 -->
<tr style="display:block;" class="tb-cells" @click.stop="handleOrder(item.price)"> <tr style="display:block;" class="tb-cells" @click.stop="handleOrder(item.price)">
<td class="w-33 red" title="pick this price to sell">{{ item.price|omitTo(priceDecimals) }}</td> <td class="w-33 red" title="pick this price to sell">{{ item.price|omitTo(priceDecimals) }}</td>
<td class="w-33 text-right">{{ item.amount|omitTo(qtyDecimals) }}</td> <td class="w-33 text-right p-y-0">{{ item.amount|omitTo(qtyDecimals) }}</td>
<td class="w-33 text-right">{{ item.price|multiple(item.amount, priceDecimals) }}</td> <td class="w-33 text-right p-y-0">{{ item.price|multiple(item.amount, priceDecimals) }}</td>
</tr> </tr>
</div> </div>
</tbody> </tbody>
@ -67,8 +67,8 @@
<!-- 卖单 使用弹性盒子倒序排列 --> <!-- 卖单 使用弹性盒子倒序排列 -->
<tr style="display:block;" class="tb-cells" @click.stop="handleOrder(item.price)"> <tr style="display:block;" class="tb-cells" @click.stop="handleOrder(item.price)">
<td class="w-33 green" title="pick this price to buy">{{ item.price|omitTo(priceDecimals) }}</td> <td class="w-33 green" title="pick this price to buy">{{ item.price|omitTo(priceDecimals) }}</td>
<td class="w-33 text-right">{{ item.amount|omitTo(qtyDecimals) }}</td> <td class="w-33 text-right p-y-0">{{ item.amount|omitTo(qtyDecimals) }}</td>
<td class="w-33 text-right">{{ item.price|multiple(item.amount, priceDecimals) }}</td> <td class="w-33 text-right p-y-0">{{ item.price|multiple(item.amount, priceDecimals) }}</td>
</tr> </tr>
</div> </div>
@ -272,6 +272,12 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.right-box-A{
max-width: 27%;
flex: 0 0 27%;
width: 100%;
position: relative;
}
.w-33 { .w-33 {
width: 32% !important; width: 32% !important;
display: inline-block !important; display: inline-block !important;
@ -400,6 +406,9 @@ export default {
.table td, .table th{ .table td, .table th{
border-top: 1px solid #e0e0e0; border-top: 1px solid #e0e0e0;
} }
.table td.p-y-0{
padding: 10px 0px;
}
.order-item{ .order-item{
color: #666; color: #666;
background-color: #fff!important; background-color: #fff!important;

10
src/views/exchange/index.vue

@ -10,7 +10,7 @@
<div class="container-fluid no-fluid" style="background-color: #f5f5f5;padding: 15px 15px;"> <div class="container-fluid no-fluid" style="background-color: #f5f5f5;padding: 15px 15px;">
<div class="row sm-gutters"> <div class="row sm-gutters">
<div class="col-md-8" style="padding-right:0px!important;margin-right: 15px;"> <div class="left-box-A">
<div class="row"> <div class="row">
<div class="col-md-12" style="padding-right: 0px!important;"> <div class="col-md-12" style="padding-right: 0px!important;">
<div class="px-4 py-3 heading"> <div class="px-4 py-3 heading">
@ -584,6 +584,14 @@ export default {
</script> </script>
<style scoped> <style scoped>
.left-box-A{
position: relative;
width: 100%;
flex: 0 0 73%;
max-width: 73%;
padding-left: 7.5px;
padding-right:0px!important;
}
.heading{ .heading{
color: #333; color: #333;
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;

20
src/views/exchange/make-deal.vue

@ -178,10 +178,13 @@
</p> </p>
</el-popover> </el-popover>
<!-- Available -->
<p> <p>
<!-- 购买的数量 -->
{{ $t('exchange.amount') }} {{ $t('exchange.amount') }}
<span> {{toBalance}} {{pair.to}}</span><br /> <!-- <span> {{toBalance}} {{pair.to}}</span><br /> -->
<span> {{+(buyTotal/buyorder.entrust_price).toFixed(8)}} {{ pair.to }}</span><br />
<!-- Available -->
{{ $t('exchange.balance') }} {{ $t('exchange.balance') }}
<span> {{fromBalance}} {{pair.from}}</span> <span> {{fromBalance}} {{pair.from}}</span>
</p> </p>
@ -255,15 +258,15 @@
<p slot="reference"> <p slot="reference">
{{ $t('exchange.order-total') }} {{ $t('exchange.order-total') }}
<span> <span>
<b>{{sellTotal}}</b> {{pair.from}} </span> <b>{{sellorder.amount}}</b> {{pair.to}} </span>
</p> </p>
</el-popover> </el-popover>
<p> <p>
{{$t('exchange.amount')}} {{$t('exchange.amount')}}
<span> {{toBalance}} {{pair.to}} </span><br /> <span> {{+(sellorder.amount*sellorder.entrust_price).toFixed(8)}} {{pair.from}}</span><br />
{{ $t('exchange.balance') }} {{ $t('exchange.balance') }}
<span> {{fromBalance}} {{pair.from}}</span> <span> {{toBalance}} {{pair.to}} </span>
</p> </p>
<button class="btn sell" @click="handleSellOrder">{{ $t("common.sell") }} {{pair.to}}</button> <button class="btn sell" @click="handleSellOrder">{{ $t("common.sell") }} {{pair.to}}</button>
</div> </div>
@ -363,7 +366,8 @@ export default {
if (!this.isMarket) { if (!this.isMarket) {
return Math.multiple(this.buyorder.entrust_price, this.buyorder.amount); return Math.multiple(this.buyorder.entrust_price, this.buyorder.amount);
} else { } else {
return this.cacheTotal===0?'':this.cacheTotal; // return this.cacheTotal===0?'':this.cacheTotal;
return this.cacheTotal;
} }
}, },
set(val) { set(val) {
@ -543,8 +547,8 @@ export default {
this.sellorder.trigger_price = Math.omitTo(price, this.priceDecimals); this.sellorder.trigger_price = Math.omitTo(price, this.priceDecimals);
// //
this.buyorder.amount = ''; this.buyorder.amount = 0;
this.sellorder.amount = ''; this.sellorder.amount = 0;
// totalset // totalset
// this.buyTotal = 0; // this.buyTotal = 0;

128
src/views/profile/certification.vue

@ -40,67 +40,6 @@
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-3">
<label>{{$t('profile.documentType')}}*</label>
<el-select v-model="form.type" :placeholder="$t('profile.pelaseSelect')">
<el-option
v-for="item in cardType"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</el-select>
</div>
<div class="form-group col-md-9">
<label>{{$t('profile.certificateNumber')}}*</label>
<input
type="text"
required
v-model="form.id_card"
class="form-control"
:placeholder="$t('profile.endterIDNumber')"
/>
</div>
</div>
<!-- <div class="label my-2 blue">{{$t('profile.addressInfo')}}</div> -->
<!-- <div class="form-group">
<label>{{$t('profile.residentialAddress')}}*</label>
<input
type="text"
required
v-model="form.address"
class="form-control"
:placeholder="$t('profile.residentialAddress1')"
/>
</div> -->
<!-- <div class="form-row">
<div class="form-group col-md-6">
<label>{{$t('profile.ciy')}}*</label>
<input
type="text"
required
v-model="form.city"
class="form-control"
:placeholder="$t('profile.incity')"
/>
</div>
<div class="form-group col-md-6">
<label>{{$t('profile.postalCode')}}*</label>
<input
type="text"
required
v-model="form.postal_code"
class="form-control"
:placeholder="$t('profile.thePostcode')"
/>
</div>
</div> -->
<!-- <div class="form-group">
<label>{{$t('profile.additionalInformation')}}{{$t('profile.optional')}}</label>
<input type="text" v-model="form.extra" class="form-control" placeholder />
</div> -->
<!-- <div class="label my-2 blue">{{$t('profile.contactInformation')}}</div> -->
<div class="form-row" v-if="0">
<!-- <div class="form-group col-md-12"> --> <!-- <div class="form-group col-md-12"> -->
<!-- <label>{{$t('profile.phoneNumber')}}*</label> --> <!-- <label>{{$t('profile.phoneNumber')}}*</label> -->
<!-- <div class="input-group mb-3"> --> <!-- <div class="input-group mb-3"> -->
@ -129,7 +68,7 @@
>{{item.country_code}}{{item.name}}</el-dropdown-item> >{{item.country_code}}{{item.name}}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> --> </el-dropdown> -->
<div class="form-group col-md-9"> <!-- <div class="form-group col-md-9">
<label>{{$t('profile.phoneNumber')}}*</label> <label>{{$t('profile.phoneNumber')}}*</label>
<input <input
type="text" type="text"
@ -138,10 +77,73 @@
class="form-control" class="form-control"
:placeholder="$t('profile.enterPhoneNumber')" :placeholder="$t('profile.enterPhoneNumber')"
/> />
</div> </div> -->
<!-- </div> <!-- </div>
</div> --> </div> -->
</div> </div>
<div class="form-row">
<div class="form-group col-md-6">
<label>{{$t('profile.ciy')}}*</label>
<input
type="text"
required
v-model="form.city"
class="form-control"
:placeholder="$t('profile.incity')"
/>
</div>
<div class="form-group col-md-6">
<label>{{$t('profile.postalCode')}}*</label>
<input
type="text"
required
v-model="form.postal_code"
class="form-control"
:placeholder="$t('profile.thePostcode')"
/>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-3">
<label>{{$t('profile.documentType')}}*</label>
<el-select v-model="form.type" :placeholder="$t('profile.pelaseSelect')">
<el-option
v-for="item in cardType"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</el-select>
</div>
<div class="form-group col-md-9">
<label>{{$t('profile.certificateNumber')}}*</label>
<input
type="text"
required
v-model="form.id_card"
class="form-control"
:placeholder="$t('profile.endterIDNumber')"
/>
</div>
</div>
<!-- <div class="label my-2 blue">{{$t('profile.addressInfo')}}</div> -->
<!-- <div class="form-group">
<label>{{$t('profile.residentialAddress')}}*</label>
<input
type="text"
required
v-model="form.address"
class="form-control"
:placeholder="$t('profile.residentialAddress1')"
/>
</div> -->
<!-- <div class="form-group">
<label>{{$t('profile.additionalInformation')}}{{$t('profile.optional')}}</label>
<input type="text" v-model="form.extra" class="form-control" placeholder />
</div> -->
<!-- <div class="label my-2 blue">{{$t('profile.contactInformation')}}</div> -->
<!-- <div class="text-center"> --> <!-- <div class="text-center"> -->
<!-- <button type="button" class="btn w-25 btn-primary rounded-pill" @click="primaryAuth" >{{$t('profile.nextStep')}}</button> --> <!-- <button type="button" class="btn w-25 btn-primary rounded-pill" @click="primaryAuth" >{{$t('profile.nextStep')}}</button> -->
<!-- <button <!-- <button

4
src/views/purchase/index.vue

@ -175,6 +175,7 @@
<tr> <tr>
<th>{{$t('purchase.subscribe')}}</th> <th>{{$t('purchase.subscribe')}}</th>
<th>{{$t('otc.a5')}}</th> <th>{{$t('otc.a5')}}</th>
<th>{{$t('purchase.SubscriptionPrice')}}</th>
<th>{{$t('wallet.money')}}</th> <th>{{$t('wallet.money')}}</th>
<th>{{$t('purchase.subscriptionCurrency')}}</th> <th>{{$t('purchase.subscriptionCurrency')}}</th>
<th>{{$t('contract.b1')}}</th> <th>{{$t('contract.b1')}}</th>
@ -192,6 +193,7 @@
{{ item.subscription_currency_name }} {{ item.subscription_currency_name }}
</td> </td>
<td>{{ item.subscription_currency_amount }}</td> <td>{{ item.subscription_currency_amount }}</td>
<td>{{ item.currency_price }}</td>
<td>{{ item.payment_amount }}</td> <td>{{ item.payment_amount }}</td>
<td>{{ item.payment_currency }}</td> <td>{{ item.payment_currency }}</td>
<td>{{ item.subscription_time|parseTime }}</td> <td>{{ item.subscription_time|parseTime }}</td>
@ -233,7 +235,7 @@
:description="parseTime(detail.end_subscription_time)" :description="parseTime(detail.end_subscription_time)"
></el-step> ></el-step>
<el-step <el-step
:title="$t('purchase.announceResults')" :title="$t('purchase.ListedTraded')"
:icon="detail.status >= 4 ? 'el-icon-success' : undefined" :icon="detail.status >= 4 ? 'el-icon-success' : undefined"
:description="parseTime(detail.announce_time)" :description="parseTime(detail.announce_time)"
></el-step> ></el-step>

7
src/views/wallet/exchange-assets.vue

@ -141,7 +141,7 @@
<input type="text" v-model="keyword" class="form-control mb-2 mr-sm-2" :placeholder="$t('wallet.searchCurrency')" /> <input type="text" v-model="keyword" class="form-control mb-2 mr-sm-2" :placeholder="$t('wallet.searchCurrency')" />
<!-- <router-link to="/wallet/address" class="btn btn-success rounded-pill mb-2">{{$t('wallet.addressManagement')}}</router-link> --> <!-- <router-link to="/wallet/address" class="btn btn-success rounded-pill mb-2">{{$t('wallet.addressManagement')}}</router-link> -->
<router-link to="/wallet/address" class="btn rounded-pill mb-2" style="background-color: #F7D558;color: #000!important;">{{$t('wallet.addressManagement')}}</router-link> <!-- <router-link to="/wallet/address" class="btn rounded-pill mb-2" style="background-color: #F7D558;color: #000!important;">{{$t('wallet.addressManagement')}}</router-link> -->
</div> </div>
</form> </form>
<div class="tab-content"> <div class="tab-content">
@ -371,7 +371,7 @@
</span> </span>
<span> <span>
{{$t('wallet.low')}}:{{withdrawFee.withdrawal_min}} {{withdrawCoin}} {{$t('wallet.low')}}:{{withdrawFee.withdrawal_min}} {{withdrawCoin}}
<router-link to="/wallet/address" style="color: #F7D558;">{{$t('wallet.addressList')}}</router-link> <!-- <router-link to="/wallet/address" style="color: #F7D558;">{{$t('wallet.addressList')}}</router-link> -->
</span> </span>
</label> </label>
<div class="input-group input-group-sm"> <div class="input-group input-group-sm">
@ -923,4 +923,7 @@ input[type=radio]{
.modal-content .close{ .modal-content .close{
color: #000; color: #000;
} }
.active, a:hover{
color: #000!important;
}
</style> </style>
Loading…
Cancel
Save