components.scss 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /******************** 这里存放通用组件样式 ********************/
  2. /********** uni-app基础组件 **********/
  3. /*** lli-button--primary ***/
  4. // lli-primary
  5. .lli-btn {
  6. background-color: $uni-primary;
  7. color:#ffffff;
  8. }
  9. // lli-primary-hover
  10. .button-hover.lli-btn{
  11. background-color: $lli-btn-hover;
  12. color: hsla(0,0%,100%,.6);
  13. }
  14. // lli-primary-disabled
  15. .lli-btn[disabled]:not([type]){
  16. background-color: $lli-btn-disabled;
  17. color: hsla(0,0%,100%,.6);
  18. }
  19. // lli-primary-loading
  20. .lli-btn[loading]{
  21. background-color: $uni-primary;
  22. color: hsla(0,0%,100%,.6);
  23. }
  24. /*** lli-button--plain ***/
  25. //lli-primary-plain
  26. .lli-btn[plain]{
  27. border-color: $uni-primary;
  28. color: $uni-primary;
  29. }
  30. // lli-primary-plain
  31. .button-hover.lli-btn[plain]{
  32. border-color: $lli-btn-disabled;
  33. color: $lli-btn-disabled;
  34. }
  35. // lli-primary-disabled
  36. .lli-btn[plain][disabled]:not([type]){
  37. background-color: #f7f7f7;
  38. color: rgba(0, 0, 0, 0.3);
  39. }
  40. .lli-btn[plain][loading]{
  41. background-color: transparent;
  42. border-color: $lli-btn-disabled;
  43. color: $lli-btn-disabled;
  44. }
  45. /***** 项目中组件 *****/
  46. // view
  47. view{box-sizing: border-box;}
  48. // 对齐方式
  49. .lli-tl{text-align: left;}
  50. .lli-tc{text-align: center;}
  51. .lli-tr{text-align: right;}
  52. /*****音频播放器 author: TX date:2024-06-24*****/
  53. .MtaBusAudioPlayerBox{
  54. position: relative;
  55. .st-aplayer{
  56. //position: relative;
  57. }
  58. .audio-mask {
  59. width: 30px;
  60. height: 30px;
  61. background: transparent;
  62. z-index: 99;
  63. position: absolute;
  64. top: 10px;
  65. right: 20px;
  66. }
  67. }
  68. /*****分类组件 author: TX date:2024-06-24*****/
  69. .lli-status-box{
  70. display: flex;justify-content: space-around;background: #fff;
  71. border-bottom:1px solid #f2f1f2;padding: 15px 10px;
  72. .status-item{text-align: center;color: #333333;position: relative;}
  73. .status-item.click:before{content: '';position: absolute;height: 2px;width: 80%;bottom: -15px;font-size: 14px;
  74. background-color: $uni-primary;
  75. left: 10%;border-radius: 2px;}
  76. }
  77. /*****开发中,敬请期待 author: TX date:2024-06-25*****/
  78. .lli-develop-expect-page{
  79. height: 100vh;display: flex;align-items: center;justify-content: center;font-size: 36rpx;color: #666;
  80. }