时空网前端
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.

71 lines
2.8 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 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. //底部按钮
  22. .btn-bottom {
  23. position: fixed;
  24. left: 0;
  25. bottom: 0;
  26. width: 100%;
  27. z-index: 1;
  28. }
  29. // loading加载
  30. .loading-more {
  31. align-items: center;
  32. justify-content: center;
  33. padding-top: 10px;
  34. padding-bottom: 10px;
  35. text-align: center;
  36. font-size: 28rpx;
  37. color: #999;
  38. }
  39. .loading-more-text::before {
  40. content: '';
  41. width: 20px;
  42. height: 20px;
  43. display: inline-block;
  44. vertical-align: middle;
  45. -webkit-animation: weuiLoading 1s steps(12, end) infinite;
  46. animation: weuiLoading 1s steps(12, end) infinite;
  47. background-repeat: no-repeat;
  48. 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");
  49. background-size: 100%;
  50. }
  51. @-webkit-keyframes weuiLoading {
  52. 0% {
  53. transform: rotate3d(0, 0, 1, 0deg);
  54. }
  55. 100% {
  56. transform: rotate3d(0, 0, 1, 360deg);
  57. }
  58. }
  59. @keyframes weuiLoading {
  60. 0% {
  61. transform: rotate3d(0, 0, 1, 0deg);
  62. }
  63. 100% {
  64. transform: rotate3d(0, 0, 1, 360deg);
  65. }
  66. }
  67. </style>