<div ng-if="pageFlag==1">
	<div class="nodata">
		<h5>还没有看单</h5>
	</div>
	<div class="btn3" style="float:none;width:200px;margin:0 auto;text-align: center;" ng-click="showWin(1)" ng-if="hasEditPower()">创建第一个看单</div>
	<dl class="tipsList statustip">
        <dt>1. 什么是“行业看单”？</dt>
        <dd>
        	行业看单提供的是的常用可分类的数据分析指标的查看，目前主要由事件，漏斗，留存构成，可以根据指标类型分类成不同的行业菜单，便于查看，我们叫做看单。
        </dd>
        <dt>2. 怎么使用行业看单？</dt>
        <dd>
        	通过TrackingIO强大的数据分析，行业看单可以帮助解决以下问题：<br/>
			&nbsp;&nbsp;&nbsp;&nbsp;a. 做详细的app数据分析，你可以快速组建成行业数据菜单，便于产品，市场，运营查看。<br/>
			&nbsp;&nbsp;&nbsp;&nbsp;b. 你可以选择行业优秀者分享的看单模版，快速组建自己的行业数据看单。<br/><br/>
		</dd>
		<dd>
			关于行业看单，你可以根据产品特性合理配置看单名称和表单内容，创建出符合自己行业标准化的数据图表。比如电商，可以创建购买数据分析，包含购买用户趋势，购买金额趋势等，帮您分析用户的购买行为。
		</dd>
    </dl>
</div>
<div ng-if="pageFlag==2">
	<div class="finshedWrap">
		<span class="finshedIcon"></span>
		<span class="finshLabel">已完成</span>
	</div>
	<div class="btn3" style="float:none;width:100px;margin:0 auto;text-align: center;" ng-click="lookMyMenu()">查看我的看单</div>
	<div class="descWrap">
		<p class="pTitle">该操作会自动帮你添加{{getEventTypeCount(reyunList)}}</p>
		<ol class="olList">
			<li ng-repeat="ry in reyunList track by $index">{{ry.name}}</li>
		</ol>
	</div>
</div>
<!-- 看单缩略图 -->
<div class="clearfix"  ng-if="pageFlag==3 && viewFlag>0">
	<ul class="customNav">
		<li ng-class="{'active':viewFlag==3}" ng-click="changeViewFlag(3)">行业看单模板</li>
		<!-- <li ng-class="{'active':viewFlag==2}" ng-click="changeViewFlag(2)">我的收藏</li> -->
		<li ng-class="{'active':viewFlag==1}" ng-click="changeViewFlag(1)">我的看单</li>
	</ul>
	<div class="filterBox clearfix" ng-show="viewFlag!=1">
		<!-- <div class="iconBtn right p" ng-class="{'active':selfilter}" ng-click="selfilter=!selfilter" ng-mouseleave='selfilter=false;'>
	    	<span class="filterIcon"></span>排序
	    	<div class="optionList rightLayout" ng-show="selfilter"  style="max-width:100px;width:100px;">
	  			<dl class="dlOperTitle popmenu">
	  				<dd ng-click="menuOrder(1)" ng-class="{'active':orderFlag==1}">默认排序</dd>
	  				<dd ng-click="menuOrder(2)" ng-class="{'active':orderFlag==2}">按匹配度</dd>
	  				<dd ng-click="menuOrder(3)" ng-class="{'active':orderFlag==3}">按使用次数</dd>
	  				<dd ng-click="menuOrder(4)" ng-class="{'active':orderFlag==4}">按收藏次数</dd>
	  			</dl>
  			</div>
	    </div> -->
		<div class="searchWrap">
	        <input type="text" class="searchIpt" ng-model="searchTxt" placeholder="输入搜索关键词">
	    </div>
	    <div class="right">
	    	<select-list style="margin-right: 20px;height: 32px;line-height: 32px;background-color: #ffffff;" meau-info="industryList" meau-id="industryId" meau-data="industryInit" meau-name="industryNameInit"></select-list>
	    </div>
	</div>
	<div class="filterBox clearfix" ng-if="viewFlag==1">
		<p class="pinfo left">您的账号仅支持创建{{maxMenu}}个看单，如需增加，请联系商务</p>
		<div class="iconBtn right" ng-click="showWin(1)" ng-class="{'disable':menuInfoList.length>=maxMenu}" ng-if="hasEditPower()">
	    	<span class="additionIcon"></span>添加一个新看单
	    </div>
	</div>
	<div class="defineBox">
         <!-- drag-order drag-id="menu.id" drag-info="{{menu}}" drag-flag="menu" -->
		<div class="defineBoxItem" ng-repeat="menu in menuInfoList | filter:{'name':searchTxt} | filter:{'categoryName':industryInitName} track by $index" ng-class-even="'rightLayoutWrap'" ng-style="{'width':viewFlag==1?'33.333%':''}">
			<div class="chartBox p" ng-style="{'min-height':viewFlag!=1?'320px':''}" style="padding-top: 10px;">

				<!-- <div class="dropIcon p" ng-class="{'active':selme}" ng-click="selme=!selme" ng-mouseleave='selme=false;' ng-show="viewFlag==1">
					<div class="optionList" ng-show="selme"  style="max-width:140px;width:140px;">
			  			<dl class="dlOperTitle popmenu">
			  				<dd ng-click="menuDetail(menu)">查看详情</dd>
			  				<dd ng-click="showWin(2,menu)" ng-if="hasEditPower()">修改看单名称</dd>
			  				<dd ng-click="showWin(4,menu)" ng-if="!menu.hasShare && menu.templates.length>0 && !menu.source">分享到行业看单模板</dd>
			  				<dd ng-click="doShare(menu)" ng-if="menu.hasShare && !menu.source">取消分享</dd>
			  				<dd ng-click="showWin(3,menu)" ng-if="hasEditPower()">删除该看单</dd>
			  			</dl>
		  			</div>
				</div>
				<div class="dropIcon p" ng-class="{'active':selme1}" ng-click="selme1=!selme1" ng-mouseleave='selme1=false;' ng-show="viewFlag==2 && !menu.shareValid">
		  			<div class="optionList" ng-show="selme1"  style="max-width:100px;width:100px;">
			  			<dl class="dlOperTitle popmenu">
			  				<dd ng-click="doFavoriteByMenu(menu)">取消收藏</dd>
			  			</dl>
		  			</div>
				</div> -->
				
				<h5 class="boxTitle" ng-mouseenter="menu.editShow=true" ng-mouseleave="menu.editShow=false" style="cursor: pointer;padding: 10px 0px;">{{menu.name}}
					<span class="eidtbtn eidt" ng-click="showWin(2,menu)" ng-if="hasEditPower() && viewFlag==1" ng-show="menu.editShow"></span>
					<span ng-if="viewFlag==3" style="color: #999;font-size: 13px;">({{menu.categoryName}})</span>
					<span class="delbtn del right p" ng-click="showWin(3,menu)" ng-if="hasEditPower() && viewFlag==1 && menu.editShow">
					</span>
				</h5>
				<!-- <p class="pinfo" ng-if="viewFlag>1">{{getShareName(menu)}} {{menu.shareDate | date:'yyyy-MM-dd'}}</p> -->
				<div class="snviewWrap hand" ng-click="menuDetail(menu)" ng-if="viewFlag!=2 || menu.shareValid" style="margin-top:10px">
				  <div ng-repeat="temp in menu.templates track by $index" ng-if="$index<(viewFlag==1?4:6)" style="display: inline-block;text-align: center;">
					<div class="snviewItem" ng-class="temp.type?temp.type:temp.menuType">
					</div>
					<div class="nowrap" style="color: #999;width:149px;margin:0px auto;margin-bottom:24px;">{{temp.name}}</div>
				  </div>
				</div>
				<div class="lostInfo" ng-if="viewFlag==2 && !menu.shareValid">
					<span class="wrongIcon"></span>
					已被删除
				</div>
				<div ng-if="menu.templates.length == 0 && viewFlag==1 && !demoU" style="text-align:center;">
				    <span class="emptyImg"></span>
				    <div style="margin-bottom: 20px;color:#999999;">当前还未添加报表</div>
					<div class="iconBtn" ng-click="showWin(6,menu)" style="margin-left:0px;color:#666666;">
				    	<span class="additionIcon"></span>添加报表
				    </div>
			    </div>
			    <div class="boxBottom" ng-if="viewFlag==1" style="display: inline;">
			    	<span class="item">{{menu.createAccountName}}</span>
			    	<span class="item" style="margin-left: 10px;">创建于{{menu.createDate | date:'yyyy-MM-dd'}}</span>
			    </div>
				<div class="boxBottom" ng-if="viewFlag==1">
					<span class="item">共{{menu.templates.length}}张报表</span>
				</div>
				<!-- <div class="boxBottom" ng-if="viewFlag>1">
					<span class="item">{{menu.useNumber}}人使用</span>
					<span class="item">{{menu.favoriteNumber}}人已收藏</span>
					<span class="item">{{menu.matchPercent*100 | numFixed}}%匹配度</span>
				</div> -->
			</div>
		</div>
	</div>
</div>

<!-- 看单详情 -->
<div class="clearfix"  ng-if="pageFlag==4">
	<div class="filterBox clearfix p" style="margin-top: 0px;">
		<div class="left">
			<div class="iconBtn left mr10" style="margin-left: 0px;" ng-click="backToMenu()">
		    	<span class="doBackIcon"></span>返回
		    </div>
			<h5 class="boxTitle left mr10 lh32">
				{{currentMenu.name}}
				<span ng-click="showWin(2,menu)" ng-if="viewFlag==3" style="color: #999;font-size: 13px;">({{currentMenu.categoryName}})
				</span>
			</h5>
			<!-- <p class="pinfo left lh32" style="margin:0px;">({{getShareName(currentMenu)}}&nbsp;&nbsp;{{currentMenu.shareDate | date:'yyyy-MM-dd'}})</p> -->
		</div>
		<!-- <div class="right" ng-if="viewFlag!=1 && currentMenu.accountId!=currentAccountId">
			<div class="iconBtn" ng-click="changeMatchFlag(1)" ng-class="{'active':matchFlag==1}">
		    	<span class="matchIcon"></span>匹配度详情({{currentMenu.matchPercent*100 | numFixed}}%)
		    </div>
		    <div class="iconBtn" ng-class="{'hascollect':currentMenu.hasFavorite}" ng-click="doFavorite()" ng-show="hasEditPower()">
		    	<span class="collectionIcon"></span><span ng-if="currentMenu.hasFavorite">已</span>收藏({{currentMenu.favoriteNumber}})
		    </div>
		     <div class="iconBtn" ng-class="{'hascollect':currentMenu.hasFavorite}" ng-if="!hasEditPower()">
		    	<span class="collectionIcon"></span><span ng-if="currentMenu.hasFavorite">已</span>收藏({{currentMenu.favoriteNumber}})
		    </div>
		    <div class="iconBtn" ng-click="changeMatchFlag(2)" ng-class="{'active':matchFlag==2}" ng-if="!currentMenu.hasUsed && hasEditPower()">
		    	<span class="additionIcon"></span>加入我的看单({{currentMenu.useNumber}})
		    </div>
		    <div class="iconBtn disable" ng-if="currentMenu.hasUsed">
		    	已加入我的看单
		    </div>
		</div> -->
		<my-datepicker class="dateRange rightDate right" init-day="date" ng-show="viewFlag==1"><span>{{datestr}}</span></my-datepicker>
		<div class="right rigthM" style="padding-top: 0px;" ng-show="viewFlag==1">
			<ul class="btnGroup">
				<!-- <li ng-class="{'active':timeFlag=='hour','dis':disTimeFlag.indexOf('hour')>-1}" ng-click="changeTimeFlag('hour')">时</li> -->
				<li ng-class="{'active':timeFlag=='day','dis':disTimeFlag.indexOf('day')>-1}" ng-click="changeTimeFlag('day')" style="padding:8px 15px;">天</li>
				<li ng-class="{'active':timeFlag=='week','dis':disTimeFlag.indexOf('week')>-1}" ng-click="changeTimeFlag('week')" style="padding:8px 15px;">周</li>
				<li ng-class="{'active':timeFlag=='month','dis':disTimeFlag.indexOf('month')>-1}" ng-click="changeTimeFlag('month')" style="padding:8px 15px;">月</li>
			</ul>
		</div>
		<div class="iconBtn right rigthM imgbtn" style="margin-left: 10px;background-color: #ffffff;padding: 8px 10px;" ng-click="changeCount()" title="一行三张表" ng-show="viewFlag==1">
	    	<div ng-class="{'three':(!showCount || showCount==2),'two':showCount==3}"></div>
	    </div>
		<select-list meau-info="menuInfoList" meau-id="menuId" meau-data="menuInit" meau-name="menuInitName" meau-refresh="typef5" style="background-color: #ffffff;float: right;z-index: 4;"></select-list>
		<div class="conditionWin customWin" ng-class="{'c2':matchFlag==1,'c1':false}" ng-show="matchFlag>0">
			<div class="sanicon"></div>
			<div class="condiCont">
				<div class="clearfix mb20" ng-if="matchFlag==2">
					<p class="label" style="margin-bottom: 15px">您正在将“{{currentMenu.name}}”加入您的看单？</p>
					<div class="openBtnGroup clearfix left">
				        <div class="btn8" ng-click="changeMatchFlag(0)"  style="margin-right:20px;display: inline-block;">取消</div>
				        <div class="btn3 lh30 oneCenter mybtn" ng-class="{'disable':!canJoin()}" ng-click="addShareMenu()" style="display: inline-block;">确定</div>
				    </div>
				</div>
				<p class="pinfo">从行业看单模版加入到看单中心的看单，不能再次分享。</p>
				<h5 class="boxTitle mr10 lh32">{{currentMenu.name}}</h5>
				<p class="pinfo lh32" style="margin:0px;">
					匹配度{{currentMenu.matchPercent*100 | numFixed}}%
					<span class="ckblue" ng-click="tds=true" ng-show="!tds && matchFlag==2">查看详情</span>
					<span class="ckblue" ng-click="tds=false" ng-show="tds && matchFlag==2">收起</span>
				</p>
				<div class="tableList" style="background-color: #fff;" ng-show="tds || matchFlag==1">
		            <table>
		                <tr>
		                    <th>{{currentMenu.name}}模板</th>
		                    <th>我的事件对应关系</th>
		                    <th>匹配状态</th>
		                </tr>
		                <tr ng-repeat="template in currentMenu.templates track by $index">
		                    <td>{{template.name}}</td>
		                    <td>
		                    	{{template.eventname}}
		                    	<span class="matchEditIcon ml10" ng-show="matchFlag==2 && !template.isMatch" ng-click="editTemplateEvent(template,$index)"></span>
		                    </td>
		                    <td><span ng-class="{true:'matchOkIcon',false:'matchNoIcon'}[template.isMatch]"></span></td>
		                </tr>
		                
		            </table>
		        </div>
		        <div class="descWrap" style="width:100%;" ng-if="matchFlag==2 && canJoin()">
					<p class="pTitle lh32" style="margin-top: 10px;">
						该操作会自动帮你添加{{getEventTypeCount(currentMenu.templates)}}
						<span class="ckblue" ng-click="tdo=true" ng-show="!tdo">查看详情</span>
						<span class="ckblue" ng-click="tdo=false" ng-show="tdo">收起</span>
					</p>
					<ol class="olList" ng-show="tdo">
						<li ng-repeat="temp in currentMenu.templates track by $index">{{temp.name}}</li>
					</ol>
				</div>
			</div>
		</div>
	</div>

	<div class="conditionAlpha" ng-class="{'topAlp':showEditEvent}" ng-show="matchFlag>0" ng-click="changeMatchFlag(0)"></div>

	<div class="defineBox defineChartBox">
	 <!-- drag-order drag-id="temp.info.id" drag-info="{{temp.info}}" -->
		<div class="defineBoxItem" ng-repeat="temp in chartDatas track by temp.charts.rmd" ng-class-even="'rightLayoutWrap'" ng-style="{'width':showCount==3?'33.333%':''}" >
			<div class="chartBox" style="min-height:455px">
				<!-- <div class="dropIcon p" ng-class="{'active':selme}" ng-click="selme=!selme" ng-mouseleave='selme=false;' ng-show="viewFlag==1 && hasEditPower()">
					<div class="optionList" ng-show="selme"  style="max-width:140px;width:140px;" >
			  			<dl class="dlOperTitle popmenu">
			  				<dd ng-click="reportDetail(temp.info)" ng-if="showMenu(temp.info.menuType) && (!limitInfo.abTest || !limitInfo.abTest.eventstats)">查看详情</dd>
			  				<dd ng-click="showWin(7,temp.info)" ng-if="hasEditPower()">从该看单删除</dd>
			  			</dl>
		  			</div>
				</div> -->
				<div class="delbtn del right p" ng-show="viewFlag==1 && hasEditPower()" ng-click="showWin(7,temp.info)">
				</div>
				<div class="right p mr10" style="z-index: 3;" ng-show="temp.chartList.length>0">
				    <select-list style="margin-top:-5px;height: 31px;line-height: 26px;height:26px;margin-right: 0px;width:80px;background-color:#fbfbfb;color: #666666;border-radius: 0px 3px 3px 0px;border-color: #c9c9c9;" meau-info="temp.chartList" meau-id2="temp.charts.chartTypeId" meau-data="temp.charts.chartTypeInit"></select-list>
				</div>
				<div class="right p" style="z-index: 3;" ng-show="temp.rateList.length>0 || temp.group_List.length>0" ng-mouseleave="showDrop=false">
					<div class="btn" style="margin-top:-5px;height: 31px;line-height:26px;height:26px;margin-right: 0px;background-color:#fbfbfb;color: #666666;border-right: none;border-radius: 3px 0px 0px 3px;border-color: #c9c9c9;" ng-click="showDrop=true;" ng-class="{'active':showDrop}">
					<span class="mr10">{{temp.selectName}}</span>
					<div class="arrowIcon" style="margin-right:0px;margin-top:10px;"></div>
					</div>
					<div class="rateWrap" ng-show="showDrop" style="width: 200px;left: 0px;">
						<ul class="rateInfo" ng-show="temp.group_List.length==0 || temp.charts.chartType=='table'" style="    width: 95%;">
							<li ng-repeat="rate in temp.rateList track  by $index" ng-click="changeRate(temp,rate)" ng-class="{'dis':!canAdd(temp,1,rate)}" title="{{substrName(rate)}}">
								<span class="checkbox" ng-class="{'active':temp.rateListed.indexOf(rate)>-1}"></span>{{substrName(rate)}}
							</li>
						</ul>
						<ul class="rateInfo" ng-show="temp.group_List.length>0 && temp.charts.chartType!='table'" style="    width: 95%;">
						    <li ng-show="temp.group_List.length>1 && temp.charts.chartType=='pie'">
						      <span  ng-click="checkAll(temp)">
						        <span class="checkbox" ng-class="{'active':temp.ischeckall}" style="margin-right: 6px;"></span>全选
						      </span>
						    </li>
							<li ng-repeat="group in temp.group_List track  by $index" ng-click="changeGroup(temp,group)" ng-class="{'dis':!canAdd(temp,2,group)}" title="{{group}}">
								<span class="checkbox" ng-class="{'active':temp.grouped_List.indexOf(group)>-1}"></span>{{group}}
							</li>
						</ul>
					</div>
				</div>
				<h5 class="boxTitle" style="cursor: pointer;"><span ng-click="gotoDetail(temp.info)">{{temp.info.name}}</span></h5>
				<div style="height: 80px;text-align: center;">
				    <div ng-if="temp.info.menuType=='eventstats' && (temp.charts.chartType=='columnstack' || temp.charts.chartType=='line')" style="height:100%;">
					    <div class="tipDate" ng-if="temp.tooltipChart.length>0">{{temp.tooltipChart[0].name}}</div>
						<span ng-repeat="t in temp.tooltipChart track by $index" ng-if="showCount==3?$index<3:$index<4" style="text-align: center;">
							<div class="tipVal" ng-style="{'color':t.color,'margin-right':!$last?'20px':''}">
							   {{getFormatNumber(t.value)}}{{temp.charts.chartConfig.namesub[$index]}}
							   <div class="chartTip" ng-style="getTipWidth(temp)" title="{{t.seriesName}}">
							   		{{t.seriesName}}
							   </div>
							</div>
						</span>
					</div>
					<div ng-if="temp.charts.chartType=='table' && temp.group_List.length>0" style="text-align:center;">
					    <select-list style="margin-top:40px;height: 31px;line-height: 26px;margin-right: 0px;width:110px;background-color:#ffffff;border:none;height: 100%;" class="dsSelect" meau-info="temp.dsList" meau-id2="temp.dsId" meau-data="temp.dsInit" icon-type="blue" ng-style="{'width':timeFlag!='day'?'185px':'120px'}"></select-list>
					</div>
				</div>
				<min-chart ng-if="temp.charts.chartType!='table'" chart-data="temp.charts.chartData" chart-tp="temp.charts.chartType" chart-config="temp.charts.chartConfig" chart-loading="temp.charts.chartLoading" chart-back="temp.charts.rmd"></min-chart>
				<div style="color:#999;font-size: 12px;text-align: center;margin-top:-20px;" ng-if="temp.charts.chartType=='pie'">
        			<span ng-show="!temp.charts.chartLoading">{{substrName(temp.charts.chartData.key[0])}}</span>
        		</div>
		        <div class="chartWrap clearfix" ng-if="temp.charts.chartType=='table'">
		            <div class="chartWrapItem">
		                <is-loading ng-if="channeltopLoading"></is-loading>
		                <div class="fixedTable" ng-show="!channeltopLoading" big-table fixed-col="1" info-list="temp.infoList" fix-change="temp.fixrefresh" initf5="temp.initrefresh" no-all-scroll="true">
		                    <div class="tableHeader">
		                        <table>
		                            <tr>
		                                <th ng-repeat="title in temp.trendList.name track by $index">
		                                    <div id="title_{{$index}}" ng-style="temp.colsStyle[$index]" class="tditem" style="height:23px;line-height:23px;">
		                                        {{title}}
		                                        <span class="sortWrap" ng-click="temp.reverse=!temp.reverse;orderCol(temp,temp.trendList.columnkey[$index], temp.reverse)">
		                                            <span class="ascIcon" ng-class="{'active':temp.sortCol==temp.trendList.columnkey[$index] && !temp.reverse}"></span>
		                                            <span class="descIcon" ng-class="{'active':temp.sortCol==temp.trendList.columnkey[$index] && temp.reverse}"></span>
		                                        </span>
		                                    </div>
		                                </th>
		                            </tr>
		                        </table>
		                    </div>
		                    <div class="tableInfo" style="max-height:234px;min-height:234px;">
		                        <table>
		                            <tr ng-repeat="info in temp.infoList | filter:{'ds':temp.ds} | limitTo:100 track by $index">
		                                <td ng-repeat="col in temp.trendList.columnkey track by $index ">
		                                  <div ng-style="temp.colsStyle[0]" class="tditem" ng-if="$index==0" style="height:23px;line-height:23px;">
		                                    {{info[col]}}
		                                  </div>
		                                  <div ng-style="temp.colsStyle[$index]" class="tditem" ng-if="$index>0" style="height:23px;line-height:23px;">
		                                    {{info[col] | formatRate:col:temp.trendList.format}}
		                                  </div>
		                                </td>
		                            </tr>
		                        </table>
		                    </div>
		                </div>
		            </div>
		        </div>
				<div class="boxBottom" ng-if="viewFlag!=1" style="top:430px;color: #00a9e8;cursor: pointer;" ng-click="showDetail(temp)" stop-event>埋点及规则</div>
			</div>
		</div>
		<div class="defineBoxItem" ng-class="{'disReport':chartDatas.length>=8}" ng-if="viewFlag<=1 && hasEditPower()" ng-style="{'width':showCount==3?'33.333%':''}">
			<div class="chartBox hand" ng-click="showWin(6)" title="{{getMaxTips()}}" style="min-height:455px">
				<div class="addReportIcon"></div>
				<div class="addReportIconDesc">创建新表单</div>
			</div>
		</div>
	</div>
</div>


<div class="openTipWin" ng-show="winFlag==3 || winFlag==7">
    <div class="closeGray" ng-click="closeWin()"></div>
    <div class="tipCont">
        是否删除&nbsp;&nbsp;“{{delname}}”&nbsp;&nbsp;<span ng-if="winFlag==3">看单</span><span ng-if="winFlag==7">报表</span>？
    </div>
    <div class="openBtnGroup clearfix">
        <div class="btn8 mr20" ng-click="closeWin()">取消</div>
        <div class="btn8" ng-click="doDelete(winFlag)">确定</div>
    </div>
</div>
<div class="openTipWin" ng-show="winFlag==1 || winFlag==2"> 
    <div class="closeGray" ng-click="closeWin()"></div>
    <div class="tipCont" style="text-align: left;padding-bottom: 30px;">
        <p>请输入您想添加看单的名称：</p>
        <div>
        	<input type="text" class="iptform" ng-model="ename" style="width:300px;" placeholder="最多输入12个汉字">
        	<div class="btn5 ml10 btnblock conwidth" ng-click="saveMenu()">确定</div>
        </div>
    </div>
</div>
<div class="openTipWin" ng-if="winFlag==4">
    <div class="closeGray" ng-click="closeWin()"></div>
    <div class="tipCont">
        您正在将您的看单&nbsp;&nbsp;“{{mname}}”&nbsp;&nbsp;分享为“行业看单”？
    </div>
    <div class="openBtnGroup clearfix">
        <div class="btn8 mr20" ng-click="closeWin()">取消</div>
        <div class="btn8" ng-click="doShare()">确定</div>
    </div>
    <div class="descWrap">
		<p class="pTitle">分享“行业看单模板”后：</p>
		<ol class="olList normal mb20">
			<li>您的看单将会展示在行业看单模版。</li>
			<li>该操作不会透漏您的数据隐私，数据展示时，会随机乘于一个阿尔法值，该值范围为0.01到100。</li>
		</ol>
	</div>
</div>
<div class="openTipWin" ng-if="winFlag==5">
    <div class="closeGray" ng-click="closeWin()"></div>
    <div class="tipCont">
        <div class="finshedWrap" style="margin:0px;">
			<span class="finshedIcon"></span>
			<span class="finshLabel">已成功加入我的看单</span>
		</div>
    </div>
    <div class="openBtnGroup clearfix" style="width:220px;">
        <div class="btn3 lh30 mr20" ng-click="lookMyMenu(2)">查看我的看单</div>
        <div class="btn8" ng-click="closeWin(1)" style="width:100px;">返回到分享页</div>
    </div>
    <div class="descWrap">
		<p class="pTitle">该操作会自动帮你添加{{getEventTypeCount(currentMenu.templates)}}</p>
		<ol class="olList mb20">
			<li ng-repeat="temp in currentMenu.templates track by $index">{{temp.name}}</li>
		</ol>
	</div>
</div>
<div class="openTipWin" ng-if="winFlag==6"> 
    <div class="closeGray" ng-click="closeWin()"></div>
    <div class="tipCont" style="text-align: left;padding-bottom: 30px;">
        <p>请选择看单类型：</p>
        <div class="customType">
        	<div class="iconBtn" ng-class="{'active':customTypeFlag==1}" ng-click="changeCustomFlag(1)">
		    	<span class="customEventIcon"></span>事件
		    </div>
        	<div class="iconBtn" ng-class="{'active':customTypeFlag==2}" ng-click="changeCustomFlag(2)">
		    	<span class="customRetentionIcon"></span>留存
		    </div>
		    <div class="iconBtn" ng-class="{'active':customTypeFlag==3}" ng-click="changeCustomFlag(3)">
		    	<span class="customFunnelIcon"></span>漏斗
		    </div>
        </div>
        <div style="margin-bottom: 40px;">
        	<select-list meau-info="typeList" meau-id="typeId" meau-data="typeinit" meau-name="typeInitname" meau-refresh="typef5" style="width:230px;"></select-list>
        </div>
        <div class="btn3 lh30 oneCenter" ng-click="addReport()">确定</div>
    </div>
</div>

<custom-event type="currentTemplate.menuType" event-list="eventList" old-info="currentTemplate.jsonCondition" ng-if="showEditEvent"></custom-event>
<div class="leftTipsSlider" ng-class="{'sliderSw1':isdetail}" stop-event>
	    <div class="slideHeader" style="height: 44px;line-height: 44px;">
	        {{custitle}}分析事件埋点及规则
	        <div class="whiteClose" ng-click="hideDetail()"></div>
	    </div>
	    <div style="height:93%;overflow-y: auto;">
		    <div ng-if="detailInfo.conversion" style="margin-left: 28px;margin-top: 20px;">
		    	<h3>转化有效期：{{detailInfo.conversion}}</h3>
		    </div>
		    <div class="spetableList ml30 mr5" ng-repeat="detail in detailInfo.data track by $index">
		        <div class="mt20 mb10"><h3>{{detail.name}}</h3></div>
		        <table>
		            <tr ng-if="detail.name!='分组查看维度'">
		                <th ng-repeat="title in detail.key track by $index">
		                    {{title}}
		                </th>
		            </tr>
		            <tr ng-repeat="info in detail.value track by $index">
		                <td ng-repeat="col in detail.key track by $index">
		                      {{info[$index]}}
		                </td>
		            </tr>
		        </table>
		    </div>
    	</div>
</div>