From cf200a1f92c01ba22c326c49391f748ffb006910 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 05 Jul 2021 17:28:35 +0800 Subject: [PATCH] 20210617 开售开关 --- src/main/resources/templates/febs/views/modules/documentary/traderProfit.html | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html b/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html index b37e91e..aa7f12d 100644 --- a/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html +++ b/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html @@ -79,10 +79,13 @@ febs.modal.open('跟随者详情', 'modules/documentary/seeFollowerInfo/' + data.id, { area: $(window).width() <= 750 ? '90%' : '80%', offset: '30px', - btn: ['取消'], btn2: function () { layer.closeAll(); - $query.click(); + }, + cancel: function(){ + var index=parent.layer.getFrameIndex(window.name); //获取当前窗口的name + parent.layer.close(index);//关闭当前窗口 + window.parent.location.reload();//刷新 } }); $query.click(); @@ -97,6 +100,7 @@ layer.closeAll(); } }); + $query.click(); } if (layEvent === 'getOut') { febs.modal.confirm('确认', '您是否要踢出该交易员?', function () { -- Gitblit v1.9.1