From c862fe9bc15ee01a3aa1e8b09146a8084d5b8ee7 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 17 Jul 2020 12:16:30 +0800
Subject: [PATCH] 20200717  代码提交

---
 src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html b/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html
index 07659cf..6297d85 100644
--- a/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html
+++ b/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html
@@ -76,9 +76,16 @@
                     {field: 'phone', title: '手机号', minWidth: 100,align:'left',totalRowText: '合计'},
                     {field: 'email', title: '邮箱', minWidth: 200,align:'left'},
                     {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'},
+                    {field: 'rewardratioByMid', title: '盈亏',
+                    	templet: function (d) {
+                            if (d.rewardratioByMid > 0) {
+                                return '<span style="color:green;">'+d.rewardratioByMid+'</span>'
+                            } else {
+                                return '<span style="color:red;">'+d.rewardratioByMid+'</span>'
+                            } 
+                        }, minWidth: 80,align:'center',totalRow: true},
                     {field: 'walletAvailableBalance', title: '币币可用', minWidth: 80,align:'center',totalRow: true},
                     {field: 'walletFrozenBalance', title: '币币冻结', minWidth: 80,align:'center',totalRow: true},
-                    {field: 'walletTotalBalance', title: '币币总金额', minWidth: 80,align:'center',totalRow: true},
                     {field: 'walletCoinAvailableBalance', title: '合约可用', minWidth: 80,align:'center',totalRow: true},
                     {field: 'walletCoinFrozenBalance', title: '合约冻结', minWidth: 80,align:'center',totalRow: true},
                     {field: 'walletCoinTotalBalance', title: '合约总金额', minWidth: 80,align:'center',totalRow: true},

--
Gitblit v1.9.1