Skip to content

Commit

Permalink
sponsor: update juejin
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Jul 18, 2018
1 parent b4adbc2 commit a82056d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,12 @@ <h1 class="vux-title">VUX</h1>
</a>
</div>
<div>
<a href="https://juejin.im/welcome/frontend?utm_source=vux&utm_medium=word&utm_content=qianduan&utm_campaign=q2_website" class="juejin-button" target="_blank">
<a href="https://juejin.im/welcome/frontend?utm_source=vux&utm_medium=word&utm_content=qianduan&utm_campaign=q3_website" class="juejin-button" target="_blank">
前端社区 <span class="arrow"></span>
</a>
<br>
<br>
<a href="https://juejin.im/welcome/frontend?utm_source=vux&utm_medium=word&utm_content=qianduan&utm_campaign=q2_website" class="action-link" target="_blank">
<a href="https://juejin.im/welcome/frontend?utm_source=vux&utm_medium=word&utm_content=qianduan&utm_campaign=q3_website" class="action-link" target="_blank">
访问掘金
</a>
</div>
Expand Down
9 changes: 3 additions & 6 deletions docs/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,10 @@
</div>
<div class="summary">
<div class="summary-inner" style="left:190px;">
<a class="juejin" title="赞助商" href="https://juejin.im/welcome/frontend?utm_source=vuxdoc&utm_medium=word&utm_content=qianduan&utm_campaign=q2_website" target="_blank">
<span class="juejin-name">前端社区</span><span class="juejin-url">juejin.im</span>
<br>
<span class="juejin-desc">
Vue 最佳实践&nbsp;一线大厂技术分享
</span>
<a class="juejin" title="赞助商" href="https://juejin.im/welcome/frontend?utm_source=vuxdoc&utm_medium=word&utm_content=qianduan&utm_campaign=q3_website" target="_blank">
<img src="https://vux-doc.vux.li/juejin_205_100.png">
</a>

<div v-show="!isComponentPage" v-for="chapter in summary" :data-category="currentCategory" class="chapter">
<p class="chapter-title">{{chapter.title}}</p>
<ul class="chapter-page">
Expand Down
17 changes: 8 additions & 9 deletions docs/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,14 @@ tr.slot-disabled {
}
.summary {
height: 100vh;
width: 190px;
width: 205px;
overflow: hidden;
border-right: 1px solid #E6E6E6
}
.summary-inner {
padding-top: 60px;
padding-top: 105px;
height: 100vh;
width: 190px;
width: 205px;
box-sizing: border-box;
overflow: scroll;
}
Expand All @@ -297,7 +297,7 @@ tr.slot-disabled {
}
.header-nav {
position: fixed;
left: 341px;
left: 355px;
top: 0;
background-color: #fff;
z-index: 888;
Expand Down Expand Up @@ -882,19 +882,18 @@ a.anchor {

.juejin {
text-decoration: none;
padding-bottom: 4px;
padding: 5px;
padding-left: 10px;
background-color: #e1f0ff;
display: block;
width: 100%;
margin-bottom: 10px;
position: fixed;
top: 0;
left: 150px;
width: 190px;
}

.juejin img {
width: 205px;
}

.juejin:hover .juejin-desc {
color: #007fff;
}
Expand Down

0 comments on commit a82056d

Please sign in to comment.