index.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. .button-wrap {
  2. display: -webkit-flex;
  3. display: flex;
  4. -webkit-justify-content: center;
  5. justify-content: center;
  6. }
  7. .button-wrap-shadow {
  8. box-shadow: -1px 1px 7px 0 rgba(0,0,0,0.13);
  9. }
  10. .img-big-wrap {
  11. width: 100%;
  12. display: -webkit-flex;
  13. display: flex;
  14. background: #FAFAFA;
  15. }
  16. .input-language {
  17. position: absolute;
  18. right: 50%;
  19. bottom: 60rpx;
  20. height: 159rpx;
  21. width: 230rpx;
  22. display: flex;
  23. display: -webkit-flex;
  24. align-items: center;
  25. justify-content: center;
  26. box-sizing: border-box;
  27. }
  28. .output-language{
  29. position: absolute;
  30. left: 50%;
  31. bottom: 60rpx;
  32. height: 159rpx;
  33. width: 230rpx;
  34. display: flex;
  35. display: -webkit-flex;
  36. align-items: center;
  37. justify-content: center;
  38. }
  39. .normal-record-icon {
  40. height: 30rpx;
  41. width: 20rpx;
  42. }
  43. .normal-record-text {
  44. color: #9B9B9B;
  45. font-size: 24rpx;
  46. margin: 0 10rpx;
  47. }
  48. .press-record-icon {
  49. height: 32rpx;
  50. width: 20rpx;
  51. }
  52. .press-record-text {
  53. color: #4A90E2;
  54. font-size: 32rpx;
  55. margin: 0 10rpx;
  56. }
  57. .record-text {
  58. color: #9B9B9B;
  59. font-size:24rpx;
  60. text-align:center;
  61. position:absolute;
  62. left:50%;
  63. margin-left:-160rpx;
  64. width:320rpx;
  65. bottom:229rpx;/*159 + 60 + 10*/
  66. }
  67. .keyboard-button {
  68. height:40rpx;
  69. width:48rpx;
  70. position:absolute;
  71. left:50%;
  72. margin-left:-302rpx;/*-254 - 48*/
  73. bottom:120rpx;
  74. }
  75. .keyboard-text {
  76. color: #4A4A4A;
  77. font-size:32rpx;
  78. text-align:center;
  79. position:absolute;
  80. left:80%;
  81. margin-left:-135rpx;
  82. width:320rpx;
  83. top:175rpx;
  84. }
  85. .button-container{
  86. display: flex;
  87. display: -webkit-flex;
  88. height: 100%;
  89. width: 100%;
  90. box-sizing: border-box;
  91. justify-content: space-between;
  92. -webkit-justify-content: space-between;
  93. align-items: center;
  94. -webkit-align-items:center;
  95. margin: 0 calc( (100% - 240rpx * 2) / 3 );
  96. margin-bottom: 20px;
  97. padding: 50rpx 0 38rpx 0;
  98. }
  99. .button-item {
  100. display: flex;
  101. display: -webkit-flex;
  102. flex-direction: column;
  103. -webkit-flex-direction: column;
  104. justify-content: flex-start;
  105. -webkit-justify-content: flex-start;
  106. align-items: center;
  107. -webkit-align-items: center;
  108. width: 240rpx;
  109. box-sizing: border-box;
  110. }
  111. .button-label {
  112. font-size: 30rpx;
  113. color: #9B9B9B;
  114. letter-spacing: 0;
  115. margin: 15rpx 0 0 0;
  116. }
  117. .button-press {
  118. position: relative;
  119. display: flex;
  120. display: -webkit-flex;
  121. height: 100rpx;
  122. /* width: 240rpx; */
  123. width: 100%;
  124. border-radius: 100rpx;
  125. justify-content: center;
  126. -webkit-justify-content: center;
  127. align-items: center;
  128. -wekbit-align-items:center;
  129. }
  130. .button-background {
  131. position: absolute;
  132. height: 100rpx;
  133. width: 100%;
  134. border-radius: 100rpx;
  135. left: 0;
  136. z-index: 1;
  137. }
  138. .text-in-button {
  139. font-weight: bold;
  140. font-size: 34rpx;
  141. color: #FFFFFF;
  142. z-index: 2;
  143. }
  144. .text-in-button.text-press {
  145. opacity: 0.6;
  146. }