<!-- 空间设置 -->
<div class="kongjian-box">
    <div class="kongjian-left">
        <!-- <div class="kongjian-top-box">
            <div class="kongjian-top">
                <p>空间设置</p>
                <img src="./static/img/cha.png" class="kongjian-cha"/>
            </div>
        </div> -->
        
        <div class="chuangjiankongjian-box addkongjian" style="display: none;">
            <p class="chuangjiankongjian-tit">创建空间</p>
            <p class="chuangjiankongjian-tit2">选择成员创建共享空间，添加看板至空间实现统一共享</p>
        </div>
        <div class="chuangjiankongjian-box editkongjian" style="display: none;">
            <p class="chuangjiankongjian-tit">空间设置</p>
            <p class="chuangjiankongjian-tit2">重新编辑已创建空间</p>
        </div>
        <div class="kongjian-mc-box">
            <span>空间名称</span>
            <input type="text" placeholder="空间名称" class="kongjian-mc-box-txt"/>
        </div>
        <div class="kongjian-mc-box" style="margin-top: 16px;">
            <span>空间成员</span>
            <div class="kongjian-tianjia" >+添加</div>
        </div>

        
        <div class="kongjian-renyuan-box">
            <!-- 添加成员 -->
            <div class="kongjian-renyuan">
                <div class="kongjian-renyuan-left">
                    <div class="gly-firs"></div>
                    <span class="gly-name"></span>
                </div>
    
                <div class="kongjian-renyuan-right">
                    <img src="./static/img/huangguan.png"> <span>管理员</span>
                </div>
            </div>
            <div class="kongjian-renyuan-box2">

            </div>
        </div>
        <!-- 单人权限分配弹窗 -->


        <div class="kongjian-but-box">
            <div>
                <div class="kongjian-cz" id="kongjian-cz">
                    更多操作
                </div>
            </div>
            
            <!-- <ul class="layui-nav kongjian-cz">
                <li class="layui-nav-item control">
                    <a href="javascript:;">更多操作</a>
                </li>
            </ul> -->
            <div class="kongjian-but">
                <div class="kongjian-qx" id="kongjian-qx">取消</div>
                <div class="kongjian-qd" id="kongjian-qd">完成</div>
            </div>
        </div>
    </div>
    <!-- 成员面板 -->
    <div class="member-box">
        <div class="member-top-box">
            <img src='./static/img/fangdaj.png' />
            <input type="text" class="membertxt" id="membertxt" placeholder="搜索成员">
            <img src="./static/img/cha.png" class='member-cha'>
        </div>
        <div class="member-user-box">
            <div class="member-user-xm">项目</div>
            <div class="member-user-con-box">
                
            </div>
        </div>
    </div>
</div>
<script id="kongjian-renyuan-box-dot" type="text/html">
 
    {{#  layui.each(d, function(index, item){ }}
        <!-- {{#  if(item.jurisdiction == 3){ }}
        <div class="kongjian-renyuan">
            <div class="kongjian-renyuan-left">
                <div>{{item.firs}}</div>
                <span>{{item.userid}}</span>
            </div>

            <div class="kongjian-renyuan-right">
                <img src="./static/img/huangguan.png"> <span>管理员</span>
            </div>
        </div>
        {{#  } else { }} -->
            <div class="kongjian-renyuan">
                <div class="kongjian-renyuan-left">
                    <div class="kongjian-renyuan-left-x">{{item.firs}}</div>
                    <span>{{item.name}}</span>
                </div>
        
                <div class="kongjian-renyuan-right">
                    {{#  if(item.authority == "r"){ }}
                    <div class="kongjian-renyuan-jurisdiction" data-type='r' data-index="{{index}}" >仅查看</div>
                    {{#  } else { }}
                    <div class="kongjian-renyuan-jurisdiction" data-type='rw' data-index="{{index}}" >仅查看</div>
                    {{# }}}
                    <div class="kongjian-renyuan-del" data-id="{{item._id}}"></div>
                </div>
            </div>
        <!-- {{# }}} -->
    {{#  }); }}

</script>
<script id="member-user-con-box-dot" type="text/html">
    {{#  layui.each(d, function(index, item){ }}
        <div class="member-user-con">
            <div class="member-user-con-lefr">
                <div class="member-user-con-x">{{item.firs}}</div>
                <span class="member-user-con-w">{{item.name}}</span>
            </div>
            <div class="member-user-con-right" data-id="{{item._id}}">
                +
            </div>
        </div>
    {{#  }); }}
</script>

