From 78624258dede355672e86dfe6ee4be40acb49292 Mon Sep 17 00:00:00 2001
From: cookfront <cookfront@gmail.com>
Date: Wed, 19 Apr 2017 20:21:22 +0800
Subject: [PATCH] fix zan prefix

---
 packages/actionsheet/src/actionsheet.vue     | 8 ++++----
 packages/button/src/button.js                | 4 ++--
 packages/field/src/field.vue                 | 4 ++--
 packages/image-preview/src/image-preview.vue | 8 ++++----
 packages/loading/index.js                    | 4 ++--
 packages/toast/src/toast.vue                 | 8 ++++----
 6 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/packages/actionsheet/src/actionsheet.vue b/packages/actionsheet/src/actionsheet.vue
index 6ee457a4b..149de5b1d 100644
--- a/packages/actionsheet/src/actionsheet.vue
+++ b/packages/actionsheet/src/actionsheet.vue
@@ -34,8 +34,8 @@
 
 <script>
 import Popup from 'src/mixins/popup';
-import ZanLoading from 'packages/loading';
-import ZanIcon from 'packages/icon';
+import VanLoading from 'packages/loading';
+import VanIcon from 'packages/icon';
 
 export default {
   name: 'van-actionsheet',
@@ -43,8 +43,8 @@ export default {
   mixins: [Popup],
 
   components: {
-    ZanLoading,
-    ZanIcon
+    VanLoading,
+    VanIcon
   },
 
   props: {
diff --git a/packages/button/src/button.js b/packages/button/src/button.js
index 30316bf87..190d42bbe 100644
--- a/packages/button/src/button.js
+++ b/packages/button/src/button.js
@@ -11,7 +11,7 @@
  * <van-button size="large" type="primary">按钮</van-button>
  */
 
-import ZanLoading from 'packages/loading';
+import VanLoading from 'packages/loading';
 
 const ALLOWED_SIZE = ['mini', 'small', 'normal', 'large'];
 const ALLOWED_TYPE = ['default', 'danger', 'primary'];
@@ -20,7 +20,7 @@ export default {
   name: 'van-button',
 
   components: {
-    'van-loading': ZanLoading
+    'van-loading': VanLoading
   },
 
   props: {
diff --git a/packages/field/src/field.vue b/packages/field/src/field.vue
index 000ca48f9..ffb76e74b 100644
--- a/packages/field/src/field.vue
+++ b/packages/field/src/field.vue
@@ -40,13 +40,13 @@
 
 <script>
 const VALID_TYPES = ['text', 'number', 'email', 'url', 'tel', 'date', 'datetime', 'password', 'textarea'];
-import zanCell from 'packages/cell';
+import vanCell from 'packages/cell';
 
 export default {
   name: 'van-field',
 
   components: {
-    zanCell
+    vanCell
   },
 
   props: {
diff --git a/packages/image-preview/src/image-preview.vue b/packages/image-preview/src/image-preview.vue
index df45af181..0e944d59d 100644
--- a/packages/image-preview/src/image-preview.vue
+++ b/packages/image-preview/src/image-preview.vue
@@ -12,8 +12,8 @@
 
 <script>
 import Popup from 'src/mixins/popup';
-import ZanSwipe from 'packages/swipe';
-import ZanSwipeItem from 'packages/swipe-item';
+import VanSwipe from 'packages/swipe';
+import VanSwipeItem from 'packages/swipe-item';
 
 export default {
   name: 'van-image-preview',
@@ -21,8 +21,8 @@ export default {
   mixins: [Popup],
 
   components: {
-    ZanSwipe,
-    ZanSwipeItem
+    VanSwipe,
+    VanSwipeItem
   },
 
   props: {
diff --git a/packages/loading/index.js b/packages/loading/index.js
index 7b3a4690e..b145318b8 100644
--- a/packages/loading/index.js
+++ b/packages/loading/index.js
@@ -1,3 +1,3 @@
-import ZanLoading from './src/loading';
+import Loading from './src/loading';
 
-export default ZanLoading;
+export default Loading;
diff --git a/packages/toast/src/toast.vue b/packages/toast/src/toast.vue
index 9e540b949..3129dea0b 100644
--- a/packages/toast/src/toast.vue
+++ b/packages/toast/src/toast.vue
@@ -26,8 +26,8 @@
 </template>
 
 <script>
-import zanLoading from 'packages/loading';
-import zanIcon from 'packages/icon';
+import vanLoading from 'packages/loading';
+import vanIcon from 'packages/icon';
 
 const TOAST_TYPES = ['text', 'html', 'loading', 'success', 'fail'];
 const DEFAULT_STYLE_LIST = ['success', 'fail'];
@@ -43,8 +43,8 @@ export default {
   name: 'van-toast',
 
   components: {
-    'van-loading': zanLoading,
-    'van-icon': zanIcon
+    'van-loading': vanLoading,
+    'van-icon': vanIcon
   },
   props: {
     type: {