Commit 3346025c by 朱继来

活动价样式

parent 2a4c82a5
Showing with 5 additions and 2 deletions
...@@ -155,6 +155,9 @@ li { ...@@ -155,6 +155,9 @@ li {
.preferential_price, .extend_fee { /* 优惠金额、附加费 */ .preferential_price, .extend_fee { /* 优惠金额、附加费 */
display: none; display: none;
} }
.price-line {
text-decoration: line-through;
}
/*提交订单成功页面*/ /*提交订单成功页面*/
.section-1, .section-3{ .section-1, .section-3{
......
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
if (i == 0) { if (i == 0) {
if (data.ac_type) { if (data.ac_type) {
html += '<td><span class="goods-min-num">'+price_arr[i]['purchases']+'</span></td><td>¥<span class="goods-min-price">'+price_arr[i]['price_cn']+'</span><td>¥<span>'+price_arr[i]['price_ac']+'</span></td>'; html += '<td><span class="goods-min-num">'+price_arr[i]['purchases']+'</span></td><td>¥<span class="goods-min-price price-line">'+price_arr[i]['price_cn']+'</span><td>¥<span>'+price_arr[i]['price_ac']+'</span></td>';
} else { } else {
html += '<td><span class="goods-min-num">'+price_arr[i]['purchases']+'</span></td><td>¥<span class="goods-min-price">'+price_arr[i]['price_cn']+'</span></td>'; html += '<td><span class="goods-min-num">'+price_arr[i]['purchases']+'</span></td><td>¥<span class="goods-min-price">'+price_arr[i]['price_cn']+'</span></td>';
} }
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
} }
} else { } else {
if (data.ac_type) { if (data.ac_type) {
html += '<td><span>'+price_arr[i]['purchases']+'</span></td><td>¥<span>'+price_arr[i]['price_cn']+'</span></td><td>¥<span>'+price_arr[i]['price_ac']+'</span></td>'; html += '<td><span>'+price_arr[i]['purchases']+'</span></td><td>¥<span class="price-line">'+price_arr[i]['price_cn']+'</span></td><td>¥<span>'+price_arr[i]['price_ac']+'</span></td>';
} else { } else {
html += '<td><span>'+price_arr[i]['purchases']+'</span></td><td>¥<span>'+price_arr[i]['price_cn']+'</span></td>'; html += '<td><span>'+price_arr[i]['purchases']+'</span></td><td>¥<span>'+price_arr[i]['price_cn']+'</span></td>';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment