Authored by 邱骏

解决详情页详情不展示

... ... @@ -3,7 +3,6 @@
<div style="width: 100%;text-align: center;">
<div class="title">商品详情</div>
</div>
{{#if resource.url}}
<a class="banner" href="{{resource.url}}">
<img class="banner-img" src="{{image2 resource.src w=resource.width h=resource.height}}" alt="">
... ... @@ -12,15 +11,16 @@
<div class="desc-content">
{{#each list}}
{{#ifcond floor_type '===' 1}}
{{#ifcond floorType '===' 1}}
{{log content}}
<div>{{content}}</div>
{{/ifcond}}
{{#ifcond floor_type '===' 2}}
{{#ifcond floorType '===' 2}}
<img class="desc-image" src="{{image2 content q=60}}" width="100%">
{{/ifcond}}
{{#ifcond floor_type '===' 3}}
{{#ifcond floorType '===' 3}}
<video class="desc-video" controls="controls">
<source src="{{content}}" type="video/mp4" />
</video>
... ...