如何定制化SAP Spartacus的购物车图标
生活随笔
收集整理的這篇文章主要介紹了
如何定制化SAP Spartacus的购物车图标
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
SAP Spartacus默認的購物車圖標如下圖所示:
使用如下的css代碼對其外觀進行修改:
/* You can add global styles to this file, and also import other style files */ $skipComponentStyles: (cx-mini-cart);@import "~@spartacus/styles/index";@import "custom-styles";cx-mini-cart {margin-right: unset;padding: 10px;position: relative;.count {position: absolute;border-radius: 50%;color: white;text-align: center;right: 0;top: 0;}.total {display: none;} }結果:
更多Jerry的原創(chuàng)文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的如何定制化SAP Spartacus的购物车图标的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SAP ABAP 服务器上OData G
- 下一篇: 英伟达称 599 美元的 RTX 407