2023-12-05 16:45:28 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view class="view_body">
|
|
|
|
|
<u-navbar :is-back="false"
|
2023-12-06 10:06:54 +08:00
|
|
|
|
title='班级'
|
2023-12-05 16:45:28 +08:00
|
|
|
|
title-color="#2E4975"
|
|
|
|
|
:border-bottom="false"
|
2023-12-06 10:06:54 +08:00
|
|
|
|
:background="bgc"
|
2023-12-05 16:45:28 +08:00
|
|
|
|
id="navbar">
|
|
|
|
|
</u-navbar>
|
|
|
|
|
<view class="nocont"
|
|
|
|
|
v-show="shownocont">
|
|
|
|
|
<view class="nocont_tip">
|
|
|
|
|
<view class="nocont_tip_img">
|
|
|
|
|
<image src="https://file.langsi.online/yasiimg/web/static/uVcz1RzZi6US2NKa0ssl"></image>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="nocont_tip_txt">暂无学生,快去添加吧!</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="nocont_button">
|
|
|
|
|
添加学生
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="student_page"
|
|
|
|
|
v-show="shownocont == false">
|
|
|
|
|
<view class="student_page_top">
|
|
|
|
|
<view class="search_box">
|
|
|
|
|
<view class="check_search">
|
|
|
|
|
学生
|
|
|
|
|
<view class="iconfont icon-arow_down"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="serchbox">
|
|
|
|
|
<view class="serchimg">
|
|
|
|
|
<image src="https://file.langsi.online/yasiimg/web/static/uVMACkynkipOxuTYDqm0"
|
|
|
|
|
mode="scaleToFill">
|
|
|
|
|
|
|
|
|
|
</image>
|
|
|
|
|
</view>
|
|
|
|
|
<input type="text"
|
|
|
|
|
placeholder="搜索相关内容..."
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-style="color:#C7CDD3 ">
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_box">
|
|
|
|
|
<view class="info_cont"
|
|
|
|
|
style="width:90rpx ;">
|
|
|
|
|
<view class="info_cont_top">
|
|
|
|
|
学生人数
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_cont_bot">
|
|
|
|
|
21
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_cont">
|
|
|
|
|
<view class="info_cont_top">
|
|
|
|
|
平均成绩/分
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_cont_bot">
|
|
|
|
|
21
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_cont">
|
|
|
|
|
<view class="info_cont_top">
|
|
|
|
|
作业完成度
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_cont_bot">
|
|
|
|
|
80%
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="chekbox">
|
|
|
|
|
<view class="check"
|
|
|
|
|
:class="checkindex == 1 ? 'act1' : ''"
|
|
|
|
|
@click="checkindex = 1">
|
|
|
|
|
班级
|
|
|
|
|
</view>
|
|
|
|
|
<view class="check"
|
|
|
|
|
:class="checkindex == 0 ? 'act1' : ''"
|
|
|
|
|
@click="checkindex = 0">
|
|
|
|
|
学生
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="add">
|
|
|
|
|
+ 添加
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_box"
|
|
|
|
|
v-if="checkindex == 1">
|
|
|
|
|
<view class="class_box_top">
|
|
|
|
|
|
|
|
|
|
<view @click="toggleDropdown"
|
|
|
|
|
class="class_box_top_cont">
|
|
|
|
|
班级人数
|
|
|
|
|
<view class="iconfont icon-arow_down"></view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<view class="dropdown_box"
|
|
|
|
|
v-show="false">
|
2023-12-05 16:45:28 +08:00
|
|
|
|
<view class="dropdown_item">
|
|
|
|
|
降序
|
|
|
|
|
</view>
|
|
|
|
|
<view class="dropdown_item">
|
2023-12-06 10:06:54 +08:00
|
|
|
|
升序
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view @click="toggleDropdown"
|
|
|
|
|
class="class_box_top_cont">
|
|
|
|
|
标签文字
|
|
|
|
|
<view class="iconfont icon-arow_down"></view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<view class="dropdown_box"
|
|
|
|
|
v-show="false">
|
2023-12-05 16:45:28 +08:00
|
|
|
|
<view class="dropdown_item">
|
|
|
|
|
标签文字
|
|
|
|
|
</view>
|
|
|
|
|
<view class="dropdown_item">
|
|
|
|
|
标签文字
|
|
|
|
|
</view>
|
|
|
|
|
<view class="dropdown_item">
|
|
|
|
|
标签文字
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<!-- 下拉框内容 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<view class="class_card"
|
|
|
|
|
v-for="(item, index) in classlist" v-if="isloding==false"
|
|
|
|
|
:key="index">
|
2023-12-05 16:45:28 +08:00
|
|
|
|
<view class="class_card_top">
|
|
|
|
|
<view class="class_card_left">
|
|
|
|
|
<image src=" https://file.langsi.online/yasiimg/web/static/udWNTRG6GulmTtgPRQ49"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_card_right">
|
|
|
|
|
<view class="class_card_right_top">
|
2023-12-06 10:06:54 +08:00
|
|
|
|
{{ item.name }}
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="class_card_right_bot">
|
|
|
|
|
标签文字
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_infobox">
|
|
|
|
|
<view class="class_info"
|
|
|
|
|
style="width:90rpx ;">
|
|
|
|
|
<view class="class_info_top">
|
|
|
|
|
班级人数
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_info_bot">
|
2023-12-06 10:06:54 +08:00
|
|
|
|
{{ item.classify }}
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_info">
|
|
|
|
|
<view class="class_info_top">
|
|
|
|
|
平均成绩/分
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_info_bot">
|
2023-12-06 10:06:54 +08:00
|
|
|
|
{{ item.avgScore }}
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_info">
|
|
|
|
|
<view class="class_info_top">
|
|
|
|
|
作业完成度
|
|
|
|
|
</view>
|
|
|
|
|
<view class="class_info_bot">
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<!-- {{ calculatePercentage(item.workCompletionDegree, item.totalMembers) }} -->
|
|
|
|
|
{{ calculatePercentage(2, 10) }}
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<view style="width: 100%;height: 50rpx;">
|
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<view class="overlay"
|
|
|
|
|
v-if="false">
|
|
|
|
|
<view class="addstudent"
|
|
|
|
|
v-show="false">
|
|
|
|
|
|
|
|
|
|
<view class="close">
|
|
|
|
|
<image src="https://file.langsi.online/yasiimg/web/static/uSzPsPoFgoVwcsl7pJ89"></image>
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
<view class="addstudent_tit">
|
|
|
|
|
添加学生
|
|
|
|
|
</view>
|
|
|
|
|
<view class="addstudent_input_box">
|
|
|
|
|
<view class="addstudent_input_tit">
|
|
|
|
|
学员名称
|
|
|
|
|
</view>
|
|
|
|
|
<view class="addstudent_input">
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<input type="text"
|
|
|
|
|
placeholder="搜索相关内容..."
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-style="color:#C7CDD3;font-size: 24rpx; ">
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="addstudent_input_box">
|
|
|
|
|
<view class="addstudent_input_tit">
|
|
|
|
|
学员ID
|
|
|
|
|
</view>
|
|
|
|
|
<view class="addstudent_input">
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<input type="text"
|
|
|
|
|
placeholder="搜索相关内容..."
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-style="color:#C7CDD3;font-size: 24rpx; ">
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="addbtn">
|
|
|
|
|
添加
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<view class="addtip"
|
|
|
|
|
v-show="false">
|
|
|
|
|
<view class="logo">
|
|
|
|
|
<image src="https://file.langsi.online/yasiimg/web/static/uxsaoHOpSUoxnX7lU3Fe"></image>
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
2023-12-06 10:06:54 +08:00
|
|
|
|
<view class="close">
|
|
|
|
|
<image src="https://file.langsi.online/yasiimg/web/static/uSzPsPoFgoVwcsl7pJ89"></image>
|
2023-12-05 16:45:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
已添加成功
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<indexlist v-show="checkindex == 0" />
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import indexlist from "../compoents/indexList.vue"
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
indexlist
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
shownocont: false,
|
2023-12-06 10:06:54 +08:00
|
|
|
|
bgc: {
|
|
|
|
|
backgroundColor: "#F6F9FC",
|
|
|
|
|
},
|
2023-12-05 16:45:28 +08:00
|
|
|
|
checkindex: 1,
|
|
|
|
|
isDropdownOpen: true,
|
2023-12-06 10:06:54 +08:00
|
|
|
|
classlist: {},
|
|
|
|
|
isloding:true,
|
2023-12-05 16:45:28 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad(option) {
|
2023-12-06 10:06:54 +08:00
|
|
|
|
this.getclassList()
|
2023-12-05 16:45:28 +08:00
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
2023-12-06 10:06:54 +08:00
|
|
|
|
calculatePercentage(value1, value2) {
|
|
|
|
|
if (value2 === 0) {
|
|
|
|
|
console.log("value2 is zero, cannot calculate percentage");
|
|
|
|
|
return '0%'; // 或者返回其他默认值
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return ((value1 / value2) * 100).toFixed(0) + '%';
|
|
|
|
|
},
|
2023-12-05 16:45:28 +08:00
|
|
|
|
toggleDropdown() {
|
|
|
|
|
this.isDropdownOpen = !this.isDropdownOpen;
|
|
|
|
|
},
|
2023-12-06 10:06:54 +08:00
|
|
|
|
getclassList() {
|
|
|
|
|
this.$u.get("https://api.admin-v2.langsi.online/admin-api/classroom/page").then(res => {
|
|
|
|
|
console.log(res, '返回成功');
|
|
|
|
|
|
|
|
|
|
if(res.code==0){
|
|
|
|
|
this.classlist = res.data.list
|
|
|
|
|
this.isloding=false
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getstuList() {
|
|
|
|
|
this.$u.get("https://api.admin-v2.langsi.online/admin-api/classroom/page").then(res => {
|
|
|
|
|
console.log(res, '返回成功');
|
|
|
|
|
|
|
|
|
|
if(res.code==0){
|
|
|
|
|
this.classlist = res.data.list
|
|
|
|
|
this.isloding=false
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
2023-12-05 16:45:28 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" >
|
|
|
|
|
.view_body {
|
|
|
|
|
width: 750rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
background: #F6F9FC;
|
2023-12-05 16:45:28 +08:00
|
|
|
|
|
|
|
|
|
.nocont {
|
|
|
|
|
margin-top: 340rpx;
|
|
|
|
|
margin-left: 216rpx;
|
|
|
|
|
|
|
|
|
|
.nocont_tip {
|
|
|
|
|
margin-left: 28rpx;
|
|
|
|
|
width: 264rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
.nocont_tip_img {
|
|
|
|
|
width: 213.36rpx;
|
|
|
|
|
height: 220rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nocont_tip_txt {
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-family: Microsoft YaHei, Microsoft YaHei;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #0E3B77
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nocont_button {
|
|
|
|
|
margin-top: 100rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 320rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
background: #2E7CE6;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.student_page {
|
|
|
|
|
.student_page_top {
|
|
|
|
|
padding: 32rpx;
|
|
|
|
|
|
|
|
|
|
.search_box {
|
|
|
|
|
width: 686rpx;
|
|
|
|
|
height: 88rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
|
|
.check_search {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 148rpx;
|
|
|
|
|
height: 88rpx;
|
|
|
|
|
background: #FFF2E4;
|
|
|
|
|
border-radius: 20rpx 0rpx 0rpx 20rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #F39852;
|
|
|
|
|
|
|
|
|
|
.icon-arow_down {
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.serchbox {
|
|
|
|
|
// padding: 0 32rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
// margin-top: 30rpx;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
width: 538rpx;
|
|
|
|
|
height: 88rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
|
|
|
|
|
.serchimg {
|
|
|
|
|
margin-left: 32rpx;
|
|
|
|
|
|
|
|
|
|
width: 32rpx;
|
|
|
|
|
height: 32rpx;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input {
|
|
|
|
|
// margin-left: 24rpx;
|
|
|
|
|
width: 452rpx;
|
|
|
|
|
height: 88rpx;
|
|
|
|
|
// border-radius: 30rpx;
|
|
|
|
|
// background-color: #f5f8fc;
|
|
|
|
|
// display: flex;
|
|
|
|
|
// justify-content: center;
|
|
|
|
|
// align-items: center;
|
|
|
|
|
// text-align: center;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: Source Han Sans CN, Source Han Sans CN-Light;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
text-align: left;
|
|
|
|
|
color: #a7b9cd;
|
|
|
|
|
letter-spacing: 1.2rpx;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
// padding: 0 100rpx;
|
|
|
|
|
// padding-right: 135rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info_box {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
width: 686rpx;
|
|
|
|
|
height: 128rpx;
|
|
|
|
|
background: linear-gradient(179deg, rgba(255, 237, 223, 0.65) 0%, #FFFFFF 100%);
|
|
|
|
|
border-radius: 18rpx 18rpx 18rpx 18rpx;
|
|
|
|
|
|
|
|
|
|
.info_cont {
|
|
|
|
|
width: 110rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
.info_cont_top {
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: rgba(7, 47, 90, 0.5);
|
|
|
|
|
line-height: 24rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info_cont_bot {
|
|
|
|
|
margin-top: 12rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #2D7CE6;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chekbox {
|
|
|
|
|
margin-top: 32rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.check {
|
|
|
|
|
margin-right: 84rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: rgba(7, 47, 90, 0.6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.act1 {
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #2D7CE6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.add {
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 138rpx;
|
|
|
|
|
height: 52rpx;
|
|
|
|
|
background: #FFF2E4;
|
|
|
|
|
border-radius: 26rpx 26rpx 26rpx 26rpx;
|
|
|
|
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #F18F21;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.class_box {
|
|
|
|
|
padding: 0 32rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
.class_box_top {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
|
|
|
|
|
// justify-content: space-around;
|
|
|
|
|
.class_box_top_cont {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin-right: 12rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
padding: 14rpx 30rpx;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: rgba(7, 47, 90, 0.6);
|
|
|
|
|
|
|
|
|
|
.icon-arow_down {
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
font-size: 18rpx;
|
|
|
|
|
}
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.dropdown_box {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
left: 0;
|
|
|
|
|
top: 100%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 160rpx;
|
|
|
|
|
// height: 204rpx;
|
|
|
|
|
background: #FFFFFF;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(0, 0, 0, 0.25);
|
2023-12-05 16:45:28 +08:00
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.dropdown_item:last-child {
|
|
|
|
|
border-bottom: 0rpx solid #FFFFFF;
|
2023-12-05 16:45:28 +08:00
|
|
|
|
}
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.dropdown_item {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
padding: 20rpx 40rpx;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
color: rgba(46, 73, 117, 0.6);
|
|
|
|
|
border-bottom: 2rpx solid #F3F3F3;
|
2023-12-05 16:45:28 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.class_card {
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
width: 686rpx;
|
|
|
|
|
height: 296rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
padding: 32rpx;
|
|
|
|
|
|
|
|
|
|
.class_card_top {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.class_card_left {
|
|
|
|
|
width: 84rpx;
|
|
|
|
|
height: 84rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.class_card_right {
|
|
|
|
|
margin-left: 12rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
.class_card_right_top {
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #072F5A;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.class_card_right_bot {
|
|
|
|
|
margin-top: 8rpx;
|
|
|
|
|
background: #EBF3FF;
|
|
|
|
|
border-radius: 4rpx 4rpx 4rpx 4rpx;
|
|
|
|
|
padding: 10rpx 20rpx;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #2D7CE6;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.class_infobox {
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
width: 622rpx;
|
|
|
|
|
height: 128rpx;
|
|
|
|
|
background: #F9F9F9;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
|
|
|
|
|
.class_info {
|
|
|
|
|
width: 110rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
.class_info_top {
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: rgba(7, 47, 90, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.class_info_bot {
|
|
|
|
|
margin-top: 12rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #2D7CE6;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.overlay {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
|
z-index: 100; // 设置遮罩层在上方
|
|
|
|
|
|
|
|
|
|
.addstudent {
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 40rpx;
|
|
|
|
|
width: 600rpx;
|
|
|
|
|
height: 632rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.close {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
top: 20rpx;
|
|
|
|
|
right: 20rpx;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 20rpx;
|
|
|
|
|
height: 20rpx;
|
|
|
|
|
}
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
.addstudent_tit {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
font-family: 'PingFang';
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #2E4975;
|
|
|
|
|
line-height: 36rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-06 10:06:54 +08:00
|
|
|
|
.addstudent_input_box {
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
|
|
|
|
|
.addstudent_input_tit {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: 'PingFang';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #2E4975;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.addstudent_input {
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
width: 520rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
|
|
|
|
|
border: 2rpx solid #DDE2EE;
|
|
|
|
|
|
|
|
|
|
.input {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
// margin-left: 24rpx;
|
|
|
|
|
width: 520rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
// border-radius: 30rpx;
|
|
|
|
|
// background-color: #f5f8fc;
|
|
|
|
|
// display: flex;
|
|
|
|
|
// justify-content: center;
|
|
|
|
|
// align-items: center;
|
|
|
|
|
// text-align: center;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: Source Han Sans CN, Source Han Sans CN-Light;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
text-align: left;
|
|
|
|
|
color: #a7b9cd;
|
|
|
|
|
letter-spacing: 1.2rpx;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
padding-left: 32rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
}
|
2023-12-06 10:06:54 +08:00
|
|
|
|
}
|
2023-12-05 16:45:28 +08:00
|
|
|
|
}
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.addbtn {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
margin-top: 76rpx;
|
|
|
|
|
width: 520rpx;
|
|
|
|
|
height: 88rpx;
|
|
|
|
|
background: #2D7CE6;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
font-size: 28rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
font-family: 'PingFang';
|
2023-12-05 16:45:28 +08:00
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.addtip {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 440rpx;
|
|
|
|
|
height: 138rpx;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
font-family: 'PingFang', 'PingFang';
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #2D7CE6;
|
|
|
|
|
background: linear-gradient(180deg, #C2DCFF 0%, #FFFFFF 100%);
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.logo {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
width: 182rpx;
|
|
|
|
|
height: 244rpx;
|
|
|
|
|
top: -244rpx;
|
|
|
|
|
left: 130rpx;
|
|
|
|
|
}
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
|
|
|
|
.close {
|
2023-12-05 16:45:28 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10rpx;
|
|
|
|
|
right: 20rpx;
|
2023-12-06 10:06:54 +08:00
|
|
|
|
|
2023-12-05 16:45:28 +08:00
|
|
|
|
width: 20rpx;
|
|
|
|
|
height: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}</style>
|