File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 12
12
</p >
13
13
</div >
14
14
15
- <div style =" border-top : 1px solid #eaecef ; text-align : center " >
15
+ <!-- < div style="border-top: 1px solid #eaecef; text-align: center">
16
16
<h4>赞助商</h4>
17
17
<div style="display: flex;justify-content: space-around;width: 60%;margin: 0 auto;font-size: 14px;">
18
18
<div style="width: 300px;display: flex;justify-content: space-around;flex-direction:row;">
24
24
</a>
25
25
</div>
26
26
</div>
27
- </div >
27
+ </div> -->
28
28
29
29
<div v-if =" data.features && data.features.length" class =" features" :class =" {isCN:isCN}" >
30
30
<div v-for =" (feature, index) in data.features" :key =" index" class =" feature" >
Original file line number Diff line number Diff line change 14
14
<Sidebar :items =" sidebarItems" @toggle-sidebar =" toggleSidebar" >
15
15
<div slot =" top" :class =" {'load-success':loadSuccess}" >
16
16
<div v-if =" !isHome" id =" codefund" :key =" $route.path" />
17
- <div v-if =" isCN||isGitee" class =" sidebar-heading" style =" color :auto ;padding-top :8px ;margin-bottom :-8px " >
17
+ <!-- < div v-if="isCN||isGitee" class="sidebar-heading" style="color:auto;padding-top:8px;margin-bottom:-8px">
18
18
<span>赞助商</span>
19
19
<div>
20
20
<ul
59
59
</li>
60
60
</ul>
61
61
</div>
62
- </div >
62
+ </div> -->
63
63
64
64
</div >
65
65
<slot slot =" bottom" name =" sidebar-bottom" />
@@ -182,23 +182,25 @@ export default {
182
182
$route: {
183
183
handler (val , oldVal ) {
184
184
if (this .$isServer ) return
185
- if (document .getElementById (' carbonads' ) && ! this . isCN ) {
185
+ if (document .getElementById (' carbonads' )) {
186
186
window ._carbonads && window ._carbonads .refresh ()
187
187
}
188
188
},
189
189
immediate: true
190
190
},
191
191
$lang (val) {
192
- if (val !== ' zh-CN' ) {
193
- loadCarbon ()
194
- }
192
+ // if (val !== 'zh-CN') {
193
+ // loadCarbon()
194
+ // }
195
+ loadCarbon ()
195
196
}
196
197
},
197
198
mounted () {
198
- loadGitter ()
199
- if (! this .isCN ) {
200
- loadCarbon ()
201
- }
199
+ // loadGitter()
200
+ // if (!this.isCN) {
201
+ // loadCarbon()
202
+ // }
203
+ loadCarbon ()
202
204
203
205
window .addEventListener (' scroll' , this .onScroll )
204
206
// configure progress bar
@@ -401,7 +403,7 @@ export default {
401
403
line-height : 1 ;
402
404
}
403
405
404
- #carbonads :lang (zh-CN ) {
406
+ /* #carbonads :lang(zh-CN) {
405
407
display: none;
406
- }
408
+ } */
407
409
</style >
You can’t perform that action at this time.
0 commit comments