时空网前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.7 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. },
  6. onShow: function() {
  7. console.log('App Show')
  8. },
  9. onHide: function() {
  10. console.log('App Hide')
  11. }
  12. }
  13. </script>
  14. <style lang="scss">
  15. @import "uview-ui/index.scss";
  16. @import './colorui/main.css';
  17. @import './colorui/icon.css';
  18. @import "@/colorui/animation.css";
  19. @import '@/common/styles/common.css';
  20. /*每个页面公共css */
  21. // loading加载
  22. .loading-more {
  23. align-items: center;
  24. justify-content: center;
  25. padding-top: 10px;
  26. padding-bottom: 10px;
  27. text-align: center;
  28. font-size: 28rpx;
  29. color: #999;
  30. }
  31. .loading-more-text::before {
  32. content: '';
  33. width: 20px;
  34. height: 20px;
  35. display: inline-block;
  36. vertical-align: middle;
  37. -webkit-animation: weuiLoading 1s steps(12, end) infinite;
  38. animation: weuiLoading 1s steps(12, end) infinite;
  39. background-repeat: no-repeat;
  40. background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E");
  41. background-size: 100%;
  42. }
  43. @-webkit-keyframes weuiLoading {
  44. 0% {
  45. transform: rotate3d(0, 0, 1, 0deg);
  46. }
  47. 100% {
  48. transform: rotate3d(0, 0, 1, 360deg);
  49. }
  50. }
  51. @keyframes weuiLoading {
  52. 0% {
  53. transform: rotate3d(0, 0, 1, 0deg);
  54. }
  55. 100% {
  56. transform: rotate3d(0, 0, 1, 360deg);
  57. }
  58. }
  59. </style>