<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.Post({type: "SHFlag"},'/api/public_service/getKumgangHeadImgList').then(res => {
				// let SHFlag = res.data[0].image === "1" ? true : false
				try {
				let SHFlag = res.data[0].title == 1 ? true : false
				uni.setStorageSync('SHFlag', SHFlag)
				} catch(e) {}
			});
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import "@/static/css/base.css";
</style>
