docs: add SeedAndDew

pull/225/head
tangjinzhou 2018-09-24 15:37:36 +08:00
parent b7b362210a
commit 2fb6667593
2 changed files with 28 additions and 9 deletions

View File

@ -1,13 +1,15 @@
<template>
<div class="sponsorsWrap">
<span class="sponsorsTitle">{{title}}</span>
<ul >
<li class="sponsorsItem">
<a href="https://tipe.io/?ref=ant-design-vue" target="_blank">
<img width="34" src="https://cdn.tipe.io/tipe/tipe-cat-no-text.svg" alt="tipe">
</a>
</li>
</ul>
<div class='snd-ad'>
<div class="sponsorsWrap">
<span class="sponsorsTitle">{{title}}</span>
<ul >
<li class="sponsorsItem">
<a href="https://tipe.io/?ref=ant-design-vue" target="_blank">
<img width="34" src="https://cdn.tipe.io/tipe/tipe-cat-no-text.svg" alt="tipe">
</a>
</li>
</ul>
</div>
</div>
</template>
<script>

View File

@ -31,6 +31,23 @@
<div id="app">
<router-view></router-view>
</div>
<script>
var SeedAndDewConfig = {};
(function() {
SeedAndDewConfig['adClass'] = "snd-ad";
/* * * DON'T EDIT BELOW THIS LINE * * */
SeedAndDewConfig['projectId'] = '31734ee0-6439-448d-8848-ed99e514f266';
SeedAndDewConfig['loadStartTime'] = performance.now();
SeedAndDewConfig['apiVersion'] = '2018-05-28'
SeedAndDewConfig['sessionId'] = Math.random().toString(36).substring(2, 15);
var snd = document.createElement('script');
snd.type = 'text/javascript';
snd.async = true;
snd.src = 'https://www.seedanddew.com/static/embed.min.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(snd);
})();
</script>
</body>
</html>