| | |
| | | }); |
| | | }, |
| | | sha(ress,i){ |
| | | console.log('ress',ress); |
| | | let arr=[]; |
| | | ress.data.share_imgs.forEach((res)=>{ |
| | | if(i.profit>0&&res.type==1){ |
| | |
| | | arr.push(res) |
| | | } |
| | | }) |
| | | |
| | | console.log('arr',arr); |
| | | var share_imgs=arr[Math.round(Math.random()*arr.length)]; |
| | | if(!share_imgs||!this.detail){ |
| | | console.log(this.detail,share_imgs); |
| | | console.log('123123123',this.detail,share_imgs); |
| | | this.$toast(this.$t('recharge.a6')) |
| | | this.canvasShow=false |
| | | return |
| | |
| | | myCanvas.font = '12px Arial';//绘制文字 |
| | | // myCanvas.fillText('全球合约领跑者',88,windowHeight*0.653); |
| | | myCanvas.font = '16px Arial'; |
| | | myCanvas.fillText('WmagiBIT',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); |