camera.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /* html,
  2. body {
  3. height: 100%;
  4. }
  5. .camera {
  6. height: 100%;
  7. }
  8. .camera > view {
  9. height: 24vh;
  10. background: #000000;
  11. font-family: PingFangSC-Regular;
  12. font-size: 32rpx;
  13. color: #ffffff;
  14. display: flex;
  15. align-items: center;
  16. justify-content: space-between;
  17. box-sizing: border-box;
  18. padding: 0 80rpx;
  19. }
  20. .camera > view > image {
  21. width: 148rpx;
  22. height: 148rpx;
  23. }
  24. .coverBox{
  25. width: 75%;
  26. height: 83.7%;
  27. position: absolute;
  28. top: 0;
  29. bottom: 0;
  30. left: 0;
  31. right: 0;
  32. margin: auto;
  33. }
  34. .cameraBorder {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. .cameraTips {
  39. font-size: 32rpx;
  40. width: 100%;
  41. height: 90rpx;
  42. background: #000000;
  43. background: rgba(0, 0, 0, 0.3);
  44. border-radius: 46rpx;
  45. color: #ffffff;
  46. line-height: 90rpx;
  47. text-align: center;
  48. position: absolute;
  49. top: 0;
  50. bottom: 0;
  51. left: 0;
  52. right: 0;
  53. margin: auto;
  54. } */
  55. html,
  56. body {
  57. height: 100%;
  58. }
  59. Page {
  60. background-color: black;
  61. }
  62. .view {
  63. width: 100%;
  64. position: fixed;
  65. top: 0;
  66. left: 0;
  67. display: flex;
  68. }
  69. .border {
  70. position: fixed;
  71. }
  72. .button-view-bg,
  73. .button-view-bg-X {
  74. width: 100%;
  75. position: fixed;
  76. bottom: 0;
  77. background-color: black;
  78. }
  79. .button-view-bg {
  80. height: 24vh;
  81. display: flex;
  82. flex-direction: column;
  83. }
  84. .-X{
  85. width:100%;
  86. height:68rpx;
  87. }
  88. .button-view {
  89. flex: 1;
  90. display: flex;
  91. align-items: center;
  92. justify-content: space-around;
  93. }
  94. .button-view > image {
  95. width: 148rpx;
  96. height: 148rpx;
  97. }
  98. .button-view > view:first-child,
  99. .button-view > view:last-child {
  100. font-family: PingFangSC-Regular;
  101. font-size: 32rpx;
  102. color: #FFFFFF;
  103. width: 128rpx;
  104. height: 128rpx;
  105. text-align: center;
  106. line-height: 128rpx;
  107. }