demo.scss 2.4 KB
.u-view {
	padding: 40px 20px 0px 20px;
	&__title {
		font-size: 14px;
		color: rgb(143, 156, 162);
		margin-bottom: 10px;
	}
}

.u-block{
	padding: 14px;
	&__section{
		margin-bottom:10px;
	}
	&__title {
		margin-top:10px;
		font-size: 15px;
		color: $u-content-color;
		margin-bottom:10px;
	}
	&__flex{
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
	}
}

// 使用了cell组件的icon图片样式
.u-cell-icon {
	width: 36rpx;
	height: 36rpx;
	margin-right: 8rpx;
}

.u-page {
	padding: 15px 15px 40px 15px;
}

.u-demo-block {
	flex: 1;
	margin-bottom: 23px;
	
	&__content {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		// flex-direction: row!important;
		// align-items: center;
		// flex-wrap: wrap;
	}
	
	&__title {
		font-size: 14px;
		color: rgb(143, 156, 162);
		margin-bottom: 8px;
	}
}

$color-red: #FC4338;
$color-blue: #2E7AFD;
$color-green: #00aa00;

.text-red {
	color: $color-red;
}

.text-blue {
	color: $color-blue;
}

.text-green {
	color: $color-green;
}

.text-white {
	color: #ffffff;
}

.bg-white{
	background-color: #ffffff;
}

.padding24 {
	padding: 24rpx;
	box-sizing: border-box;
}

.padding32 {
	padding: 32rpx;
	box-sizing: border-box;
}

.padding0_32_32 {
	padding: 0 32rpx 32rpx;
	box-sizing: border-box;
}

.margin-bottom32 {
	margin-bottom: 32rpx !important;
}

.margin-bottom24 {
	margin-bottom: 24rpx !important;
}

.margin-bottom16 {
	margin-bottom: 16rpx !important;
}

.placeholder_class {
	color: rgba(0, 0, 0, 0.4);
}


.text-overflow1 {
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.text-overflow2 {
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.text-overflow3 {
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.text-overflow4 {
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.fixed-bottom {
	width: 100%;
	padding: 16rpx;
	box-sizing: border-box;
	bottom: 0;
	left: 0;
	position: fixed;
	z-index: 9;
	background: rgba(255, 255, 255, 1);

	.form-btns {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.arrow-more{
	width: 16rpx;
	height: 32rpx;
	margin-left: 4rpx;
}