App.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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>
  15. /*每个页面公共css */
  16. @import "style/main.css";
  17. @import "style/icon.css";
  18. @import "style/animation.css";
  19. @import "style/base.css";
  20. page{
  21. background-color: #ffffff;
  22. font-family: "Roboto";
  23. height: 100vh;
  24. }
  25. .top-img{
  26. top: -0vw;
  27. left: 0;
  28. right: 0;
  29. width: 100vw;
  30. margin-bottom: -15vw;
  31. }
  32. .button-all {
  33. /* color: #5bae23; */
  34. border: none;
  35. border-radius: 15px;
  36. /*backdrop-filter: blur(3px); /* 高斯模糊效果 */
  37. /*background-color: rgba(255, 255, 255, 0.4); /* 半透明背景 */
  38. /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6); /* 添加阴影效果 */
  39. }
  40. .button-all:active {
  41. opacity: 0.5;
  42. filter: brightness(90%);
  43. transform: translateY(2px) translateX(2px);
  44. }
  45. .no_data{
  46. width: 100%; /* 设置宽度 */
  47. height: 80vh; /* 设置高度 */
  48. background-image: url('@/static/img/no-data.png');
  49. background-size: 75vw 75vw;
  50. background-position: center 10vh;
  51. background-repeat: no-repeat; /* 不重复背景图片 */
  52. }
  53. </style>