From 52b00599d3b8359549ac8bcfbbb63f6578388121 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 07 Apr 2025 17:25:53 +0800
Subject: [PATCH] 11

---
 pages/exchange/index.vue                |   16 ++++----
 pages/exchange/exchange-transaction.vue |    9 ++--
 i18n/lang/zh-TW.json                    |    2 
 i18n/lang/en.json                       |    2 
 static/img/logo2.png                    |    0 
 i18n/lang/jp.json                       |    2 
 i18n/lang/tr.json                       |    2 
 pages.json                              |    2 
 i18n/lang/ukr.json                      |    2 
 pages/exchange/contract-history.vue     |    6 +-
 app.js                                  |    6 +-
 components/kline-charts/index.vue       |    2 
 pages/exchange/open-position.vue        |    2 
 pages/income/index.vue                  |    2 
 i18n/lang/kor.json                      |    2 
 manifest.json                           |    4 +-
 i18n/lang/spa.json                      |    2 
 pages/base/home.vue                     |    2 
 i18n/lang/zh-CN.json                    |    2 
 static/img/logo.png                     |    0 
 20 files changed, 34 insertions(+), 33 deletions(-)

diff --git a/app.js b/app.js
index 30e1e34..1f2cd61 100644
--- a/app.js
+++ b/app.js
@@ -12,13 +12,13 @@
 		socketUrl1: 'wss://www.h0l9a4v.top/ws2',
 		socketUrl3: 'wss://www.h0l9a4v.top:8001/ws',
 		// pc端地址
-		pcUrl: 'https://vip-kucoin.org',
+		pcUrl: 'https://vip-WmagiBIT.org',
 		// app名称
-		appName: 'Kucoin',
+		appName: 'WmagiBIT',
 		// 版本
 		version: '1.0.0',
 		// 移动端地址
-		mobile: 'https://vip-kucoin.org',
+		mobile: 'https://vip-WmagiBIT.org',
 		down: "https://www.h0l9a4v.top/download"
 	};
 } else { //开发环境
diff --git a/components/kline-charts/index.vue b/components/kline-charts/index.vue
index 7e822df..c5341e8 100644
--- a/components/kline-charts/index.vue
+++ b/components/kline-charts/index.vue
@@ -192,7 +192,7 @@
 			},
 		},
 		mounted() {
-
+			this.chart = null
 			this.initData()
 
 		},
diff --git a/i18n/lang/en.json b/i18n/lang/en.json
index d7ce6ea..96498f2 100644
--- a/i18n/lang/en.json
+++ b/i18n/lang/en.json
@@ -805,7 +805,7 @@
 		"a9": "multiple",
 		"b0": "Are you sure you want to log out?",
 		"b1": "Sign in or register",
-		"b2": "Hi, welcome to Kucoin",
+		"b2": "Hi, welcome to WmagiBIT",
 		"b3": "amount",
 		"b4": "spot index ",
 		"b5": "Contract index",
diff --git a/i18n/lang/jp.json b/i18n/lang/jp.json
index 82110d9..508ddf3 100644
--- a/i18n/lang/jp.json
+++ b/i18n/lang/jp.json
@@ -801,7 +801,7 @@
 		"a9": "倍数",
 		"b0": "本当にログアウトしますか?",
 		"b1": "ログインまたは登録",
-		"b2": "Hi、Kucoinをご利用ください。",
+		"b2": "Hi、WmagiBITをご利用ください。",
 		"b3": "量を測る",
 		"b4": "現物指数",
 		"b5": "契約指数",
diff --git a/i18n/lang/kor.json b/i18n/lang/kor.json
index b9c8ee9..deeee23 100644
--- a/i18n/lang/kor.json
+++ b/i18n/lang/kor.json
@@ -801,7 +801,7 @@
 		"a9": "배수",
 		"b0": "로그 인 을 종료 하 시 겠 습 니까?",
 		"b1": "등록",
-		"b2": "안녕하세요,Kucoin 사용 을 환영 합 니 다.",
+		"b2": "안녕하세요,WmagiBIT 사용 을 환영 합 니 다.",
 		"b3": "재다.",
 		"b4": "현물 지수",
 		"b5": "계약 지수",
diff --git a/i18n/lang/spa.json b/i18n/lang/spa.json
index 8161ccd..01754a5 100644
--- a/i18n/lang/spa.json
+++ b/i18n/lang/spa.json
@@ -801,7 +801,7 @@
 		"a9": "Múltiplo",
 		"b0": "¿Estás seguro de que quieres desconectarte?",
 		"b1": "Iniciar sesión o registrarse",
-		"b2": "Hola, bienvenido a Kucoin.",
+		"b2": "Hola, bienvenido a WmagiBIT.",
 		"b3": "Cantidad",
 		"b4": "Índice al contado",
 		"b5": "Índice de contratos",
diff --git a/i18n/lang/tr.json b/i18n/lang/tr.json
index 6c7d7fd..233e100 100644
--- a/i18n/lang/tr.json
+++ b/i18n/lang/tr.json
@@ -799,7 +799,7 @@
       "a9":"çoklu",
       "b0":"Oturumu kapatmak istediğinizden emin misiniz?",
       "b1":"Giriş yap veya kayıt ol",
-      "b2":"Merhaba, Kucoin'e hoş geldiniz",
+      "b2":"Merhaba, WmagiBIT'e hoş geldiniz",
       "b3":"miktar",
       "b4":"nokta indeksi",
       "b5":"Sözleşme endeksi",
diff --git a/i18n/lang/ukr.json b/i18n/lang/ukr.json
index 30b9cdd..e6cc571 100644
--- a/i18n/lang/ukr.json
+++ b/i18n/lang/ukr.json
@@ -801,7 +801,7 @@
       "a9":"множинні",
       "b0":"Ви впевнені, що хочете вийти?",
       "b1":"Увійдіть або зареєструйтесь",
-      "b2":"Привіт, ласкаво просимо до Kucoin",
+      "b2":"Привіт, ласкаво просимо до WmagiBIT",
       "b3":"кількість",
       "b4":"Плямистий індекс",
       "b5":"Індекс контракту",
diff --git a/i18n/lang/zh-CN.json b/i18n/lang/zh-CN.json
index 69dd393..1d49ee0 100644
--- a/i18n/lang/zh-CN.json
+++ b/i18n/lang/zh-CN.json
@@ -807,7 +807,7 @@
       "a9": "倍数",
       "b0": "确定要退出登录吗?",
       "b1": "登录或注册",
-      "b2": "Hi,欢迎使用Kucoin",
+      "b2": "Hi,欢迎使用WmagiBIT",
       "b3": "量",
       "b4": "现货指数",
       "b5": "合约指数",
diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json
index 13dea0b..14aaa4c 100644
--- a/i18n/lang/zh-TW.json
+++ b/i18n/lang/zh-TW.json
@@ -799,7 +799,7 @@
 		"a9": "倍數",
 		"b0": "確定要登出嗎?",
 		"b1": "登入或注册",
-		"b2": "Hi,歡迎使用Kucoin",
+		"b2": "Hi,歡迎使用WmagiBIT",
 		"b3": "量",
 		"b4": "現貨指數",
 		"b5": "合約指數",
diff --git a/manifest.json b/manifest.json
index f94936a..6d8f64d 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
 {
-    "name" : "Kucoin",
+    "name" : "WmagiBIT",
     "appid" : "__UNI__E963645",
     "description" : "",
     "versionName" : "1.0.2",
@@ -122,6 +122,6 @@
             "base" : "./"
         },
         "domain" : "https://www.bavaifood.com",
-        "title" : "KO"
+        "title" : "WmagiBIT"
     }
 }
diff --git a/pages.json b/pages.json
index 2082326..ab937e5 100644
--- a/pages.json
+++ b/pages.json
@@ -250,7 +250,7 @@
 			"titleNView": false
 		},
 		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "Kucoin",
+		"navigationBarTitleText": "WmagiBIT",
 		"navigationBarBackgroundColor": "#007AFF",
 		"backgroundColor": "#FFFFFF"
 		
diff --git a/pages/base/home.vue b/pages/base/home.vue
index fe0e4b4..d2d325c 100644
--- a/pages/base/home.vue
+++ b/pages/base/home.vue
@@ -493,7 +493,7 @@
 					</view>
 					<van-icon name="arrow" class="fn-18" />
 				</v-link>
-				<a href="https://app.vip-kucoin.org/" style="text-decoration: none;">
+				<a href="https://app.vip-WmagiBIT.org/" style="text-decoration: none;">
 					<v-link tag="div" class="per-bot p-y-md p-x-sm d-flex align-center justify-between">
 						<view class="d-flex align-center">
 							<img :src="$localImgUrl('Page10.png')" alt="" class="h-20 m-r-xs" />
diff --git a/pages/exchange/contract-history.vue b/pages/exchange/contract-history.vue
index 20e87cc..a852cae 100644
--- a/pages/exchange/contract-history.vue
+++ b/pages/exchange/contract-history.vue
@@ -193,13 +193,13 @@
           myCanvas.drawImage(share_imgs.bg_img,0,0,windowWidth,windowHeight);
           myCanvas.drawImage(share_imgs.peri_img,-40,0,windowWidth,windowHeight*0.3);
           myCanvas.drawImage('../../static/img/logo.png',25,windowHeight*0.6,50,50);
-          myCanvas.drawImage(this.detail,windowWidth*0.58,windowHeight*0.59,65,65);
+          // myCanvas.drawImage(this.detail,windowWidth*0.58,windowHeight*0.59,65,65);
           myCanvas.textAlign = 'left';
           myCanvas.setFillStyle('#000000')
           myCanvas.font = '12px Arial';//绘制文字
-          myCanvas.fillText('全球合约领跑者',88,windowHeight*0.653);
+          // myCanvas.fillText('全球合约领跑者',88,windowHeight*0.653);
           myCanvas.font = '16px Arial';
-          myCanvas.fillText('Kucoin',88,windowHeight*0.63);
+          myCanvas.fillText('WmagiBIT',88,windowHeight*0.63);
           myCanvas.font = '14px Arial';
           myCanvas.setFillStyle('#717171')
           myCanvas.fillText(i.symbol+'/USDT',25,windowHeight*0.53);
diff --git a/pages/exchange/exchange-transaction.vue b/pages/exchange/exchange-transaction.vue
index 912c19c..16b0d65 100644
--- a/pages/exchange/exchange-transaction.vue
+++ b/pages/exchange/exchange-transaction.vue
@@ -148,7 +148,7 @@
 									{{ $t("exchange.c8") }}:
 								</view>
 								<view class="" style="font-weight: 500;font-size: 14px;color: #232533;">
-									{{ kypirce[0].usable_balance }} {{symbol.split('/')[0]}}
+									{{ kypirce[0].usable_balance.toFixed(8) }} {{symbol.split('/')[0]}}
 								</view>
 							</view>
 						</view>
@@ -650,13 +650,14 @@
 						this.form.amount = math.multiple(
 							this.targetBalance.usable_balance / this.form.entrust_price,
 							num,
-							4
+							8
 						);
+
 					} else if (this.form.type == 1) {
 						this.form.amount = this.form.amount = math.multiple(
 							this.targetBalance.usable_balance,
 							num,
-							4
+							8
 						);
 					}
 				} else if (this.form.direction == "sell") {
@@ -664,7 +665,7 @@
 					this.form.amount = math.multiple(
 						this.currentBalance.usable_balance,
 						num,
-						4
+						8
 					);
 				}
 			},
diff --git a/pages/exchange/index.vue b/pages/exchange/index.vue
index 57fec34..759c5a0 100644
--- a/pages/exchange/index.vue
+++ b/pages/exchange/index.vue
@@ -40,15 +40,15 @@
 					<table>
 						<tr>
 							<td>24H{{ $t("exchange.e3") }}</td>
-							<td class="color-light">{{ tvBars.high.toFixed(2) }}</td>
+							<td class="color-light">{{ activeCoin.high.toFixed(2) }}</td>
 						</tr>
 						<tr>
 							<td>24H{{ $t("exchange.e4") }}</td>
-							<td class="color-light">{{ tvBars.low.toFixed(2) }}</td>
+							<td class="color-light">{{ activeCoin.low.toFixed(2) }}</td>
 						</tr>
 						<tr v-if="!query.contract">
 							<td>24H{{ $t("exchange.e5") }}</td>
-							<td class="color-light">{{tvBars.volume.toFixed(2)}}</td>
+							<td class="color-light">{{activeCoin.vol.toFixed(0)}}</td>
 						</tr>
 					</table>
 				</view>
@@ -202,11 +202,11 @@
 				index: "",
 				marketList: [],
 				tvBars:{
-					close:0,
-					amount:0,
-					high:0,
-					low:0,
-					volume:0,
+					close:0.00,
+					amount:0.00,
+					high:0.00,
+					low:0.00,
+					volume:0.00,
 				},
 				collect: [],
 				quote: {},
diff --git a/pages/exchange/open-position.vue b/pages/exchange/open-position.vue
index 252d43c..45f9816 100644
--- a/pages/exchange/open-position.vue
+++ b/pages/exchange/open-position.vue
@@ -1063,7 +1063,7 @@
 				myCanvas.font = '12px Arial'; //绘制文字
 				myCanvas.fillText('全球合约领跑者', 88, windowHeight * 0.653);
 				myCanvas.font = '16px Arial';
-				myCanvas.fillText('Kucoin', 88, windowHeight * 0.63);
+				myCanvas.fillText('WmagiBIT', 88, windowHeight * 0.63);
 				myCanvas.font = '14px Arial';
 				myCanvas.setFillStyle('#717171')
 				myCanvas.fillText(i.pair_name, 25, windowHeight * 0.53);
diff --git a/pages/income/index.vue b/pages/income/index.vue
index ea07c2c..8a80ba3 100644
--- a/pages/income/index.vue
+++ b/pages/income/index.vue
@@ -98,7 +98,7 @@
                         <img class="img rounded-3 w-60 w-60" src="static/img/logo.png"/>
                         <view class="m-l-md">
                             <view class="fn-bold color-black fn-16">
-                                Kucoin
+                                WmagiBIT
                             </view>
                             <view class="fn-6 color-black">
                                 全球合约领跑者
diff --git a/static/img/logo.png b/static/img/logo.png
index a93b41c..f191725 100644
--- a/static/img/logo.png
+++ b/static/img/logo.png
Binary files differ
diff --git a/static/img/logo2.png b/static/img/logo2.png
index 59add0c..b2e5cfd 100644
--- a/static/img/logo2.png
+++ b/static/img/logo2.png
Binary files differ

--
Gitblit v1.9.3