<div class="userlabel-dy-box">
    <div class="userlabel-dy-head-box">
        <p> <span class="userlabel-dy-head-userlabel" style="">用户标签</span>  / <span>编辑用户标签</span></p>
    </div>

    <div class="userlabel-dy-content-box">
        <div class="userlabel-dy-content-box2">
            <div class="userlabel-dy-left-box">
                <div class="userlabel-dy-left-title">
                    标签信息
                </div>
                <div class="userlabel-dy-left-item">
                    <p>标签名</p>
                    <input type="text" class="lablename"/>
                </div>
                <div class="userlabel-dy-left-item">
                    <p>显示名</p>
                    <input type="text" class="labledesc"/>
                </div>
                <div class="userlabel-dy-left-item">
                    <p>备注（选填）</p>
                    <textarea class="labeldes" >

                    </textarea>
                </div>
            </div>
            <div class="userlabel-dy-right-box">
                <div class="userlabel-dy-right-box-top">
                    <div class="userlabel-dy-right-head-box">
                        <div>自定义条件配置</div>
                        <p>筛选特定行为条件或用户属性的用户，并赋予标签值；用户优先匹配至满足条件且顺序靠前的标签值中</p>
                    </div>
                    <!-- <div class="userlabel-dy-right-title-box">
                        <div class="userlabel-dy-right-title-box2">
                            <div class="userlabel-dy-right-title">xxxxx</div>
                        </div>
                    </div> -->

                    <!-- <div class="userlabel-dy-right-labelname-box">
                        <div class="userlabel-dy-right-labelname-root">
                            <div class="userlabel-dy-right-labelname-root-item">
                                <div class="userlabel-dy-right-labelname-root-item-title">标签值名称</div>
                                <div class="userlabel-dy-right-labelname-root-item-input">
                                    <input type="text">
                                </div>
                            </div>

                            <div class="userlabel-dy-right-labelname-root-item" style="border-bottom: 1px dashed #f0f0f0;">
                                <div class="userlabel-dy-right-labelname-root-item-title">标签值备注</div>
                                <div class="userlabel-dy-right-labelname-root-item-input">
                                    <textarea ></textarea>
                                </div>
                            </div>
                        </div>
                    </div> -->

                    <div class="userlabel-dy-right-head-box">
                        <div>标签值定义  <span class="choicelabel"> <i class="iconfont" style="font-size: 14px; margin-right: 4px;">&#xe607;</i> 添加标签值条件</span></div> 
                    </div>

                    <div class="userlabel-json-box">
                       


                    </div>
                </div>
                <div class="userlabel-json-but-box">
                    <div class="userlabel-dy-baocun">保存</div>
                </div>
    
            </div>

        </div>
        
    </div>

</div>

<script id="userlabel-json-box-dot" type="text/html">
    
    <div class="userlabel-json-relation-editor ">
        {{#  if(d.filts.length != 0 && d.events.length != 0){ }}
        <div class="userlabel-json-relation-relation">
            <em class="userlabel-json-relation-relation-line"></em>
            <div class="userlabel-json-relation-relation-value">且</div>
        </div>
        {{#  } }}
        
        <div class="userlabel-json-relation-main">
            <div class="userlabel-json-relation-row">
                <div class="userlabel-json-relation-editor">
                    {{#  if(d.events.length > 1){ }}
                    <div class="userlabel-json-relation-relation">
                        <em class="userlabel-json-relation-relation-line"></em>
                        <div class="userlabel-json-relation-relation-value">且</div>
                    </div>
                    {{#  } }}
                    <div class="userlabel-json-relation-main">
                        {{# layui.each(d.events, function(index, item) {  }}
                            {{#  if(item.is_touch == false){ }}
                            <div class="userlabel-json-relation-row userlabel-json-eventRow">
                                <div class="userlabel-json-action-row userlabel-json-event">
                                    <div class="userlabel-json-action-left">
                                        <div class="ta-editor-done-condition">
                                            <span class="ta-isDone" data-index="{{index}}">没做过</span>
                                            <div class="ant-dropdown-trigger2 ta-event-select my-event-data" data-index="{{index}}">
                                                <span class="ta-event-select-label">{{item.eventDesc}}</span>
                                            </div>
                                            <span class="ta-bold">，在</span>
                                            {{#  if(item.e_days == 0){ }}
                                                <span class="ant-dropdown-trigger2 ta-range-picker-label time-days-box" data-index="{{index}}">
                                                    过去{{item.s_days}}天
                                                </span>
                                            {{#  } else { }}
                                                <span class="ant-dropdown-trigger2 ta-range-picker-label time-days-box" data-index="{{index}}">
                                                    过去{{item.s_days}}天-过去{{item.e_days}}天
                                                </span>
                                            {{#  } }}

                                        </div>
                                    </div>
                                    <div class="userlabel-json-action-right">
                                        <div class="action-icon action-normal action-md action-action action-icon-shax">
                                            <i class="iconfont" style="font-size: 22px; margin-right: 4px;">&#xe683;</i>
                                        </div>
                                        <div class="action-icon action-normal action-md action-action action-icon-del action-icon-events-del" data-index="{{index}}">
                                            <i class="iconfont" style="font-size: 18px; margin-right: 4px;">&#xe611;</i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            {{#  } else { }}
                            <div class="userlabel-json-relation-row userlabel-json-eventRow">
                                <div class="userlabel-json-action-row userlabel-json-event">
                                    <div class="userlabel-json-action-left">
                                        <div class="ta-editor-done-condition">
                                            <span class="ta-isDone" data-index="{{index}}">做过</span>
                                            <div class="ant-dropdown-trigger2 ta-event-select my-event-data" data-index="{{index}}">
                                                <span class="ta-event-select-label">{{item.eventDesc}}</span>
                                            </div>
                                            <span class="ta-bold">.</span>
                                            <div class="ant-dropdown-trigger2 ta-event-select load_prop_quotas_data" data-index="{{index}}">
                                                <span class="ta-event-select-label">{{item.prop_quota.quotaDesc}}</span>
                                            </div>
                                            {{#  if(item.prop_quota.quota_type != null){ }}
                                            <div class="ant-dropdown-trigger2 ta-event-select analysis-data-box" data-index="{{index}}" data-type="{{item.prop_quota.quota_type}}">
                                                <span class="ta-event-select-label">{{item.prop_quota.analysisDesc}}</span>
                                            </div>
                                            {{#  } }}
                                            <div class="ant-dropdown-trigger2 ta-event-select uce_calcu_symbol_box" data-index="{{index}}">
                                                <span class="ta-event-select-label">{{item.uce_calcu_symbolDesc}}</span>
                                            </div>
                                            <div class="ant-input-number tant-input-number lable-input-box">
                                                <input type="text" placeholder="多个用,隔开" data-index="{{index}}" value="{{item.num}}"/>
                                            </div>
                                            <span class="ta-bold">，在</span>
                                            {{#  if(item.e_days == 0){ }}
                                                <span class="ant-dropdown-trigger2 ta-range-picker-label time-days-box" data-index="{{index}}">
                                                    过去{{item.s_days}}天
                                                </span>
                                            {{#  } else { }}
                                                <span class="ant-dropdown-trigger2 ta-range-picker-label time-days-box" data-index="{{index}}">
                                                    过去{{item.s_days}}天-过去{{item.e_days}}天
                                                </span>
                                            {{#  } }}
                                        </div>
                                    </div>
                                    <div class="userlabel-json-action-right">
                                        <div class="action-icon action-normal action-md action-action action-icon-shax action-icon-events-shax" data-index="{{index}}">
                                            <i class="iconfont" style="font-size: 22px; margin-right: 4px;">&#xe683;</i>
                                        </div>
                                        <div class="action-icon action-normal action-md action-action action-icon-del action-icon-events-del" data-index="{{index}}">
                                            <i class="iconfont" style="font-size: 18px; margin-right: 4px;">&#xe611;</i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            {{#  } }}
                        {{#  }); }}
                    </div>

                </div>

            </div>

            <div class="userlabel-json-relation-row" style="margin-top: 8px;">
                <div class="userlabel-json-relation-editor">
                    {{#  if(d.filts.length > 1){ }}
                    <div class="userlabel-json-relation-relation">
                        <em class="userlabel-json-relation-relation-line"></em>
                        <div class="userlabel-json-relation-relation-value">且</div>
                    </div>
                    {{#  } }}
                    <div class="userlabel-json-relation-main">
                        <div class="userlabel-json-relation-row">
                            <div class="ta-multa-filter-condition">
                                {{# layui.each(d.filts, function(index, item) {  }}
                                <div class="userlabel-json-action-row">
                                    <div class="userlabel-json-action-left">
                                        <div class="ta-filter-condition">
                                            <span class="ta-property">用户属性</span>
                                            <div class="ant-dropdown-trigger2 ta-property-select">
                                                <span class="ta-property-select-label">账户ID</span>
                                            </div>
                                            <div class="ant-dropdown-trigger2 ta-property-select">
                                                <span class="ta-property-select-label">等于</span>
                                            </div>
                                            <div class="ta-equal-search taDragDisable">
                                                <input type="text"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="userlabel-json-action-right">
                                        <div class="action-icon action-normal action-md action-action action-icon-shax">
                                            <i class="iconfont" style="font-size: 22px; margin-right: 4px;">&#xe683;</i>
                                        </div>
                                        <div class="action-icon action-normal action-md action-action action-icon-del">
                                            <i class="iconfont" style="font-size: 18px; margin-right: 4px;">&#xe611;</i>
                                        </div>
                                    </div>
                                </div>
                                {{#  }); }}
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>

    </div>
    
</script>

