u-loading-icon.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. /* uni.scss */
  7. view.data-v-00752c6d, scroll-view.data-v-00752c6d, swiper-item.data-v-00752c6d {
  8. display: flex;
  9. flex-direction: column;
  10. flex-shrink: 0;
  11. flex-grow: 0;
  12. flex-basis: auto;
  13. align-items: stretch;
  14. align-content: flex-start;
  15. }
  16. .u-loading-icon.data-v-00752c6d {
  17. flex-direction: row;
  18. align-items: center;
  19. justify-content: center;
  20. color: #c8c9cc;
  21. }
  22. .u-loading-icon__text.data-v-00752c6d {
  23. margin-left: 4px;
  24. color: #606266;
  25. font-size: 14px;
  26. line-height: 20px;
  27. }
  28. .u-loading-icon__spinner.data-v-00752c6d {
  29. width: 30px;
  30. height: 30px;
  31. position: relative;
  32. box-sizing: border-box;
  33. max-width: 100%;
  34. max-height: 100%;
  35. animation: u-rotate-00752c6d 1s linear infinite;
  36. }
  37. .u-loading-icon__spinner--semicircle.data-v-00752c6d {
  38. border-width: 2px;
  39. border-color: transparent;
  40. border-top-right-radius: 100px;
  41. border-top-left-radius: 100px;
  42. border-bottom-left-radius: 100px;
  43. border-bottom-right-radius: 100px;
  44. border-style: solid;
  45. }
  46. .u-loading-icon__spinner--circle.data-v-00752c6d {
  47. border-top-right-radius: 100px;
  48. border-top-left-radius: 100px;
  49. border-bottom-left-radius: 100px;
  50. border-bottom-right-radius: 100px;
  51. border-width: 2px;
  52. border-top-color: #e5e5e5;
  53. border-right-color: #e5e5e5;
  54. border-bottom-color: #e5e5e5;
  55. border-left-color: #e5e5e5;
  56. border-style: solid;
  57. }
  58. .u-loading-icon--vertical.data-v-00752c6d {
  59. flex-direction: column;
  60. }
  61. .data-v-00752c6d:host {
  62. font-size: 0px;
  63. line-height: 1;
  64. }
  65. .u-loading-icon__spinner--spinner.data-v-00752c6d {
  66. animation-timing-function: steps(12);
  67. }
  68. .u-loading-icon__text.data-v-00752c6d:empty {
  69. display: none;
  70. }
  71. .u-loading-icon--vertical .u-loading-icon__text.data-v-00752c6d {
  72. margin: 6px 0 0;
  73. color: #606266;
  74. }
  75. .u-loading-icon__dot.data-v-00752c6d {
  76. position: absolute;
  77. top: 0;
  78. left: 0;
  79. width: 100%;
  80. height: 100%;
  81. }
  82. .u-loading-icon__dot.data-v-00752c6d:before {
  83. display: block;
  84. width: 2px;
  85. height: 25%;
  86. margin: 0 auto;
  87. background-color: currentColor;
  88. border-radius: 40%;
  89. content: " ";
  90. }
  91. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(1) {
  92. transform: rotate(30deg);
  93. opacity: 1;
  94. }
  95. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(2) {
  96. transform: rotate(60deg);
  97. opacity: 0.9375;
  98. }
  99. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(3) {
  100. transform: rotate(90deg);
  101. opacity: 0.875;
  102. }
  103. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(4) {
  104. transform: rotate(120deg);
  105. opacity: 0.8125;
  106. }
  107. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(5) {
  108. transform: rotate(150deg);
  109. opacity: 0.75;
  110. }
  111. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(6) {
  112. transform: rotate(180deg);
  113. opacity: 0.6875;
  114. }
  115. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(7) {
  116. transform: rotate(210deg);
  117. opacity: 0.625;
  118. }
  119. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(8) {
  120. transform: rotate(240deg);
  121. opacity: 0.5625;
  122. }
  123. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(9) {
  124. transform: rotate(270deg);
  125. opacity: 0.5;
  126. }
  127. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(10) {
  128. transform: rotate(300deg);
  129. opacity: 0.4375;
  130. }
  131. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(11) {
  132. transform: rotate(330deg);
  133. opacity: 0.375;
  134. }
  135. .u-loading-icon__dot.data-v-00752c6d:nth-of-type(12) {
  136. transform: rotate(360deg);
  137. opacity: 0.3125;
  138. }
  139. @keyframes u-rotate-00752c6d {
  140. 0% {
  141. transform: rotate(0deg);
  142. }
  143. to {
  144. transform: rotate(1turn);
  145. }
  146. }