Browse Source

2022.3.9 文档修改

master
ltlzx 4 years ago
parent
commit
8d732a280e
  1. 3
      src/components/CommonHeader.vue
  2. 3
      src/i18n/cn.json
  3. 86
      src/views/contract/account.vue
  4. 52
      src/views/contract/exchange-store.vue
  5. 218
      src/views/contract/history-commission.vue
  6. 146
      src/views/contract/hold-position.vue
  7. 9
      src/views/contract/index.vue
  8. 32
      src/views/contract/page-bottom.vue
  9. 21
      src/views/option/kline.vue
  10. 2
      src/views/profile/certification.vue
  11. 14
      src/views/setting/index.vue
  12. 18
      src/views/wallet/exchange-assets.vue
  13. 4
      src/views/wallet/funding.vue

3
src/components/CommonHeader.vue

@ -123,7 +123,8 @@
<a href="#/profile/certification">{{$t('common.goTo')}}</a>
</p>
<div class="email text-muted mb-3">
<router-link to="/profile/index">{{signed.account}}</router-link>
<router-link to="/profile/index">{{userInfo.account}}</router-link>
<!-- <router-link to="/profile/index">{{signed.account}}</router-link> -->
<!-- <div>UID:{{signed.user_id}}</div> -->
</div>
</div>

3
src/i18n/cn.json

@ -908,7 +908,8 @@
"k8": "请先登录进行申购",
"k9":"请输入认购码",
"l1":"涨幅比例",
"l2":"保证金"
"l2":"保证金",
"l3":"倍"
},
"otc": {
"a0": "请选择交易类型",

86
src/views/contract/account.vue

@ -1,48 +1,48 @@
<template>
<div class="account">
<div class="markets-pair-list">
<div class="nav justify-content-between">
<div class="nav-item">
<a class="nav-link">{{$t('contract.a0')}}</a>
<div class="account">
<div class="markets-pair-list">
<div class="nav justify-content-between">
<div class="nav-item">
<a class="nav-link">{{$t('contract.a0')}}</a>
</div>
<div class="d-flex justify-content-between align-items-center">
<router-link to="/wallet/assets/exchange" class="border border-primary rounded text-primary p-1" >
{{$t('contract.a1')}}
</router-link>
</div>
</div>
<div class="">
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a2')}}USDT</div>
<div>{{ accountInfo.account_equity || "--" }}</div>
</div>
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a3')}}USDT</div>
<div>{{accountInfo.usable_balance}}</div>
</div>
<!-- <div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a4')}}USDT</div>
<div>{{accountInfo.position_margin}}</div>
</div> -->
<!-- <div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a5')}}USDT</div>
<div>{{accountInfo.freeze_position}}</div>
</div>
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a6')}}USDT</div>
<div class="increace">{{accountInfo.unRealProfit}}</div>
</div> -->
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a7')}}USDT</div>
<div class="decreace">{{ accountInfo.riskRate || "0%" }}</div>
</div>
<!-- <div class="d-flex p-3 justify-content-between" v-if="false">
<div>{{$t('contract.a8')}}USDT</div>
<div>{{ accountInfo.flatPrice || "--" }}</div>
</div> -->
</div>
</div>
<div class="d-flex justify-content-between align-items-center">
<router-link to="/wallet/assets/exchange" class="border border-primary rounded text-primary p-1" >
{{$t('contract.a1')}}
</router-link>
</div>
</div>
<div class="">
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a2')}}USDT</div>
<div>{{ accountInfo.account_equity || "--" }}</div>
</div>
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a3')}}USDT</div>
<div>{{accountInfo.usable_balance}}</div>
</div>
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a4')}}USDT</div>
<div>{{accountInfo.position_margin}}</div>
</div>
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a5')}}USDT</div>
<div>{{accountInfo.freeze_position}}</div>
</div>
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a6')}}USDT</div>
<div class="increace">{{accountInfo.unRealProfit}}</div>
</div>
<div class="d-flex p-3 justify-content-between">
<div>{{$t('contract.a7')}}USDT</div>
<div class="decreace">{{ accountInfo.riskRate || "0%" }}</div>
</div>
<div class="d-flex p-3 justify-content-between" v-if="false">
<div>{{$t('contract.a8')}}USDT</div>
<div>{{ accountInfo.flatPrice || "--" }}</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
@ -64,4 +64,4 @@ export default {
}
};
</script>
</script>

52
src/views/contract/exchange-store.vue

@ -400,31 +400,33 @@ export default {
},
//
ifOpenPosition(side) {
let typeStr =
this.form.type == 1
? `${this.form.entrust_price}${this.$t("contract.f0")}`
: this.$t("contract.d9");
let decStr =
this.tab == 1
? `${this.$t("contract.d5")}${this.form.amount}${this.$t(
"contract.e2"
)}${side == 1 ? this.$t("contract.f1") : this.$t("contract.f2")}`
: `${this.$t("contract.d6")}${this.form.amount}${this.$t(
"contract.e2"
)}`;
this.$confirm(
`${this.$t("contract.f3")}${typeStr}${this.form.lever_rate}${this.$t(
"contract.f4"
)}${decStr}?`
)
.then(res => {
if (this.tab == 1) {
this.openPosition(side);
} else {
this.closePosition(side);
}
})
.catch(res => {});
let typeStr =
this.form.type == 1
? `${this.form.entrust_price}${this.$t("contract.f0")}`
: this.$t("contract.d9");
let decStr =
this.tab == 1
? `${this.$t("contract.d5")}${this.form.amount}${this.$t(
"contract.e2"
)}${side == 1 ? this.$t("contract.f1") : this.$t("contract.f2")}`
: `${this.$t("contract.d6")}${this.form.amount}${this.$t(
"contract.e2"
)}`;
// `${this.$t("contract.f3")}${typeStr}${this.form.lever_rate}${this.$t(
// "contract.f4"
// )}${decStr}?`
this.$confirm(
`${this.$t("contract.f3")}${typeStr}${this.form.lever_rate}
${this.$t("contract.f4")}${this.$t("contract.d5")}?`
)
.then(res => {
if (this.tab == 1) {
this.openPosition(side);
} else {
this.closePosition(side);
}
})
.catch(res => {});
},
//
openPosition(side) {

218
src/views/contract/history-commission.vue

@ -1,115 +1,115 @@
<template>
<div>
<table class="table">
<thead>
<tr>
<th>{{$t('contract.a9')}}</th>
<th>{{$t('contract.b0')}}</th>
<th>{{$t('contract.b1')}}</th>
<th>{{$t('contract.b2')}}</th>
<th>{{$t('contract.b3')}}/{{$t('contract.b4')}}</th>
<th>{{$t('contract.b5')}}/{{$t('contract.b6')}}</th>
<th>{{$t('contract.b7')}}</th>
<th>{{$t('contract.b8')}}</th>
<th>{{$t('contract.j0')}}</th>
<th>{{$t('contract.k1')}}</th>
<th>{{$t('contract.b9')}}</th>
<th>{{$t('contract.c0')}}</th>
</tr>
</thead>
<tbody>
<tr v-for="item in list" :key="item.id">
<td>{{ item.symbol }}/USDT</td>
<td>{{ item.lever_rate }}X</td>
<td>{{ item.created_at }}</td>
<td>{{ cals(item.side, item.order_type) }}</td>
<td>{{ item.traded_amount }}/{{ item.amount }}</td>
<td>{{item.avg_price||'--'}}/{{ item.entrust_price || "--" }}</td>
<td>{{ item.margin * 1 }}</td>
<td>{{ item.fee * 1 }}</td>
<td>
{{item.profit||'--'}}
</td>
<td>
{{item.settle_profit||'--'}}
</td>
<td>{{ status(item.status) }}</td>
<td>
<button class="btn btn-sm btn-primary" @click="showDetail(item)">
{{$t('contract.g4')}}
</button>
</td>
</tr>
<tr v-if="!list.length">
<td colspan="12">
<no-record />
</td>
</tr>
</tbody>
</table>
<div class="p-2">
<el-pagination
layout="prev, pager, next"
:page-size="CurrentObj.per_page"
@current-change="changePageCurrent"
:total="CurrentObj.total"
></el-pagination>
</div>
<!-- 撤销 -->
<div
class="modal fade"
id="history"
tabindex="-1"
role="dialog"
aria-labelledby="backClose"
aria-hidden="true"
>
<div
class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable"
>
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="backClose">{{$t('contract.g5')}}</h5>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="markets-pair-list">
<table class="table">
<thead>
<tr>
<th>{{$t('contract.d8')}}</th>
<th>{{$t('contract.e1')}}</th>
<th>{{$t('contract.b8')}}</th>
<th>{{$t('contract.g6')}}</th>
</tr>
</thead>
<tbody>
<tr v-for="item in order_details" :key="item.id">
<td>{{ item.unit_price }}</td>
<td>{{ item.trade_amount }}</td>
<td>{{ item.trade_buy_fee }}</td>
<td>{{ item.created_at }}</td>
</tr>
<tr v-if="!order_details.length">
<td colspan="4">
<no-record />
</td>
</tr>
</tbody>
</table>
<div>
<table class="table">
<thead>
<tr>
<th>{{$t('contract.a9')}}</th>
<th>{{$t('contract.b0')}}</th>
<th>{{$t('contract.b1')}}</th>
<th>{{$t('contract.b2')}}</th>
<th>{{$t('contract.b3')}}/{{$t('contract.b4')}}</th>
<th>{{$t('contract.b5')}}/{{$t('contract.b6')}}</th>
<th>{{$t('contract.b7')}}</th>
<th>{{$t('contract.b8')}}</th>
<th>{{$t('contract.j0')}}</th>
<!-- <th>{{$t('contract.k1')}}</th> -->
<th>{{$t('contract.b9')}}</th>
<!-- <th>{{$t('contract.c0')}}</th> -->
</tr>
</thead>
<tbody>
<tr v-for="item in list" :key="item.id">
<td>{{ item.symbol }}/USDT</td>
<td>{{ item.lever_rate }}X</td>
<td>{{ item.created_at }}</td>
<td>{{ cals(item.side, item.order_type) }}</td>
<td>{{ item.traded_amount }}/{{ item.amount }}</td>
<td>{{item.avg_price||'--'}}/{{ item.entrust_price || "--" }}</td>
<td>{{ item.margin * 1 }}</td>
<td>{{ item.fee * 1 }}</td>
<td>
{{item.profit||'--'}}
</td>
<!-- <td>
{{item.settle_profit||'--'}}
</td> -->
<td>{{ status(item.status) }}</td>
<!-- <td>
<button class="btn btn-sm btn-primary" @click="showDetail(item)">
{{$t('contract.g4')}}
</button>
</td> -->
</tr>
<tr v-if="!list.length">
<td colspan="12">
<no-record />
</td>
</tr>
</tbody>
</table>
<div class="p-2">
<el-pagination
layout="prev, pager, next"
:page-size="CurrentObj.per_page"
@current-change="changePageCurrent"
:total="CurrentObj.total"
></el-pagination>
</div>
<!-- 撤销 -->
<div
class="modal fade"
id="history"
tabindex="-1"
role="dialog"
aria-labelledby="backClose"
aria-hidden="true"
>
<div
class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable"
>
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="backClose">{{$t('contract.g5')}}</h5>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="markets-pair-list">
<table class="table">
<thead>
<tr>
<th>{{$t('contract.d8')}}</th>
<th>{{$t('contract.e1')}}</th>
<th>{{$t('contract.b8')}}</th>
<th>{{$t('contract.g6')}}</th>
</tr>
</thead>
<tbody>
<tr v-for="item in order_details" :key="item.id">
<td>{{ item.unit_price }}</td>
<td>{{ item.trade_amount }}</td>
<td>{{ item.trade_buy_fee }}</td>
<td>{{ item.created_at }}</td>
</tr>
<tr v-if="!order_details.length">
<td colspan="4">
<no-record />
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import Contract from "@/api/contract";
@ -183,4 +183,4 @@ export default {
}
}
};
</script>
</script>

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

@ -22,69 +22,69 @@
<table class="table">
<thead>
<tr>
<th>{{ $t("contract.a9") }}</th>
<th>{{ $t("contract.b0") }}</th>
<th>{{ $t("contract.g7") }}</th>
<!-- <th>{{ $t("contract.g7") }}{{ $t("contract.e2") }}</th> -->
<th>{{ $t("contract.i3") }}</th>
<!-- <th>{{ $t("contract.g8") }}{{ $t("contract.e2") }}</th>
<th>{{ $t("contract.a5") }}{{ $t("contract.e2") }}</th> -->
<th>{{ $t("contract.b7") }}</th>
<th>{{ $t("contract.g9") }}</th>
<th>{{ $t("contract.g3") }}</th>
<th>{{ $t("contract.a8") }}</th>
<th >{{ $t("contract.a6") }}</th>
<th>{{ $t("contract.h0") }}</th>
<th>{{ $t("contract.i7") }} /{{ $t("contract.i8") }}</th>
<th width="18%">{{ $t("contract.c0") }}</th>
<th>{{ $t("contract.a9") }}</th>
<th>{{ $t("contract.b7") }}</th>
<th>{{ $t("contract.b0") }}</th>
<!-- <th>{{ $t("contract.g7") }}</th> -->
<!-- <th>{{ $t("contract.g7") }}{{ $t("contract.e2") }}</th> -->
<th>{{ $t("contract.i3") }}</th>
<!-- <th>{{ $t("contract.g8") }}{{ $t("contract.e2") }}</th>
<th>{{ $t("contract.a5") }}{{ $t("contract.e2") }}</th> -->
<th>{{ $t("contract.g9") }}</th>
<th>{{ $t("contract.g3") }}</th>
<th>{{ $t("contract.a8") }}</th>
<th >{{ $t("contract.a6") }}</th>
<th>{{ $t("contract.h0") }}</th>
<th>{{ $t("contract.i7") }} /{{ $t("contract.i8") }}</th>
<th width="18%">{{ $t("contract.c0") }}</th>
</tr>
</thead>
<tbody>
<tr v-for="(item,index) in showList" :key="item.id" @click="getactiveItem(index)">
<td>{{ item.pair_name }}</td>
<td>{{ item.lever_rate }}X</td>
<td>{{ item.hold_position }}</td>
<td>{{ item.side == 1 ? $t("contract.i4") : $t("contract.i5") }}</td>
<!-- <td>{{ item.avail_position }}</td>
<td>{{ item.freeze_position }}</td> -->
<td>{{ item.position_margin }}</td>
<td>{{ item.avg_price * 1 }}</td>
<td>{{ item.realtimePrice }}</td>
<td>{{ item.flatPrice }}</td>
<td :class="item.unRealProfit>0?'increace':item.unRealProfit<0?'decreace':''">{{ item.unRealProfit }}</td>
<td>{{ item.profitRate }}</td>
<td>{{ item.tpPrice || "--" }}/{{ item.slPrice || "--" }}</td>
<td>
<button
class="btn btn-sm btn-danger mb-1"
@click="liquidation(item)"
>
{{ $t("contract.d6") }}
</button>
<!-- <button
class="btn btn-sm btn-outline-danger mb-1"
@click="allLiquidation(item)"
>
{{ $t("contract.h1") }}
</button> -->
<button
class="btn btn-sm btn-outline-danger mb-1"
@click="reverse(item)"
>
{{$t('contract.k3')}}
</button>
<button
class="btn btn-sm btn-primary mb-1"
@click="toStoploss(item)"
>
{{ $t("contract.i9") }}
</button>
</td>
</tr>
<tr v-if="!showList.length">
<td colspan="13">
<no-record />
</td>
<td>{{ item.pair_name }}</td>
<td>{{ item.position_margin }}</td>
<td>{{ item.lever_rate }}X</td>
<!-- <td>{{ item.hold_position }}</td> -->
<td>{{ item.side == 1 ? $t("contract.i4") : $t("contract.i5") }}</td>
<!-- <td>{{ item.avail_position }}</td>
<td>{{ item.freeze_position }}</td> -->
<td>{{ item.avg_price * 1 }}</td>
<td>{{ item.realtimePrice }}</td>
<td>{{ item.flatPrice }}</td>
<td :class="item.unRealProfit>0?'increace':item.unRealProfit<0?'decreace':''">{{ item.unRealProfit }}</td>
<td>{{ item.profitRate }}</td>
<td>{{ item.tpPrice || "--" }}/{{ item.slPrice || "--" }}</td>
<td>
<button
class="btn btn-sm btn-danger mb-1"
@click="liquidation(item)"
>
{{ $t("contract.d6") }}
</button>
<!-- <button
class="btn btn-sm btn-outline-danger mb-1"
@click="allLiquidation(item)"
>
{{ $t("contract.h1") }}
</button> -->
<button
class="btn btn-sm btn-outline-danger mb-1"
@click="reverse(item)"
>
{{$t('contract.k3')}}
</button>
<button
class="btn btn-sm btn-primary mb-1"
@click="toStoploss(item)"
>
{{ $t("contract.i9") }}
</button>
</td>
</tr>
<tr v-if="!showList.length">
<td colspan="13">
<no-record />
</td>
</tr>
</tbody>
</table>
@ -540,20 +540,20 @@ export default {
$("#exampleModal").modal("show");
},
closePosition() {
let data = {
side: this.activeItem.side == 1 ? 2 : 1,
type: this.activeItem.closeType,
symbol: this.activeItem.symbol,
entrust_price: this.form.entrust_price || 0,
amount: this.form.amount,
};
Contract.closePosition(data).then(() => {
this.form.entrust_price = "";
this.form.amount = "";
this.$message.success(this.$t("contract.f6"));
this.$emit("position");
$("#exampleModal").modal("hide");
});
let data = {
side: this.activeItem.side == 1 ? 2 : 1,
type: this.activeItem.closeType,
symbol: this.activeItem.symbol,
entrust_price: this.form.entrust_price || 0,
amount: this.form.amount,
};
Contract.closePosition(data).then(() => {
this.form.entrust_price = "";
this.form.amount = "";
this.$message.success(this.$t("contract.f6"));
this.$emit("position");
$("#exampleModal").modal("hide");
});
},
//
allLiquidation(item) {

9
src/views/contract/index.vue

@ -45,11 +45,12 @@
</tr>
</thead>
<tbody>
<!-- @click="activeSymbol = item.symbol" -->
<tr
v-for="item in parent.marketInfoList"
:key="item.symbol"
:class="{ active: item.symbol == activeSymbol }"
@click="activeSymbol = item.symbol"
@click="ispopover1(item.symbol)"
>
<td class="w-10/24">
{{ item.symbol }}/{{ parent.coin_name }}
@ -225,7 +226,7 @@ export default {
_time: null,
contractOpen: false,
contractAgreement: {},
symbolDetail:{}
symbolDetail:{},
};
},
computed: {
@ -270,6 +271,10 @@ export default {
}, 3000)
},
methods: {
ispopover1(item){
this.activeSymbol=item;
this.$refs.popover.showPopper = false;
},
swapMarketList() {
let msg = "swapMarketList";
this.ws.send({

32
src/views/contract/page-bottom.vue

@ -1,21 +1,21 @@
<template>
<div class="d-flex pb-2 mt-2">
<div class="markets-pair-list page-bottom bg-plain flex-fill">
<div class="nav nav-pills">
<div class="nav-item">
<a class="nav-link" :class="{ active: tab == 1 }" @click="tab = 1;$emit('position')">{{$t('contract.i0')}}</a>
<div class="nav nav-pills">
<div class="nav-item">
<a class="nav-link" :class="{ active: tab == 1 }" @click="tab = 1;$emit('position')">{{$t('contract.i0')}}</a>
</div>
<div class="nav-item">
<a class="nav-link" :class="{ active: tab == 2 }" @click="tab = 2">{{$t('contract.i1')}}</a>
</div>
<div class="nav-item">
<a class="nav-link" :class="{ active: tab == 3 }" @click="tab = 3">{{$t('contract.i2')}}</a>
</div>
<!-- <div class="nav-item">
<a class="nav-link" :class="{ active: tab == 4 }" @click="tab = 4">{{$t('wallet.contractFlow')}}{{symbol}}</a>
</div> -->
</div>
<div class="nav-item">
<a class="nav-link" :class="{ active: tab == 2 }" @click="tab = 2">{{$t('contract.i1')}}</a>
</div>
<div class="nav-item">
<a class="nav-link" :class="{ active: tab == 3 }" @click="tab = 3">{{$t('contract.i2')}}</a>
</div>
<div class="nav-item">
<a class="nav-link" :class="{ active: tab == 4 }" @click="tab = 4">{{$t('wallet.contractFlow')}}{{symbol}}</a>
</div>
</div>
<div class="body">
<div class="body">
<!-- 持有仓位 -->
<hold-position @isall="$emit('isall',$event)" :symbolDetail="symbolDetail" :holdPositionAll="holdPositionAll" @position="$emit('position')" @setactive="setactive" :newPrice="newPriceObj.price" :holdPositionList="holdPositionList" :symbol="symbol" v-if="tab == 1" />
<!-- 当前委托 -->
@ -29,7 +29,7 @@
</div>
</div>
<div class="ml-2">
<account class="bg-plain" :accountInfo="accountInfo"/>
<account class="bg-plain" :accountInfo="accountInfo"/>
</div>
</div>
</template>
@ -99,4 +99,4 @@ export default {
}
}
};
</script>
</script>

21
src/views/option/kline.vue

@ -118,7 +118,7 @@ data() {
onLoadedCallback: undefined,
onRealtimeCallback: undefined,
// timer: "15",
timer: "1",
timer: "5",
sub: "",
isCreateSocket: false,
page: {},
@ -418,12 +418,12 @@ methods: {
buttonArr.forEach((v, i) => {
let button = widget.createButton();
button.attr("title", v.title).addClass("my-date").text(v.title);
if (v.resolution === "1") {
button.css({
color: "#5786d2",
"border-bottom": "1px solid #5786d2",
});
localStorage.setItem("tim", "1");
if (v.resolution === _this.timer) {
button.css({
color: "#5786d2",
"border-bottom": "1px solid #5786d2",
});
// localStorage.setItem("tim", v.resolution);
}
btn = button.on("click", function (e) {
$(this).parents(".left").children().find(".my-date").removeAttr("style");
@ -433,6 +433,7 @@ methods: {
"border-bottom": "1px solid #5786d2",
});
// _this.$store.commit("upType", v.type);
localStorage.setItem("tim", v.resolution);
widget.chart().setChartType(v.chartType); //K线
});
});
@ -482,6 +483,12 @@ methods: {
},
},
created(){
let tim=localStorage.getItem("tim");
if(tim){
this.timer=tim
}
},
mounted() {
this.initView();
},

2
src/views/profile/certification.vue

@ -336,7 +336,7 @@ export default {
this.countryList = res;
for(let i=0; i<this.countryList.length;i++){
let item=this.countryList[i];
if(item.country_code=="1"){
if(item.id==195){
this.form.country_id = item.id;
break;
}

14
src/views/setting/index.vue

@ -16,7 +16,7 @@
</div>
</div>
<!-- 交易密码 -->
<div class="col-md-6 d-flex">
<!-- <div class="col-md-6 d-flex">
<div class="panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column">
<div class="heading">{{$t('setting.transactionPassword')}}</div>
<div class="tab-content flex-fill d-flex flex-column justify-content-between align-items-start">
@ -26,9 +26,9 @@
<button class="btn btn-primary btn-sm" @click="transShow=true" v-else>{{$t('setting.safeSetting')}}</button>
</div>
</div>
</div>
</div> -->
<!-- Google验证 -->
<div class="col-md-4 d-flex">
<!-- <div class="col-md-4 d-flex">
<div class="panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column">
<div class="heading">Google {{$t('setting.verCode')}}</div>
<div class="tab-content flex-fill d-flex flex-column justify-content-between align-items-start">
@ -48,9 +48,9 @@
</div>
</div>
</div>
</div>
</div> -->
<!-- 短信验证 -->
<div class="col-md-4 d-flex">
<!-- <div class="col-md-4 d-flex">
<div class="panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column">
<div class="heading">SMS {{$t('setting.smsVer')}}</div>
<div class="tab-content flex-fill d-flex flex-column justify-content-between align-items-start">
@ -71,7 +71,7 @@
</div>
</div>
</div>
</div>
</div> -->
<!-- 邮箱验证 -->
<div class="col-md-4 d-flex">
<div class="panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column">
@ -202,4 +202,4 @@ export default {
</script>
<style>
</style>
</style>

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

@ -312,17 +312,17 @@
<div class="col-md-6">
<form action class="withdraw-body">
<template v-if="withdrawCoin =='USDT'">
<!-- <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="withdraw-address-type" id="withdraw-omni" v-model="withdraw.addressType" value="1" />
<label class="form-check-label" for="withdraw-omni">OMNI</label>
</div> -->
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="withdraw-address-type" id="withdraw-omni" v-model="withdraw.addressType" value="1" />
<label class="form-check-label" for="withdraw-omni">OMNI</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="withdraw-address-type" id="withdraw-erc20" v-model="withdraw.addressType" value="2" />
<label class="form-check-label" for="withdraw-erc20">ERC20</label>
<input class="form-check-input" type="radio" name="withdraw-address-type" id="withdraw-trc20" v-model="withdraw.addressType" value="3" />
<label class="form-check-label" for="withdraw-trc20">TRC20</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="withdraw-address-type" id="withdraw-trc20" v-model="withdraw.addressType" value="3" />
<label class="form-check-label" for="withdraw-trc20">TRC20</label>
<input class="form-check-input" type="radio" name="withdraw-address-type" id="withdraw-erc20" v-model="withdraw.addressType" value="2" />
<label class="form-check-label" for="withdraw-erc20">ERC20</label>
</div>
</template>
<div class="form-group mt-2">
@ -431,7 +431,7 @@ export default {
coin_id: "",
amount: "",
address: "",
addressType: 1, // 1 omni 2 erc20,
addressType: 3, // 1 omni 2 erc20,
code_type: 1,
code: ''
},

4
src/views/wallet/funding.vue

@ -16,9 +16,9 @@
<li class="nav-item fn-16">
<a class="nav-link " data-toggle="pill" href="#withdrawal" role="tab" aria-selected="false" @click="currentTab = 'withdrawal'">{{$t('wallet.withdrawalRecord')}}</a>
</li>
<li class="nav-item fn-16">
<!-- <li class="nav-item fn-16">
<a class="nav-link " data-toggle="pill" href="#paypal" role="tab" aria-selected="false" @click="currentTab = 'paypal'">Paypal{{$t('wallet.rechargeRecord')}}</a>
</li>
</li> -->
</ul>
<div class="row pt-3">
<div class="form-group col-sm-3">

Loading…
Cancel
Save