Browse Source

更新文字

master
luyisha 3 years ago
parent
commit
bdc5f47f5b
  1. 8
      i18n/lang/en.json
  2. 9
      pages/exchange/exchange-transaction.vue
  3. 16
      pages/exchange/open-position.vue

8
i18n/lang/en.json

@ -261,7 +261,7 @@
"c3": "Buy", "c3": "Buy",
"c4": "Sell", "c4": "Sell",
"c5": "Quantity", "c5": "Quantity",
"c6": "Sold at the best market price", "c6": "Best market transaction",
"c7": "Total Price", "c7": "Total Price",
"c8": "Available Quantity", "c8": "Available Quantity",
"c9": "Total Value", "c9": "Total Value",
@ -271,8 +271,8 @@
"d3": "Latest Transaction", "d3": "Latest Transaction",
"d4": "Time", "d4": "Time",
"d5": "Direction", "d5": "Direction",
"d6": "Limit Price", "d6": "Limit order",
"d7": "Market Price", "d7": "Market order",
"d8": "Please enter the price", "d8": "Please enter the price",
"d9": "Please enter the quantity", "d9": "Please enter the quantity",
"e0": "Please enter the total price", "e0": "Please enter the total price",
@ -748,7 +748,7 @@
"a1":"Contact Us", "a1":"Contact Us",
"a2":"Welcome!", "a2":"Welcome!",
"a3":"TP/SL for position", "a3":"TP/SL for position",
"a4":"Trade at current latest price", "a4":"Best market transaction",
"a5":"Positions", "a5":"Positions",
"a6":"Order management", "a6":"Order management",
"a7":"Open Orders", "a7":"Open Orders",

9
pages/exchange/exchange-transaction.vue

@ -91,7 +91,7 @@
:placeholder="$t('exchange.c5')" :placeholder="$t('exchange.c5')"
> >
<template #right> <template #right>
<view class="color-default fn-bold color-light">{{ <view class="color-default color-light">{{
activeCoin.coin_name activeCoin.coin_name
}}</view> }}</view>
</template> </template>
@ -102,7 +102,7 @@
<view> <view>
<v-input <v-input
disabled disabled
class="h-30 p-x-sm rounded p-y-xxs fn-center color-light bg-form-panel-3" class="h-30 rounded p-y-xxs fn-center color-light bg-form-panel-3"
:placeholder="$t('exchange.c6')" :placeholder="$t('exchange.c6')"
></v-input> ></v-input>
</view> </view>
@ -117,8 +117,8 @@
" "
> >
<template #right> <template #right>
<view class="color-default fn-bold color-light" v-show="form.direction == 'sell'">{{currentCoin}}</view> <view class="color-default color-light" v-show="form.direction == 'sell'">{{currentCoin}}</view>
<view class="color-default fn-bold color-light" v-show="form.direction == 'buy'">{{targetCoin}}</view> <view class="color-default color-light" v-show="form.direction == 'buy'">{{targetCoin}}</view>
</template> </template>
</v-input> </v-input>
</view> </view>
@ -616,6 +616,7 @@ export default {
4 4
); );
} else if (this.form.type == 1) { } else if (this.form.type == 1) {
//
this.form.amount = this.form.amount = math.multiple( this.form.amount = this.form.amount = math.multiple(
this.targetBalance.usable_balance, this.targetBalance.usable_balance,
num, num,

16
pages/exchange/open-position.vue

@ -116,7 +116,7 @@
v-if="form.type == 1" v-if="form.type == 1"
disabled disabled
:value='$t("first.a4")' :value='$t("first.a4")'
class="h-30 p-y-xxs rounded fn-center fn-bold color-light bg-form-panel-3 p-x-xs" class="h-30 p-y-xxs rounded fn-center color-light bg-form-panel-3 p-x-xs"
></v-input> ></v-input>
</view> </view>
<view> <view>
@ -129,7 +129,7 @@
class="h-30 p-x-sm p-y-xxs rounded bg-form-panel-3" class="h-30 p-x-sm p-y-xxs rounded bg-form-panel-3"
> >
<template #right> <template #right>
<span class="color-light fn-bold"> <span class="color-light">
<!-- {{ $t("contract.d8") }} --> <!-- {{ $t("contract.d8") }} -->
USDT USDT
</span> </span>
@ -795,8 +795,10 @@ export default {
popshow:false, popshow:false,
contractInstruction:'', contractInstruction:'',
commissionTypes:[ commissionTypes:[
{ label: this.$t("contract.f6"), value: 1 }, // { label: this.$t("contract.f6"), value: 1 },
{ label: this.$t("exchange.d6")+this.$t("contract.g5"), value: 0 } // { label: this.$t("exchange.d6")+this.$t("contract.g5"), value: 0 }
{ label: this.$t("exchange.d7"), value: 1 },
{ label: this.$t("exchange.d6"), value: 0 }
], ],
shixian:[ shixian:[
{ label: this.$t("contract.d7"), value: 2 }, { label: this.$t("contract.d7"), value: 2 },
@ -888,8 +890,10 @@ export default {
isShow(n) { isShow(n) {
this.$emit("symbols",this.symbol) this.$emit("symbols",this.symbol)
this.commissionTypes=[ this.commissionTypes=[
{ label: this.$t("contract.f6"), value: 1 }, // { label: this.$t("contract.f6"), value: 1 },
{ label: this.$t("contract.f5"), value: 0 } // { label: this.$t("contract.f5"), value: 0 },
{ label: this.$t("exchange.d7"), value: 1 },
{ label: this.$t("exchange.d6"), value: 0 }
] ]
if (n&&this.isLogin) { if (n&&this.isLogin) {
// this.generalizeInfo() // this.generalizeInfo()

Loading…
Cancel
Save