mallIndex.vue.wxml
10 KB
<import src="/components/ageChart.vue.wxml" /><import src="/components/lineChart.vue.wxml" /><import src="/components/stackBarChart.vue.wxml" /><template name="cccb1f32"><view class="_view cccb1f32"><view class="_div cccb1f32" style=" {{('height:' + (navheight + 'px') + ';' + 'background:' + '#0069FF' + ';')}}"></view><view class="_view cccb1f32 indexNav"><label class="_span cccb1f32 selectReport" bindtap="handleProxy" data-eventid="{{'cccb1f32-0'}}" data-comkey="{{$k}}">日期</label>{{title}}<image src="../../static/index/searchIcon.png" mode class="_image cccb1f32 searchIcon" bindtap="handleProxy" data-eventid="{{'cccb1f32-1'}}" data-comkey="{{$k}}"></image><label class="_span cccb1f32 searchBtn" bindtap="handleProxy" data-eventid="{{'cccb1f32-2'}}" data-comkey="{{$k}}">{{this.$t('index').store}}</label></view><view id="minirefresh" class="_div cccb1f32 minirefresh-wrap" style=" {{('top:' + (scrollTop + 'px') + ';')}}"><view class="_div cccb1f32 minirefresh-scroll"><view class="_view cccb1f32 _blank"><text class="_text cccb1f32 dateBox">{{dateText}}</text></view><view class="_div cccb1f32 dataBox" wx:if="{{reportType=='day'}}"><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">当日客流</view><view class="_div cccb1f32 num">{{headData.dayInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">有效客流</view><view class="_div cccb1f32 num">{{headData.effectiveTraffic}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">昨日客流</view><view class="_div cccb1f32 num">{{headData.mallYesterdayInnum}}</view><view class="_div cccb1f32 unit">人次</view></label></label><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">上周同期</view><view class="_div cccb1f32 num">{{headData.mallLastweekInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">去年同期</view><view class="_div cccb1f32 num">{{headData.mallLastyearInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">门店面积</view><view class="_div cccb1f32 num">{{headData.mallArea}}</view><view class="_div cccb1f32 unit">平米</view></label></label></view><view class="_div cccb1f32 dataBox" wx:if="{{reportType=='week'}}"><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">本周客流量</view><view class="_div cccb1f32 num">{{weekHeadData.dayInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">有效客流</view><view class="_div cccb1f32 num">{{weekHeadData.effectiveTraffic}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">日均客流</view><view class="_div cccb1f32 num">{{weekHeadData.averageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label></label><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">工作日平均客流量</view><view class="_div cccb1f32 num">{{weekHeadData.workdayAverageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">双休日平均客流量</view><view class="_div cccb1f32 num">{{weekHeadData.weekendAverageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">上周同期</view><view class="_div cccb1f32 num">{{weekHeadData.lastweekInnum}}</view><view class="_div cccb1f32 unit">人次</view></label></label></view><view class="_div cccb1f32 dataBox" wx:if="{{reportType=='month'}}"><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">本月客流量</view><view class="_div cccb1f32 num">{{monthHeadData.dayInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">有效客流</view><view class="_div cccb1f32 num">{{monthHeadData.effectiveTraffic}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">日均客流</view><view class="_div cccb1f32 num">{{monthHeadData.averageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label></label><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">工作日平均客流量</view><view class="_div cccb1f32 num">{{monthHeadData.workdayAverageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">双休日平均客流量</view><view class="_div cccb1f32 num">{{monthHeadData.weekendAverageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">上月同期</view><view class="_div cccb1f32 num">{{monthHeadData.lastMonthInnum}}</view><view class="_div cccb1f32 unit">人次</view></label></label></view><view class="_div cccb1f32 dataBox" wx:if="{{reportType=='year'}}"><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">年度客流量</view><view class="_div cccb1f32 num">{{yearHeadData.dayInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">有效客流</view><view class="_div cccb1f32 num">{{yearHeadData.effectiveTraffic}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">日均客流</view><view class="_div cccb1f32 num">{{yearHeadData.averageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label></label><label class="_span cccb1f32 flexBox"><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">工作日平均客流量</view><view class="_div cccb1f32 num">{{yearHeadData.workdayAverageInnum}}</view><view class="_div cccb1f32 unit">人次</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">双休日平均客流量</view><view class="_div cccb1f32 num">{{yearHeadData.weekendAverageInnum}}</view><view class="_div cccb1f32 unit">%</view></label><label class="_span cccb1f32 boxs"><view class="_div cccb1f32 littleTit">去年同期</view><view class="_div cccb1f32 num">{{yearHeadData.lastYearInnum}}</view><view class="_div cccb1f32 unit">人次</view></label></label></view><template wx:if="{{reportType=='day'}}" bind-id="customerfeature_denger" data="{{...$root['0'], ...$root[$kk+'cccb1f32-0'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='day'}}" bind-id="customercounting" data="{{...$root['0'], ...$root[$kk+'cccb1f32-1'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="customeradd" data="{{...$root['0'], ...$root[$kk+'cccb1f32-2'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="trend15" data="{{...$root['0'], ...$root[$kk+'cccb1f32-3'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='day'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'cccb1f32-4'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='week'}}" bind-id="customerfeature_denger" data="{{...$root['0'], ...$root[$kk+'cccb1f32-5'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='week'}}" bind-id="trafficAndSaleTrend" data="{{...$root['0'], ...$root[$kk+'cccb1f32-6'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='week'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'cccb1f32-7'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='month'}}" bind-id="customerfeature_denger" data="{{...$root['0'], ...$root[$kk+'cccb1f32-8'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='month'}}" bind-id="trafficAndSaleTrend" data="{{...$root['0'], ...$root[$kk+'cccb1f32-9'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='month'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'cccb1f32-10'],$root}}" is="6b8952c9"></template><template wx:if="{{reportType=='year'}}" bind-id="customerfeature_denger" data="{{...$root['0'], ...$root[$kk+'cccb1f32-11'],$root}}" is="6826fbc9"></template><template wx:if="{{reportType=='year'}}" bind-id="trafficAndSaleTrend" data="{{...$root['0'], ...$root[$kk+'cccb1f32-12'],$root}}" is="40fc0040"></template><template wx:if="{{reportType=='year'}}" bind-id="customerfeature_age" data="{{...$root['0'], ...$root[$kk+'cccb1f32-13'],$root}}" is="6b8952c9"></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="{{'cccb1f32-7'}}" data-comkey="{{$k}}" class="_awesome-picker cccb1f32"><view class="_div cccb1f32 typeBox"><label bindtap="handleProxy" data-eventid="{{'cccb1f32-3'}}" data-comkey="{{$k}}" class="_span cccb1f32 {{[currentDateType == 'day' ? 'activeDateType' : '']}}">日</label><label bindtap="handleProxy" data-eventid="{{'cccb1f32-4'}}" data-comkey="{{$k}}" class="_span cccb1f32 {{[currentDateType == 'week' ? 'activeDateType' : '']}}">周</label><label bindtap="handleProxy" data-eventid="{{'cccb1f32-5'}}" data-comkey="{{$k}}" class="_span cccb1f32 {{[currentDateType == 'month' ? 'activeDateType' : '']}}">月</label><label bindtap="handleProxy" data-eventid="{{'cccb1f32-6'}}" data-comkey="{{$k}}" class="_span cccb1f32 {{[currentDateType == 'year' ? 'activeDateType' : '']}}">年</label></view></awesome-picker></view></template>