ocr.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /* pages/ocr/ocr.wxss */
  2. page {
  3. background-color: white;
  4. }
  5. .container1 {
  6. position: relative;
  7. margin: 25rpx 50rpx !important;
  8. display: flex;
  9. justify-content: flex-start;
  10. align-items: center;
  11. flex-direction: column;
  12. }
  13. /* 拍照示例边框 */
  14. .border-tip {
  15. padding: 25rpx 30rpx;
  16. background: linear-gradient(179.99deg, #F2F7FF 7.95%, #D2EAFF 111.25%);
  17. border-radius: 9px;
  18. box-shadow: 3px 3px 5px 1px #F2F7FF;
  19. }
  20. /* 提示语1 */
  21. .tip {
  22. font-size: 13px;
  23. padding: 20rpx 0;
  24. text-align: center;
  25. }
  26. /* 护照区域 */
  27. .passport-area {
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. width: 600rpx;
  32. height: 400rpx;
  33. position: relative;
  34. }
  35. .passport-area image {
  36. position: absolute;
  37. }
  38. .passport-area>image:first-child {
  39. width: 458rpx;
  40. height: 312rpx;
  41. }
  42. .passport-area>image:last-child {
  43. width: 100%;
  44. height: 100%;
  45. }
  46. /* 提示3 */
  47. .icon-area {
  48. display: flex;
  49. justify-content: space-between;
  50. align-items: center;
  51. width: 100%;
  52. height: 150rpx;
  53. }
  54. .icon {
  55. height: 100%;
  56. display: flex;
  57. justify-content: space-between;
  58. align-items: center;
  59. flex-direction: column;
  60. font-size: 13px;
  61. }
  62. .icon-area image {
  63. width: 100rpx;
  64. height: 100rpx;
  65. }
  66. /* 操作区域 */
  67. .do-area {
  68. position: relative;
  69. margin-top: 50rpx;
  70. width: 550rpx !important;
  71. padding: 50rpx;
  72. border: 3rpx dashed rgb(37, 37, 37);
  73. border-radius: 9px;
  74. box-shadow: 3px 3px 5px 1px #F2F7FF;
  75. }
  76. .title {
  77. text-align: center;
  78. font-weight: 700;
  79. }
  80. /* 选择证件类型 */
  81. .picker-area {
  82. width: 100%;
  83. margin-top: 30rpx;
  84. }
  85. /* 护照验证 */
  86. .btn-area {
  87. width: 100%;
  88. display: flex;
  89. justify-content: center;
  90. margin-top: 50rpx;
  91. }
  92. .btn-area button {
  93. width: 378rpx;
  94. height: 88rpx;
  95. color: white;
  96. background: linear-gradient(178.05deg, #8CC1FF -17.7%, #347DFF 98.35%),
  97. linear-gradient(0deg, #347DFF, #347DFF);
  98. font-size: 32rpx;
  99. line-height: 88rpx;
  100. }
  101. button::after {
  102. border: none;
  103. }