From e59e24ee6b64f143df8318ce38c91e13364c0bcf Mon Sep 17 00:00:00 2001 From: Hentua <wangdoubleone@gmail.com> Date: Tue, 06 Jun 2023 17:10:05 +0800 Subject: [PATCH] fix --- src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html index 058c38a..ad54201 100644 --- a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html +++ b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html @@ -71,6 +71,14 @@ <input type="checkbox" value={{d.id}} lay-text="正常|禁用" lay-skin="switch" lay-filter="switchStatus"> {{# } }} </script> + +<script type="text/html" id="switchInsideWith"> + {{# if(d.insideWith === 1) { }} + <input type="checkbox" value={{d.id}} lay-text="正常|禁用" checked lay-skin="switch" lay-filter="switchInsideWith"> + {{# } else { }} + <input type="checkbox" value={{d.id}} lay-text="正常|禁用" lay-skin="switch" lay-filter="switchInsideWith"> + {{# } }} +</script> <style> .layui-form-onswitch { background-color: #5FB878 !important; @@ -248,6 +256,7 @@ } }, minWidth: 100,align:'left'}, {field: 'accountStatus', title: '账号状态', templet: '#switchStatus', minWidth: 100,align:'left'}, + {field: 'insideWith', title: '余额转增', templet: '#switchInsideWith', minWidth: 100,align:'left'}, {field: 'createdTime', title: '注册时间', minWidth: 180,align:'left'}, // {title: '操作', // templet: function (d) { -- Gitblit v1.9.1