/* pages/login/login.wxss */ page { height: 100%; background-color: #f7f7f7; } /* 背景图容器 */ .login-container { width: 100%; height: 100vh; display: flex; flex-direction: column; background: radial-gradient(50.00% 50.00% at 50% 50%,rgb(59, 255, 235),rgba(38, 165, 246, 0) 100%); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; } /* 背景遮罩层 */ .login-container::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.8); z-index: 1; } /* 内容区域(在遮罩上层) */ .login-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding: 30rpx 40rpx; } /* 作业列表样式 */ .homework-list { display: flex; flex-direction: column; gap: 20rpx; } .homework-item { background-color: #fff; border-radius: 20rpx; padding: 30rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05); } .homework-name { font-size: 32rpx; font-weight: bold; color: #333; margin-bottom: 10rpx; } .homework-time { margin-top: 20rpx; font-size: 24rpx; color: #999; display: flex; align-items: center; /* justify-content: space-between; */ } .homework-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10rpx; } .homework-status { font-size: 24rpx; padding: 6rpx 12rpx; border-radius: 20rpx; } .ended { background-color: #FA5151 !important; } .in-progress { background-color: #0082FF !important; } .not-started { background-color: #ffc20e !important; } .load-more-text { text-align: center; padding: 30rpx; color: #999; font-size: 28rpx; } .jilu{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 30rpx; } .newWork{ position: relative; font-weight: bold; } .boo{ position: absolute; width: 126rpx; height: 16rpx; border-radius: 10rpx; bottom: 4rpx; background-color: #f5ce4a; z-index: -1; left: -8rpx; } .work{ display: flex; align-items: center; font-weight: bold; font-size: 30rpx; } .work-img{ width: 40rpx; height: 40rpx; margin-right: 16rpx; } .top{ display: flex; align-items: center; justify-content: space-between; } .left{ display: flex; align-items: center; } .jump-img{ width: 110rpx; height: 110rpx; margin-right: 30rpx; } .desc{ font-weight: bold; font-size: 28rpx; display: flex; flex-direction: column; align-items: flex-start; height: 110rpx; justify-content: space-evenly; } .statu{ height: 40rpx; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18rpx; background-color: #287df6; border-radius: 36rpx; padding: 0 16rpx; } .icon{ width: 48rpx; height: 48rpx; border-radius: 50%; background-color: #EDF1FF; display: flex; align-items: center; justify-content: center; }