From acaad271351ca0966f828fd323ecfa05cefe6537 Mon Sep 17 00:00:00 2001
From: tangjinzhou <415800467@qq.com>
Date: Sun, 28 Nov 2021 17:03:52 +0800
Subject: [PATCH] docs: update surelyvue
---
antdv-demo/components/api.vue | 2 +-
antdv-demo/components/header.vue | 17 +++++-
antdv-demo/components/layout.vue | 9 +--
antdv-demo/components/right_bottom_ad.vue | 2 +-
antdv-demo/components/surelyVue.vue | 67 +++++++++++++++++++++++
antdv-demo/components/top_ad.vue | 4 +-
6 files changed, 90 insertions(+), 11 deletions(-)
create mode 100644 antdv-demo/components/surelyVue.vue
diff --git a/antdv-demo/components/api.vue b/antdv-demo/components/api.vue
index 62e8ec56c..1e6df8ef5 100644
--- a/antdv-demo/components/api.vue
+++ b/antdv-demo/components/api.vue
@@ -9,7 +9,7 @@
import { isZhCN } from '../utils/util';
import GoogleAds from './GoogleAds';
-const showAd = location.host.indexOf('antdv.com') > -1;
+const showAd = false; // location.host.indexOf('antdv.com') > -1;
export default {
name: 'Api',
components: {
diff --git a/antdv-demo/components/header.vue b/antdv-demo/components/header.vue
index d4fb670f6..eacbbffb4 100644
--- a/antdv-demo/components/header.vue
+++ b/antdv-demo/components/header.vue
@@ -173,6 +173,19 @@ export default {
{isCN ? '组件' : 'Components'}
+ {isCN ? (
+
+
+ 高级组件
+
+
+
+ ) : null}
{isCN ? (
- 商店
+ 商店
) : (
@@ -191,7 +204,6 @@ export default {
style="position: relative;"
>
Store{' '}
-
)}
@@ -203,7 +215,6 @@ export default {
style="position: relative;"
>
Vue 实战教程
-
) : null}
diff --git a/antdv-demo/components/layout.vue b/antdv-demo/components/layout.vue
index 2a73869fb..465178673 100644
--- a/antdv-demo/components/layout.vue
+++ b/antdv-demo/components/layout.vue
@@ -6,7 +6,7 @@ import Footer from './footer';
// import Geektime from './geektime';
import GeektimeAds from './geektime_ads';
import RightBottomAd from './right_bottom_ad';
-import Sponsors from './sponsors';
+// import Sponsors from './sponsors';
import zhCN from 'ant-design-vue/es/locale-provider/zh_CN';
import enUS from 'ant-design-vue/es/locale-provider/default';
import sortBy from 'lodash/sortBy';
@@ -14,8 +14,9 @@ import { isZhCN } from '../utils/util';
import { Provider, create } from '../../components/_util/store';
import NProgress from 'nprogress';
import MobileMenu from '../../components/vc-drawer/src';
-import TopAd from './top_ad';
+// import TopAd from './top_ad';
import GoogleAds from './GoogleAds';
+import SurelyVue from './surelyVue';
const docsList = [
{ key: 'introduce', enTitle: 'Ant Design of Vue', title: 'Ant Design of Vue' },
@@ -255,6 +256,7 @@ export default {
{isMobile ? (
+