<script>
	export default {
		globalData: {
			baseUrl: 'http://192.168.16.156:9110/saas/clz/', // 本地
			// baseUrl: 'http://md.test.zyucgj.com/saas/clz/', // 预发布
			// baseUrl: 'https://wx.chelingzhu.com/clzwx/' // 生产
		},
		onLaunch: function() {
			console.log('App Launch');
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide');
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import "/static/iconfont/iconfont.css";
	/*每个页面公共css */
	page {
		width: 100%;
		min-height: 100%;
		display: flex;
		background: #f8f8f8;
		> view{
			width: 100%;
		}
	}

	/* #ifdef MP-BAIDU */
	page {
		width: 100%;
		height: 100%;
		display: block;
	}

	swan-template {
		width: 100%;
		min-height: 100%;
		display: flex;
	}

	/* 原生组件模式下需要注意组件外部样式 */
	custom-component {
		width: 100%;
		min-height: 100%;
		display: flex;
	}

	/* #endif */

	/* #ifdef MP-ALIPAY */
	page {
		min-height: 100vh;
	}

	/* #endif */

	/* 原生组件模式下需要注意组件外部样式 */
	m-input {
		width: 100%;
		min-height: 100%;
		display: flex;
	}

	.content {
		display: flex;
		flex: 1;
		flex-direction: column;
		background-color: #fff;
		padding: 20upx;
	}
	// 带圆角的区域块
	.cont-item{
		background: #ffffff;
		margin: 20upx 32upx;
		padding: 0 32rpx;
		border-radius: 24upx;
		box-shadow: 1px 1px 3px #EEEEEE;
		font-size: 28upx;
	}
	/* 显示一行省略号 */
	.ellipsis-one{
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		word-break: break-all;
	}
	/* 显示两行，省略号 */
	.ellipsis-two{
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	/* felx布局 */
	.flex{
		display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */  
		display: -moz-flex; /* Firefox 18+ */  
		display: -ms-flexbox; /* IE 10 */  
		display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
	}
	/*伸缩流方向*/
	.flex_column{
	    -webkit-box-orient: vertical;
	    -ms-flex-direction: column;
	    -webkit-flex-direction: column;
	    flex-direction: column;
	}
	/*主轴对齐*/
	.justify_center{
	    -webkit-box-pack: center;
	    -ms-flex-pack: center;
	    -webkit-justify-content: center;
	    justify-content: center;
	}
	.justify_end{
	    -webkit-box-pack: end;
	    -ms-flex-pack: end;
	    -webkit-justify-content: flex-end;
	    justify-content: flex-end;
	}
	.justify_between{
	    -webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	    -webkit-justify-content: space-between;
	    justify-content: space-between;
	}
	/*侧轴对齐*/
	.align_start{
	    -webkit-box-align: start;
	    -ms-flex-align: start;
	    -webkit-align-items: flex-start;
	    align-items: flex-start;
	}
	.align_end{
	    -webkit-box-align: end;
	    -ms-flex-align: end;
	    -webkit-align-items: flex-end;
	    align-items: flex-end;
	}
	.align_center{
	    -webkit-box-align: center;
	    -ms-flex-align: center;
	    -webkit-align-items: center;
	    align-items: center;
	}
	.align_baseline{
	    -webkit-box-align: baseline;
	    -ms-flex-align: baseline;
	    -webkit-align-items: baseline;
	    align-items: baseline;
	}
	/*伸缩性*/
	.flex_auto{
	    -webkit-box-flex: 1;
	    -ms-flex: auto;
	    -webkit-flex: auto;
	    flex: auto;
	}
	.flex_1{
	    -webkit-box-flex: 1;
	    -ms-flex: 1;
	    -webkit-flex: 1;
	    flex: 1;    
	}
</style>
