Commit 29a4a9da authored by Hsinli's avatar Hsinli

adddd

parent bcf50197
Pipeline #5868 passed with stage
in 2 seconds
...@@ -113,7 +113,7 @@ class CollectionService extends Service { ...@@ -113,7 +113,7 @@ class CollectionService extends Service {
image: retList[j].image, image: retList[j].image,
area: type === 1 ? retList[j].houseArea : '', area: type === 1 ? retList[j].houseArea : '',
price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price, price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price,
type: type, type: type === 1 ? 'new_house' : 'rental_house',
}; };
list.push(tmp); list.push(tmp);
} }
......
...@@ -115,7 +115,7 @@ class OrderService extends Service { ...@@ -115,7 +115,7 @@ class OrderService extends Service {
area: type === 1 ? retList[j].houseArea : '', area: type === 1 ? retList[j].houseArea : '',
price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price, price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price,
time: moment().format('YYYY-MM-DD') === moment(orderList.results[j].orderAt).format('YYYY-MM-DD') ? '今天' : moment(orderList.results[j].orderAt).format('YYYY-MM-DD'), time: moment().format('YYYY-MM-DD') === moment(orderList.results[j].orderAt).format('YYYY-MM-DD') ? '今天' : moment(orderList.results[j].orderAt).format('YYYY-MM-DD'),
type: type type: type === 1 ? 'new_house' : 'rental_house',
}; };
list.push(tmp); list.push(tmp);
} }
......
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 to comment