26 lines
580 B
Vue
26 lines
580 B
Vue
<script>
|
|
// import {ShoppingCartType} from '@/common/constants';
|
|
export default {
|
|
onLaunch: function () {
|
|
// const shoppingCartType = uni.getStorageSync('SHOPPING_CART_TYPE');
|
|
// if (!shoppingCartType) {
|
|
// uni.setStorageSync('SHOPPING_CART_TYPE', ShoppingCartType.PHONE)
|
|
// }
|
|
|
|
// uni.hideTabBar()
|
|
console.log('App Launch')
|
|
},
|
|
onShow: function() {
|
|
// uni.hideTabBar()
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import "@/uni_modules/nutui-uni/styles/index.scss";
|
|
</style>
|