From c6c703c80be3ee1f1f2d28f820c4d3b730e17040 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sun, 27 Apr 2025 10:08:36 +0800
Subject: [PATCH] 修改: 文档问题
---
pages/exchange/index.vue | 4 ++--
pages/assets/draw.vue | 10 +++++-----
pages/assets/paypal.vue | 2 +-
pages/assets/recharge.vue | 2 +-
pages/base/symbol-list.vue | 2 +-
pages/safe/transaction-password.vue | 4 ++--
pages/exchange/contract-history.vue | 22 ++++++++++++++--------
7 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/pages/assets/draw.vue b/pages/assets/draw.vue
index e769f2b..ca54baf 100644
--- a/pages/assets/draw.vue
+++ b/pages/assets/draw.vue
@@ -40,11 +40,11 @@
size="mini"
@click="changeRechargeType(1)"
>OMNI</view> -->
- <!-- <view class="rounded-xs p-x-lg p-y-ms m-r-md"
+ <view class="rounded-xs p-x-lg p-y-ms m-r-md"
size="mini"
@click="changeRechargeType(2)"
:class="rechargeType==2?'bor-active':'bg-panel-3 border'"
- >ERC20</view> -->
+ >ERC20</view>
<view class="rounded-xs p-x-lg p-y-ms"
size="mini"
@click="changeRechargeType(3)"
@@ -132,7 +132,7 @@
<tbody>
<tr class="color-light trChange p-x-md rounded-md" v-for="item in list" :key="item.id">
<td class="p-y-xs p-l-md rounded-tl-sm rounded-bl-sm fn-sm">
- {{ item.datetime | parseTime }}
+ {{ item.created_at}}
</td>
<td>
<view>{{item.status_text}}</view>
@@ -186,11 +186,11 @@
</van-tab>
<van-tab :title="$t('login.a9')" v-if="withdrawFee.email_status==1" :name="2">
- <v-input class="border h-40 m-y-md m-x-lg p-x-md" type="number" :placeholder="$t('common.code')" v-model="form.code">
+ <!-- <v-input class="border h-40 m-y-md m-x-lg p-x-md" type="number" :placeholder="$t('common.code')" v-model="form.code">
<template #right>
<v-code type="green-plain" url="/user/getTxCode" :data="{type:2,'num':num}" ref="emailCode"></v-code>
</template>
- </v-input>
+ </v-input> -->
<v-input class="border h-40 m-y-md m-x-lg p-x-md" type="number" :placeholder="$t('safe.d1')" v-model="form.payword"></v-input>
<view class="m-md"></view>
</van-tab>
diff --git a/pages/assets/paypal.vue b/pages/assets/paypal.vue
index 73f27b6..e540f79 100644
--- a/pages/assets/paypal.vue
+++ b/pages/assets/paypal.vue
@@ -60,7 +60,7 @@
</thead>
<tbody>
<tr class="color-light trChange p-x-md" v-for="(item,index) in list" :key="index">
- <td class="p-y-xs p-l-md rounded-tl-sm rounded-bl-sm">{{item.created_at|parseTime}}</td>
+ <td class="p-y-xs p-l-md rounded-tl-sm rounded-bl-sm">{{item.created_at}}</td>
<td>
<view v-if="item.status==0">{{$t('assets.d1')}}</view>
<view v-if="item.status==1" class="color-buy">{{$t('assets.d2')}}</view>
diff --git a/pages/assets/recharge.vue b/pages/assets/recharge.vue
index df4cf16..b7717c0 100644
--- a/pages/assets/recharge.vue
+++ b/pages/assets/recharge.vue
@@ -150,7 +150,7 @@
</thead>
<tbody class="">
<tr class="color-light trChange p-x-md" v-for="(item) in list" :key="item.id">
- <td class="p-y-xs p-l-md rounded-tl-sm rounded-bl-sm">{{item.datetime|parseTime}}</td>
+ <td class="p-y-xs p-l-md rounded-tl-sm rounded-bl-sm">{{item.created_at}}</td>
<td>
<view v-if="item.status==0">{{$t('assets.d1')}}</view>
<view v-if="item.status==1" class="color-buy">{{$t('assets.d2')}}</view>
diff --git a/pages/base/symbol-list.vue b/pages/base/symbol-list.vue
index 4936c6c..6b9f5e6 100644
--- a/pages/base/symbol-list.vue
+++ b/pages/base/symbol-list.vue
@@ -291,7 +291,7 @@
}
.jiang{
width: 80%;
- background: #F4465D;
+ background: #2EBD85;
text-align: center;
height: 2rem;
line-height: 2rem;
diff --git a/pages/exchange/contract-history.vue b/pages/exchange/contract-history.vue
index f133d30..cef9b7c 100644
--- a/pages/exchange/contract-history.vue
+++ b/pages/exchange/contract-history.vue
@@ -168,13 +168,13 @@
console.log('ress',ress);
let arr=[];
ress.data.share_imgs.forEach((res)=>{
- if(i.profit>0&&res.type==1){
+ // if(i.profit>0&&res.type==1){
+ // arr.push(res)
+ // }else if(i.profit<0&&res.type==2){
arr.push(res)
- }else if(i.profit<0&&res.type==2){
- arr.push(res)
- }
+ // }
})
- console.log('arr',arr);
+ // console.log('arr',arr,Math.round(Math.random()*arr.length));
var share_imgs=arr[Math.round(Math.random()*arr.length)];
if(!share_imgs||!this.detail){
console.log('123123123',this.detail,share_imgs);
@@ -198,9 +198,15 @@
// 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.font = '16px Arial';
+ myCanvas.font = '16px Arial';//绘制文字
+ if(i.profit==0){
+ myCanvas.fillText(this.$t("common.c22")+' '+0,88,windowHeight*0.653);
+ myCanvas.font = '16px Arial';
+ }else{
+ myCanvas.fillText(this.$t("common.c22")+' '+i.profit,88,windowHeight*0.653);
+ myCanvas.font = '16px Arial';
+ }
+
myCanvas.fillText('KCS',88,windowHeight*0.63);
myCanvas.font = '14px Arial';
myCanvas.setFillStyle('#717171')
diff --git a/pages/exchange/index.vue b/pages/exchange/index.vue
index 759c5a0..c833a6c 100644
--- a/pages/exchange/index.vue
+++ b/pages/exchange/index.vue
@@ -84,9 +84,9 @@
<van-tab :title="$t('exchange.d3')">
<latest-transaction :tradeList="tradeList" />
</van-tab>
- <van-tab :title="$t('exchange.e7')">
+ <!-- <van-tab :title="$t('exchange.e7')">
<coin-info :query="query" />
- </van-tab>
+ </van-tab> -->
</van-tabs>
</view>
diff --git a/pages/safe/transaction-password.vue b/pages/safe/transaction-password.vue
index c8e4aad..d4d38cc 100644
--- a/pages/safe/transaction-password.vue
+++ b/pages/safe/transaction-password.vue
@@ -24,7 +24,7 @@
</v-input>
</view>
</view> -->
- <view class="form-item border-b p-md" v-if="user.email_status==1">
+ <!-- <view class="form-item border-b p-md" v-if="user.email_status==1">
<view class="label m-b-xs">{{$t('safe.a5')}}</view>
<view class="input color-light">
<v-input v-model="form.email_code" :placeholder="$t('safe.a6')">
@@ -39,7 +39,7 @@
<view class="input color-light">
<v-input v-model="form.google_code" :placeholder="$t('safe.a6')"></v-input>
</view>
- </view>
+ </view> -->
</main>
<view class="p-md">
<v-button block type="red" class="w-max m-y-md rounded-xs" ref="btn" @click="setPassword">{{$t('safe.e3')}}</v-button>
--
Gitblit v1.9.3