|
@@ -12,7 +12,7 @@
|
|
|
{{ theRoad.roadName || '暂无' }}
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="u-m-l-10 u-p-10" @click="openPage('pages/roadlist/roadlist')">
|
|
|
+ <view class="u-m-l-10 u-p-10" @click="openPage('/pages/roadlist/roadlist')">
|
|
|
<u-icon name="arrow-right" color="rgba(255,255,255,.7)" size="28"></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -20,7 +20,7 @@
|
|
|
<view class="u-p-r-60">
|
|
|
车位:{{ spaceInfo.spaceBusy }}/{{ spaceInfo.spaceTotal}}
|
|
|
</view>
|
|
|
- <view class="" @click="openPage('pages/getout/getout')">
|
|
|
+ <view class="" @click="openPage('/pages/getout/getout')">
|
|
|
需确认:{{ spaceInfo.spaceConfirm}}
|
|
|
</view>
|
|
|
</view>
|
|
@@ -45,15 +45,15 @@
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-04.png"></u-image>
|
|
|
<view class="feature-item-text">车位管理</view>
|
|
|
</view> -->
|
|
|
- <view class="feature-item" @click="openPage('pages/parking/parking')">
|
|
|
+ <view class="feature-item" @click="openPage('/pages/parking/parking')">
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-05.png"></u-image>
|
|
|
<view class="feature-item-text">车辆入场</view>
|
|
|
</view>
|
|
|
- <view class="feature-item" @click="openPage('pages/getout/getout')">
|
|
|
+ <view class="feature-item" @click="openPage('/pages/getout/getout')">
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-06.png"></u-image>
|
|
|
<view class="feature-item-text">车辆出场</view>
|
|
|
</view>
|
|
|
- <view class="feature-item" @click="openPage('pages/attence/attence')">
|
|
|
+ <view class="feature-item" @click="openPage('/pages/attence/attence')">
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-01.png"></u-image>
|
|
|
<view class="feature-item-text">签到打卡</view>
|
|
|
</view>
|
|
@@ -61,15 +61,15 @@
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-07.png"></u-image>
|
|
|
<view class="feature-item-text">密码修改</view>
|
|
|
</view> -->
|
|
|
- <view class="feature-item" @click="openPage('pages/ownersquery/ownersquery')">
|
|
|
+ <view class="feature-item" @click="openPage('/pages/ownersquery/ownersquery')">
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-10.png"></u-image>
|
|
|
<view class="feature-item-text">车主查询</view>
|
|
|
</view>
|
|
|
- <view class="feature-item" @click="openPage('pages/performance/performance')">
|
|
|
+ <view class="feature-item" @click="openPage('/pages/performance/performance')">
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-11.png"></u-image>
|
|
|
<view class="feature-item-text">我的业绩</view>
|
|
|
</view>
|
|
|
- <view class="feature-item" @click="openPage('pages/setting/setting')">
|
|
|
+ <view class="feature-item" @click="openPage('/pages/setting/setting')">
|
|
|
<u-image width="160rpx" height="160rpx" src="/static/img/index-feature-08.png"></u-image>
|
|
|
<view class="feature-item-text">设置</view>
|
|
|
</view>
|
|
@@ -127,7 +127,7 @@
|
|
|
console.log('this.userInfo',this.userInfo);
|
|
|
}else{
|
|
|
this.userInfo = [];
|
|
|
- this.openPage('pages/login/login');
|
|
|
+ this.openPage('/pages/login/login');
|
|
|
};
|
|
|
|
|
|
},
|
|
@@ -160,16 +160,15 @@
|
|
|
})
|
|
|
},
|
|
|
openPage(path) {
|
|
|
- // console.log('path',path);
|
|
|
- this.$u.route({
|
|
|
- url: path
|
|
|
+ uni.navigateTo({
|
|
|
+ url: path
|
|
|
});
|
|
|
},
|
|
|
//登录判断
|
|
|
login(status){
|
|
|
if(!status){
|
|
|
console.log('config',this.config);
|
|
|
- this.openPage('pages/login/login');
|
|
|
+ this.openPage('/pages/login/login');
|
|
|
// window.location.replace(this.config.loginUrl)
|
|
|
}
|
|
|
},
|