myGift.wxss 1.89 KB
@charset "utf-8";

.c-a4 {
	color: #a4a4a4;
}

.c-red {
	color: #FF6768;
}

.h88 {
	height: 88rpx;
}


page {
	background-color: #f0f0f0;
}

.tab-title {
	display: flex;
	position: sticky;
	background-color: white;
	top: 0;
	font-size: 30rpx;
}

.tab-title::after {
	position: absolute;
	content: '';
	width: 2rpx;
	height: 40%;
	background-color: #f0f0f0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

.tab-title-item {
	flex: 1;
	text-align: center;
	padding-top: 20rpx;
	padding-bottom: 20rpx;
	position: relative;
}

.tab-title-item.active {
	color: #FF6768;
	font-weight: bold;
	
}

.tab-title-item::after {
	position: absolute;
	content: '';
	left: 100%;
	bottom: 0;
	width: 0;
	border-bottom: 2rpx solid #FF6768;
	/* height: 3rpx; */
	transition: 0.2s all linear;
}

.tab-title-item.active::after {
	/* left: 100%; */
	width: 100%;
	left: 0;
	/* background-color: #FF6768; */
	/* transition-delay: 0.1s; */
}

.tab-title-item.active ~ .tab-title-item::after {
	/* width: 100%; */
	left: 0;
}

.tab-content {
	padding-top: 20rpx;
	padding-left: 20rpx;
	padding-right: 20rpx;
}

.tab-item {
	background-color: white;
	border-radius: 10rpx;
	overflow: hidden;
}

.tab-item ~ .tab-item {
	margin-top: 20rpx;
}

.img-container {
	background-color: #dedede;
	height: 300rpx;
}

.img-container2 {
	width: 200rpx;
	height: 200rpx;
	background-color: #dedede;
	margin-right: 20rpx;
	flex-shrink: 0;
}

.img {
	display: block;
	width: 100%;
	height: 100%;
}

.desc-container {
	padding: 20rpx;
}



.rmb::before {
	content: '¥';
}

.date {
	color: #a4a4a4;
	font-size: 24rpx;
}

.btn-container {
	display: flex;
	justify-content: space-around;
	font-size: 26rpx;
}

.btn {
	padding: 20rpx;
	flex: 1;
	text-align: center;
}

.btn.exchange {
	background-color: #FF6768;
	color: white;
}

.btn.buy {
	background-color: #FACAD6;
	color: #FF6768;
}

.noMore {
	padding: 20rpx;
	color: #bbb;
	text-align: center;
	font-size: 22rpx;
}