From e9c73e4187d6502963055a152dbd07f9b73221e9 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 13 Mar 2024 17:14:47 +0800
Subject: [PATCH] 抽奖
---
src/main/resources/templates/febs/views/modules/goods/tzList.html | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/goods/tzList.html b/src/main/resources/templates/febs/views/modules/goods/tzList.html
index 555af92..d255d86 100644
--- a/src/main/resources/templates/febs/views/modules/goods/tzList.html
+++ b/src/main/resources/templates/febs/views/modules/goods/tzList.html
@@ -47,8 +47,20 @@
<span class="layui-badge febs-tag-green">大小</span>
{{# } else if (d.type == 2) { }}
<span class="layui-badge febs-tag-cyan">单双</span>
+ {{# } else if (d.type == 3) { }}
+ <span class="layui-badge febs-tag-blue">数字</span>
+ {{# } else if (d.type == 4) { }}
+ <span class="layui-badge febs-tag-red">红</span>
+ {{# } else if (d.type == 5) { }}
+ <span class="layui-badge febs-tag-yellow">彩</span>
+ {{# } else if (d.type == 6) { }}
+ <span class="layui-badge febs-tag-cyan">六个号码</span>
+ {{# } else if (d.type == 7) { }}
+ <span class="layui-badge febs-tag-green">三个号码</span>
+ {{# } else if (d.type == 8) { }}
+ <span class="layui-badge febs-tag-green">蓝</span>
{{# } else { }}
- <span class="layui-badge febs-tag-orange">数字</span>
+ <span class="layui-badge febs-tag-orange">-</span>
{{# } }}
</div>
</script>
@@ -85,12 +97,11 @@
table.on('tool(tzTable)', function (obj) {
var data = obj.data,
layEvent = obj.event;
- if (layEvent === 'goodsUpdate') {
- febs.modal.open('编辑', 'modules/goods/goodsUpdateNew/' + data.id, {
+ if (layEvent === 'tzUpdate') {
+ febs.modal.open('编辑', 'modules/goods/tzUpdate/' + data.id, {
btn: ['提交', '取消'],
- area:['100%','100%'],
yes: function (index, layero) {
- $('#febs-update').find('#submit').trigger('click');
+ $('#tz-update').find('#submit').trigger('click');
},
btn2: function () {
layer.closeAll();
@@ -124,7 +135,7 @@
{field: 'tzAmount', title: '投注总额', minWidth: 100,align:'left'},
{title: '操作',
templet: function (d) {
- return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="goodsUpdate" shiro:hasPermission="user:update">编辑</button>'
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="tzUpdate" shiro:hasPermission="tzUpdate:update">编辑</button>'
},minWidth: 160,align:'center'}
]]
});
--
Gitblit v1.9.1