index.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. // 颜色
  2. $color-blue:#3387FF;
  3. $color-white:#FFFFFF;
  4. // 字体大小
  5. $font_size_34:34rpx;
  6. $font_size_36:36rpx;
  7. page{
  8. background-color: #fff;
  9. }
  10. .but_button690{
  11. margin: 10rpx;
  12. width: 690rpx;
  13. height: 88rpx;
  14. font-size: $font_size_34;
  15. font-weight: normal;
  16. }
  17. .but_button630{
  18. margin: 10rpx;
  19. width: 630rpx;
  20. height: 88rpx;
  21. font-size: $font_size_34;
  22. font-weight: normal;
  23. }
  24. .center_in_sequence{
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. }
  29. .center_in{
  30. width: 100%;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. }
  35. .space_between{
  36. width: 100%;
  37. display: flex;
  38. justify-content: space-between;
  39. align-items: center;
  40. }
  41. .safeDistance{
  42. padding-top: constant(safe-area-inset-top);
  43. padding-top: env(safe-area-inset-top);
  44. }
  45. .safeBottom{
  46. padding-bottom: constant(safe-area-inset-bottom); //兼容 IOS<11.2
  47. padding-bottom: env(safe-area-inset-bottom); //兼容 IOS>11.2
  48. }
  49. .up_and_down{
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: space-between;
  53. align-items: center;
  54. }
  55. .font36{
  56. font-size: $font_size_36;
  57. font-weight: bold;
  58. text-align: left;
  59. color: #333;
  60. }
  61. .btn_print {
  62. position: fixed;
  63. bottom: 0;
  64. left: 0;
  65. right: 0;
  66. background-color: #fff;
  67. padding: 20rpx;
  68. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.1);
  69. padding-bottom: constant(safe-area-inset-bottom); //兼容 IOS<11.2
  70. padding-bottom: env(safe-area-inset-bottom); //兼容 IOS>11.2
  71. .u-button{
  72. margin-bottom: 20rpx;
  73. }
  74. }
  75. .wx_card {
  76. position: fixed;
  77. display: flex;
  78. flex-direction: column;
  79. align-items: center;
  80. bottom: 50rpx;
  81. left: 0rpx;
  82. right: 0rpx;
  83. margin-bottom: 50rpx;
  84. }
  85. .card_btn_wx {
  86. display: flex;
  87. align-items: center;
  88. justify-content: center;
  89. width: 70rpx;
  90. height: 70rpx;
  91. border-radius: 50%;
  92. }
  93. // 伪元素1rpx边框
  94. .frame {
  95. position: relative; //重要
  96. }
  97. .frame::after {
  98. position: absolute;
  99. content: '';
  100. border: 2rpx solid #b4b3b1;
  101. border-radius: 50%;
  102. width: 200%;
  103. height: 200%;
  104. top: 0;
  105. left: 0;
  106. transform: scale(0.5);
  107. transform-origin: 0 0;
  108. pointer-events: none;
  109. /* 使伪元素不会阻止鼠标事件 */
  110. }
  111. .title_login_wx {
  112. font-size: 26rpx;
  113. margin-top: 12rpx;
  114. }