index.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. .i-btn {
  2. text-align: center;
  3. vertical-align: middle;
  4. touch-action: manipulation;
  5. cursor: pointer;
  6. background-image: none;
  7. white-space: nowrap;
  8. user-select: none;
  9. font-size: 28rpx;
  10. border-radius: 4rpx;
  11. border: 0 !important;
  12. position: relative;
  13. text-decoration: none;
  14. height: 88rpx;
  15. line-height: 88rpx;
  16. background: #f7f7f7;
  17. color: #495060;
  18. margin: 20rpx;
  19. }
  20. .i-btn-hover {
  21. opacity: 0.7;
  22. }
  23. .i-btn-long {
  24. border-radius: 0;
  25. margin: 0;
  26. box-shadow: none;
  27. }
  28. .i-btn-large {
  29. height: 96rpx;
  30. line-height: 96rpx;
  31. }
  32. .i-btn-small {
  33. height: 80rpx;
  34. line-height: 80rpx;
  35. }
  36. .i-btn-primary {
  37. color: #fff;
  38. background: #2d8cf0;
  39. }
  40. .i-btn-ghost {
  41. background: #fff;
  42. color: #495060;
  43. }
  44. .i-btn-success {
  45. color: #fff;
  46. background: #19be6b;
  47. }
  48. .i-btn-warning {
  49. color: #fff;
  50. background: #f90;
  51. }
  52. .i-btn-error {
  53. color: #fff;
  54. background: #ed3f14;
  55. }
  56. .i-btn-info {
  57. color: #fff;
  58. background: #2db7f5;
  59. }
  60. .i-btn-circle {
  61. border-radius: 88rpx;
  62. }
  63. .i-btn-large.i-btn-circle {
  64. border-radius: 96rpx;
  65. }
  66. .i-btn-small.i-btn-circle {
  67. border-radius: 80rpx;
  68. }
  69. .i-btn-loading {
  70. opacity: 0.6;
  71. }
  72. .i-btn-loading-inner {
  73. display: inline-block;
  74. margin-right: 24rpx;
  75. vertical-align: middle;
  76. width: 28rpx;
  77. height: 28rpx;
  78. background: 0 0;
  79. border: 4rpx solid #e9eaec;
  80. border-color: #e9eaec #e9eaec #e9eaec #2d8cf0;
  81. border-radius: 50%;
  82. animation: btn-spin 0.6s linear;
  83. animation-iteration-count: infinite;
  84. }
  85. .i-btn-disabled {
  86. opacity: 0.9;
  87. }
  88. .i-btn-inline {
  89. display: inline-block;
  90. }
  91. @-webkit-keyframes btn-spin {
  92. 0% {
  93. transform: rotate(0);
  94. }
  95. 100% {
  96. transform: rotate(360deg);
  97. }
  98. }
  99. @keyframes btn-spin {
  100. 0% {
  101. transform: rotate(0);
  102. }
  103. 100% {
  104. transform: rotate(360deg);
  105. }
  106. }