.shrink0 {
	flex-shrink: 0;
}

.shrink1 {
	flex-shrink: 1;
}

.shrink2 {
	flex-shrink: 2;
}

.shrink3 {
	flex-shrink: 3;
}

.fx1 {
	flex: 1;
}

.fx2 {
	flex: 2;
}

.fx3 {
	flex: 3;
}

.fx4 {
	flex: 4;
}

.fwrap {
	flex-wrap: wrap;
}

.flex-x {
	display: flex;
	flex-direction: row;
}

.flex-x-bw {
	display: flex;
	justify-content: space-between;
}

.flex-x-cen {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.flex-x-xcen {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.flex-x-ycen {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.flex-x-ard {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.flex-y {
	display: flex;
	flex-direction: column;
}

.flex-y-cen {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.flex-y-xcen {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.flex-y-ard{
	display: flex;
	flex-direction:column;
	justify-content: space-around;
}
.flex-y-ycen {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flex-y-bw {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.clamp1 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}

.clamp2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.clamp3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.ani-circle {
	transition: all ease-in-out 1s;
	animation: ani-circle 0.5s infinite;
}

@keyframes ani-circle {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg)
	}
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.clear:after {
	display: block;
	content: '';
	font-size: 0;
	height: 0;
	clear: both;
}

.thinline {
	width: 100%;
	height: 1px;
	box-sizing: border-box;
	transform: scaleY(0.5);
}

/* 通用table布局 */
.comtable {
	padding: 20rpx;
}

.comtable .table-head {
	font-size: 30rpx;
	color: #666;
	display: flex;
	justify-content: center;
	align-items: center;
}

.comtable .table-tr {
	font-size: 28rpx;
	color: #333;
	display: flex;
	justify-content: center;
}

.comtable .table-tr:active {
	background-color: #eee;
}
.comtable .noactive:active {
	background-color: inherit;
}
.comtable .table-td {
	width: 100%;
	flex: 1;
	min-height: 62rpx;
	line-height: 1.2em;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10rpx;
	text-align: center;
	font-size: 26rpx;
	word-break: break-all;
}

.comtable view>view.table-td:first-of-type {
	flex: 1.2;
}

.comtable .table-head .table-td {
	background: #dddddd;
}

.comtable .table-tr view.table-td,
.comtable .table-head .table-td {
	border-bottom: 1px solid #ddd;
	/* border-right: 1px solid #aaa; */
}

.comtable .table-tr view.table-td:last-of-type,
.comtable .table-head view.table-td:last-of-type {
	border-right: none;
}
