feat(sign): 优化签到领券设置功能

- 添加优惠券选择器功能
- 优化签到天数和概率输入范围
- 更新签到状态为禁用/启用选项
- 调整表单布局和样式
- 优化数据表格显示
This commit is contained in:
2025-06-17 11:19:12 +08:00
parent 9ba854cc76
commit 5227396484
6 changed files with 84 additions and 78 deletions

View File

@@ -36,7 +36,9 @@ class Coupon extends Common
if (!$this->request->isAjax()) {
return $this->view->fetch();
}
if ($this->request->request('keyField')) {
return $this->selectpage();
}
$coupons = $this->model->sheepFilter()->paginate($this->request->param('list_rows', 10))->each(function ($coupon) {
// 优惠券领取和使用数量
$coupon->get_num = $coupon->get_num;