Authored by 李奇

邀新团tag添加

... ... @@ -13,7 +13,8 @@
data-activity-id="{{activityId}}" data-group-no="{{groupNo}}" data-page-go="{{pageGo}}">
<img src="{{image2 yourJoinItem.productIcon w=200 h=282}}" alt="" class="card-pre-img">
<div class="info">
<div class="name">{{yourJoinItem.productName}}</div>
<div class="name">{{#ifcond joinLimit '==' 1}}<span class="tag"></span>{{/ifcond}}{{yourJoinItem
.productName}}</div>
<div class="group-price">{{yourJoinItem.productGroupPrice}}</div>
<div class="single-buy-price">单人购买:<span class="line-through">{{yourJoinItem
.productSalePrice}}</span></div>
... ... @@ -87,7 +88,8 @@
<div class="product-item" data-product-skn="{{productSkn}}" data-activity-id="{{activityId}}">
<img data-original="{{image2 defaultImages w=200 h=282}}" alt="商品图片" class="prd-item-img lazy">
<div class="prd-info">
<div class="prd-name">{{productName}}</div>
<div class="prd-name">{{#ifcond @root.data.joinLimit '==' 1}}<span class="tag"></span>{{/ifcond
}}{{productName}}</div>
<div class="price">
<span class="cprice">¥{{collagePrice}}</span>
<span class="mprice">¥{{marketPrice}}</span>
... ...
... ... @@ -72,6 +72,23 @@
padding: 34px 20px 0 230px;
box-sizing: border-box;
.name {
font-size: 24px;
color: #444;
letter-spacing: -0.8px;
line-height: 40px;
}
.name .tag {
display: inline-block;
width: 80px;
height: 28px;
margin-right: 16px;
vertical-align: middle;
background-image: url("img/activity/group/invite-new.png");
background-size: 80px 28px;
}
.group-price {
font-size: 40px;
color: #d0021b;
... ... @@ -207,6 +224,16 @@
}
}
.prd-name .tag {
display: inline-block;
width: 80px;
height: 28px;
margin-right: 16px;
vertical-align: middle;
background-image: url("img/activity/group/invite-new.png");
background-size: 80px 28px;
}
.prd-info .price {
font-size: 0;
margin-top: 30px;
... ...