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

export default {
	//设置全局变量,解绑时从这里取
	globalData: {
		openId: ''
	},
	onLaunch(e) {
		//取出缓存数据
		store.commit('setCacheData');
		//获取二维码信息
		scene(e);
	},
	onShow(e) {
		// #ifdef MP
		mpUpData(); //检测小程序更新
		// #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>