common.scss 915 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @font-face {
  2. font-family: 'oppoSans-M';
  3. src: url('@/assets/styles/OPPOSans-M.ttf') format('truetype');
  4. }
  5. @font-face {
  6. font-family: 'oppoSans-R';
  7. src: url('@/assets/styles/OPPOSans-R.ttf') format('truetype');
  8. }
  9. @font-face {
  10. font-family: 'myFont';
  11. src: url('@/assets/styles/custom.ttf') format('truetype');
  12. }
  13. .oppoSans-M{
  14. font-family: 'oppoSans-M';
  15. font-weight: 500;
  16. }
  17. .oppoSans-R{
  18. font-family: 'oppoSans-R';
  19. }
  20. .price-font{
  21. font-family: 'myFont';
  22. }
  23. body{
  24. font-family: 'oppoSans-M';
  25. background-color: #f5f5f5;
  26. color: #303133;
  27. }
  28. div{
  29. box-sizing: border-box;
  30. }
  31. .main-container {
  32. width: 1200px;
  33. margin: 0 auto;
  34. }
  35. /* 多行超出隐藏 */
  36. .multi-hidden {
  37. word-break: break-all;
  38. text-overflow: ellipsis;
  39. overflow: hidden;
  40. display: -webkit-box;
  41. -webkit-line-clamp: 2;
  42. -webkit-box-orient: vertical;
  43. }
  44. .el-button:focus-visible{
  45. outline: none !important;
  46. }