App.vue 793 B

1234567891011121314151617181920212223242526272829303132333435
  1. <script setup>
  2. import { ref, computed, watch, nextTick } from "vue";
  3. import { onLoad, onShow, onLaunch } from "@dcloudio/uni-app";
  4. // onLoad 接受 A 页面传递的参数
  5. onLoad((option) => {
  6. });
  7. onShow(() => {
  8. // console.log("app 页面 onShow");
  9. });
  10. onLaunch(async () => {
  11. // console.log("app 页面 onLaunch");
  12. });
  13. </script>
  14. <style lang="scss">
  15. @import "@/uni_modules/uview-plus/index.scss";
  16. @import url("@/plugin/animate/animate.min.css");
  17. @import "static/css/base.css";
  18. @import "static/iconfont/iconfont.css";
  19. @import "static/css/guildford.css";
  20. @import "static/css/style.scss";
  21. /* 隐藏滚动条,但依旧具备可以滚动的功能 */
  22. .uni-scroll-view::-webkit-scrollbar {
  23. display: none;
  24. }
  25. ::-webkit-scrollbar {
  26. width: 0;
  27. height: 0;
  28. color: transparent;
  29. }
  30. </style>