|
|
@@ -2,6 +2,9 @@
|
|
|
<div class="bgcolor home">
|
|
|
<div class="header">
|
|
|
<van-nav-bar class="navBar" :title="$route.meta.title">
|
|
|
+ <template #left>
|
|
|
+ <span @click="login" style="display: block; width: 50px; height: 100%"></span>
|
|
|
+ </template>
|
|
|
<template #right>
|
|
|
<span @click="searchFn">筛选<van-icon name="arrow-down" /></span>
|
|
|
</template>
|
|
|
@@ -329,6 +332,7 @@ export default {
|
|
|
isLoading: false,
|
|
|
monthVisited: '', //本月是否拜访
|
|
|
isMonthVisited: true,
|
|
|
+ num: 1,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -919,6 +923,13 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
+ login() {
|
|
|
+ if (this.num > 5) {
|
|
|
+ this.$router.push('/login');
|
|
|
+ } else {
|
|
|
+ this.num = this.num + 1;
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|