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
2.0 KiB
111 lines
2.0 KiB
/* pages/add_stu/add_stu.wxss */
|
|
page{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.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: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 0;
|
|
position: relative;
|
|
}
|
|
|
|
.header {
|
|
position: absolute;
|
|
top: 20rpx;
|
|
left: 20rpx;
|
|
font-size: 60rpx;
|
|
font-weight: bold;
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
.tip {
|
|
position: absolute;
|
|
top:100rpx;
|
|
left: 20rpx;
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
.stu_textarea {
|
|
position: absolute;
|
|
border: 5rpx solid rgb(252, 252, 252);
|
|
top: 180rpx;
|
|
left: 72rpx;
|
|
width: 80%;
|
|
box-sizing: border-box;
|
|
font-size: 40rpx;
|
|
height: 300rpx;
|
|
color: black;
|
|
}
|
|
|
|
.add {
|
|
position: absolute;
|
|
left: 200rpx;
|
|
top: 525rpx;
|
|
display: inline-block;
|
|
padding: 10rpx 50rpx; /* 调整内边距以改变按钮大小 */
|
|
font-size: 40rpx;
|
|
color: rgba(0, 0, 0, 1);
|
|
background-color: #ffae0060; /* 按钮背景色 */
|
|
border: none;
|
|
border-radius: 100rpx; /* 初始设置为圆角矩形 */
|
|
text-align: center;
|
|
text-decoration: none;
|
|
overflow: hidden; /* 隐藏超出按钮范围的内容 */
|
|
}
|
|
.add:before {
|
|
left: -10rpx; /* 圆形部分在按钮左侧的位置 */
|
|
}
|
|
|
|
.add:after {
|
|
right: -10px; /* 圆形部分在按钮右侧的位置 */
|
|
}
|
|
|
|
.add:hover {
|
|
background-color: #00b30f3d; /* 鼠标悬停时按钮的背景色 */
|
|
}
|
|
|
|
.add:hover:before,
|
|
.add:hover:after {
|
|
background-color: #00b31e5e; /* 鼠标悬停时圆形部分的背景色 */
|
|
}
|
|
|
|
.excel {
|
|
background-color: rgba(255, 166, 0, 0.486);
|
|
position: absolute;
|
|
padding: 0 0;
|
|
margin: 0 0;
|
|
width: 600rpx;
|
|
top: 800rpx;
|
|
left: 200rpx;
|
|
font-size: 60rpx;
|
|
}
|
|
|
|
.return {
|
|
position: absolute;
|
|
width: 200rpx;
|
|
height: 100rpx;
|
|
bottom: 100rpx;
|
|
right: 100rpx;
|
|
font-size: 60rpx;
|
|
background-color: rgba(255, 0, 0, 0.384);
|
|
} |