From 05bed549dbf754b0987328dfbf0a457ce25c0a07 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 16 Jun 2021 14:35:23 +0800
Subject: [PATCH] 20210615  拨USDT

---
 src/main/resources/templates/febs/views/modules/member/member.html |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/member/member.html b/src/main/resources/templates/febs/views/modules/member/member.html
index 9b85a12..5b61310 100644
--- a/src/main/resources/templates/febs/views/modules/member/member.html
+++ b/src/main/resources/templates/febs/views/modules/member/member.html
@@ -90,6 +90,17 @@
                     }
                 });
             }
+            if (layEvent === 'addCoin') {
+                febs.modal.open( '拨币', 'modules/member/addCoin/' + data.id, {
+                    btn: ['提交', '取消'],
+                    yes: function (index, layero) {
+                        $('#user-update').find('#submit').trigger('click');
+                    },
+                    btn2: function () {
+                        layer.closeAll();
+                    }
+                });
+            }
             if (layEvent === 'see') {
 			   febs.modal.open( '身份认证', 'modules/member/memberDetail/' + data.id, {
 			    	maxmin: true,
@@ -185,10 +196,12 @@
                     	templet: function (d) {
                             if (d.certifyStatus === 1) {
                             	return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" shiro:hasPermission="user:update">审核认证</button>'
+                                +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
                             }else if(d.certifyStatus === 2){
                                 return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">查看</button>'
+                                +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
                             }else{
-                            	return ''
+                            	return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
                             }
                         }
                         ,minWidth: 200,align:'center'}

--
Gitblit v1.9.1