You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
1.9 KiB

/* pages/call_roll/call_roll.wxss */
.bg {
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
.bg image {
width: 100%;
height: 100%;
object-fit: cover;
}
.container {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
padding: 0 0;
position: relative;
}
.student-list {
top: 400rpx;
left: 220rpx;
position: absolute;
display: flex;
flex-direction: column;
}
.student-list button{
background-color: rgba(234, 0, 255, 0.171);
}
.student-item {
margin-bottom: 20rpx;
opacity: 0.5; /* 默认透明度 */
}
.selected {
opacity: 1; /* 选中的透明度 */
font-weight: bold;
}
.student-name {
position: absolute;
top: 100rpx;
left: 280rpx;
font-size: 80rpx;
text-align: center;
margin: 20rpx 0;
font-weight: bold;
}
.tip {
font-size: 40rpx;
position: absolute;
top: 623rpx;
left: 200rpx;
}
.number {
height: 100rpx;
font-size: 40rpx;
position: absolute;
top: 600rpx;
left: 400rpx;
}
.confirmPoint {
position: absolute;
top: 700rpx;
left: 220rpx;
background-color: rgba(222, 184, 135, 0.699);
}
.return {
position: absolute;
right: 10rpx;
bottom: 40rpx;
display: inline-block;
padding: 10rpx 50rpx; /* 调整内边距以改变按钮大小 */
font-size: 40rpx;
color: rgba(0, 0, 0, 1);
background-color: #ffae00; /* 按钮背景色 */
border: none;
border-radius: 100rpx; /* 初始设置为圆角矩形 */
text-align: center;
text-decoration: none;
overflow: hidden; /* 隐藏超出按钮范围的内容 */
}
.return:before {
left: -10rpx; /* 圆形部分在按钮左侧的位置 */
}
.return:after {
right: -10px; /* 圆形部分在按钮右侧的位置 */
}
.return:hover {
background-color: #b30000; /* 鼠标悬停时按钮的背景色 */
}
.return:hover:before,
.return:hover:after {
background-color: #b30000; /* 鼠标悬停时圆形部分的背景色 */
}