workspace.sass 2.66 KB
/* pages/tab/workspace/workspace.wxss */
page {
	background: #F2F3F7;
}
.page-title {
	font-size: var(--fontSize34);
	color: #222222;
	font-weight: 600;
}
.bg {
	width: 100%;
	height: var(--fontSize400);
	background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/regional-assistant/page-bg.png') no-repeat;
	background-size: 100% var(--fontSize400);
	position: fixed;
	left: 0;
	top: 0;
	z-index: -1;
}
.container {
	padding-top: var(--fontSize1);
	overflow: auto;
}
.banner-box {
	height: var(--fontSize192);
	width: calc(100% - var(--fontSize48));
	margin: var(--fontSize32) var(--fontSize24);
	position: relative;
	.close-icon {
		position: absolute;
		width: var(--fontSize32);
		height: var(--fontSize32);
		top: var(--fontSize16);
		right: var(--fontSize16);
	}
}
.box {
	margin: var(--fontSize32) var(--fontSize24);
	border-radius: var(--fontSize36);
	background: #ffffff;
	padding: var(--fontSize24) var(--fontSize32);
	.label {
		color: #222222;
		font-size: var(--fontSize28);
		font-weight: 500;
	}
	.menu {
		margin: 0 -8rpx;
		display: grid;
		grid-template-columns: repeat(4, minmax(var(--fontSize100), 1fr));
		justify-content: space-between;
		align-items: center;
		padding-top: var(--fontSize24);
		background: #FFFFFF;
		border-radius: var(--fontSize16);
		gap: var(--fontSize18);
		.label {
			font-family: PingFangSC-Regular;
			font-size: var(--fontSize24);
			color: #292D33;
		}
		.item {
			display: flex;
			flex-flow: column;
			align-items: center;
			position: relative;
			image {
				width: var(--fontSize72);
				height: var(--fontSize72);
			}
			.hot_icon {
				position: absolute;
				right: var(--fontSize20);
				top: 0;
				width: var(--fontSize38);
				height: var(--fontSize32);
				background: #F24724;
				border-radius: var(--fontSize16);
				color: #FFFFFF;
				font-size: var(--fontSize22);
				display: flex;
				justify-content: center;
				align-items: center;
			}
			.bubble_icon {
				position: absolute;
				right: var(--fontSize14);
				top: var(--fontSize12);
				width: var(--fontSize16);
				height: var(--fontSize16);
				background: #F24724;
				border-radius: var(--fontSize16);
				display: flex;
				justify-content: center;
			}
		}
	}
}

// dialog的样式
#van-dialog {
	width: 622rpx;
	.van-popup {
		.van-dialog__header {
			padding: 48rpx 48rpx 0 48rpx;
			color: #292d33;
			font-size: 34rpx;
			font-weight: 500;
			text-align: center;
		}
		.van-dialog__message {
			padding: 32rpx 48rpx 48rpx;
			color: #5a5e66;
			font-size: 32rpx;
			font-weight: 400;
			line-height: 24px;
		}
		.van-button {
			padding: 24rpx 0 !important;
			opacity: 1;
			color: #347bff;
			font-size: 32rpx;
			font-weight: 400;
			line-height: 24px;
		}
	}
}