app.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. @import "colorui/main.wxss";
  2. @import "colorui/icon.wxss";
  3. @import "static/style/thorui.wxss";
  4. /**app.wxss**/
  5. page {
  6. background: #fafafa;
  7. font-size: 28rpx;
  8. /* font-family:PingFang-SC-Medium; */
  9. }
  10. .container {
  11. display: flex;
  12. flex-direction: column;
  13. box-sizing: border-box;
  14. }
  15. .phcolor {
  16. color: #ccc;
  17. font-size: 32rpx;
  18. }
  19. button::after {
  20. border: none;
  21. }
  22. .opcity {
  23. opacity: 0.5;
  24. }
  25. .hover {
  26. background: #f7f7f9 !important;
  27. }
  28. .ellipsis {
  29. overflow: hidden;
  30. white-space: nowrap;
  31. text-overflow: ellipsis;
  32. }
  33. /*列表统一样式 */
  34. .list-item {
  35. position: relative;
  36. }
  37. .list-item::after {
  38. content: '';
  39. position: absolute;
  40. border-bottom: 1rpx solid #eaeef1;
  41. -webkit-transform: scaleY(0.5);
  42. transform: scaleY(0.5);
  43. bottom: 0;
  44. right: 0;
  45. left: 30rpx;
  46. }
  47. .last::after {
  48. border-bottom: 0 !important;
  49. }
  50. /*按钮样式*/
  51. .btn-primary {
  52. width: 100%;
  53. height: 90rpx;
  54. line-height: 90rpx;
  55. background: linear-gradient(-90deg, #5677fc, #5c8dff);
  56. border-radius: 45rpx;
  57. color: #fff;
  58. font-size: 36rpx;
  59. }
  60. .btn-hover {
  61. color: #d5d4d9;
  62. background: linear-gradient(-90deg, #4a67d6, #4e77d9);
  63. }
  64. .btn-gray {
  65. background: #ededed;
  66. color: #999 !important;
  67. }
  68. .btn-gray-hover {
  69. background: #d5d5d5 !important;
  70. color: #898989;
  71. }
  72. .btn-red {
  73. background: red;
  74. color: #fff !important;
  75. }
  76. .btn-red-hover {
  77. background: #f04b4b !important;
  78. color: #fff;
  79. }
  80. .btn-white {
  81. background: #fff;
  82. color: #333 !important;
  83. }
  84. .tui-white-hover {
  85. background: #e5e5e5 !important;
  86. color: #2e2e2e !important;
  87. }
  88. .btn-disabled {
  89. color: #fafbfc !important;
  90. background: linear-gradient(-90deg, #cad8fb, #c9d3fb);
  91. }