From 382ac97548aa58859b043488cd79e7f1544579de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=81=87=E8=A7=81?=
<30545603+Foryou920@users.noreply.github.com>
Date: Thu, 5 Mar 2020 23:06:27 +0800
Subject: [PATCH] search final
---
index.html | 3 +-
src/pages/city/City.vue | 2 +-
src/pages/city/components/Alphabet.vue | 6 +-
src/pages/city/components/list.vue | 9 +--
src/pages/city/components/search.vue | 87 +++++++++++++++++++++++++-
src/pages/home/home.vue | 5 +-
6 files changed, 95 insertions(+), 17 deletions(-)
diff --git a/index.html b/index.html
index f4abaa9..e93e92c 100644
--- a/index.html
+++ b/index.html
@@ -3,8 +3,7 @@
-
+
Storyofvue
diff --git a/src/pages/city/City.vue b/src/pages/city/City.vue
index 1f645d8..a93d235 100644
--- a/src/pages/city/City.vue
+++ b/src/pages/city/City.vue
@@ -1,7 +1,7 @@
-
+
@import '~styles/variable.styl'
+// 应用 CSS 属性 touch-action: none; 这样任何触摸事件都不会产生默认行为,但是 touch 事件照样触发。
+// https://blog.csdn.net/lijingshan34/article/details/88350456
*
- touch-action: pan-y
+ touch-action: none
.list
display flex
flex-direction column
@@ -85,4 +87,4 @@ export default {
line-height .4rem
text-align center
color $bgColor
-
\ No newline at end of file
+
diff --git a/src/pages/city/components/list.vue b/src/pages/city/components/list.vue
index 0d26b2a..4c1d790 100644
--- a/src/pages/city/components/list.vue
+++ b/src/pages/city/components/list.vue
@@ -1,4 +1,4 @@
-
+
@@ -34,13 +34,6 @@
diff --git a/src/pages/home/home.vue b/src/pages/home/home.vue
index e55f9f6..e4f466d 100644
--- a/src/pages/home/home.vue
+++ b/src/pages/home/home.vue
@@ -60,4 +60,7 @@ export default {
};
-
+