Authored by 李奇

拼团详情页修改

... ... @@ -55,6 +55,14 @@
<div class="product-item">
<img src="{{image2 defaultImages w=200 h=282}}" alt="" class="prd-item-img">
<div class="prd-info">
<div class="prd-name">{{productName}}</div>
<div class="price">
<span class="cprice">¥{{collagePrice}}</span>
<span class="mprice">¥{{marketPrice}}</span>
</div>
{{#ifcond joinPeopleNum '>' 0}}
<span class="joined">{{joinPeopleNum}} 人已參加</span>
{{/ifcond}}
<div class="buy-btn">
<span class="num">{{peopleNum}}人成团</span>
<span class="immediate">立即购买</span>
... ...
... ... @@ -168,8 +168,42 @@
}
.prd-info {
position: relative;
padding-left: 220px;
height: 260px;
.prd-name {
font-size: 28px;
color: #444;
line-height: 1.4;
}
}
.prd-info .price {
font-size: 0;
margin-top: 30px;
}
.prd-info .price .cprice {
font-size: 36px;
color: #d0021b;
font-weight: bold;
}
.prd-info .price .mprice {
font-size: 24px;
color: #b0b0b0;
margin-left: 20px;
text-decoration: line-through;
}
.prd-info .joined {
position: absolute;
bottom: 0;
left: 240px;
font-size: 24px;
color: #444;
font-weight: 400;
}
.prd-info .buy-btn {
... ...