提交 38db11eb 作者: 龚洪江

修复:产品描述字数限制7位

上级 1a9c4008
...@@ -117,7 +117,7 @@ export default function Mall(props: Props) { ...@@ -117,7 +117,7 @@ export default function Mall(props: Props) {
</div> </div>
<div className={styles.title}>{item.goodsName}</div> <div className={styles.title}>{item.goodsName}</div>
<div className={styles.info}> <div className={styles.info}>
<div className={styles.desc}>{item.description}</div> <div className={styles.desc}>{item.description.substring(0, 7)}</div>
<div className={styles.sellCount}> <div className={styles.sellCount}>
已售 已售
{(Math.floor(Math.random() * 901) + 100).toFixed(0)} {(Math.floor(Math.random() * 901) + 100).toFixed(0)}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论