App.vue 948 Bytes
<script>
	import store from '@/store';
	// import {
	// 	scene
	// } from '@/config/common';

	export default {
		//设置全局变量,解绑时从这里取
		globalData: {
			openId: ''
		},
		onLaunch(e) {
			//取出缓存数据
			// store.commit('setCacheData');
			//获取二维码信息
			// scene(e);
			// #ifdef APP-PLUS
			uni.reLaunch({
				url: '/pages/index/splash'
			})
			// #endif
		},
		onShow(e) {
			// #ifdef MP
			// mpUpData(); //检测小程序更新
			// #endif
			// #ifdef APP-PLUS
			// uni.reLaunch({
			// 	url: '/pages/index/splash'
			// })
			// #endif
		},
		onHide() {}
	};
</script>

<style lang="scss">
	@import '@/uni_modules/uview-ui/index.scss';
	@import './style/iconfont.scss';
	@import './style/common.scss';

	page {
		background: #ffffff;
	}

	::-webkit-scrollbar {
		display: none;
		width: 0 !important;
		height: 0 !important;
		-webkit-appearance: none;
		background: transparent;
	}
</style>