13:51 25/12/2023
This commit is contained in:
12
dist/main.js
vendored
12
dist/main.js
vendored
@@ -44,7 +44,11 @@ function showListProductHome(lay_sp_tu_api, status, holderId) {
|
||||
function xayhtml(product) {
|
||||
var Htmlcheckstatus = '';
|
||||
if (product.status == 'started') {
|
||||
Htmlcheckstatus = `<div class="deal-time-holder d-flex align-items space-center">
|
||||
Htmlcheckstatus = `
|
||||
<div class="starting-price">
|
||||
Giá Khởi điểm: ${formatPrice(product.starting_price)}đ
|
||||
</div>
|
||||
<div class="deal-time-holder d-flex align-items space-center">
|
||||
<div class="txt">Còn lại:</div>
|
||||
<div class="product-time-holder js-deal-time-${product.productId}" data-time="${product.to_time}">
|
||||
</div>
|
||||
@@ -52,7 +56,11 @@ function xayhtml(product) {
|
||||
<a href="/auction_program/product-detail.html?id=${product.productId}" class="btn-auction">Đấu giá ngay</a>`;
|
||||
}
|
||||
else if (product.status == 'coming') {
|
||||
Htmlcheckstatus = `<div class="deal-time-holder d-flex align-items space-center">
|
||||
Htmlcheckstatus = `
|
||||
<div class="starting-price">
|
||||
Giá Khởi điểm: ${formatPrice(product.starting_price)}đ
|
||||
</div>
|
||||
<div class="deal-time-holder d-flex align-items space-center">
|
||||
<div class="txt">Bắt đầu sau:</div>
|
||||
<div class="product-time-holder js-deal-time-${product.productId}" data-time="${product.from_time}">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user