// 定义内外边距，历遍1-80
@for $i from 0 through 80 {
	// 只要双数和能被5除尽的数
	@if $i % 2 == 0 or $i % 5 == 0 {
		// 定义上下外边距
		.u-m-tb-#{$i} {
			margin: $i + rpx 0 !important;
		}
		// 定义左右外边距
		.u-m-lr-#{$i} {
			margin: 0 $i + rpx !important;
		}
		// 定义上下内边距
		.u-p-tb-#{$i} {
			padding: $i + rpx 0 !important;
		}
		// 定义左右内边距
		.u-p-lr-#{$i} {
			padding: 0 $i + rpx !important;
		}
	}
}
.u-font-bold {
	font-weight: bold;
}
.u-border-bottom {
	border-bottom: 1rpx solid $border-color;
}
.main-color {
	color: $main-color;
}
.orange {
	color: $orange;
}
.green {
	color: $green;
}
.grey {
	color: $grey;
}
.white {
	color: $white;
}
.empty {

		text-align: center;

		image {
			width: 50vw;
			margin-top: 25vh;
		}

		.empty-text {
			margin-top: 30upx
		}
	}
	
/*基础字体样式*/
.mim-font-12 {
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	opacity: 1;
}

.mim-fontBold-12 {
	font-size: 12px;
	font-weight: bold;
	line-height: 16px;
	opacity: 1;
}

.mim-font-14 {
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	opacity: 1;
}

.mim-fontBold-14 {
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	opacity: 1;
}

.mim-font-16 {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	opacity: 1;
}

.mim-fontBold-16 {
	font-size: 16px;
	font-weight: bold;
	line-height: 22px;
	opacity: 1;
}
page{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	opacity: 1;
	color: #333333;
}
/*清除浮动*/
.mimClear:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/*单行溢出文字省略*/
.mim-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*文字不折行*/
.mim-nowrap {
	white-space: nowrap;
}

/*多行文字溢出省略号*/
.mim-multi-line {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/*去除标签默认样式*/
input[type="button"],
input[type="submit"],
input[type="reset"],
textarea,
input,
button,
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 0;
	outline: none;
}

/*input公共样式*/
input {
	background-color: #f5f6f7;
	width: 100%;
}

::-webkit-input-placeholder {
	color: #8088A8;
}

::-moz-placeholder {
	color: #8088A8;
}

::-moz-placeholder {
	color: #8088A8;
}

::-ms-input-placeholder {
	color: #8088A8;
}

/* flex布局 */
.mim-flex-wrap {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.mim-flex-wrap-left {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	align-items: center;
}

.mim-flex-wrap-right {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	align-items: center;
}

.mim-flex-wrap-space-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mim-flex-vertical {
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	-webkit-flex-flow: column;
	flex-direction: column;
	flex-flow: column;
}

.mim-flex-vertical-center {
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	-webkit-flex-flow: column;
	flex-direction: column;
	flex-flow: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
.mim-view{
	margin: 24rpx;
	min-height: 24rpx;
	padding: 24rpx;
	border-radius: 24rpx;
	opacity: 1;
	background: #FFFFFF;
	position: relative;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	box-sizing: border-box;
}

.mim-button{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	border-radius: 32rpx;
	opacity: 1;	 
	background: #DE2E27;
	color: #FFFFFF;
	border: none;
	cursor: pointer;
	&.disabled{
		pointer-events: none;
		background-color: #8088A8 !important;
		cursor: none;
	}
}

.mim-view-list {
	margin: 24rpx;
	min-height: 1rpx;
}

//文字通用样式
@mixin font {
 font-weight: normal;
 opacity: 1;
 letter-spacing: 0;
}

/* 文字尺寸 */
.mim-font-10{
	@include font;
	font-size: 20rpx !important;
}

.mim-font-12{
	@include font;
	font-size: 24rpx !important;
}

.mim-font-14{
	@include font;
	font-size: 28rpx !important;
}

.mim-font-15{
	@include font;
	font-size: 30rpx !important;
}

.mim-font-16{
	@include font;
	font-size: 32rpx !important;
}

.mim-font-24{
	@include font;
	font-size: 48rpx !important;
}

.bold{
	font-weight: bold !important;
}

.mimRed{
	color: #ff0000 !important;
}