Authored by lijing

商品列表页增加预售标签

... ... @@ -115,6 +115,9 @@
{{# isLimited}}
<p class="good-tag limit-tag">限量</p>
{{/ isLimited}}
{{# isPresell}}
<p class="good-tag is-presell">预售</p>
{{/ isPresell}}
{{/ tags}}
</div>
<div class="good-detail-img">
... ...
... ... @@ -44,6 +44,9 @@
{{# isLimited}}
<p class="good-tag limit-tag">限量</p>
{{/ isLimited}}
{{# isPresell}}
<p class="good-tag is-presell">预售</p>
{{/ isPresell}}
{{/ tags}}
</div>
<div class="good-detail-img">
... ...
... ... @@ -18,6 +18,9 @@
{{# is_limited}}
<p class="good-tag limit-tag">限量</p>
{{/ is_limited}}
{{# is_presell}}
<p class="good-tag is-presell">预售</p>
{{/ is_presell}}
{{/ tags}}
</div>
<div class="good-detail-img">
... ...
... ... @@ -22,7 +22,7 @@
<p class="good-tag soon-sold-out-tag">即将售罄</p>
{{/ is_soon_sold_out}}
{{# is_presell}}
<p class="good-tag is_presell">预售</p>
<p class="good-tag is-presell">预售</p>
{{/ is_presell}}
{{/ tags}}
</div>
... ...
... ... @@ -19,6 +19,9 @@
{{#if isLimited}}
<p class="good-tag limit-tag">限量商品</p>
{{/if}}
{{# isPresell}}
<p class="good-tag is-presell">预售</p>
{{/ isPresell}}
{{/each}}
</div>
<div class="good-detail-img">
... ...
... ... @@ -20,6 +20,9 @@
{{# is_limited}}
<p class="good-tag limit-tag">限量</p>
{{/ is_limited}}
{{# is_presell}}
<p class="good-tag is-presell">预售</p>
{{/ is_presell}}
{{/ tags}}
</div>
<div class="good-detail-img">
... ...
... ... @@ -62,6 +62,12 @@
border: 1px solid #000;
color: #000;
}
.is-presell {
width: 60px;
background-color: #000;
color: #fff;
}
}
}
... ...
... ... @@ -186,9 +186,10 @@ $basicBtnC: #eb0313;
color: #fff;
}
.is_presell {
.is-presell {
background-color: #000;
color: #fff;
width: 60px;
}
}
... ...