File tree 4 files changed +19
-9
lines changed
4 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 2
2
< p > 入群交流(和以上内容无关):Go中文网 QQ 交流群:798786647 或加微信入微信群:274768166 备注:入群;关注公众号:< a href ="javascript:void(0) " title ="" target ="_self "> Go语言中文网< img width ="16 " src ="https://weixin.sogou.com/new/pc/images/ico_ewm.png "> </ a > </ p >
3
3
< span style ="display: none; " class ="qrcode-pop ">
4
4
关注Go语言中文网< br >
5
- < img src ="{{.static.domain }}/static/img/wx_sg_qrcode.jpg?imageView2/2/w/280 " alt ="关注微信 " class ="img-responsive ">
5
+ < img src ="{{.static_domain }}/static/img/wx_sg_qrcode.jpg?imageView2/2/w/280 " alt ="关注微信 " class ="img-responsive ">
6
6
< span style ="color: red; "> 领全套学习资料</ span >
7
7
</ span >
8
8
</ div >
Original file line number Diff line number Diff line change 35
35
< div class ="content "> {{if eq .resource.form "只是链接"}}传送门: {{if hasPrefix .resource.url "/r/golang/"}}https://reddit.com{{end}}{{.resource.url}}{{else}}{{.resource.content}}{{end}}</ div >
36
36
</ div >
37
37
38
+ <!-- 加群等 -->
39
+ {{include "common/promotion.html" .}}
40
+
38
41
< div class ="content-buttons ">
39
42
< div class ="pull-right c9 f11 " style ="line-height: 12px; padding-top: 3px; text-shadow: 0px 1px 0px #fff; "> {{add .resource.viewnum 1}} 次点击 {{if .resource.likenum}}∙ {{.resource.likenum}} 赞 {{end}}</ div >
40
43
< a class ="tb collect " href ="javascript:; " title ="{{if .hadcollect}}取消收藏{{else}}加入收藏{{end}} " data-objid ="{{.resource.id}} " data-objtype ="2 " data-collect ="{{.hadcollect}} "> {{if .hadcollect}}取消收藏{{else}}加入收藏{{end}}</ a >
@@ -139,6 +142,13 @@ <h1>
139
142
var url = $ ( this ) . attr ( 'href' ) ;
140
143
$ ( this ) . attr ( 'target' , '_blank' ) ;
141
144
} ) ;
145
+
146
+ $ ( '.qrcode' ) . on ( 'mouseover' , function ( evt ) {
147
+ $ ( '.qrcode-pop' ) . show ( ) ;
148
+ } ) ;
149
+ $ ( '.qrcode' ) . on ( 'mouseout' , function ( evt ) {
150
+ $ ( '.qrcode-pop' ) . hide ( ) ;
151
+ } ) ;
142
152
} ) ;
143
153
</ script >
144
154
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ <h3 class="title"><i class="glyphicon glyphicon-qrcode"></i> 关注
5
5
< div class ="sb-content ">
6
6
< div >
7
7
< ul class ="list-unstyled ">
8
- < li > < img src ="{{.static.domain }}/static/img/wx_sg_qrcode.jpg?imageView2/2/w/280 " alt ="关注微信 " class ="img-responsive "> </ li >
8
+ < li > < img src ="{{.static_domain }}/static/img/wx_sg_qrcode.jpg?imageView2/2/w/280 " alt ="关注微信 " class ="img-responsive "> </ li >
9
9
< li class ="text-center "> 加入我们的 QQ 群:192706294(已满) 2群:731990104(已满) 3群:798786647</ li >
10
10
< li class ="text-center "> 也欢迎加入我们的知识星球 < a href ="https://t.zsxq.com/r7AUN3B " target ="_blank "> Go粉丝们(免费)</ a > </ li >
11
11
</ ul >
Original file line number Diff line number Diff line change 82
82
{{end}}
83
83
84
84
<!-- 加群等 -->
85
- {{include "common/promotion.html" .}}
85
+ {{include "common/promotion.html" .}}
86
86
87
87
< div class ="content-buttons ">
88
88
< div class ="pull-right c9 f11 " style ="line-height: 12px; padding-top: 3px; text-shadow: 0px 1px 0px #fff; "> {{add .topic.view 1}} 次点击 {{if .topic.like}}∙ {{.topic.like}} 赞 {{end}}</ div >
@@ -215,12 +215,12 @@ <h1>
215
215
return false ;
216
216
} ) ;
217
217
218
- $ ( '.qrcode' ) . on ( 'mouseover' , function ( evt ) {
219
- $ ( '.qrcode-pop' ) . show ( ) ;
220
- } ) ;
221
- $ ( '.qrcode' ) . on ( 'mouseout' , function ( evt ) {
222
- $ ( '.qrcode-pop' ) . hide ( ) ;
223
- } ) ;
218
+ $ ( '.qrcode' ) . on ( 'mouseover' , function ( evt ) {
219
+ $ ( '.qrcode-pop' ) . show ( ) ;
220
+ } ) ;
221
+ $ ( '.qrcode' ) . on ( 'mouseout' , function ( evt ) {
222
+ $ ( '.qrcode-pop' ) . hide ( ) ;
223
+ } ) ;
224
224
} ) ;
225
225
</ script >
226
226
You can’t perform that action at this time.
0 commit comments