From b4d2a98027a64d5ff3ceeee5f0743a137e9daa03 Mon Sep 17 00:00:00 2001
From: wangbing <1919101440@qq.com>
Date: Fri, 19 Jul 2019 20:17:37 +0800
Subject: [PATCH] git
---
src/view/nav/index.vue | 65 +++++++++++--------
src/view/set/index.vue | 140 +++++++++++++++++------------------------
2 files changed, 97 insertions(+), 108 deletions(-)
diff --git a/src/view/nav/index.vue b/src/view/nav/index.vue
index f412c69..869ed3b 100644
--- a/src/view/nav/index.vue
+++ b/src/view/nav/index.vue
@@ -4,27 +4,31 @@
@click-left="onClickLeft"
@click-right="onClickRight"
title="应用导航">
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
@@ -38,6 +42,7 @@
Toast,
NoticeBar,
Icon,
+ PullRefresh,
} from 'vant';
export default {
@@ -47,8 +52,10 @@
[GridItem.name]: GridItem,
[Swipe.name]: Swipe,
[SwipeItem.name]: SwipeItem,
+ [Toast.name]: Toast,
[NoticeBar.name]: NoticeBar,
[Icon.name]: Icon,
+ [PullRefresh.name]: PullRefresh,
},
data() {
@@ -99,15 +106,20 @@
text: "发案回访",
icon: "photo-o"
}
- ]
+ ],
+ isLoading: false,
};
},
methods: {
onClickLeft() {
- this.$router.push('nav');
+ this.$router.push('set');
},
onClickRight() {
- this.$router.push('set');
+ this.$router.push('nav');
+ },
+ onRefresh() {
+ Toast("Refresh finish");
+ this.isLoading = false;
}
}
};
@@ -115,21 +127,22 @@
diff --git a/src/view/set/index.vue b/src/view/set/index.vue
index f112aae..acbf026 100644
--- a/src/view/set/index.vue
+++ b/src/view/set/index.vue
@@ -3,126 +3,102 @@
+ @click-right="onClickRight"
+ left-arrow>
+
+
-
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+ 安全退出
+