Commit 9b5133ae authored by GuanHua's avatar GuanHua

fix: 店铺收藏列表字段显示问题

parent 3ea320e2
......@@ -54,7 +54,7 @@ const Shops: React.FC = () => {
if (res.code === 1000) {
// fetchPurchaseList()
fetchCollectShopList()
resolve()
resolve(true)
} else {
reject()
}
......@@ -96,12 +96,12 @@ const Shops: React.FC = () => {
<div className={styles.shop_header_info_content_about}>
<div className={styles.shop_header_info_content_about_item}>
<i className={styles.icon}><img src={shop_icon} /></i>
<span className={styles.red}>{item.registerYears}</span>
<span className={styles.red}>{item.registerYears || 0}</span>
<span></span>
</div>
<div className={styles.shop_header_info_content_about_item}>
<i className={styles.icon}><img src={credit_icon} /></i>
<span>{item.integral}</span>
<span>{item.creditPoint || 0}</span>
</div>
</div>
......@@ -112,7 +112,7 @@ const Shops: React.FC = () => {
{/* <i className={cx(styles.level_icon, styles.level3)}></i> */}
<div className={styles.rate_wrap}>
<span>满意度:</span>
<Rate disabled defaultValue={item.satisfied} />
<Rate disabled defaultValue={item.avgTradeCommentStar || 0} />
</div>
</div>
<div className={cx(styles.shops_list_item_item)}>
......
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