common.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /* 纵向 */
  2. .flex-column {
  3. display: flex;
  4. flex-direction: column;
  5. }
  6. /* 横向*/
  7. .flex-row {
  8. display: flex;
  9. flex-direction: row;
  10. }
  11. /* 按钮默认样式 */
  12. .btn {
  13. background-color: #353535;
  14. width: 69.33%;
  15. border-radius: 50rpx;
  16. color: white;
  17. font-size: 32rpx;
  18. font-weight: 550;
  19. line-height: 2.875;
  20. }
  21. /* 解决ios 有边框的问题 */
  22. .btn:after {
  23. border: none;
  24. }
  25. .btn-mini {
  26. background-color: #353535;
  27. border-radius: 30rpx;
  28. padding-left: 20rpx;
  29. padding-right: 20rpx;
  30. color: white;
  31. font-size: 24rpx;
  32. font-weight: normal;
  33. line-height: 2.16;
  34. }
  35. /* 默认按钮按下样式 */
  36. .btn-hover {
  37. background-color: #999999;
  38. color: white;
  39. }
  40. /* 紫色按钮样式 */
  41. .btn-primary {
  42. background-color: #684bbe;
  43. }
  44. /* 紫色按钮按下样式 */
  45. .btn-primary-hover {
  46. background-color: #a78be0;
  47. color: white;
  48. }
  49. /* 取消按钮的样式*/
  50. .btn-cancel {
  51. background-color: #999999;
  52. }
  53. /* 取消按钮按下的样式*/
  54. .btn-cancel-hover {
  55. background-color: #ccc8c8;
  56. color: #5c5b5b;
  57. }
  58. /* 黑色 字重400 24rpx大小的文字 */
  59. .black-normal-24rpx {
  60. font-size: 24rpx;
  61. font-weight: normal;
  62. color: #353535;
  63. }
  64. /* 黑色 字重550 24rpx大小的文字 */
  65. .black-mudium-24rpx {
  66. font-size: 24rpx;
  67. font-weight: 550;
  68. color: #353535;
  69. }
  70. /* 黑色 字重550 28rpx大小的文字 */
  71. .black-mudium-28rpx {
  72. font-size: 28rpx;
  73. font-weight: 550;
  74. color: #353535;
  75. }
  76. /* 黑色 字重550 30rpx大小的文字 */
  77. .black-mudium-30rpx {
  78. font-size: 30rpx;
  79. font-weight: 550;
  80. color: #353535;
  81. }
  82. /* 灰色 字重400 24rpx大小的文字 */
  83. .gray-normal-24rpx {
  84. font-size: 24rpx;
  85. font-weight: normal;
  86. color: #999999;
  87. }
  88. /* 紫色 字重400 24rpx大小的文字 */
  89. .primary-normal-24rpx {
  90. font-size: 24rpx;
  91. font-weight: normal;
  92. color: #353535;
  93. }
  94. /* 横线 */
  95. .line {
  96. width: 92%;
  97. height: 1px;
  98. opacity: 0.2;
  99. background-image: linear-gradient(to right, #c8c8c8, #484848, #979797);
  100. }
  101. /* 设备x1图片的大小*/
  102. .device-x1 {
  103. width: 120rpx;
  104. height: 111rpx;
  105. }
  106. /* view 按下的样式 */
  107. .view-hover {
  108. background: rgba(0, 0, 0, 0.1);
  109. }