Commit 62ace672 by 李君

删除未用路由

1 parent db354d8a
...@@ -24,27 +24,31 @@ Page({ ...@@ -24,27 +24,31 @@ Page({
icon: '2', icon: '2',
path: '/pages/zong/contrast/index' path: '/pages/zong/contrast/index'
}, },
{ // {
name: '排行榜', // name: '排行榜',
icon: '3', // icon: '3',
path: '/pages/zong/ranking/index' // path: '/pages/zong/ranking/index'
}, // },
{ // {
name: '同环比', // name: '同环比',
icon: '4', // icon: '4',
path: '/pages/zong/sequential/index' // path: '/pages/zong/sequential/index'
}, // },
{ // {
name: '时段客流', // name: '时段客流',
icon: '5', // icon: '5',
path: '/pages/zong/timeTravel/index' // path: '/pages/zong/timeTravel/index'
}, // },
{ {
name: '节假日客流', name: '节假日客流',
icon: '6', icon: '6',
path: '/pages/zong/holiday-comparison/index' path: '/pages/zong/holiday-comparison/index'
}, },
{
name: '进店率',
icon: '7',
path: '/pages/zong/entry-rate/index'
}
], ],
tourItems:[{ tourItems:[{
id:1, id:1,
...@@ -81,12 +85,8 @@ Page({ ...@@ -81,12 +85,8 @@ Page({
const deploymentType = wx.getStorageSync('deploymentType'); const deploymentType = wx.getStorageSync('deploymentType');
const { menuItems } = this.data const { menuItems } = this.data
if (deploymentType === 'store') { if (deploymentType === 'store') {
menuItems.push({
name: '进店率', // this.setData({ menuItems })
icon: '7',
path: '/pages/zong/entry-rate/index'
})
this.setData({ menuItems })
} }
}, },
onShow:function(){ onShow:function(){
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</view> --> </view> -->
<!-- 店内分析 E --> <!-- 店内分析 E -->
<!-- 巡店管理 S --> <!-- 巡店管理 S -->
<view class="watch part"> <!-- <view class="watch part">
<view class="title">巡店管理</view> <view class="title">巡店管理</view>
<view class="list"> <view class="list">
<view wx:for="{{tourItems}}" wx:for-index="index" wx:for-item="n" wx:key="index" class="item" bindtap="goOtherPage" data-value="{{n}}"> <view wx:for="{{tourItems}}" wx:for-index="index" wx:for-item="n" wx:key="index" class="item" bindtap="goOtherPage" data-value="{{n}}">
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<view class="dot" wx:if="{{n.dot}}"></view> <view class="dot" wx:if="{{n.dot}}"></view>
</view> </view>
</view> </view>
</view> </view> -->
<!-- 巡店管理 E <!-- 巡店管理 E
<!-- 员工管理 S --> <!-- 员工管理 S -->
<!-- <view class="worker part"> <!-- <view class="worker part">
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<van-tab title="客流量" name="account_passenger_flow"></van-tab> <van-tab title="客流量" name="account_passenger_flow"></van-tab>
<van-tab title="进店率" name="account_entry_rate_average"></van-tab> <van-tab title="进店率" name="account_entry_rate_average"></van-tab>
<van-tab title="停留时长" name="account_custom_residence_time"></van-tab> <van-tab title="停留时长" name="account_custom_residence_time"></van-tab>
<van-tab title="销售额" disabled name="4"></van-tab> <!-- <van-tab title="销售额" disabled name="4"></van-tab> -->
</van-tabs> </van-tabs>
</view> </view>
<view class="~echart-item-content"> <view class="~echart-item-content">
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
</view> </view>
<!-- 停留时长分布 S --> <!-- 停留时长分布 S -->
<!-- 全国商场排名 --> <!-- 全国商场排名 -->
<view class="~echart-item"> <!-- <view class="~echart-item">
<view class="~echart-item-title"> <view class="~echart-item-title">
<view>{{ deploymentType === 'store' ? '门店排名' : '商场排名' }}</view> <view>{{ deploymentType === 'store' ? '门店排名' : '商场排名' }}</view>
</view> </view>
...@@ -73,11 +73,11 @@ ...@@ -73,11 +73,11 @@
<van-tab title="客流量" name="total_passenger"></van-tab> <van-tab title="客流量" name="total_passenger"></van-tab>
<van-tab title="进店率" name="avg_entry_rate"></van-tab> <van-tab title="进店率" name="avg_entry_rate"></van-tab>
<van-tab title="停留时长" name="custom_residence_time"></van-tab> <van-tab title="停留时长" name="custom_residence_time"></van-tab>
<!-- <van-tab title="销售额" disabled name="4"></van-tab> --> <van-tab title="销售额" disabled name="4"></van-tab>
</van-tabs> </van-tabs>
</view> </view>
<view class="~echart-item-content"> <view class="~echart-item-content">
<ranking custom-class="no_rank" cdata="{{rankData}}"></ranking> <ranking custom-class="no_rank" cdata="{{rankData}}"></ranking>
</view> </view>
</view> </view> -->
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -40,8 +40,10 @@ ...@@ -40,8 +40,10 @@
"minifyWXML": true, "minifyWXML": true,
"showES6CompileOption": false, "showES6CompileOption": false,
"useCompilerPlugins": false, "useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true, "ignoreDevUnusedFiles": false,
"useStaticServer": true "ignoreUploadUnusedFiles": false,
"useStaticServer": true,
"condition": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.14.4", "libVersion": "2.14.4",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!