From d157d0892f1ab5517dbe3a08328ccb9c4e446615 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sun, 20 Apr 2025 15:39:03 +0800
Subject: [PATCH] 1
---
pages/exchange/contract-history.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/pages/exchange/contract-history.vue b/pages/exchange/contract-history.vue
index 20e87cc..f133d30 100644
--- a/pages/exchange/contract-history.vue
+++ b/pages/exchange/contract-history.vue
@@ -165,6 +165,7 @@
});
},
sha(ress,i){
+ console.log('ress',ress);
let arr=[];
ress.data.share_imgs.forEach((res)=>{
if(i.profit>0&&res.type==1){
@@ -173,9 +174,10 @@
arr.push(res)
}
})
-
+ console.log('arr',arr);
var share_imgs=arr[Math.round(Math.random()*arr.length)];
if(!share_imgs||!this.detail){
+ console.log('123123123',this.detail,share_imgs);
this.$toast(this.$t('recharge.a6'))
this.canvasShow=false
return
@@ -193,13 +195,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('KCS',88,windowHeight*0.63);
myCanvas.font = '14px Arial';
myCanvas.setFillStyle('#717171')
myCanvas.fillText(i.symbol+'/USDT',25,windowHeight*0.53);
--
Gitblit v1.9.3