From dbd05d66143d24a7b837d58b85929651b91a832a Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Mon, 18 Mar 2024 17:11:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E6=B6=88=E8=B4=B9?= =?UTF-8?q?=E8=BF=94=E5=88=A9=E4=BD=A3=E9=87=91=E6=8F=90=E7=8E=B0=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=89=8B=E7=BB=AD=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/rebate/src/PluginApplication.php | 4 ++ .../src/admin/widget/RebateWithdrawWidget.php | 18 ++++++ .../views/widget/withdraw/set.blade.php | 57 +++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 plugins/rebate/src/admin/widget/RebateWithdrawWidget.php create mode 100644 plugins/rebate/views/widget/withdraw/set.blade.php diff --git a/plugins/rebate/src/PluginApplication.php b/plugins/rebate/src/PluginApplication.php index e0ec831f..53a89677 100644 --- a/plugins/rebate/src/PluginApplication.php +++ b/plugins/rebate/src/PluginApplication.php @@ -74,6 +74,10 @@ class PluginApplication extends \app\common\services\PluginApplication{ public function getWidgetItems() { return [ + 'withdraw.rebate_commission' => [ + 'title' => '消费返利提现', + 'class' => 'Yunshop\Rebate\admin\widget\RebateWithdrawWidget' + ], 'vue-goods.rebate' => [ 'title' => '消费返利', 'class' => \Yunshop\Rebate\admin\widget\RebateWidget::class, diff --git a/plugins/rebate/src/admin/widget/RebateWithdrawWidget.php b/plugins/rebate/src/admin/widget/RebateWithdrawWidget.php new file mode 100644 index 00000000..569d620b --- /dev/null +++ b/plugins/rebate/src/admin/widget/RebateWithdrawWidget.php @@ -0,0 +1,18 @@ + '', 'poundage_rate' => '']); + + return view('Yunshop\Rebate::widget.withdraw.set', [ + 'set' => $set, + ])->render(); + } +} \ No newline at end of file diff --git a/plugins/rebate/views/widget/withdraw/set.blade.php b/plugins/rebate/views/widget/withdraw/set.blade.php new file mode 100644 index 00000000..6fc13bb0 --- /dev/null +++ b/plugins/rebate/views/widget/withdraw/set.blade.php @@ -0,0 +1,57 @@ +
+
+ +
+ + 当前分销商的佣金达到此额度时才能提现 +
+
+ +
+ +
+
+ + +
+
+
+
+ +
+
+ +
+
+
+
+