Authored by biao

修复分享详情页样式问题

... ... @@ -63,6 +63,15 @@
.goodDesc {
margin-top: 1rem;
p {
font-size: 0.6rem;
line-height: 1rem;
}
img {
margin: 0.3rem 0;
}
}
.bottom {
... ...
... ... @@ -63,6 +63,18 @@
.goodDesc {
margin-top: 1rem;
padding: 0.5rem;
border-top: 1px solid #e6e6e6;
background-color: #fff;
p {
font-size: 0.6rem;
line-height: 1rem;
}
img {
margin: 0.3rem 0;
}
}
.bottom {
... ...
... ... @@ -17,24 +17,26 @@
</div>
</div>
{{# attaches}}
{{#if attaches}}
<div class="goodDesc">
{{#img}}
<img src="{{attachUrl}}" alt="{{attachName}}">
{{/img}}
{{# attaches}}
{{#img}}
<img src="{{attachUrl}}" alt="{{attachName}}">
{{/img}}
{{#text}}
<p class="desc">{{intro}}</p>
{{/text}}
{{#text}}
<p class="desc">{{intro}}</p>
{{/text}}
{{#video}}
<video poster="{{img}}" controls="controls" controls="controls" preload="metadata" loop="loop" width="100%" name="media">
<source src="{{attachUrl}}" type="video/ogg;codecs=" theora,vorbis"" media="screen" />
<source src="{{attachUrl}}"/>
</video>
{{/video}}
{{#video}}
<video poster="{{img}}" controls="controls" controls="controls" preload="metadata" loop="loop" width="100%" name="media">
<source src="{{attachUrl}}" type="video/ogg;codecs=" theora,vorbis"" media="screen" />
<source src="{{attachUrl}}"/>
</video>
{{/video}}
{{/attaches}}
</div>
{{/attaches}}
{{/if}}
<div class="bottom">
<div class="logo"></div>
... ...