zoneIndex.vue.wxml
9.96 KB
<import src="/components/ageChart.vue.wxml" /><import src="/components/stackBarChart.vue.wxml" /><import src="/components/lineChart.vue.wxml" /><template name="2d3f11cf"><view class="_view 2d3f11cf"><view class="_div 2d3f11cf" style=" {{('height:' + (navheight + 'px') + ';' + 'background:' + '#0069FF' + ';')}}"></view><view class="_view 2d3f11cf indexNav"><label class="_span 2d3f11cf selectReport" bindtap="handleProxy" data-eventid="{{'2d3f11cf-0'}}" data-comkey="{{$k}}">日期</label>{{title}}<image src="../../static/index/searchIcon.png" mode class="_image 2d3f11cf searchIcon" bindtap="handleProxy" data-eventid="{{'2d3f11cf-1'}}" data-comkey="{{$k}}"></image><label class="_span 2d3f11cf searchBtn" bindtap="handleProxy" data-eventid="{{'2d3f11cf-2'}}" data-comkey="{{$k}}">门店</label></view><view id="minirefresh" class="_div 2d3f11cf minirefresh-wrap" style=" {{('top:' + (scrollTop + 'px') + ';')}}"><view class="_div 2d3f11cf minirefresh-scroll"><view class="_view 2d3f11cf _blank"><text class="_text 2d3f11cf dateBox">{{dateText}}</text></view><view class="_div 2d3f11cf dataBox" wx:if="{{reportType=='day'}}"><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">当日客流</view><view class="_div 2d3f11cf num">{{headData.accumulativeTraffic}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">有效客流</view><view class="_div 2d3f11cf num">{{headData.effectiveTraffic}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">进店率</view><view class="_div 2d3f11cf num">{{headData.enteringRate}}</view><view class="_div 2d3f11cf unit">%</view></label></label><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">滞留时间</view><view class="_div 2d3f11cf num">{{headData.durationTime}}</view><view class="_div 2d3f11cf unit">分</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">客流密度</view><view class="_div 2d3f11cf num">{{headData.midu}}</view><view class="_div 2d3f11cf unit">人次/平米</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">上周同期</view><view class="_div 2d3f11cf num">{{headData.comparedInnum}}</view><view class="_div 2d3f11cf unit">%</view></label></label></view><view class="_div 2d3f11cf dataBox" wx:if="{{reportType=='week'}}"><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">本周客流量</view><view class="_div 2d3f11cf num">{{weekHeadData.accumulativeTraffic}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">进店率</view><view class="_div 2d3f11cf num">{{weekHeadData.enteringRate}}</view><view class="_div 2d3f11cf unit">%</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">滞留时间</view><view class="_div 2d3f11cf num">{{weekHeadData.durationTime}}</view><view class="_div 2d3f11cf unit">%</view></label></label><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">日均客流</view><view class="_div 2d3f11cf num">{{weekHeadData.averageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">工作日平均客流</view><view class="_div 2d3f11cf num">{{weekHeadData.workdayAverageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">双休日平均客流</view><view class="_div 2d3f11cf num">{{weekHeadData.weekendAverageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label></label></view><view class="_div 2d3f11cf dataBox" wx:if="{{reportType=='month'}}"><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">本月客流量</view><view class="_div 2d3f11cf num">{{monthHeadData.accumulativeTraffic}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">进店率</view><view class="_div 2d3f11cf num">{{monthHeadData.enteringRate}}</view><view class="_div 2d3f11cf unit">%</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">滞留时间</view><view class="_div 2d3f11cf num">{{monthHeadData.durationTime}}</view><view class="_div 2d3f11cf unit">分</view></label></label><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">日均客流</view><view class="_div 2d3f11cf num">{{monthHeadData.averageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">工作日平均客流</view><view class="_div 2d3f11cf num">{{monthHeadData.workdayAverageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">双休日平均客流</view><view class="_div 2d3f11cf num">{{monthHeadData.weekendAverageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label></label></view><view class="_div 2d3f11cf dataBox" wx:if="{{reportType=='year'}}"><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">年度客流</view><view class="_div 2d3f11cf num">{{yearHeadData.accumulativeTraffic}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">进店率</view><view class="_div 2d3f11cf num">{{yearHeadData.enteringRate}}</view><view class="_div 2d3f11cf unit">%</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">滞留时间</view><view class="_div 2d3f11cf num">{{yearHeadData.durationTime}}</view><view class="_div 2d3f11cf unit">分</view></label></label><label class="_span 2d3f11cf flexBox"><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">日均客流</view><view class="_div 2d3f11cf num">{{yearHeadData.averageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">工作日平均客流</view><view class="_div 2d3f11cf num">{{yearHeadData.workdayAverageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label><label class="_span 2d3f11cf boxs"><view class="_div 2d3f11cf littleTit">双休日平均客流</view><view class="_div 2d3f11cf num">{{yearHeadData.weekendAverageInnum}}</view><view class="_div 2d3f11cf unit">人次</view></label></label></view><template wx:if="{{reportType=='day'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-0'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='day'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-1'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='day'}}" bind-id="hourTrafficTrend" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-2'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="accumulativeTraffic" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-3'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="trafficTrend7" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-4'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='week'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-5'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='week'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-6'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='week'}}" bind-id="trafficTrend" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-7'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='month'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-8'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='month'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-9'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='month'}}" bind-id="trafficTrend" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-10'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='year'}}" bind-id="customerfeature_gender" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-11'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='year'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-12'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='year'}}" bind-id="trafficTrend" data="{{...$root['0'], ...$root[$kk+'2d3f11cf-13'],$root}}" is="40fc0040"></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="{{'2d3f11cf-7'}}" data-comkey="{{$k}}" class="_awesome-picker 2d3f11cf"><view class="_div 2d3f11cf typeBox"><label bindtap="handleProxy" data-eventid="{{'2d3f11cf-3'}}" data-comkey="{{$k}}" class="_span 2d3f11cf {{[currentDateType == 'day' ? 'activeDateType' : '']}}">日</label><label bindtap="handleProxy" data-eventid="{{'2d3f11cf-4'}}" data-comkey="{{$k}}" class="_span 2d3f11cf {{[currentDateType == 'week' ? 'activeDateType' : '']}}">周</label><label bindtap="handleProxy" data-eventid="{{'2d3f11cf-5'}}" data-comkey="{{$k}}" class="_span 2d3f11cf {{[currentDateType == 'month' ? 'activeDateType' : '']}}">月</label><label bindtap="handleProxy" data-eventid="{{'2d3f11cf-6'}}" data-comkey="{{$k}}" class="_span 2d3f11cf {{[currentDateType == 'year' ? 'activeDateType' : '']}}">年</label></view></awesome-picker></view></template>