uni.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  3. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  4. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  5. */
  6. @import '@/uni_modules/uview-ui/theme.scss';
  7. // app 样式配置
  8. $app-bg-color: #f3f4f8;
  9. // 重置样式
  10. $u-type-primary: #26caa6;
  11. // 主色调
  12. $primaryColor: #26caa6;
  13. // $u-primary: #FD8701;
  14. $u-primary: #79A9CE;
  15. $u-primary-dark: #606266;
  16. $u-primary-disabled: #909399;
  17. $u-primary-light: #ecf5ff;
  18. $u-warning: #DDAA6C;
  19. $u-warning-dark: #f1a532;
  20. $u-warning-disabled: #f9d39b;
  21. $u-warning-light: #fdf6ec;
  22. .text-info {
  23. color: #333333;
  24. }
  25. .text-warning {
  26. color: #F37B1D
  27. }
  28. @function px($size) {
  29. @return $size * 1;
  30. }
  31. .loadingPage{
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. right: 0;
  36. bottom: 0;
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. background-color: #2D2D2D;
  41. color: #fff;
  42. }
  43. page::-webkit-scrollbar {
  44. display: none !important;
  45. width: 0;
  46. height: 0;
  47. color: transparent;
  48. background-color: transparent;
  49. }
  50. ::-webkit-scrollbar {
  51. display: none !important;
  52. width: 0;
  53. height: 0;
  54. color: transparent;
  55. background-color: transparent;
  56. }
  57. ::-webkit-scrollbar-track {
  58. width: 0;
  59. height: 0;
  60. }
  61. .cu-bar .content {
  62. font-size: 38rpx;
  63. font-weight: 600;
  64. }