File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ <h1>{{.Book.BookName}}
3232 < img src ="{{showImg .Book.Cover "cover "}}" onerror="this.src='/static/images/book.png' " class ="img-responsive border-cover-img " alt ="{{.Book.BookName}} ">
3333 </ div >
3434 </ div >
35- < div class ="col-sm-9 col-xs-6 ">
35+ < div class ="{{if $.Wxacode}} col-sm-6 col-md-7{{else}}col-sm-9{{end}} col-xs-6 ">
3636 < ul class ="none-listyle ">
3737 < li class ="bookstack-score "> < span > 文档评分:</ span >
3838 < i class ="bookstack-star star-{{.Book.Score}} "> </ i >
@@ -67,14 +67,20 @@ <h1>{{.Book.BookName}}
6767 {{end}}
6868 </ a >
6969 < a data-target ="#ModalDownload " data-toggle ="modal " href ="# " target ="_blank " class ="btn btn-danger "> < i class ="fa fa-cloud-download "> </ i > 下载</ a >
70- {{if $.Wxacode}}
70+ <!-- {{if $.Wxacode}}
7171 <a href="#" data-target="#ModalBookChat" data-toggle="modal" class="btn btn-primary"><img src="/static/images/wxacode-white.png"> 小程序</a>
72- {{end}}
72+ {{end}} -->
7373 < a href ="# " data-target ="#ModalShare " data-toggle ="modal " class ="btn btn-info "> < i class ="fa fa-share-alt "> </ i > 分享</ a >
7474 </ div >
7575 </ li >
7676 </ ul >
7777 </ div >
78+ {{if $.Wxacode}}
79+ < div class ="col-sm-3 col-md-2 hidden-xs ">
80+ < img class ="img-responsive " src ="{{showImg $.Wxacode}} " alt ="{{.Book.BookName}} - BookChat 微信小程序阅读码 ">
81+ < div class ="help-block text-center "> 微信扫一扫,知识掌上学</ div >
82+ </ div >
83+ {{end}}
7884 < div class ="col-xs-12 text-center visible-xs ">
7985 < div class ="btn btn-group ">
8086 {{range $index,$val:=.Menu}}
You can’t perform that action at this time.
0 commit comments