mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update index.html
This commit is contained in:
parent
c0c5f3e36e
commit
710264fd8c
@ -34,7 +34,7 @@
|
|||||||
{field: 'id', title: 'ID', align: "center", width: 80},
|
{field: 'id', title: 'ID', align: "center", width: 80},
|
||||||
{field: 'name', title: '折扣名称', align: 'left', minWidth: 140},
|
{field: 'name', title: '折扣名称', align: 'left', minWidth: 140},
|
||||||
{
|
{
|
||||||
field: 'items', title: '折扣方案', align: 'left', minWidth: 200, templet: function (d) {
|
field: 'items', title: '折扣方案', align: 'left', width: '30%', templet: function (d) {
|
||||||
return (d.html = ''), d.items.forEach(function (item) {
|
return (d.html = ''), d.items.forEach(function (item) {
|
||||||
d.html += laytpl('<span class="layui-badge layui-bg-gray">VIP{{d.level}} 折扣 {{d.discount}}%</span>').render(item);
|
d.html += laytpl('<span class="layui-badge layui-bg-gray">VIP{{d.level}} 折扣 {{d.discount}}%</span>').render(item);
|
||||||
}), d.html;
|
}), d.html;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user