|
123456789101112131415161718192021222324 |
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- console.log('App Hide')
- },
- onBackPress: function(e) {
- plus.runtime.quit();
- uni.removeStorageSync('index')
- // debugger;
- return true;
- }
- }
- </script>
-
- <style lang="scss">
- @import "uview-ui/index.scss";
- /*每个页面公共css */
- </style>
|