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>
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: {

View File

@ -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: {

View File

@ -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: {

View File

@ -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: {

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>
<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: {