<!-- 漏斗 -->
<script id="analysis-con-left-screen-list-dot" type="text/html">
    {{#  layui.each(d, function(index, item){ }}

    <div class="analysis-con-left-screen-list">
        <!-- 指标选择 -->
        <div class="analysis-con-left-screen-list-left-box" id="analysis-con-left-screen-list-left-box-{{index}}">
            <div class="analysis-con-left-screen-list-left-zhibiaoname" id="analysis-con-left-screen-list-left-zhibiaoname-{{index}}">
                <input type="text" placeholder="请输入指标名" class="analysis-con-left-screen-list-left-zhibiaoname-txt" data-index="{{index}}"/>
            </div>
            <div class="analysis-con-left-screen-list-left">
                <div class="analysis-num">{{index}}</div>
                <div class="analysis-zhibiao-list">
                    <div class="ant-dropdown-trigger analysis-zhibiao-list-type1 analysis-background" data-index="{{index}}"> {{item.eventDesc}}</div>
                </div>
            </div>      
            {{#  if(item.filts.length > 0){ }}
            <div class="analysis-con-left-screen-list-right-screen-bg" id="analysis-con-left-screen-list-right-screen-bg-{{index}}">
                <div class="analysis-con-left-screen-list-right-screen-box">
                    <div class="analysis-con-left-screen-list-right-screen-qh">
                        <div class="analysis-con-left-screen-list-right-screen-qh-xian"></div>
                        {{#  if(item.filts.length > 1){ }}
                            {{#  if(item.condrelation === "and"){ }}
                                <div class="analysis-con-left-screen-list-right-screen-qh-tit" data-index="{{index}}">且</div>
                            {{#  } else { }}
                                <div class="analysis-con-left-screen-list-right-screen-qh-tit" data-index="{{index}}">或</div>
                            {{#  } }} 
                        {{#  } }} 
                    </div>
                    <div style="padding-bottom: 10px;" class="analysis-zhibiao-list2-box">
                        {{#  layui.each(item.filts, function(indexs, items){ }}
                            <div class="analysis-zhibiao-list analysis-zhibiao-list-mar" id="analysis-zhibiao-list-mar-{{index}}-{{indexs}}">
                                <div id="ta-property-select-{{index}}-{{indexs}}" class="ta-property-select analysis-zhibiao-list-type1 analysis-background" data-index="{{index}}" data-indexs="{{indexs}}"> {{items.columnDesc}}</div>
                                <div class="analysis-zhibiao-list-type3 analysis-background analysis-choicetypename" data-index="{{index}}" data-indexs="{{indexs}}">{{items.comparatorName}}</div>
                                <!-- {{#  if(item.comparator_id != "is null" && item.comparator_id != "is not null" && item.comparator_id !="not null" && item.comparator_id != "range"){ }} -->
                                <div class="analysis-zhibiao-list-type4" id="analysis-zhibiao-list-type4-{{index}}-{{indexs}}"> <input type="text"  data-index="{{index}}" data-indexs="{{indexs}}" placeholder="多个条件用,隔开" value="{{items.strftv}}"> </div>
                                <!-- {{#  } }}  -->
                                <div class="analysis-zhibiao-list-del" data-index="{{index}}" data-twonum="{{indexs}}"></div>
                            </div>
                        {{#  }); }}
                    </div>
                </div>
                <div class="analysis-zhibiao-updata-list-box">
                    <span class="analysis-zhibiao-updata" data-index="{{index}}"> <img src="./static/img/shaix.png" /> 添加条件 </span>
                </div>
            </div>
            {{#  } }} 
        </div>
        <!-- 公式 -->
        <div class="analysis-custom-box" id="analysis-custom-box-{{index}}">
            <div class="analysis-custom-top">
                <div class="analysis-num">{{index}}</div>
                <div class="analysis-con-left-screen-list-left-zhibiaoname2"> <input type="text" value="自定义指标" placeholder="请出入指标名"/></div>
            </div>

            <div class="analysis-custom-event-box">
                <input class="analysis-custom-event-txt" data-index="{{index}}" type="text" placeholder="直接输入运算符或点击选择事件"/>
            </div>
            <div class="analysis-custom-event-dis-box" id="analysis-custom-event-dis-box-{{index}}">
                <div class="analysis-custom-event-box analysis-custom-event-box-display">
                    <div class="analysis-custom-event-type">用户登录</div>
                    <div class="analysis-custom-event-img"></div>
                    <div class="">.</div>
                    <div class="analysis-custom-event-type">触发用户数</div>
                </div>
            </div>
            
            <div class="ant-select-selector">两位小数</div>
        </div>
        <!-- 操作按钮 -->
        <div class="analysis-con-left-screen-list-right-box">
            <div class="analysis-con-left-screen-list-right" id="analysis-con-left-screen-list-right-{{index}}">
                <div class="analysis-chongmingming" data-index="{{index}}" title="重命名指标"></div>
                <div class="analysis-chongmingming-del" data-index="{{index}}" title="取消重命名"></div>
                <div class="analysis-shaix" data-index="{{index}}" title="指标筛选"></div>
                <!-- <div class="analysis-gongshi" data-index="{{index}}" title="切换为指标公式"></div> -->
                <div class="analysis-zhibiao" data-index="{{index}}" title="切换为指标选择"></div>
                <div class="analysis-jia1" data-index="{{index}}" title="添加指标"></div>
                <!-- <div class="analysis-fuzhi" title="复制指标" data-index="{{index}}"></div> -->
                <div class="analysis-del" data-index="{{index}}" title="删除指标" style="display: none;"></div>
            </div>
        </div>
    </div>

    {{#  }); }}
</script>