fix zan prefix

This commit is contained in:
cookfront 2017-04-19 20:21:22 +08:00
parent d18bc97deb
commit 78624258de
6 changed files with 18 additions and 18 deletions

View File

@ -34,8 +34,8 @@
<script> <script>
import Popup from 'src/mixins/popup'; import Popup from 'src/mixins/popup';
import ZanLoading from 'packages/loading'; import VanLoading from 'packages/loading';
import ZanIcon from 'packages/icon'; import VanIcon from 'packages/icon';
export default { export default {
name: 'van-actionsheet', name: 'van-actionsheet',
@ -43,8 +43,8 @@ export default {
mixins: [Popup], mixins: [Popup],
components: { components: {
ZanLoading, VanLoading,
ZanIcon VanIcon
}, },
props: { props: {

View File

@ -11,7 +11,7 @@
* <van-button size="large" type="primary">按钮</van-button> * <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_SIZE = ['mini', 'small', 'normal', 'large'];
const ALLOWED_TYPE = ['default', 'danger', 'primary']; const ALLOWED_TYPE = ['default', 'danger', 'primary'];
@ -20,7 +20,7 @@ export default {
name: 'van-button', name: 'van-button',
components: { components: {
'van-loading': ZanLoading 'van-loading': VanLoading
}, },
props: { props: {

View File

@ -40,13 +40,13 @@
<script> <script>
const VALID_TYPES = ['text', 'number', 'email', 'url', 'tel', 'date', 'datetime', 'password', 'textarea']; const VALID_TYPES = ['text', 'number', 'email', 'url', 'tel', 'date', 'datetime', 'password', 'textarea'];
import zanCell from 'packages/cell'; import vanCell from 'packages/cell';
export default { export default {
name: 'van-field', name: 'van-field',
components: { components: {
zanCell vanCell
}, },
props: { props: {

View File

@ -12,8 +12,8 @@
<script> <script>
import Popup from 'src/mixins/popup'; import Popup from 'src/mixins/popup';
import ZanSwipe from 'packages/swipe'; import VanSwipe from 'packages/swipe';
import ZanSwipeItem from 'packages/swipe-item'; import VanSwipeItem from 'packages/swipe-item';
export default { export default {
name: 'van-image-preview', name: 'van-image-preview',
@ -21,8 +21,8 @@ export default {
mixins: [Popup], mixins: [Popup],
components: { components: {
ZanSwipe, VanSwipe,
ZanSwipeItem VanSwipeItem
}, },
props: { props: {

View File

@ -1,3 +1,3 @@
import ZanLoading from './src/loading'; import Loading from './src/loading';
export default ZanLoading; export default Loading;

View File

@ -26,8 +26,8 @@
</template> </template>
<script> <script>
import zanLoading from 'packages/loading'; import vanLoading from 'packages/loading';
import zanIcon from 'packages/icon'; import vanIcon from 'packages/icon';
const TOAST_TYPES = ['text', 'html', 'loading', 'success', 'fail']; const TOAST_TYPES = ['text', 'html', 'loading', 'success', 'fail'];
const DEFAULT_STYLE_LIST = ['success', 'fail']; const DEFAULT_STYLE_LIST = ['success', 'fail'];
@ -43,8 +43,8 @@ export default {
name: 'van-toast', name: 'van-toast',
components: { components: {
'van-loading': zanLoading, 'van-loading': vanLoading,
'van-icon': zanIcon 'van-icon': vanIcon
}, },
props: { props: {
type: { type: {