public.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. view,
  2. input,
  3. textarea,
  4. block,
  5. navigator,
  6. swiper,
  7. swiper-item,
  8. form,
  9. scroll-view,
  10. picker,
  11. picker-view,
  12. checkbox-group,
  13. checkbox,
  14. radio {
  15. box-sizing: border-box;
  16. }
  17. body,
  18. page{
  19. background-color: #FAFAFC;
  20. font-size: 28rpx;
  21. color: #333333;
  22. }
  23. /* flex布局 */
  24. .flex_box {
  25. display: -webkit-flex;
  26. display: flex;
  27. align-items: center;
  28. }
  29. .flex_row_between {
  30. justify-content: space-between;
  31. }
  32. .flex_row_center {
  33. justify-content: center;
  34. }
  35. .flex_row_around {
  36. justify-content: space-around;
  37. }
  38. .flex_row_end {
  39. justify-content: flex-end;
  40. }
  41. .flex_direction {
  42. flex-direction: column;
  43. }
  44. .flex_col_top {
  45. align-items: flex-start;
  46. }
  47. .flex_col_bottom {
  48. align-items: flex-end;
  49. }
  50. .flex_wrap {
  51. flex-wrap: wrap;
  52. }
  53. .flex_shrink {
  54. flex-shrink: 0;
  55. }
  56. /* 空列表 */
  57. .empty_box {
  58. padding: 50rpx 0;
  59. }
  60. .empty_btn {
  61. height: 150rpx;
  62. }
  63. image,
  64. img {
  65. vertical-align: bottom;
  66. }
  67. /* modal框溢出滚动 */
  68. .modal_scroll {
  69. max-height: 720rpx;
  70. overflow-y: scroll;
  71. }
  72. .form_record_box {
  73. padding: 24rpx 0 0;
  74. }
  75. /* 音节动画---------------------------------- */
  76. .text-center {
  77. text-align: center;
  78. }
  79. /* 三角指针 */
  80. .prompt-layer::after {
  81. content: '';
  82. display: block;
  83. border: 6px solid rgba(0, 0, 0, 0);
  84. border-top-color: rgba(255, 211, 0, 1);
  85. position: absolute;
  86. bottom: -10px;
  87. left: 50%;
  88. transform: translateX(-50%);
  89. }
  90. .prompt-layer-1 {
  91. font-size: 12px;
  92. width: 128px;
  93. text-align: center;
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. justify-content: center;
  98. }
  99. .prompt-layer-1 .p {
  100. color: #000000;
  101. }
  102. .prompt-layer-1 .span {
  103. color: rgba(0, 0, 0, 0.6);
  104. }
  105. /* 语音音阶------------- */
  106. .prompt-loader {
  107. width: 96px;
  108. height: 20px;
  109. display: flex;
  110. align-items: center;
  111. justify-content: space-between;
  112. margin-bottom: 6px;
  113. }
  114. .prompt-loader .em {
  115. display: block;
  116. background: #333333;
  117. width: 1px;
  118. height: 10%;
  119. margin-right: 2.5px;
  120. float: left;
  121. }
  122. .prompt-loader .em:last-child {
  123. margin-right: 0px;
  124. }
  125. .prompt-loader .em:nth-child(1) {
  126. animation: load 2.5s 1.4s infinite linear;
  127. }
  128. .prompt-loader .em:nth-child(2) {
  129. animation: load 2.5s 1.2s infinite linear;
  130. }
  131. .prompt-loader .em:nth-child(3) {
  132. animation: load 2.5s 1s infinite linear;
  133. }
  134. .prompt-loader .em:nth-child(4) {
  135. animation: load 2.5s 0.8s infinite linear;
  136. }
  137. .prompt-loader .em:nth-child(5) {
  138. animation: load 2.5s 0.6s infinite linear;
  139. }
  140. .prompt-loader .em:nth-child(6) {
  141. animation: load 2.5s 0.4s infinite linear;
  142. }
  143. .prompt-loader .em:nth-child(7) {
  144. animation: load 2.5s 0.2s infinite linear;
  145. }
  146. .prompt-loader .em:nth-child(8) {
  147. animation: load 2.5s 0s infinite linear;
  148. }
  149. .prompt-loader .em:nth-child(9) {
  150. animation: load 2.5s 0.2s infinite linear;
  151. }
  152. .prompt-loader .em:nth-child(10) {
  153. animation: load 2.5s 0.4s infinite linear;
  154. }
  155. .prompt-loader .em:nth-child(11) {
  156. animation: load 2.5s 0.6s infinite linear;
  157. }
  158. .prompt-loader .em:nth-child(12) {
  159. animation: load 2.5s 0.8s infinite linear;
  160. }
  161. .prompt-loader .em:nth-child(13) {
  162. animation: load 2.5s 1s infinite linear;
  163. }
  164. .prompt-loader .em:nth-child(14) {
  165. animation: load 2.5s 1.2s infinite linear;
  166. }
  167. .prompt-loader .em:nth-child(15) {
  168. animation: load 2.5s 1.4s infinite linear;
  169. }
  170. @keyframes load {
  171. 0% {
  172. height: 10%;
  173. }
  174. 50% {
  175. height: 100%;
  176. }
  177. 100% {
  178. height: 10%;
  179. }
  180. }
  181. /* 语音音阶-------------------- */
  182. .prompt-layer-2 {
  183. top: -40px;
  184. }
  185. .prompt-layer-2 .text {
  186. color: rgba(0, 0, 0, 1);
  187. font-size: 12px;
  188. }
  189. /*上传关闭按钮样式*/
  190. .u-upload{
  191. .u-upload__wrap{
  192. .u-upload__deletable{
  193. width: 40rpx;
  194. height: 40rpx;
  195. .u-upload__deletable__icon{
  196. .u-icon{
  197. .u-icon__icon{
  198. font-size: 30rpx!important;
  199. line-height: 30rpx!important;
  200. }
  201. }
  202. }
  203. }
  204. }
  205. }
  206. // 搜索组件关闭按钮
  207. .u-search .u-search__content .u-search__content__close{
  208. width: 52rpx;
  209. height: 52rpx;
  210. }
  211. .color-primary {
  212. color: #FD910C;
  213. }
  214. // 禁止滚动
  215. .noScroll {
  216. overflow: hidden;
  217. }
  218. // 自定义导航栏样式
  219. .back-text {
  220. font-size: 40rpx;
  221. font-weight: bold;
  222. color: #323232;
  223. margin-left: 32rpx;
  224. }
  225. // 输入框
  226. .form_input {
  227. position: relative;
  228. width: 100%;
  229. }
  230. .form_input .form_input_read {
  231. position: absolute;
  232. top: 0;
  233. left: 0;
  234. width: 100%;
  235. height: 100%;
  236. z-index: 9;
  237. }