vant components

This commit is contained in:
cookfront
2017-04-19 17:44:57 +08:00
parent c6014ad62d
commit 06e333eb3e
145 changed files with 1679 additions and 1619 deletions

View File

@@ -5,7 +5,7 @@
v-if="leftNav"
class="footer-nav__link footer-nav__left"
@click="handleNavClick('prev')">
<zan-icon name="arrow"></zan-icon>
<van-icon name="arrow"></van-icon>
<span>{{ leftNav.title }}</span>
</a>
<a
@@ -13,7 +13,7 @@
v-if="rightNav"
class="footer-nav__link footer-nav__right"
@click="handleNavClick('next')">
<zan-icon name="arrow"></zan-icon>
<van-icon name="arrow"></van-icon>
<span>{{ rightNav.title }}</span>
</a>
</div>

View File

@@ -1,9 +1,9 @@
<template>
<zan-popup v-model="currentValue" :lock-on-scroll="true">
<van-popup v-model="currentValue" :lock-on-scroll="true">
<div class="mobile-popup">
<iframe :src="url" class="mobile-popup-iframe"></iframe>
</div>
</zan-popup>
</van-popup>
</template>
<script>

View File

@@ -5,7 +5,7 @@ import navConfig from './nav.config.js';
import routes from './router.config';
import ZanUI from 'src/index';
import 'packages/zanui-css/src/index.css';
import 'packages/vant-css/src/index.css';
import DemoList from './components/demo-list.vue';

View File

@@ -13,7 +13,7 @@ const global = {
window._global = global;
import '../assets/docs.css';
import 'packages/zanui-css/src/index.css';
import 'packages/vant-css/src/index.css';
function isMobile() {
var platform = navigator.userAgent.toLowerCase();

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>ZanUI</title>
<title>Vant - Vue mobile ui in Youzan</title>
</head>
<body>