uni.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*每个页面公共css */
  2. $primary:#6C52F4;
  3. $assist1:#0ABDEF;
  4. $assist2:#FE3B49;
  5. $assist3:#FFCD32;
  6. $bgcolor1:#151126;
  7. $bgcolor2:#151126;
  8. $bgcolor3:#1F1A30;
  9. $bgcolor4:#332D4C;
  10. $fontcolor1:#494667;
  11. $fontcolor2:#7D7DA4;
  12. $fontcolor3:#9A9ABF;
  13. $fontcolor4:#D4D4F1;
  14. $fontcolor5:#FFFFFF;
  15. .font72{font-size: 72rpx;}
  16. .font44{font-size: 44rpx;}
  17. .font36{font-size: 36rpx;}
  18. .font32{font-size: 32rpx;}
  19. .font28{font-size: 28rpx;}
  20. .font24{font-size: 24rpx;}
  21. .font22{font-size: 22rpx;}
  22. .font20{font-size: 20rpx;}
  23. .fw400{font-weight: 400;}
  24. .fw500{font-weight: 500;}
  25. .fw600{font-weight: 600;}
  26. .fw700{font-weight: 700;}
  27. .el{
  28. white-space: nowrap;
  29. overflow: hidden;
  30. text-overflow: ellipsis;
  31. }
  32. button{background-color: transparent;}
  33. .button-hover{ background: transparent; }
  34. button::after {border: none;box-sizing: content-box; }
  35. ::-webkit-scrollbar { width: 0; height: 0; color: transparent; }
  36. .placeholder-input{
  37. font-size: 28rpx;
  38. font-family: PingFangSC-Regular, PingFang SC;
  39. font-weight: 400;
  40. color: #B7B7C5;
  41. line-height: 40rpx;
  42. }
  43. /*每个页面公共css */
  44. .flex-center{display: flex;justify-content: center;align-items: center;}
  45. .flex-around{display: flex;justify-content: space-around;align-items: center;}
  46. .flex-between{display: flex;justify-content: space-between;align-items: center;}
  47. .flex-start{display: flex;justify-content: flex-start;align-items: center;}
  48. .flex-end{display: flex;justify-content: flex-end;align-items: flex-end;}
  49. .null-box{width: 100%;height: 176rpx;background-color: $bgcolor1;}
  50. .no-more{color: $fontcolor3;text-align: center;padding: 10rpx 0rpx 30rpx 0rpx;}