fix
Helius
2022-04-25 590a0eefb3d2c79a664d5db40138a3b45e4918e1
fix
1 files modified
9 ■■■■ changed files
src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html 9 ●●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
@@ -53,6 +53,11 @@
    <a lay-event="edit" shiro:hasPermission="user:update"><i
            class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>
</script>
<style>
    .layui-form-onswitch {
        background-color: #5FB878 !important;
    }
</style>
<!-- 表格操作栏 end -->
<script data-th-inline="none" type="text/javascript">
    // 引入组件并初始化
@@ -177,9 +182,9 @@
                    {field: 'accountStatus', title: '账号状态',
                        templet: function (d) {
                            if (d.accountStatus === 1) {
                                return '<span style="color:green;">正常</span>'
                                return '<input type="checkbox" name="switch" lay-text="正常|禁用" checked lay-skin="switch" lay-event="accountSwitch">'
                            } else if (d.accountStatus === 2) {
                                return '<span style="color:red;">禁用</span>'
                                return '<input type="checkbox" name="switch" lay-text="正常|禁用" lay-skin="switch" lay-event="accountSwitch">'
                            }else{
                                return ''
                            }