Files
teaching-feedback-assistant/pages/students/index.wxss
shay7sev 0a07538dce feat: establish teaching feedback mini program
Connect student profiles, defaults, and feedback records to the Rust API. Configure the WeChat AppID, custom tab bar, and local development workflow for version 0.1.0.
2026-07-15 15:36:51 +08:00

458 lines
6.6 KiB
Plaintext

.search-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 88rpx;
gap: 16rpx;
margin-top: 42rpx;
}
.search-box {
display: flex;
flex: 1;
align-items: center;
min-width: 0;
height: 88rpx;
padding: 0 24rpx;
border: 2rpx solid #cbdced;
border-radius: 16rpx;
background: #ffffff;
box-shadow: 0 4rpx 12rpx rgba(45, 78, 120, 0.05);
}
.search-icon {
margin-right: 14rpx;
color: #2b67e8;
font-size: 44rpx;
line-height: 1;
}
.search-input {
flex: 1;
min-width: 0;
color: #17233a;
font-size: 28rpx;
}
.search-placeholder {
color: #9aa8b8;
}
.filter-button {
display: flex;
flex: none;
align-items: center;
justify-content: center;
width: 88rpx;
min-width: 88rpx;
max-width: 88rpx;
height: 88rpx;
margin: 0;
padding: 0;
border: 2rpx solid #cbdced;
border-radius: 16rpx;
background: #ffffff;
color: #2b67e8;
font-size: 44rpx;
line-height: 1;
}
.filter-panel {
margin-top: 16rpx;
padding: 24rpx;
}
.filter-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
}
.filter-title {
color: #17233a;
font-size: 30rpx;
font-weight: 700;
}
.filter-clear {
color: #2b67e8;
font-size: 26rpx;
}
.filter-label {
display: block;
margin: 16rpx 0 12rpx;
color: #718096;
font-size: 24rpx;
}
.filter-options {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
}
.filter-chip {
padding: 10rpx 18rpx;
border: 1rpx solid #d6e1ed;
border-radius: 12rpx;
color: #566577;
font-size: 24rpx;
line-height: 1.2;
}
.filter-chip-active {
border-color: #2b67e8;
background: #eaf1ff;
color: #2b67e8;
}
.archive-toolbar {
display: grid;
grid-template-columns: minmax(0, 1fr) 264rpx;
align-items: center;
gap: 20rpx;
margin-top: 20rpx;
padding: 28rpx;
}
.toolbar-copy {
flex: 1;
min-width: 0;
}
.toolbar-title-row {
display: flex;
align-items: center;
gap: 12rpx;
}
.toolbar-icon {
color: #2b67e8;
font-size: 34rpx;
}
.toolbar-title {
color: #17233a;
font-size: 34rpx;
font-weight: 800;
}
.toolbar-description,
.toolbar-updated {
display: block;
margin-top: 8rpx;
color: #7b8796;
font-size: 24rpx;
line-height: 1.4;
}
.toolbar-updated {
font-weight: 600;
}
.toolbar-actions {
display: grid;
grid-template-columns: 62rpx 190rpx;
align-items: center;
width: 264rpx;
min-width: 264rpx;
max-width: 264rpx;
gap: 12rpx;
}
.refresh-button {
flex: none;
width: 62rpx;
min-width: 62rpx;
max-width: 62rpx;
height: 62rpx;
margin: 0;
padding: 0;
border: 2rpx solid #cbdced;
border-radius: 12rpx;
background: #ffffff;
color: #2b67e8;
font-size: 36rpx;
line-height: 1;
}
.new-student-button {
display: flex;
flex: none;
align-items: center;
justify-content: center;
width: 190rpx;
min-width: 190rpx;
max-width: 190rpx;
height: 62rpx;
margin: 0;
padding: 0 18rpx;
border: 2rpx solid #cbdced;
border-radius: 12rpx;
background: #ffffff;
color: #2b67e8;
font-size: 26rpx;
font-weight: 700;
line-height: 1;
}
.new-student-icon {
margin-right: 6rpx;
font-size: 30rpx;
}
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 28rpx;
padding: 70rpx 36rpx;
border: 2rpx dashed #c7ddeb;
border-radius: 16rpx;
text-align: center;
}
.compact-empty {
padding: 54rpx 36rpx;
}
.empty-icon {
color: #2b67e8;
font-size: 54rpx;
line-height: 1;
}
.empty-title {
margin-top: 18rpx;
color: #17233a;
font-size: 36rpx;
font-weight: 800;
}
.empty-description {
margin-top: 14rpx;
color: #7b8796;
font-size: 28rpx;
}
.create-empty-button {
width: 360rpx;
margin-top: 34rpx;
}
.clear-search-button {
width: 300rpx;
margin-top: 30rpx;
}
.profile-list {
display: flex;
flex-direction: column;
gap: 18rpx;
margin-top: 22rpx;
}
.profile-card {
padding: 24rpx;
}
.profile-card-top,
.profile-time-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20rpx;
}
.profile-name {
display: block;
color: #17233a;
font-size: 34rpx;
font-weight: 800;
}
.profile-guardian {
display: block;
margin-top: 8rpx;
color: #718096;
font-size: 24rpx;
}
.delete-button {
margin: 0;
padding: 8rpx 14rpx;
border: 1rpx solid #f2c6c6;
border-radius: 10rpx;
background: #ffffff;
color: #c34343;
font-size: 22rpx;
line-height: 1.3;
}
.profile-tags {
display: flex;
flex-wrap: wrap;
gap: 10rpx;
margin-top: 22rpx;
}
.profile-tag {
padding: 8rpx 12rpx;
border-radius: 8rpx;
background: #eef4ff;
color: #3563b5;
font-size: 22rpx;
line-height: 1.2;
}
.profile-time-row {
margin-top: 20rpx;
padding-top: 18rpx;
border-top: 1rpx solid #e8eef5;
}
.profile-time-label {
color: #7b8796;
font-size: 24rpx;
}
.profile-time-value {
color: #17233a;
font-size: 26rpx;
font-weight: 700;
}
.sheet-mask {
position: fixed;
z-index: 200;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
align-items: flex-end;
padding: 28rpx;
background: rgba(17, 27, 50, 0.42);
}
.create-sheet {
width: 100%;
max-height: 88vh;
overflow: hidden;
border-radius: 16rpx;
background: #ffffff;
box-shadow: 0 24rpx 56rpx rgba(17, 27, 50, 0.22);
}
.sheet-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16rpx;
padding: 30rpx 28rpx 20rpx;
}
.sheet-title-row {
display: flex;
align-items: center;
gap: 10rpx;
}
.sheet-title-icon {
color: #2b67e8;
font-size: 34rpx;
}
.sheet-title {
color: #17233a;
font-size: 38rpx;
font-weight: 800;
}
.sheet-subtitle {
display: block;
margin-top: 12rpx;
color: #7b8796;
font-size: 24rpx;
}
.defaults-link {
flex: none;
margin-top: 8rpx;
color: #2b67e8;
font-size: 26rpx;
font-weight: 700;
}
.sheet-scroll {
max-height: calc(88vh - 250rpx);
padding: 0 28rpx;
}
.form-grid {
display: flex;
flex-wrap: wrap;
gap: 16rpx;
margin-top: 16rpx;
}
.form-grid .form-field {
width: calc((100% - 16rpx) / 2);
}
.form-field {
min-height: 136rpx;
padding: 22rpx;
border: 2rpx solid #d8e5f2;
border-radius: 14rpx;
background: #fbfdff;
}
.full-field {
min-height: 150rpx;
}
.form-label {
display: block;
color: #2b67e8;
font-size: 27rpx;
font-weight: 700;
}
.form-value {
display: block;
margin-top: 28rpx;
color: #17233a;
font-size: 31rpx;
font-weight: 700;
}
.form-input {
width: 100%;
height: 58rpx;
margin-top: 16rpx;
color: #17233a;
font-size: 30rpx;
font-weight: 600;
}
.guardian-field {
margin-top: 16rpx;
}
.bottom-grid {
margin-bottom: 24rpx;
}
.sheet-footer {
display: flex;
gap: 16rpx;
padding: 20rpx 28rpx 28rpx;
border-top: 1rpx solid #e7eef6;
}
.sheet-cancel,
.sheet-save {
flex: 1;
}