Commit db5cc91d authored by GuanHua's avatar GuanHua

feat: 店铺注册信息显示

parent 4f1574be
......@@ -86,15 +86,15 @@ const ShopInfo: React.FC<ShopInfoPropsType> = (props) => {
</div>
<div className={styles.shop_info_list_item}>
<div className={styles.label}>注册资本:</div>
<div className={styles.breif}>5000万元</div>
<div className={styles.breif}>{shopInfo?.registeredCapital || ""}</div>
</div>
<div className={styles.shop_info_list_item}>
<div className={styles.label}>成立日期:</div>
<div className={styles.breif}>2014-09-09</div>
<div className={styles.breif}>{shopInfo?.establishmentDate || ""}</div>
</div>
<div className={styles.shop_info_list_item}>
<div className={styles.label}>营业执照:</div>
<div className={styles.breif}><span className={styles.certified}>{shopInfo?.outerStatus === 3 ? '[已认证]' : '[未认证]'}</span></div>
<div className={styles.breif}><span className={styles.certified}>{shopInfo?.businessLicence ? '[已认证]' : '[未认证]'}</span></div>
</div>
</div>
<div className={styles.dashed_split}></div>
......
......@@ -128,15 +128,15 @@ const ShopHeader: React.FC<ShopHeaderPropsType> = (props) => {
</div>
<div className={styles.shop_info_list_item}>
<div className={styles.label}>注册资本:</div>
<div className={styles.breif}>1000万元</div>
<div className={styles.breif}>{shopInfo?.registeredCapital || ""}</div>
</div>
<div className={styles.shop_info_list_item}>
<div className={styles.label}>成立日期:</div>
<div className={styles.breif}>2020-09-01</div>
<div className={styles.breif}>{shopInfo?.establishmentDate || ""}</div>
</div>
<div className={styles.shop_info_list_item}>
<div className={styles.label}>营业执照:</div>
<div className={styles.breif}><span className={styles.certified}>{shopInfo?.outerStatus === 3 ? '[已认证]' : '[未认证]'}</span></div>
<div className={styles.breif}><span className={styles.certified}>{shopInfo?.businessLicence ? '[已认证]' : '[未认证]'}</span></div>
</div>
</div>
<div className={styles.dashed_split}></div>
......
......@@ -105,16 +105,16 @@ const ShopAbout: React.FC<ShopAboutPropType> = (props) => {
<div className={styles.shop_about_info_title_about}>
<div className={styles.shop_about_info_title_about_item}>
<i className={styles.icon}><img src={shop_icon} /></i>
<span className={styles.red}>2</span>
<span className={styles.red}>{shopInfo?.registerYears || 0}</span>
<span></span>
</div>
<div className={styles.shop_about_info_title_about_item}>
<i className={styles.icon}><img src={credit_icon} /></i>
<span>1288</span>
<span>{shopInfo?.creditPoint || 0}</span>
</div>
<div className={styles.shop_about_info_title_about_item}>
<label>满意度:</label>
<Rate className={styles.rate} disabled defaultValue={2} />
<Rate className={styles.rate} disabled defaultValue={shopInfo?.avgTradeCommentStar || 0} />
</div>
</div>
</div>
......
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