- 在cmsWebsiteField模型中新增deliveryText、guaranteeText和openComments三个字段 - 创建useConfig自定义Hook用于获取和管理网站配置数据 - 更新Banner组件中的默认轮播图高度从200px调整为300px- 修改Banner组件中热门商品列表项的右边距样式 - 在ArticleList组件中为map函数添加类型注解 - 移除IsDealer组件中旧的配置获取逻辑,改用新的useConfig Hook - 删除src/pages/user_bak目录下的所有旧版用户相关组件文件 - 删除src/pages/user_bak目录下的配置文件和样式文件
25 lines
523 B
SCSS
25 lines
523 B
SCSS
.cart-icon{
|
|
background: linear-gradient(to bottom, #bbe094, #4ee265);
|
|
border-radius: 100px 0 0 100px;
|
|
height: 70px;
|
|
}
|
|
|
|
/* 去掉 RichText 中图片的间距 */
|
|
rich-text img {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
display: block;
|
|
}
|
|
|
|
/* 在全局样式或组件样式文件中 */
|
|
.no-margin {
|
|
margin: 0 !important; /* 使用 !important 来确保覆盖默认样式 */
|
|
}
|
|
|
|
/* 文本截断样式 */
|
|
.truncate {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
display: inline-block;
|
|
} |