From 410baea0e0e5a74350adc5291cf23cb79ad30daa Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 10 Jul 2025 14:36:06 +0800
Subject: [PATCH] 11
---
src/page/funds/index.vue | 2
src/page/list/tradingList/dazy.vue | 6
src/locales/jp.json | 6
src/page/kline/index.vue | 22 +-
src/page/user/Warehouse/data.list.vue | 22 +-
src/page/list/trading-list copy.vue | 63 +++++-----
src/page/user/yebs copy.vue | 2
src/page/trading/buy.vue | 14 +-
src/components/Language/index.vue | 10
src/page/home/listcomponents/dazongjiaoyi.vue | 2
src/page/user/Warehouse.vue | 8
src/locales/en.json | 4
src/page/list/tradingList/tabs.vue | 8
src/locales/index.js | 3
src/assets/img/22222.png | 0
src/page/newUser/index.vue | 42 +++---
src/page/user/favorites.vue | 3
src/page/wallet/index.vue | 10
src/page/wallet/index copy.vue | 10
src/utils/allocation.js | 4
src/page/home/home.vue | 6
src/page/user/Warehouse/item.card.vue | 16 +-
src/page/list/tradingList/data.list.vue | 5
src/utils/filter.js | 2
src/components/showHide.vue | 4
src/page/cashWithdrawalRecord/compontents/cash-list.vue | 4
src/page/home/Record.vue | 6
src/assets/img/img_log_home.png | 0
src/page/user/Warehouse/Stockdetail.vue | 14 +-
src/page/kline/index copy.vue | 6
src/page/tixian/tixian.vue | 10
src/assets/img/11111.png | 0
src/axios/api.url.js | 6
33 files changed, 165 insertions(+), 155 deletions(-)
diff --git a/src/assets/img/11111.png b/src/assets/img/11111.png
new file mode 100644
index 0000000..72280ae
--- /dev/null
+++ b/src/assets/img/11111.png
Binary files differ
diff --git a/src/assets/img/22222.png b/src/assets/img/22222.png
new file mode 100644
index 0000000..9351a28
--- /dev/null
+++ b/src/assets/img/22222.png
Binary files differ
diff --git a/src/assets/img/img_log_home.png b/src/assets/img/img_log_home.png
index 21815e1..8aa1ae8 100644
--- a/src/assets/img/img_log_home.png
+++ b/src/assets/img/img_log_home.png
Binary files differ
diff --git a/src/axios/api.url.js b/src/axios/api.url.js
index dab56d6..cb7e67d 100644
--- a/src/axios/api.url.js
+++ b/src/axios/api.url.js
@@ -1,7 +1,7 @@
// const ENV = process.env.NODE_ENV
export default {
// DOMAIN: "https://api.amcfcxn.org/",
- DOMAIN: "https://api.durocaspitall.com/",
+ DOMAIN: "https://rgapi.yanshiz.com/",
// DOMAIN: "https://api.coinbtcs.com/",
// baseURL: ENV == 'development'?'https://api.guosen.org/':'https://api.guosen.org/',
// baseURL: 'http://localhost:8070',
@@ -9,9 +9,9 @@
// baseURL: '/',
// baseURL: 'https://api.coinbtcs.com/',
// 0311
- baseURL: "https://api.durocaspitall.com/",
+ // baseURL: "https://api.durocaspitall.com/",
// 本地
- // baseURL: "http://192.168.10.13:8091/",
+ baseURL: "https://rgapi.yanshiz.com/",
util: {
image: "/util/image.html" // 图片上传
}
diff --git a/src/components/Language/index.vue b/src/components/Language/index.vue
index 1141a79..e037952 100644
--- a/src/components/Language/index.vue
+++ b/src/components/Language/index.vue
@@ -43,7 +43,7 @@
// text: "简体中文",
// lang: "zh-CN",
// },
- { text: "हिंदी", lang: "hi" },
+ // { text: "हिंदी", lang: "hi" },
// {
// text: "Deutsch",
// lang: "de",
@@ -52,10 +52,10 @@
// text: "Français",
// lang: "fr",
// }, //法语
- // {
- // text: "日本語にほんご",
- // lang: "ja",
- // },
+ {
+ text: "日本語にほんご",
+ lang: "ja",
+ },
],
};
},
diff --git a/src/components/showHide.vue b/src/components/showHide.vue
index 0b2e927..ef6b5e3 100644
--- a/src/components/showHide.vue
+++ b/src/components/showHide.vue
@@ -1,6 +1,6 @@
<template>
<span>
- <span v-if="flg">{{ text | _toLocaleString(false) }}</span>
+ <span v-if="flg">¥ {{ text }}</span>
<span v-else>****</span>
</span>
</template>
@@ -21,4 +21,4 @@
</script>
<style>
-</style>
\ No newline at end of file
+</style>
diff --git a/src/locales/en.json b/src/locales/en.json
index 5e09f3e..e9ba0a1 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -1,4 +1,8 @@
{
+ "日股":"Japanese stocks",
+ "日股資產":"Japanese stock assets",
+ "日股可用":"Japanese stocks available",
+ "日股冻结":"Japanese stocks frozen",
"已上市": "Already on the market",
"关于我们详情": "Our diverse team includes CS, CA, MBA, CFA and other professionals. Pentagon Group provides a one-stop-shop providing integrated business, legal and financial solutions to various sections of the society. Pentagon Stock Broking, Pentagon Group's unit dealing in equities, derivatives, mutual funds,",
"关于我们详情1": "Provides stock broking platform to its investor groups along with services of inhouse depository participant for currency segment etc. Our team has rich and diverse experience, including some historical transactions and corporate proceedings.",
diff --git a/src/locales/index.js b/src/locales/index.js
index d7a2169..bacd4db 100644
--- a/src/locales/index.js
+++ b/src/locales/index.js
@@ -10,8 +10,7 @@
import fra from "@/locales/fra.json";
Vue.use(VueI18n);
-
-const DEFAULT_LANG = window.localStorage.getItem("language") || "en";
+const DEFAULT_LANG = window.localStorage.getItem("language") || "ja";
const LOCALE_KEY = "language";
window.localStorage.setItem("language", DEFAULT_LANG);
const locales = {
diff --git a/src/locales/jp.json b/src/locales/jp.json
index 7d90d9d..afdf144 100644
--- a/src/locales/jp.json
+++ b/src/locales/jp.json
@@ -1,4 +1,8 @@
{
+ "日股":"日本株",
+ "日股資產":"日本株資産",
+ "日股可用":"利用可能な日本株",
+ "日股冻结":"凍結された日本株",
"已上市": "すでに市場に出ています",
"秘钥": "鍵",
"描述": "説明する",
@@ -574,4 +578,4 @@
"请选择提现金额": "現金引き出し金額を選択してください",
"hj100": "取引数量(株)",
"删除": "削除"
-}
\ No newline at end of file
+}
diff --git a/src/page/cashWithdrawalRecord/compontents/cash-list.vue b/src/page/cashWithdrawalRecord/compontents/cash-list.vue
index 3707f0c..f577351 100644
--- a/src/page/cashWithdrawalRecord/compontents/cash-list.vue
+++ b/src/page/cashWithdrawalRecord/compontents/cash-list.vue
@@ -15,7 +15,7 @@
<span class="main">
{{ $t('hjtxyhk') }}
</span>
- <span class="payNumber">₹{{item.withAmt}}</span>
+ <span class="payNumber">¥{{item.withAmt}}</span>
<span class="red pull-right">
{{item.withStatus == 1?$t('hjtxcg'):item.withStatus == 2?$t('hjtxsb'):item.withStatus == 3?$t('hjddqx'):$t('hjshz')}}
<i v-if="item.withStatus == 1" class="iconfont icon-tongguo4 animated bounceIn"></i>
@@ -28,7 +28,7 @@
</div>
<div class="order-info">
<p class="clearfix">
- <span class="col-xs-6">{{ $t('hj44') }}:<b class="space">₹{{item.withFee}}</b></span>
+ <span class="col-xs-6">{{ $t('hj44') }}:<b class="space">¥{{item.withFee}}</b></span>
<!-- <span class="col-xs-6">实际到账金额:<b class="space" style="font-size:0.26rem">{{item.withAmt - item.withFee}}</b>元</span> -->
</p>
<p class="clearfix">
diff --git a/src/page/funds/index.vue b/src/page/funds/index.vue
index 835903d..b2ca44a 100644
--- a/src/page/funds/index.vue
+++ b/src/page/funds/index.vue
@@ -8,7 +8,7 @@
<img class="ino-ico" v-show="$state.theme =='red' " src="../../assets/ico/zongzichan-red.png">
<span class="ino-title">沪深资产总计</span>
<span class="ino-money">
- <span style="font-size: .3rem">₹</span>
+ <span style="font-size: .3rem">¥</span>
{{(Number($store.state.userInfo.enableAmt + $store.state.userInfo.allFreezAmt)).toFixed(2)}}</span>
</div>
<div class="money-info_progress">
diff --git a/src/page/home/Record.vue b/src/page/home/Record.vue
index 349edf8..c83d716 100644
--- a/src/page/home/Record.vue
+++ b/src/page/home/Record.vue
@@ -29,9 +29,9 @@
<div class="pages_box_after">{{$t('描述')}}</div>
</div>
<div class="pages_box" v-for="(item,index) in pagelist" :key="index">
- <!-- <div class="pages_box_after">₹{{item.after}}</div> -->
- <div class="pages_box_after">₹{{item.amount }}</div>
- <!-- <div class="pages_box_after">₹{{item.beFore}}</div> -->
+ <!-- <div class="pages_box_after">¥{{item.after}}</div> -->
+ <div class="pages_box_after">¥{{item.amount }}</div>
+ <!-- <div class="pages_box_after">¥{{item.beFore}}</div> -->
<div class="pages_box_after">{{
$moment(item.createTime).format(
"DD-MM-YYYY hh:mm:ss A"
diff --git a/src/page/home/home.vue b/src/page/home/home.vue
index 8214cf5..6427d59 100644
--- a/src/page/home/home.vue
+++ b/src/page/home/home.vue
@@ -250,7 +250,7 @@
// 新闻导航
newListHeader: [
{
- title: "印度新闻",
+ title: this.$t('hj6'),
id: "tab_0",
data: [],
type: 1,
@@ -271,10 +271,10 @@
currentIndex: 0,
bannerImgsArr: [
{
- img: require("@/assets/img/max.jpg"),
+ img: require("@/assets/img/11111.png"),
},
{
- img: require("@/assets/img/20240518-225348.jpg"),
+ img: require("@/assets/img/11111.png"),
},
// {
// img: "https://api.trowegroup.com/bs/image/20240305/06eb4602ba7b3e570ccd70c0415884ec.png",
diff --git a/src/page/home/listcomponents/dazongjiaoyi.vue b/src/page/home/listcomponents/dazongjiaoyi.vue
index 19e8b1a..12aabb6 100644
--- a/src/page/home/listcomponents/dazongjiaoyi.vue
+++ b/src/page/home/listcomponents/dazongjiaoyi.vue
@@ -55,7 +55,7 @@
{{ $t("hj261") }} <span @click="show = false"></span>
</div>
<h5>{{ $t("hj130") }}</h5>
- <h6>₹{{ currentItem.price ? currentItem.price : "" }}</h6>
+ <h6>¥{{ currentItem.price ? currentItem.price : "" }}</h6>
<div class="erty tghj">
<input
:placeholder="$t('hj262')"
diff --git a/src/page/kline/index copy.vue b/src/page/kline/index copy.vue
index a5e5405..061790f 100644
--- a/src/page/kline/index copy.vue
+++ b/src/page/kline/index copy.vue
@@ -24,7 +24,7 @@
</div>
<div class="right">
<span v-if="$store.state.userInfo.userAmt == undefined"
- >₹0.00</span
+ >¥0.00</span
>
<span
v-if="
@@ -43,7 +43,7 @@
(
Number($store.state.userInfo.userIndexAmt) / 0.9
).toFixed(2)
- : "₹" + $store.state.userInfo.userIndexAmt
+ : "¥" + $store.state.userInfo.userIndexAmt
}}
</span>
<span
@@ -64,7 +64,7 @@
(Number($store.state.userInfo.userAmt) / 0.9).toFixed(
2
)
- : "₹ " + $store.state.userInfo.userAmt
+ : "¥ " + $store.state.userInfo.userAmt
}}
</span>
</div>
diff --git a/src/page/kline/index.vue b/src/page/kline/index.vue
index 1d0ecc9..0d4597e 100644
--- a/src/page/kline/index.vue
+++ b/src/page/kline/index.vue
@@ -25,7 +25,7 @@
</div>
<div class="right">
<span v-if="$store.state.userInfo.userAmt == undefined"
- >₹0.00</span
+ >¥0.00</span
>
<span
v-if="
@@ -44,7 +44,7 @@
(
Number($store.state.userInfo.userIndexAmt) / 0.9
).toFixed(2)
- : "₹" + $store.state.userInfo.userIndexAmt
+ : "¥" + $store.state.userInfo.userIndexAmt
}}
</span>
<span
@@ -55,7 +55,7 @@
style="white-space: nowarp"
>
{{
- "₹ " +
+ "¥ " +
parseFloat(
$store.state.userInfo.enableAmt.toFixed(2)
).toLocaleString()
@@ -82,7 +82,7 @@
}}</span> -->
<span
:class="singDetails.hcrate > 0 ? 'price green' : 'price red'"
- >₹{{ singDetails.nowPrice }}</span
+ >¥{{ singDetails.nowPrice }}</span
>
</div>
<div class="bottom_now">
@@ -92,7 +92,7 @@
? '+' : ''
}}{{ (singDetails.nowPrice - singDetails.preclose_px).toFixed(2) }}</span> -->
<span v-else>
- ₹{{
+ ¥{{
(singDetails.nowPrice - singDetails.preclose_px).toFixed(2)
}}</span
>
@@ -121,7 +121,7 @@
:class="
singDetails.hcrate > 0 ? 'number green' : 'number red'
"
- >₹{{ singDetails.open_px }}</span
+ >¥{{ singDetails.open_px }}</span
>
</div>
<div class="rights topes">
@@ -133,7 +133,7 @@
:class="
singDetails.hcrate > 0 ? 'number green' : 'number red'
"
- >₹{{ singDetails.today_max }}</span
+ >¥{{ singDetails.today_max }}</span
>
</div>
</div>
@@ -147,7 +147,7 @@
:class="
singDetails.hcrate > 0 ? 'number green' : 'number red'
"
- >₹{{ singDetails.preclose_px }}</span
+ >¥{{ singDetails.preclose_px }}</span
>
</div>
<div class="rights bots">
@@ -159,7 +159,7 @@
:class="
singDetails.hcrate > 0 ? 'number green' : 'number red'
"
- >₹{{ singDetails.today_min }}</span
+ >¥{{ singDetails.today_min }}</span
>
</div>
</div>
@@ -433,7 +433,7 @@
<span>{{ $t("hj84") }}</span>
</div>
<div class="bottom_buy">
- <span>₹{{ singDetails.nowPrice }}</span>
+ <span>¥{{ singDetails.nowPrice }}</span>
</div>
</div>
<div class="sell_btn" @click="goBuy(1)">
@@ -441,7 +441,7 @@
<span>{{ $t("hj85") }}</span>
</div>
<div class="bottom_sell">
- <span>₹{{ singDetails.nowPrice }}</span>
+ <span>¥{{ singDetails.nowPrice }}</span>
</div>
</div>
</div>
diff --git a/src/page/list/trading-list copy.vue b/src/page/list/trading-list copy.vue
index 6caeece..657f0d0 100644
--- a/src/page/list/trading-list copy.vue
+++ b/src/page/list/trading-list copy.vue
@@ -505,16 +505,16 @@
<div class="left">
<span>{{ $t('hj47') }}</span>
</div>
- <div class="right" v-if="userData.length == 0">₹0.00</div>
+ <div class="right" v-if="userData.length == 0">¥0.00</div>
<div class="right" v-if="userData.length != 0">
- <span v-if="$store.state.userInfo.userAmt == undefined">₹0.00</span>
+ <span v-if="$store.state.userInfo.userAmt == undefined">¥0.00</span>
<span v-if="$store.state.userInfo && tabsItemIndex == 1" style="white-space: nowarp;">
- {{ '₹' + $store.state.userInfo.userIndexAmt
+ {{ '¥' + $store.state.userInfo.userIndexAmt
}}
</span>
<span v-if="$store.state.userInfo.enableAmt != undefined && (tabsItemIndex == 0)"
style="white-space: nowarp;">
- {{ '₹ ' + $store.state.userInfo.enableAmt
+ {{ '¥ ' + $store.state.userInfo.enableAmt
}}
</span>
<span v-if="$store.state.userInfo.enableAmt != undefined && tabsItemIndex == 3"
@@ -529,15 +529,15 @@
</span>
<span v-if="$store.state.userInfo.enableAmt != undefined && tabsItemIndex == 2"
style="white-space: nowarp;">
- {{ '₹ ' + $store.state.userInfo.enableAmt
+ {{ '¥ ' + $store.state.userInfo.enableAmt
}}
</span>
<span v-if="$store.state.userInfo.enableAmt != undefined && tabsItemIndex == 5"
style="white-space: nowarp;">
- {{ '₹ ' + $store.state.userInfo.enableAmt
+ {{ '¥ ' + $store.state.userInfo.enableAmt
}}
</span>
-
+
</div>
<div class="sanjiao">
<img :class="dialogFlag ? 'xuanz' : ''" style="transition: all 0.5s;" src="../../assets/img/xiala.png"
@@ -569,7 +569,7 @@
"
class="account"
>
- ₹{{
+ ¥{{
$store.state.hide
? "****"
: Number(
@@ -585,7 +585,7 @@
"
class="account"
>
- ₹{{
+ ¥{{
$store.state.hide
? "****"
: Number(
@@ -601,7 +601,7 @@
"
class="account"
>
- ₹{{
+ ¥{{
$store.state.hide
? "****"
: Number($store.state.userInfo.userAmt).toFixed(2)
@@ -611,7 +611,7 @@
v-else-if="this.$store.state.settingForm.indexDisplay && this.$store.state.settingForm.futuresDisplay"
class="account"
>
- ₹{{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥{{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userIndexAmt + $store.state.userInfo.userFuturesAmt).toFixed(2)
}}
</p> -->
@@ -675,7 +675,7 @@
v-else-if="this.$store.state.settingForm.indexDisplay && this.$store.state.settingForm.futuresDisplay"
class="account"
>
- ₹{{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥{{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userIndexAmt + $store.state.userInfo.userFuturesAmt).toFixed(2)
}}
</p> -->
@@ -739,7 +739,7 @@
v-else-if="this.$store.state.settingForm.indexDisplay && this.$store.state.settingForm.futuresDisplay"
class="account"
>
- ₹{{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥{{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userIndexAmt + $store.state.userInfo.userFuturesAmt).toFixed(2)
}}
</p> -->
@@ -846,10 +846,10 @@
<div class="bottom_price">
<div>
<span v-show="tabsItemIndex == 1">{{
- "₹ " + $store.state.userInfo.userIndexAmt
+ "¥ " + $store.state.userInfo.userIndexAmt
}}</span>
<span v-show="tabsItemIndex == 0 || tabsItemIndex == 5">{{
- "₹ " + $store.state.userInfo.userAmt
+ "¥ " + $store.state.userInfo.userAmt
}}</span>
<span v-show="tabsItemIndex == 3">{{
"$ " + (Number($store.state.userInfo.userAmt) / 7.1).toFixed(2)
@@ -859,9 +859,9 @@
(Number($store.state.userInfo.userAmt) / 0.9).toFixed(2)
}}</span>
<span v-show="tabsItemIndex == 2">{{
- "₹ " + $store.state.userInfo.userAmt
+ "¥ " + $store.state.userInfo.userAmt
}}</span>
- <!-- <span v-show="tabsItemIndex == 3">{{ '₹ ' + $store.state.userInfo.userFuturesAmt }}</span> -->
+ <!-- <span v-show="tabsItemIndex == 3">{{ '¥ ' + $store.state.userInfo.userFuturesAmt }}</span> -->
</div>
</div>
</div>
@@ -874,10 +874,10 @@
<div class="bottom_price">
<div>
<span v-show="tabsItemIndex == 1">{{
- "₹ " + $store.state.userInfo.enableIndexAmt
+ "¥ " + $store.state.userInfo.enableIndexAmt
}}</span>
<span v-show="tabsItemIndex == 0 || tabsItemIndex == 5">{{
- "₹ " + $store.state.userInfo.enableAmt
+ "¥ " + $store.state.userInfo.enableAmt
}}</span>
<span v-show="tabsItemIndex == 3">{{
"$ " +
@@ -888,9 +888,9 @@
(Number($store.state.userInfo.enableAmt) / 0.9).toFixed(2)
}}</span>
<span v-show="tabsItemIndex == 2">{{
- "₹ " + $store.state.userInfo.enableAmt
+ "¥ " + $store.state.userInfo.enableAmt
}}</span>
- <!-- <span v-show="tabsItemIndex == 3">{{ '₹ ' + $store.state.userInfo.enableFuturesAmt }}</span> -->
+ <!-- <span v-show="tabsItemIndex == 3">{{ '¥ ' + $store.state.userInfo.enableFuturesAmt }}</span> -->
</div>
</div>
</div>
@@ -903,13 +903,13 @@
<div class="bottom_price">
<div>
<span v-show="tabsItemIndex == 1">{{
- "₹ " + $store.state.userInfo.allIndexFreezAmt
+ "¥ " + $store.state.userInfo.allIndexFreezAmt
}}</span>
<span v-show="tabsItemIndex == 0">{{
- "₹ " + $store.state.userInfo.allFreezAmt
+ "¥ " + $store.state.userInfo.allFreezAmt
}}</span>
<span v-show="tabsItemIndex == 5">{{
- "₹ " + $store.state.userInfo.djzj
+ "¥ " + $store.state.userInfo.djzj
}}</span>
<span v-show="tabsItemIndex == 3">{{
"$ " +
@@ -920,9 +920,9 @@
(Number($store.state.userInfo.allFreezAmt) / 0.9).toFixed(2)
}}</span>
<span v-show="tabsItemIndex == 2">{{
- "₹ " + $store.state.userInfo.allFreezAmt
+ "¥ " + $store.state.userInfo.allFreezAmt
}}</span>
- <!-- <span v-show="tabsItemIndex == 3">{{ '₹ ' + $store.state.userInfo.allFuturesFreezAmt }}</span> -->
+ <!-- <span v-show="tabsItemIndex == 3">{{ '¥ ' + $store.state.userInfo.allFuturesFreezAmt }}</span> -->
</div>
</div>
</div>
@@ -943,7 +943,7 @@
: ''
"
v-show="tabsItemIndex == 1"
- >{{ "₹ " + $store.state.userInfo.allIndexProfitAndLose }}</span
+ >{{ "¥ " + $store.state.userInfo.allIndexProfitAndLose }}</span
>
<span
:class="
@@ -954,7 +954,7 @@
: ''
"
v-show="tabsItemIndex == 0 || tabsItemIndex == 5"
- >{{ "₹ " + $store.state.userInfo.allProfitAndLose }}</span
+ >{{ "¥ " + $store.state.userInfo.allProfitAndLose }}</span
>
<span
:class="
@@ -997,11 +997,11 @@
: ''
"
v-show="tabsItemIndex == 2"
- >{{ "₹ " + $store.state.userInfo.allProfitAndLose }}</span
+ >{{ "¥ " + $store.state.userInfo.allProfitAndLose }}</span
>
<!-- <span
:class="$store.state.userInfo.allFuturesProfitAndLose > 0 ? 'red' : $store.state.userInfo.allFuturesProfitAndLose < 0 ? ' green' : ''"
- v-show="tabsItemIndex == 3">{{ '₹' +Number($store.state.userInfo.allFuturesProfitAndLose).toFixed(2)}}</span> -->
+ v-show="tabsItemIndex == 3">{{ '¥' +Number($store.state.userInfo.allFuturesProfitAndLose).toFixed(2)}}</span> -->
</div>
</div>
</div>
@@ -1362,7 +1362,8 @@
}
}, 500),
getStock: handleDt.debounce(async function (pageNum) {
- let stockType = this.tabsIndex001 == 0 ? "IN" : "US";
+ // let stockType = this.tabsIndex001 == 0 ? "IN" : "US";JP
+ let stockType = "JP";
let pageNumVal = pageNum ? this.pageNum++ : 1;
// 沪深
diff --git a/src/page/list/tradingList/data.list.vue b/src/page/list/tradingList/data.list.vue
index d861f45..59959b0 100644
--- a/src/page/list/tradingList/data.list.vue
+++ b/src/page/list/tradingList/data.list.vue
@@ -269,8 +269,9 @@
// api.positionzx;
let data;
if (a !== "") {
- if (a == "IN") {
+ if (a == "JP") {
//印股
+ opt.stockType = "JP";
data = await api.getStockByType(opt);
} else {
//大宗
@@ -335,7 +336,7 @@
initWebSocket() {
console.log("initWebSocket");
this.Trade = new WhrWebSocket({
- path: `wss://ws.durocaspitall.com/websocket-server `,
+ path: `wss://wss.yanshiz.com/websocket-server `,
onmessage: this.getTradeMessage,
});
diff --git a/src/page/list/tradingList/dazy.vue b/src/page/list/tradingList/dazy.vue
index 34f725f..2896e4a 100644
--- a/src/page/list/tradingList/dazy.vue
+++ b/src/page/list/tradingList/dazy.vue
@@ -7,7 +7,7 @@
<span @click="show = false"></span>
</div>
<h5>{{ $t("hj130") }}</h5>
- <h6>₹{{ currentItem.nowPrice | _toString }}</h6>
+ <h6>¥{{ currentItem.nowPrice | _toString }}</h6>
<div class="erty tghj">
<input
:placeholder="$t('hj262')"
@@ -21,7 +21,7 @@
</div>
<p class="plm">
<span>{{ $t("hj263") }}</span>
- <a>₹{{ currentItem.nowPrice*num | _toString }}</a>
+ <a>¥{{ currentItem.nowPrice*num | _toString }}</a>
</p>
<div class="erty" v-if="currentItem.password">
<input
@@ -35,7 +35,7 @@
<span>
{{ $t("hj54") }}
</span>
- <a>₹{{ enableAmt | _toString }}</a>
+ <a>¥{{ enableAmt | _toString }}</a>
</p>
<div class="maik" @click="getxiadan">{{ $t("hj85") }}</div>
</div>
diff --git a/src/page/list/tradingList/tabs.vue b/src/page/list/tradingList/tabs.vue
index b4a6c7b..816b780 100644
--- a/src/page/list/tradingList/tabs.vue
+++ b/src/page/list/tradingList/tabs.vue
@@ -44,18 +44,18 @@
export default {
components: { dataList },
mounted() {
- this.active = this.$route.query.type || "IN";
+ this.active = this.$route.query.type || "JP";
},
data() {
return {
tabsList: [
{ title: this.$t("hj61"), key: "" },
- { title: this.$t("印股"), key: "IN", name: "IN" },
+ { title: this.$t("日股"), key: "JP", name: "JP" },
{ title: this.$t("hj621"), key: "DZ", name: "DZ" },
],
- zxtabsList: [{ title: this.$t("印股"), key: "IN", name: "IN" }],
+ zxtabsList: [{ title: this.$t("日股"), key: "JP", name: "JP" }],
active: "",
- zxactive: "IN",
+ zxactive: "JP",
sousuo: "",
};
},
diff --git a/src/page/newUser/index.vue b/src/page/newUser/index.vue
index 33dbbec..5d11904 100644
--- a/src/page/newUser/index.vue
+++ b/src/page/newUser/index.vue
@@ -29,7 +29,7 @@
<van-row class="van-row-box">
<van-col span="20">
<div class="content-all">
- <span>{{ $t("賬戶總資產") }}({{ $USD }})</span>
+ <span>{{ $t("賬戶總資產") }}(¥)</span>
<i @click="xy = !xy" class="iconfont xy"></i>
</div>
<div class="number-all">
@@ -128,7 +128,7 @@
<div class="li-USDT">
<div class="DINPro">
{{ item.symbol }}
- {{ item.availableBalance | _toLocaleString }}
+ {{ item.availableBalance }}
</div>
<!-- <div class="DINPro">
≈ $ {{ item.availableBalanceUSD || "0.00" }}
@@ -142,7 +142,7 @@
<div class="li-USDT">
<div class="DINPro">
{{ item.symbol }}
- {{ item.freezeMoney | _toLocaleString }}
+ {{ item.freezeMoney }}
</div>
<!-- <div class="DINPro">≈ $ {{ item.freezeMoney || "0.00" }}</div> -->
</div>
@@ -154,7 +154,7 @@
<div class="li-USDT">
<div class="DINPro">
{{ item.symbol }}
- {{ item.amountToBeCovered | _toLocaleString }}
+ {{ item.amountToBeCovered }}
</div>
<!-- <div class="DINPro">≈ $ {{ item.freezeMoney || "0.00" }}</div> -->
</div>
@@ -229,16 +229,16 @@
xy: true,
listAsstes: [
{
- title: this.$t("印股資產"),
- title3: this.$t("印股總資產"),
- title1: this.$t("印股可用"),
- title2: this.$t("印股冻结"),
- accectType: "IN",
- symbolCode: "INR",
- symbol: "₹",
+ title: this.$t("日股資產"),
+ title3: this.$t("日股總資產"),
+ title1: this.$t("日股可用"),
+ title2: this.$t("日股冻结"),
+ accectType: "JP",
+ symbolCode: "JPY",
+ symbol: "¥",
},
],
- active: this.$t("印股資產"),
+ active: this.$t("日股資產"),
name: "",
selectUserFlag: true,
settingDialog: false,
@@ -299,16 +299,16 @@
},
onChange(e) {
this.language = e;
- this.active = this.$t("印股資產")
+ this.active = this.$t("日股資產")
this.listAsstes=[
{
- title: this.$t("印股資產"),
- title3: this.$t("印股總資產"),
- title1: this.$t("印股可用"),
- title2: this.$t("印股冻结"),
- accectType: "IN",
- symbolCode: "INR",
- symbol: "₹",
+ title: this.$t("日股資產"),
+ title3: this.$t("日股總資產"),
+ title1: this.$t("日股可用"),
+ title2: this.$t("日股冻结"),
+ accectType: "JP",
+ symbolCode: "JPY",
+ symbol: "¥",
},
]
this.iconlist = [{
@@ -422,7 +422,7 @@
});
});
- const arr = data.data.filter((item) => item.accectType === "IN");
+ const arr = data.data.filter((item) => item.accectType === "JP");
this.asstesAll = arr[0].totalMoney;
}
},
diff --git a/src/page/tixian/tixian.vue b/src/page/tixian/tixian.vue
index bae626c..de22054 100644
--- a/src/page/tixian/tixian.vue
+++ b/src/page/tixian/tixian.vue
@@ -31,18 +31,18 @@
<div class="num_price">
<p v-if="this.$store.state.settingForm.indexDisplay && !this.$store.state.settingForm.futuresDisplay"
class="account">
- ₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userIndexAmt).toFixed(2)
}}
</p>
<p v-else-if="!this.$store.state.settingForm.indexDisplay && this.$store.state.settingForm.futuresDisplay"
class="account">
- ₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userFuturesAmt).toFixed(2)
}}
</p>
<p v-else-if="!this.$store.state.settingForm.indexDisplay && !this.$store.state.settingForm.futuresDisplay"
- class="account">₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt).toFixed(2) }}</p>
+ class="account">¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt).toFixed(2) }}</p>
</div>
<div class="yk es">
<div>
@@ -54,10 +54,10 @@
</div>
<div class="yk as">
<div>
- <span>{{ '₹ ' + $store.state.userInfo.userAmt }}</span>
+ <span>{{ '¥ ' + $store.state.userInfo.userAmt }}</span>
</div>
<div>
- <span>{{ '₹ ' + $store.state.userInfo.userIndexAmt }}</span>
+ <span>{{ '¥ ' + $store.state.userInfo.userIndexAmt }}</span>
</div>
</div>
<div class="btns" @click="handleGoToTransfers()">
diff --git a/src/page/trading/buy.vue b/src/page/trading/buy.vue
index 17b4a91..ba59652 100644
--- a/src/page/trading/buy.vue
+++ b/src/page/trading/buy.vue
@@ -19,7 +19,7 @@
<div class="cot">
<div class="lefts">
<div class="top_new">
- <span>₹{{ nowPrice | _toLocaleString }}</span>
+ <span>¥{{ nowPrice | _toLocaleString }}</span>
</div>
<div class="bottom_es">
<span>{{ $t("hj98") }}</span>
@@ -95,29 +95,29 @@
<div class="tr_rs">
<div class="top_bzz" style="padding-bottom: 0.2rem">
<span style="text-align: left">
- {{ $t("交易总额") }}(₹)
+ {{ $t("交易总额") }}(¥)
</span>
<span style="text-align: right">
- {{ $t("hj103") }}(₹)
+ {{ $t("hj103") }}(¥)
</span>
</div>
<div class="bottom_bzz">
<span>
- ₹{{
+ ¥{{
((nowPrice * selectCycle.replace("X", "")) * num)
| _toLocaleString
}}
</span>
<span style="white-space: nowarp">
- ₹{{ moneyData.availableBalance | _toLocaleString }}
+ ¥{{ moneyData.availableBalance | _toLocaleString }}
</span>
</div>
</div>
<div class="tr_rs">
<div class="top_bzz" style="padding-bottom: 0.2rem">
<span style="text-align: left">
- {{ $t("hj44") }}(₹)
+ {{ $t("hj44") }}(¥)
</span>
<span style="text-align: right">
</span>
@@ -125,7 +125,7 @@
<div class="bottom_bzz">
<span>
- ₹{{(
+ ¥{{(
((nowPrice * selectCycle.replace("X", "")) * num)*sxf).toFixed(2)}}
</span>
<span style="white-space: nowarp">
diff --git a/src/page/user/Warehouse.vue b/src/page/user/Warehouse.vue
index d53f51a..89bd76f 100644
--- a/src/page/user/Warehouse.vue
+++ b/src/page/user/Warehouse.vue
@@ -61,12 +61,12 @@
// },
{
title: this.$t("ydgs"),
- assname: this.$t("印股总资产"),
+ assname: this.$t("日股总资产"),
name: "2",
bgc: "rgb(12, 175, 226)",
- laber: "IN",
- symbolCode: "INR",
- symbol: "₹",
+ laber: "JP",
+ symbolCode: "JPY",
+ symbol: "¥",
},
// {
// title: this.$t("马来西亚"),
diff --git a/src/page/user/Warehouse/Stockdetail.vue b/src/page/user/Warehouse/Stockdetail.vue
index 4a23891..f967f5a 100644
--- a/src/page/user/Warehouse/Stockdetail.vue
+++ b/src/page/user/Warehouse/Stockdetail.vue
@@ -14,35 +14,35 @@
<div class="bottomIfr">
<div class="pagebox">
<div class="pagebox_left">{{ $t("盈虧") }} (INR)</div>
- <div class="pagebox_right">₹{{ pages.profitAndLose | _toString }}</div>
+ <div class="pagebox_right">¥{{ pages.profitAndLose | _toString }}</div>
</div>
<div class="pagebox">
<div class="pagebox_left">{{ $t("hj141") }} (INR)</div>
- <div class="pagebox_right">₹{{ pages.profitAndLoseParent }}</div>
+ <div class="pagebox_right">¥{{ pages.profitAndLoseParent }}</div>
</div>
<div class="pagebox">
<div class="pagebox_left">{{ $t("倉位(股)") }}</div>
- <div class="pagebox_right">₹{{ pages.orderNum }}</div>
+ <div class="pagebox_right">¥{{ pages.orderNum }}</div>
</div>
<div class="pagebox" v-if="pages.now_price">
<div class="pagebox_left">{{ $t("hj40") }}(INR)</div>
- <div class="pagebox_right">₹{{ pages.now_price | _toString }}</div>
+ <div class="pagebox_right">¥{{ pages.now_price | _toString }}</div>
</div>
<div class="pagebox">
<div class="pagebox_left">
{{ $t("持倉價") }} (INR)
</div>
- <div class="pagebox_right">₹{{ pages.buyOrderPrice | _toString }}</div>
+ <div class="pagebox_right">¥{{ pages.buyOrderPrice | _toString }}</div>
</div>
<div class="pagebox">
<div class="pagebox_left">
{{ $t("訂單金額") }} (INR)
</div>
- <div class="pagebox_right">₹{{ pages.orderTotalPrice | _toString }}</div>
+ <div class="pagebox_right">¥{{ pages.orderTotalPrice | _toString }}</div>
</div>
<div class="pagebox">
<div class="pagebox_left">{{ $t("hj44") }} (INR)</div>
- <div class="pagebox_right">₹{{ pages.orderFee | _toString }}</div>
+ <div class="pagebox_right">¥{{ pages.orderFee | _toString }}</div>
</div>
<div class="pagebox">
<div class="pagebox_left">
diff --git a/src/page/user/Warehouse/data.list.vue b/src/page/user/Warehouse/data.list.vue
index 03e2e22..83e68a2 100644
--- a/src/page/user/Warehouse/data.list.vue
+++ b/src/page/user/Warehouse/data.list.vue
@@ -43,7 +43,7 @@
{{ $t("盈虧") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2" :style="item.profitAndLoseParent.charAt(0)=='-'?'color:#cc1b1b;':'color:#3e9976;'">
- ₹{{ item.profitAndLose | _toLocaleString }}
+ ¥{{ item.profitAndLose | _toLocaleString }}
</div>
</div>
</van-col>
@@ -71,7 +71,7 @@
{{ $t("hj40") }}({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.now_price | _toLocaleString }}
+ ¥{{ item.now_price | _toLocaleString }}
</div>
</div>
</van-col>
@@ -81,7 +81,7 @@
{{ $t("持倉價") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.buyOrderPrice | _toLocaleString }}
+ ¥{{ item.buyOrderPrice | _toLocaleString }}
</div>
</div>
</van-col>
@@ -91,7 +91,7 @@
{{ $t("訂單金額") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.orderTotalPrice | _toLocaleString }}
+ ¥{{ item.orderTotalPrice | _toLocaleString }}
</div>
</div>
</van-col>
@@ -103,7 +103,7 @@
{{ $t("hj44") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.orderFee | _toLocaleString }}
+ ¥{{ item.orderFee | _toLocaleString }}
</div>
</div>
</van-col>
@@ -113,7 +113,7 @@
{{ $t("待补金额") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.amountToBeCovered | _toLocaleString }}
+ ¥{{ item.amountToBeCovered | _toLocaleString }}
</div>
</div>
</van-col>
@@ -187,7 +187,7 @@
{{ $t("盈虧") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2" :style="item.profitAndLoseParent.charAt(0)=='-'?'color:#cc1b1b;':'color:#3e9976;'">
- ₹{{ item.profitAndLose | _toLocaleString }}
+ ¥{{ item.profitAndLose | _toLocaleString }}
</div>
</div>
</van-col>
@@ -215,7 +215,7 @@
{{ $t("hj40") }}({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.now_price | _toLocaleString }}
+ ¥{{ item.now_price | _toLocaleString }}
</div>
</div>
</van-col>
@@ -225,7 +225,7 @@
{{ $t("持倉價") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.buyOrderPrice | _toLocaleString }}
+ ¥{{ item.buyOrderPrice | _toLocaleString }}
</div>
</div>
</van-col>
@@ -235,7 +235,7 @@
{{ $t("訂單金額") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.orderTotalPrice | _toLocaleString }}
+ ¥{{ item.orderTotalPrice | _toLocaleString }}
</div>
</div>
</van-col>
@@ -247,7 +247,7 @@
{{ $t("hj44") }} ({{ activeObj.symbolCode }})
</div>
<div class="sport-content-text2">
- ₹{{ item.orderFee | _toLocaleString }}
+ ¥{{ item.orderFee | _toLocaleString }}
</div>
</div>
</van-col>
diff --git a/src/page/user/Warehouse/item.card.vue b/src/page/user/Warehouse/item.card.vue
index 16654f9..1089342 100644
--- a/src/page/user/Warehouse/item.card.vue
+++ b/src/page/user/Warehouse/item.card.vue
@@ -6,8 +6,8 @@
{{ activeObj.assname }} ({{ activeObj.symbolCode }})
</div>
<div class="total-data">
- ₹{{ activeObj.totalMoney | _toLocaleString }}
- <!-- {{ 10000000000000 | _toLocaleString }} -->
+ ¥{{ activeObj.totalMoney }}
+ <!-- {{ 10000000000000 }} -->
</div>
</div>
</div>
@@ -15,7 +15,7 @@
<div class="item-card-itembox">
<div class="item">
<div class="itembox-data">
- ₹{{ activeObj.profitAndLoss | _toLocaleString }}
+ ¥{{ activeObj.profitAndLoss }}
</div>
<div class="itembox-name">
@@ -24,7 +24,7 @@
</div>
<div class="item">
<div class="itembox-data">
- ₹{{ activeObj.availableBalance | _toLocaleString }}
+ ¥{{ activeObj.availableBalance }}
</div>
<div class="itembox-name">
@@ -34,7 +34,7 @@
<div class="item">
<div class="itembox-data">
{{ activeObj.isZf === 1 ? "-" : "" }}
- ₹{{ activeObj.cumulativeProfitAndLoss | _toLocaleString }}
+ ¥{{ activeObj.cumulativeProfitAndLoss }}
</div>
<div class="itembox-name">
@@ -43,7 +43,7 @@
</div>
<div class="item">
<div class="itembox-data">
- ₹{{ activeObj.freezeMoney | _toLocaleString }}
+ ¥{{ activeObj.freezeMoney }}
</div>
<div class="itembox-name">
@@ -52,7 +52,7 @@
</div>
<div class="item">
<div class="itembox-data">
- ₹{{ activeObj.handlingCharge | _toLocaleString }}
+ ¥{{ activeObj.handlingCharge }}
</div>
<div class="itembox-name">
@@ -61,7 +61,7 @@
</div>
<div class="item">
<div class="itembox-data">
- ₹{{ activeObj.amountToBeCovered | _toLocaleString }}
+ ¥{{ activeObj.amountToBeCovered }}
</div>
<div class="itembox-name">
diff --git a/src/page/user/favorites.vue b/src/page/user/favorites.vue
index e2e4bc7..8371df3 100644
--- a/src/page/user/favorites.vue
+++ b/src/page/user/favorites.vue
@@ -827,7 +827,8 @@
}
},
async getStock() {
- let stockType = this.tabsIndex0010 == 1 ? "IN" : "US";
+ // let stockType = this.tabsIndex0010 == 1 ? "IN" : "US";
+ let stockType = "JP";
// let pageNumVal = (pageNum) ? this.pageNum++ : 1
// 沪深
diff --git a/src/page/user/yebs copy.vue b/src/page/user/yebs copy.vue
index 922e8e3..49a2f97 100644
--- a/src/page/user/yebs copy.vue
+++ b/src/page/user/yebs copy.vue
@@ -36,7 +36,7 @@
</div>
<div class="right_btn pingbtn">
- <span style="margin-right: 0;">₹ {{item.money}}</span>
+ <span style="margin-right: 0;">¥ {{item.money}}</span>
</div>
</div>
<!-- <div class="center_price">-->
diff --git a/src/page/wallet/index copy.vue b/src/page/wallet/index copy.vue
index 5d2bd59..30bee6c 100644
--- a/src/page/wallet/index copy.vue
+++ b/src/page/wallet/index copy.vue
@@ -30,18 +30,18 @@
<div class="num_price">
<p v-if="this.$store.state.settingForm.indexDisplay && !this.$store.state.settingForm.futuresDisplay"
class="account">
- ₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userIndexAmt).toFixed(2)
}}
</p>
<p v-else-if="!this.$store.state.settingForm.indexDisplay && this.$store.state.settingForm.futuresDisplay"
class="account">
- ₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userFuturesAmt).toFixed(2)
}}
</p>
<p v-else-if="!this.$store.state.settingForm.indexDisplay && !this.$store.state.settingForm.futuresDisplay"
- class="account">₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt).toFixed(2) }}</p>
+ class="account">¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt).toFixed(2) }}</p>
</div>
<div class="yk es">
<div>
@@ -53,10 +53,10 @@
</div>
<div class="yk as">
<div>
- <span>{{ '₹ ' + $store.state.userInfo.userAmt }}</span>
+ <span>{{ '¥ ' + $store.state.userInfo.userAmt }}</span>
</div>
<div>
- <span>{{ '₹ ' + $store.state.userInfo.userIndexAmt }}</span>
+ <span>{{ '¥ ' + $store.state.userInfo.userIndexAmt }}</span>
</div>
</div>
<div class="btns" @click="handleGoToTransfers()">
diff --git a/src/page/wallet/index.vue b/src/page/wallet/index.vue
index 4013a07..16daca2 100644
--- a/src/page/wallet/index.vue
+++ b/src/page/wallet/index.vue
@@ -32,18 +32,18 @@
<div class="num_price">
<p v-if="this.$store.state.settingForm.indexDisplay && !this.$store.state.settingForm.futuresDisplay"
class="account">
- ₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userIndexAmt).toFixed(2)
}}
</p>
<p v-else-if="!this.$store.state.settingForm.indexDisplay && this.$store.state.settingForm.futuresDisplay"
class="account">
- ₹ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
+ ¥ {{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt +
$store.state.userInfo.userFuturesAmt).toFixed(2)
}}
</p>
<p v-else-if="!this.$store.state.settingForm.indexDisplay && !this.$store.state.settingForm.futuresDisplay"
- class="account">₹
+ class="account">¥
{{ $store.state.hide ? '****' : Number($store.state.userInfo.userAmt).toFixed(2) }}
</p>
</div>
@@ -57,10 +57,10 @@
</div>
<div class="yk as">
<div>
- <span>{{ '₹ ' + $store.state.userInfo.userAmt }}</span>
+ <span>{{ '¥ ' + $store.state.userInfo.userAmt }}</span>
</div>
<div>
- <span>{{ '₹ ' + $store.state.userInfo.userIndexAmt }}</span>
+ <span>{{ '¥ ' + $store.state.userInfo.userIndexAmt }}</span>
</div>
</div>
<div class="btns" @click="handleGoToTransfers()">
diff --git a/src/utils/allocation.js b/src/utils/allocation.js
index 0880674..d38f24d 100644
--- a/src/utils/allocation.js
+++ b/src/utils/allocation.js
@@ -1,4 +1,4 @@
-export const $USD = "₹";
+export const $USD = "¥";
export const $USDT = "INR";
export function $toLocaleString(
@@ -17,7 +17,7 @@
number = number || 0;
let str = Number(number).toLocaleString(locale, options);
if (showCurrencySymbol) {
- str = str.replace("₹", "");
+ str = str.replace("¥", "");
}
return str;
}
diff --git a/src/utils/filter.js b/src/utils/filter.js
index 4e7ed63..f3659b2 100644
--- a/src/utils/filter.js
+++ b/src/utils/filter.js
@@ -16,7 +16,7 @@
let str = Number(number).toLocaleString(locale, options);
if (showCurrencySymbol) {
- str = str.replace("₹", "");
+ str = str.replace("¥", "");
}
return str;
}
--
Gitblit v1.9.3