<script>
	import {
		getGoodsTypeObj,
		getUserDetail
	} from '@/api/common.js';
	export default {

		onLaunch: function() {
			console.log('App Launch')
			
			
		},
		onShow: function() {
			console.log('App Show')
			// 获取商品类型字段
			getGoodsTypeObj().then(res => {
				if (res.state == 'Success') {
					uni.setStorageSync('goodsTypeObj',JSON.stringify(res.content))
				}
			})
		},
		onHide: function() {
			console.log('App Hide')
		},

	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
</style>