Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ue走查修改样式,详情页收起问题修复 #73

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/templates/xiaoshuo/_inc/styl/header.styl
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@import './variables.styl'

html
body
line-height unset
#header
height header-hegiht
line-height header-hegiht
padding-top 32px
padding-left margin-left
padding-right margin-right
.left, .right
Expand All @@ -23,4 +25,5 @@
margin 0
padding 0 50px
text-align center
font-size 24px
font-weight bold
3 changes: 2 additions & 1 deletion src/templates/xiaoshuo/read.styl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ html[mip-xiaoshuo-read-theme="green"]
footer
background-color #d7e0cb
color #3B3F2F

html body
line-height 1.67
.mip-xiaoshuo-read-control-nav
li
text-align center
Expand Down
4 changes: 2 additions & 2 deletions src/templates/xiaoshuo/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

<div class="row gap-top-large row-bottom">
<!--data-type="mip" 用于两个MIP页之间跳转,应保证落地页同样为MIP页-->
<div class="span4"><a data-type="mip" data-title="阅读" href="read.html" class="btn btn-block btn-outline btn-black">立即阅读</a></div>
<div class="span4"><a data-type="mip" href="read.html" class="btn btn-block btn-outline btn-black">立即阅读</a></div>
<!--data-type="mip" 用于两个MIP页之间跳转,应保证落地页同样为MIP页-->
<div class="span4"><a data-type="mip" data-title="目录" href="catalog.html" class="btn btn-block btn-outline btn-black">查看目录</a></div>
<div class="span4"><a data-type="mip" href="catalog.html" class="btn btn-block btn-outline btn-black">查看目录</a></div>
</div>
</div>

Expand Down
21 changes: 14 additions & 7 deletions src/templates/xiaoshuo/view.styl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ html,body
margin-bottom 0
h4
font-weight normal
hr.hr-xl
background-color #f5f5f5
.detail-info
p.line-clamp1
color #000
Expand All @@ -26,17 +28,18 @@ h4
div
line-height .1rem
.detail-desc
padding-top .05rem
padding-bottom .05rem
padding-top .1rem
padding-bottom .1rem
.gap-top-small
margin-top .1rem
mip-showmore.linear-gradient:after
background transparent
.details
line-height .25rem
display block !important
height .35rem
.detail-catalog
padding-top .05rem
padding-bottom .05rem
padding-top .1rem
padding-bottom .1rem
li
border-bottom 1px solid #f1f1f1
&:last-child
Expand All @@ -46,6 +49,10 @@ h4
span
color #999
width 100px
.gap-top
margin-top .15rem
.gap-bottom
margin-bottom .2rem
.detail-desc
.content
font-size 14px
Expand All @@ -55,6 +62,6 @@ h4
font-size 14px
color #555
.detail-recommend
padding-top .05rem
padding-top .1rem
.gap-top
margin-top .08rem
margin-top .15rem