1
0

App.vue 521 B

1234567891011121314151617181920212223242526
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. // console.log(plus);
  5. // let loginValue = uni.getStorageSync("isLogin");
  6. // if (!isLogin) {
  7. // uni.reLaunch({
  8. // url: "/pages/login/login",
  9. // success: () => {}
  10. // })
  11. // }
  12. },
  13. onShow: function() {
  14. console.log('App Show')
  15. },
  16. onHide: function() {
  17. console.log('App Hide')
  18. }
  19. }
  20. </script>
  21. <style lang="scss">
  22. /*每个页面公共css */
  23. @import "./uni_modules/vk-uview-ui/index.scss";
  24. @import "./common/myStyle.scss"
  25. </style>