uni.scss 560 B

12345678910111213141516171819202122232425
  1. @import "@/uni_modules/uni-scss/variables.scss";
  2. @import "animate.css/animate.css";
  3. // 主题色
  4. $defaultColor: #49b856;
  5. // 红色
  6. $textColorRed: #ff3b53;
  7. //数字字母不换行
  8. @mixin numbersAndLettersNoWrap {
  9. word-break: break-all;
  10. }
  11. //flex布局
  12. // $justifyContent 主轴对齐方式
  13. // $alignItem 交叉轴对齐方式
  14. // $flexDirection 方向
  15. @mixin flex(
  16. $justifyContent: flex-start,
  17. $alignItem: stretch,
  18. $flexDirection: row
  19. ) {
  20. display: flex;
  21. justify-content: $justifyContent;
  22. align-items: $alignItem;
  23. flex-direction: $flexDirection;
  24. }