scan.wxss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /* page {
  2. background-repeat: no-repeat;
  3. background-size: 100% 100%;
  4. -moz-background-size: 100% 100%;
  5. background-color: #333;
  6. } */
  7. .container {
  8. display: flex;
  9. flex-direction: column;
  10. align-items: center;
  11. width: 100%;
  12. height: 100vh;
  13. overflow: hidden;
  14. position: relative;
  15. }
  16. .bg-image {
  17. width: 100vw;
  18. display: block;
  19. position: absolute;
  20. top: 0;
  21. left: 0;
  22. z-index: -1;
  23. }
  24. .scan-body {
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. width: 100%;
  29. height: 100vh;
  30. }
  31. .nav-bar {
  32. width: 100vw;
  33. background-color: transparent !important;
  34. background: transparent !important;
  35. position: sticky;
  36. top: 0;
  37. left: 0;
  38. }
  39. .scan-content {
  40. display: flex;
  41. flex: 1;
  42. flex-direction: column;
  43. justify-content: center;
  44. align-items: center;
  45. width: 100%;
  46. position: relative;
  47. }
  48. .bg-phone-image {
  49. width: 480rpx;
  50. display: block;
  51. }
  52. .scan-tips {
  53. font-size: 24rpx;
  54. color: #6C6970;
  55. width: 480rpx;
  56. text-align: center;
  57. position: absolute;
  58. left: 135rpx;
  59. top: 740rpx;
  60. }
  61. .scan-btn-box {
  62. position: absolute;
  63. left: 60rpx;
  64. bottom: 250rpx;
  65. width: 630rpx;
  66. height: 90rpx;
  67. display: flex;
  68. border-radius: 45rpx;
  69. flex-direction: row;
  70. align-items: center;
  71. justify-content: center;
  72. background: linear-gradient(315deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  73. }
  74. .scan-btn-box image {
  75. width: 40rpx;
  76. height: 40rpx;
  77. display: block;
  78. }
  79. .scan-btn-box text {
  80. font-size: 32rpx;
  81. margin-left: 20rpx;
  82. color: #FFFFFF;
  83. }
  84. .scan-btn-box:active {
  85. opacity: 0.7;
  86. }