floorIndex.vue.wxml 11.2 KB
<import src="/components/ageChart.vue.wxml" /><import src="/components/stackBarChart.vue.wxml" /><import src="/components/lineChart.vue.wxml" /><import src="/components/rankChart.vue.wxml" /><template name="64ea53fd"><view class="_view 64ea53fd"><view class="_div 64ea53fd" style=" {{('height:' + (navheight + 'px') + ';' + 'background:' + '#0069FF' + ';')}}"></view><view class="_view 64ea53fd indexNav"><label class="_span 64ea53fd selectReport" bindtap="handleProxy" data-eventid="{{'64ea53fd-0'}}" data-comkey="{{$k}}">日期</label>{{title}}<image src="../../static/index/searchIcon.png" mode class="_image 64ea53fd searchIcon" bindtap="handleProxy" data-eventid="{{'64ea53fd-1'}}" data-comkey="{{$k}}"></image><label class="_span 64ea53fd searchBtn" bindtap="handleProxy" data-eventid="{{'64ea53fd-2'}}" data-comkey="{{$k}}">门店</label></view><view id="minirefresh" class="_div 64ea53fd minirefresh-wrap" style=" {{('top:' + (scrollTop + 'px') + ';')}}"><view class="_div 64ea53fd minirefresh-scroll"><view class="_view 64ea53fd _blank"><text class="_text 64ea53fd dateBox">{{dateText}}</text></view><view class="_div 64ea53fd dataBox" wx:if="{{reportType=='day'}}"><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">当日客流</view><view class="_div 64ea53fd num">{{headData.accumulativeTraffic}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流占比</view><view class="_div 64ea53fd num">{{headData.trafficRatio}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流密度</view><view class="_div 64ea53fd num">{{headData.midu}}</view><view class="_div 64ea53fd unit">人次/平米</view></label></label><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">业态数</view><view class="_div 64ea53fd num">{{headData.formatNum}}</view><view class="_div 64ea53fd unit">%</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">区域数</view><view class="_div 64ea53fd num">{{headData.storeNum}}</view><view class="_div 64ea53fd unit">个</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">出入口个数</view><view class="_div 64ea53fd num">{{headData.gateNum}}</view><view class="_div 64ea53fd unit">个</view></label></label></view><view class="_div 64ea53fd dataBox" wx:if="{{reportType=='week'}}"><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">本周客流量</view><view class="_div 64ea53fd num">{{weekHeadData.accumulativeTraffic}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流占比</view><view class="_div 64ea53fd num">{{weekHeadData.trafficRatio}}</view><view class="_div 64ea53fd unit">%</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">日均客流</view><view class="_div 64ea53fd num">{{weekHeadData.averageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label></label><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流密度</view><view class="_div 64ea53fd num">{{weekHeadData.midu}}</view><view class="_div 64ea53fd unit">人次/平米</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">工作日平均客流</view><view class="_div 64ea53fd num">{{weekHeadData.workdayAverageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">双休日平均客流</view><view class="_div 64ea53fd num">{{weekHeadData.weekendAverageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label></label></view><view class="_div 64ea53fd dataBox" wx:if="{{reportType=='month'}}"><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">本月客流量</view><view class="_div 64ea53fd num">{{monthHeadData.accumulativeTraffic}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流占比</view><view class="_div 64ea53fd num">{{monthHeadData.trafficRatio}}</view><view class="_div 64ea53fd unit">%</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">日均客流</view><view class="_div 64ea53fd num">{{monthHeadData.averageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label></label><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流密度</view><view class="_div 64ea53fd num">{{monthHeadData.midu}}</view><view class="_div 64ea53fd unit">人次/平米</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">工作日平均客流</view><view class="_div 64ea53fd num">{{monthHeadData.workdayAverageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">双休日平均客流</view><view class="_div 64ea53fd num">{{monthHeadData.weekendAverageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label></label></view><view class="_div 64ea53fd dataBox" wx:if="{{reportType=='year'}}"><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">年度客流</view><view class="_div 64ea53fd num">{{yearHeadData.accumulativeTraffic}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流占比</view><view class="_div 64ea53fd num">{{yearHeadData.trafficRatio}}</view><view class="_div 64ea53fd unit">%</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">日均客流</view><view class="_div 64ea53fd num">{{yearHeadData.averageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label></label><label class="_span 64ea53fd flexBox"><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">客流密度</view><view class="_div 64ea53fd num">{{yearHeadData.midu}}</view><view class="_div 64ea53fd unit">人次/平米</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">工作日平均客流</view><view class="_div 64ea53fd num">{{yearHeadData.workdayAverageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label><label class="_span 64ea53fd boxs"><view class="_div 64ea53fd littleTit">双休日平均客流</view><view class="_div 64ea53fd num">{{yearHeadData.weekendAverageInnum}}</view><view class="_div 64ea53fd unit">人次</view></label></label></view><template wx:if="{{reportType=='day'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'64ea53fd-0'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='day'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'64ea53fd-1'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='day'}}" bind-id="hourTrafficTrend" data="{{...$root['0'], ...$root[$kk+'64ea53fd-2'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="affumulativeTraffic" data="{{...$root['0'], ...$root[$kk+'64ea53fd-3'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="trafficAndSaleTrend15" data="{{...$root['0'], ...$root[$kk+'64ea53fd-4'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="trafficRank" data="{{...$root['0'], ...$root[$kk+'64ea53fd-5'],$root}}" is="245046a8"></template><template wx:if="{{reportType=='day'}}" bind-id="gateTraffic" data="{{...$root['0'], ...$root[$kk+'64ea53fd-6'],$root}}" is="245046a8"></template><template wx:if="{{reportType=='week'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'64ea53fd-7'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='week'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'64ea53fd-8'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='week'}}" bind-id="trafficAndSaleTrend" data="{{...$root['0'], ...$root[$kk+'64ea53fd-9'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='week'}}" bind-id="trafficRank" data="{{...$root['0'], ...$root[$kk+'64ea53fd-10'],$root}}" is="245046a8"></template><template wx:if="{{reportType=='week'}}" bind-id="gateTraffic" data="{{...$root['0'], ...$root[$kk+'64ea53fd-11'],$root}}" is="245046a8"></template><template wx:if="{{reportType=='month'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'64ea53fd-12'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='month'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'64ea53fd-13'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='month'}}" bind-id="trafficAndSaleTrend" data="{{...$root['0'], ...$root[$kk+'64ea53fd-14'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='month'}}" bind-id="trafficRank" data="{{...$root['0'], ...$root[$kk+'64ea53fd-15'],$root}}" is="245046a8"></template><template wx:if="{{reportType=='month'}}" bind-id="gateTraffic" data="{{...$root['0'], ...$root[$kk+'64ea53fd-16'],$root}}" is="245046a8"></template><template wx:if="{{reportType=='year'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'64ea53fd-17'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='year'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'64ea53fd-18'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='year'}}" bind-id="trafficAndSaleTrend" data="{{...$root['0'], ...$root[$kk+'64ea53fd-19'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='year'}}" bind-id="trafficRank" data="{{...$root['0'], ...$root[$kk+'64ea53fd-20'],$root}}" is="245046a8"></template><template wx:if="{{reportType=='year'}}" bind-id="gateTraffic" data="{{...$root['0'], ...$root[$kk+'64ea53fd-21'],$root}}" is="245046a8"></template></view></view><awesome-picker ref="picker" data="{{dateData}}" textConfirm="{{picker.textConfirm}}" colorConfirm="{{picker.colorConfirm}}" textCancel="{{picker.textCancel}}" colorCancel="{{picker.colorCancel}}" anchor="{{currentDate}}" bindconfirm="handleProxy" data-eventid="{{'64ea53fd-7'}}" data-comkey="{{$k}}" class="_awesome-picker 64ea53fd"><view class="_div 64ea53fd typeBox"><label bindtap="handleProxy" data-eventid="{{'64ea53fd-3'}}" data-comkey="{{$k}}" class="_span 64ea53fd {{[currentDateType == 'day' ? 'activeDateType' : '']}}">日</label><label bindtap="handleProxy" data-eventid="{{'64ea53fd-4'}}" data-comkey="{{$k}}" class="_span 64ea53fd {{[currentDateType == 'week' ? 'activeDateType' : '']}}">周</label><label bindtap="handleProxy" data-eventid="{{'64ea53fd-5'}}" data-comkey="{{$k}}" class="_span 64ea53fd {{[currentDateType == 'month' ? 'activeDateType' : '']}}">月</label><label bindtap="handleProxy" data-eventid="{{'64ea53fd-6'}}" data-comkey="{{$k}}" class="_span 64ea53fd {{[currentDateType == 'year' ? 'activeDateType' : '']}}">年</label></view></awesome-picker></view></template>