App.vue 791 字节
Newer Older
芊里 已提交
1
<script>
芊里 已提交
2
	import initApp from '@/common/appInit.js';
芊里 已提交
3 4
	export default {
		globalData: {
芊里 已提交
5 6
			searchText: '',
			appVersion:{}
芊里 已提交
7 8 9
		},
		onLaunch: function() {
			console.log('App Launch')
芊里 已提交
10
			// initApp();
芊里 已提交
11 12 13 14 15 16 17 18 19 20 21 22
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
芊里 已提交
23 24 25 26 27 28 29 30 31 32
	.border-test{
		/* #ifdef APP-NVUE */
		border-width: 1rpx;
		border-color: #DD524D;
		/* #endif */
		/* #ifndef APP-NVUE */
		border: 1px solid #DD524D;
		box-sizing: border-box;
		/* #endif */
	}
L
213  
linju 已提交
33 34 35 36 37
	/* #ifndef APP-NVUE */
	view,scroll-view,text,
	image,switch,navigator,icons {
		display: flex;
		box-sizing: border-box;
L
213  
linju 已提交
38
		flex-direction: column;
L
213  
linju 已提交
39 40 41 42 43
	}
	scroll-view{
		-webkit-overflow-scrolling: touch;
	}
	/* #endif */
芊里 已提交
44
</style>