|
@@ -1,122 +1,144 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
- <nav class="breadcrumb" aria-label="breadcrumbs">
|
|
|
|
|
- <ul>
|
|
|
|
|
- <li><router-link :to="{ name: 'HOME' }">所有课程</router-link></li>
|
|
|
|
|
- <li>
|
|
|
|
|
- <router-link :to="`/course-teacher/${course.id}/dashboard`">{{
|
|
|
|
|
- course.name
|
|
|
|
|
- }}</router-link>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li class="is-active">
|
|
|
|
|
- <router-link :to="`/student-course/${course.id}/result`"
|
|
|
|
|
- >查看成绩</router-link
|
|
|
|
|
- >
|
|
|
|
|
- </li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </nav>
|
|
|
|
|
- <!-- container面板-->
|
|
|
|
|
- <div class="data-table">
|
|
|
|
|
- <!--下拉框&搜索框-->
|
|
|
|
|
- <div class="form-group">
|
|
|
|
|
- <!--下拉框-->
|
|
|
|
|
- <b-field> <a class="button is-link">导出作业成绩</a> </b-field>
|
|
|
|
|
- <b-field>
|
|
|
|
|
- <a class="button is-link" @click="isCardModalActive = true"
|
|
|
|
|
- >成绩比例调控</a
|
|
|
|
|
- >
|
|
|
|
|
- </b-field>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!--题目table-->
|
|
|
|
|
- <div class="question-list">
|
|
|
|
|
- <b-table :data="data" paginated per-page="5" detailed detail-key="id">
|
|
|
|
|
- <template slot-scope="props">
|
|
|
|
|
- <b-table-column field="id" label="ID" width="40" numeric sortable>
|
|
|
|
|
- {{ props.row.id }}
|
|
|
|
|
- </b-table-column>
|
|
|
|
|
-
|
|
|
|
|
- <b-table-column label="文档作业" centered>
|
|
|
|
|
- <div
|
|
|
|
|
- class="result"
|
|
|
|
|
- v-for="item in props.row.documentHomeworkResult"
|
|
|
|
|
- :key="item.id"
|
|
|
|
|
- >
|
|
|
|
|
- {{ item.name }} : {{ item.result }}
|
|
|
|
|
- </div>
|
|
|
|
|
- </b-table-column>
|
|
|
|
|
|
|
+ <page-header :routes="[{ name: '成绩管理', path: 'result' }]">
|
|
|
|
|
+ <template slot="title">
|
|
|
|
|
+ 全部作业成绩
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </page-header>
|
|
|
|
|
+ <page-body>
|
|
|
|
|
+ <!-- container面板-->
|
|
|
|
|
+ <div class="data-table">
|
|
|
|
|
+ <!--下拉框&搜索框-->
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <!--下拉框-->
|
|
|
|
|
+ <b-field> <a class="button is-link">导出作业成绩</a> </b-field>
|
|
|
|
|
+ <b-field>
|
|
|
|
|
+ <a class="button is-link" @click="isCardModalActive = true"
|
|
|
|
|
+ >成绩比例调控</a
|
|
|
|
|
+ >
|
|
|
|
|
+ </b-field>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--成绩图表-->
|
|
|
|
|
+ <div class="chart">
|
|
|
|
|
+ <canvas id="result-chart" style="width: 100% !important;"></canvas>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--题目table-->
|
|
|
|
|
+ <div class="question-list">
|
|
|
|
|
+ <b-table :data="data" paginated per-page="5" detailed detail-key="id">
|
|
|
|
|
+ <template slot-scope="props">
|
|
|
|
|
+ <b-table-column field="id" label="ID" width="40" numeric sortable>
|
|
|
|
|
+ {{ props.row.id }}
|
|
|
|
|
+ </b-table-column>
|
|
|
|
|
+ <b-table-column label="学生姓名" width="120" centered>
|
|
|
|
|
+ {{ props.row.student }}
|
|
|
|
|
+ </b-table-column>
|
|
|
|
|
+ <b-table-column label="文档作业" centered> 80 </b-table-column>
|
|
|
|
|
|
|
|
- <b-table-column label="代码作业" centered>
|
|
|
|
|
- <div
|
|
|
|
|
- class="result"
|
|
|
|
|
- v-for="item in props.row.codeHomeworkResult"
|
|
|
|
|
- :key="item.id"
|
|
|
|
|
- >
|
|
|
|
|
- {{ item.name }} : {{ item.result }}
|
|
|
|
|
- </div>
|
|
|
|
|
- </b-table-column>
|
|
|
|
|
|
|
+ <b-table-column label="代码作业" centered> 90 </b-table-column>
|
|
|
|
|
|
|
|
- <b-table-column label="互评作业" centered>
|
|
|
|
|
- <div
|
|
|
|
|
- class="result"
|
|
|
|
|
- v-for="item in props.row.reviewHomeworkResult"
|
|
|
|
|
- :key="item.id"
|
|
|
|
|
- >
|
|
|
|
|
- {{ item.name }} : {{ item.result }}
|
|
|
|
|
- </div>
|
|
|
|
|
- </b-table-column>
|
|
|
|
|
- <b-table-column field="difficulty" label="总评" sortable centered>
|
|
|
|
|
- <span
|
|
|
|
|
- :class="[
|
|
|
|
|
- 'tag',
|
|
|
|
|
- props.row.finalResult > 60 ? 'is-success' : 'is-danger'
|
|
|
|
|
- ]"
|
|
|
|
|
|
|
+ <b-table-column label="互评作业" centered> 100 </b-table-column>
|
|
|
|
|
+ <b-table-column
|
|
|
|
|
+ field="finalResult"
|
|
|
|
|
+ label="总评"
|
|
|
|
|
+ sortable
|
|
|
|
|
+ centered
|
|
|
>
|
|
>
|
|
|
- {{ props.row.finalResult }}
|
|
|
|
|
- </span>
|
|
|
|
|
- </b-table-column>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <span :class="['tag', type(props.row.finalResult)]">
|
|
|
|
|
+ {{ props.row.finalResult }}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </b-table-column>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
- <template slot="detail">
|
|
|
|
|
- <article class="media">
|
|
|
|
|
- <!--<figure class="media-left">-->
|
|
|
|
|
- <!--<p class="image is-64x64">-->
|
|
|
|
|
- <!--<img src="/static/img/placeholder-128x128.png">-->
|
|
|
|
|
- <!--</p>-->
|
|
|
|
|
- <!--</figure>-->
|
|
|
|
|
- <div class="media-content">
|
|
|
|
|
- <div class="content">
|
|
|
|
|
- <p>
|
|
|
|
|
- <strong>成绩详情</strong>
|
|
|
|
|
- <small>这里可以放具体的作业成绩,前面可以放总评啥的</small>
|
|
|
|
|
- <br />
|
|
|
|
|
- </p>
|
|
|
|
|
|
|
+ <template slot="detail" slot-scope="props">
|
|
|
|
|
+ <article class="media">
|
|
|
|
|
+ <div class="media-content">
|
|
|
|
|
+ <div class="content">
|
|
|
|
|
+ <!--<strong>成绩详情</strong>-->
|
|
|
|
|
+ <!--<br />-->
|
|
|
|
|
+ <div class="homework-layout">
|
|
|
|
|
+ <div class="document-homework">
|
|
|
|
|
+ <div class="homework-class">文档作业</div>
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="result"
|
|
|
|
|
+ v-for="item in props.row.documentHomeworkResult"
|
|
|
|
|
+ :key="item.id"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ item.name }} : {{ item.result }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="document-homework">
|
|
|
|
|
+ <div class="homework-class">代码作业</div>
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="result"
|
|
|
|
|
+ v-for="item in props.row.codeHomeworkResult"
|
|
|
|
|
+ :key="item.id"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ item.name }} : {{ item.result }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="document-homework">
|
|
|
|
|
+ <div class="homework-class">互评作业</div>
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="result"
|
|
|
|
|
+ v-for="item in props.row.reviewHomeworkResult"
|
|
|
|
|
+ :key="item.id"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ item.name }} : {{ item.result }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- </article>
|
|
|
|
|
- </template>
|
|
|
|
|
- </b-table>
|
|
|
|
|
|
|
+ </article>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </b-table>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </page-body>
|
|
|
<!-- 成绩比例调控模态框 -->
|
|
<!-- 成绩比例调控模态框 -->
|
|
|
- <b-modal :active.sync="isCardModalActive" :width="320" scroll="keep">
|
|
|
|
|
|
|
+ <b-modal :active.sync="isCardModalActive" width="420px" scroll="keep">
|
|
|
<div class="card">
|
|
<div class="card">
|
|
|
<div class="title">
|
|
<div class="title">
|
|
|
成绩比例调控<small> 请按百分比填写</small>
|
|
成绩比例调控<small> 请按百分比填写</small>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content">
|
|
<div class="content">
|
|
|
- <b-field label="文档作业比例">
|
|
|
|
|
- <b-input v-model="name"></b-input>
|
|
|
|
|
- </b-field>
|
|
|
|
|
- <b-field label="互评作业比例">
|
|
|
|
|
- <b-input v-model="name"></b-input>
|
|
|
|
|
- </b-field>
|
|
|
|
|
- <b-field label="代码作业比例">
|
|
|
|
|
- <b-input v-model="name"></b-input>
|
|
|
|
|
- </b-field>
|
|
|
|
|
- <a class="button is-link" @click="isCardModalActive = false"
|
|
|
|
|
- >确认调整</a
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <div class="homework-item">
|
|
|
|
|
+ <label>文档作业</label>
|
|
|
|
|
+ <div class="homework-percent">
|
|
|
|
|
+ <span>第一次作业</span>
|
|
|
|
|
+ <b-input></b-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="homework-percent">
|
|
|
|
|
+ <span>第一次作业</span>
|
|
|
|
|
+ <b-input></b-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="homework-percent">
|
|
|
|
|
+ <span>第一次作业</span>
|
|
|
|
|
+ <b-input></b-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="homework-item">
|
|
|
|
|
+ <label>互评作业</label>
|
|
|
|
|
+ <div class="homework-percent">
|
|
|
|
|
+ <span>第一次作业</span>
|
|
|
|
|
+ <b-input></b-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="homework-percent">
|
|
|
|
|
+ <span>第一次作业</span>
|
|
|
|
|
+ <b-input></b-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="homework-item">
|
|
|
|
|
+ <label>代码作业</label>
|
|
|
|
|
+ <div class="homework-percent">
|
|
|
|
|
+ <span>第一次作业</span>
|
|
|
|
|
+ <b-input></b-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <a class="button is-link" @click="isCardModalActive = false"
|
|
|
|
|
+ >确认调整</a
|
|
|
|
|
+ >
|
|
|
</div>
|
|
</div>
|
|
|
</b-modal>
|
|
</b-modal>
|
|
|
</div>
|
|
</div>
|
|
@@ -124,9 +146,15 @@
|
|
|
<script>
|
|
<script>
|
|
|
import { mapState } from "vuex";
|
|
import { mapState } from "vuex";
|
|
|
import { getStudentCourseReviewList } from "@/api/review";
|
|
import { getStudentCourseReviewList } from "@/api/review";
|
|
|
|
|
+import PageHeader from "@/components/PageHeader";
|
|
|
|
|
+import PageBody from "@/components/PageBody/index";
|
|
|
|
|
+import Chart from "chart.js";
|
|
|
|
|
+import BInput from "buefy/src/components/input/Input";
|
|
|
|
|
+
|
|
|
const data = [
|
|
const data = [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
|
|
+ student: "小白",
|
|
|
documentHomeworkResult: [
|
|
documentHomeworkResult: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
@@ -144,14 +172,14 @@ const data = [
|
|
|
result: 99
|
|
result: 99
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
|
|
|
|
+ charge: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
result: 80
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
|
|
|
|
+ score: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
@@ -167,6 +195,7 @@ const data = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 2,
|
|
id: 2,
|
|
|
|
|
+ student: "yasen",
|
|
|
documentHomeworkResult: [
|
|
documentHomeworkResult: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
@@ -184,14 +213,14 @@ const data = [
|
|
|
result: 99
|
|
result: 99
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
|
|
|
|
+ charge: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
result: 80
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
|
|
|
|
+ score: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
@@ -203,10 +232,12 @@ const data = [
|
|
|
result: 85
|
|
result: 85
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- finalResult: 99
|
|
|
|
|
|
|
+
|
|
|
|
|
+ finalResult: 79
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 3,
|
|
id: 3,
|
|
|
|
|
+ student: "soleil",
|
|
|
documentHomeworkResult: [
|
|
documentHomeworkResult: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
@@ -224,14 +255,14 @@ const data = [
|
|
|
result: 99
|
|
result: 99
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
|
|
|
|
+ charge: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
result: 80
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
|
|
|
|
+ score: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
@@ -243,10 +274,11 @@ const data = [
|
|
|
result: 85
|
|
result: 85
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- finalResult: 99
|
|
|
|
|
|
|
+ finalResult: 59
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 4,
|
|
id: 4,
|
|
|
|
|
+ student: "xiaohan",
|
|
|
documentHomeworkResult: [
|
|
documentHomeworkResult: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
@@ -264,14 +296,14 @@ const data = [
|
|
|
result: 99
|
|
result: 99
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
|
|
|
|
+ charge: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
result: 80
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
|
|
|
|
+ score: [
|
|
|
{
|
|
{
|
|
|
id: 1,
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
name: "第一次作业",
|
|
@@ -288,7 +320,11 @@ const data = [
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
- components: {},
|
|
|
|
|
|
|
+ components: {
|
|
|
|
|
+ BInput,
|
|
|
|
|
+ PageHeader,
|
|
|
|
|
+ PageBody
|
|
|
|
|
+ },
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapState({
|
|
...mapState({
|
|
|
course: state => state.course.currentCourse
|
|
course: state => state.course.currentCourse
|
|
@@ -296,6 +332,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ name: "",
|
|
|
courses: [],
|
|
courses: [],
|
|
|
review: [],
|
|
review: [],
|
|
|
questionType: [
|
|
questionType: [
|
|
@@ -303,13 +340,57 @@ export default {
|
|
|
{ id: 2, title: "代码作业题目" }
|
|
{ id: 2, title: "代码作业题目" }
|
|
|
],
|
|
],
|
|
|
data,
|
|
data,
|
|
|
- isCardModalActive: false
|
|
|
|
|
|
|
+ isCardModalActive: false,
|
|
|
|
|
+ myChart2: {}
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ type(value) {
|
|
|
|
|
+ const number = parseFloat(value);
|
|
|
|
|
+ if (number < 60) {
|
|
|
|
|
+ return "is-danger";
|
|
|
|
|
+ } else if (number >= 60 && number < 80) {
|
|
|
|
|
+ return "is-warning";
|
|
|
|
|
+ } else if (number >= 80) {
|
|
|
|
|
+ return "is-success";
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
mounted() {
|
|
mounted() {
|
|
|
getStudentCourseReviewList(this.courses.id).then(
|
|
getStudentCourseReviewList(this.courses.id).then(
|
|
|
value => (this.review = value.data)
|
|
value => (this.review = value.data)
|
|
|
);
|
|
);
|
|
|
|
|
+ //绘制图表
|
|
|
|
|
+ var resultChart = document.getElementById("result-chart");
|
|
|
|
|
+ var myChart2 = new Chart(resultChart, {
|
|
|
|
|
+ type: "bar",
|
|
|
|
|
+ data: {
|
|
|
|
|
+ labels: [
|
|
|
|
|
+ "0-30分段",
|
|
|
|
|
+ "30-60分段",
|
|
|
|
|
+ "60-70分段",
|
|
|
|
|
+ "70-80分段",
|
|
|
|
|
+ "80-90分段",
|
|
|
|
|
+ "90-100分段"
|
|
|
|
|
+ ],
|
|
|
|
|
+ datasets: [
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "人数",
|
|
|
|
|
+ backgroundColor: "rgba(54,162,235,0.3)",
|
|
|
|
|
+ borderColor: "rgba(54,162,235,1)",
|
|
|
|
|
+ borderWidth: 1,
|
|
|
|
|
+ pointStrokeColor: "#fff",
|
|
|
|
|
+ pointStyle: "crossRot",
|
|
|
|
|
+ data: [6, 10, 34, 50, 80, 30],
|
|
|
|
|
+ cubicInterpolationMode: "monotone",
|
|
|
|
|
+ spanGaps: "false",
|
|
|
|
|
+ fill: "false"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ options: {}
|
|
|
|
|
+ });
|
|
|
|
|
+ this.myChart2 = myChart2;
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
@@ -318,14 +399,17 @@ export default {
|
|
|
/*color: #7957d5;*/
|
|
/*color: #7957d5;*/
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
-.data-table {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- padding: 30px;
|
|
|
|
|
- min-height: 80vh;
|
|
|
|
|
- background-color: #ffffff;
|
|
|
|
|
|
|
+/*.data-table {*/
|
|
|
|
|
+/*width: 100%;*/
|
|
|
|
|
+/*padding: 30px;*/
|
|
|
|
|
+/*!*min-height: 80vh;*!*/
|
|
|
|
|
+/*background-color: #ffffff;*/
|
|
|
|
|
+/*}*/
|
|
|
|
|
+.chart {
|
|
|
|
|
+ margin-top: 1.5rem;
|
|
|
}
|
|
}
|
|
|
.question-list {
|
|
.question-list {
|
|
|
- margin-top: 30px;
|
|
|
|
|
|
|
+ margin-top: 3rem;
|
|
|
}
|
|
}
|
|
|
.form-group {
|
|
.form-group {
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -337,20 +421,48 @@ export default {
|
|
|
.card {
|
|
.card {
|
|
|
padding: 30px;
|
|
padding: 30px;
|
|
|
.title {
|
|
.title {
|
|
|
|
|
+ padding-bottom: 5px;
|
|
|
font-size: 1.25rem;
|
|
font-size: 1.25rem;
|
|
|
|
|
+ border-bottom: 1px solid #dbdbdb;
|
|
|
small {
|
|
small {
|
|
|
color: gray;
|
|
color: gray;
|
|
|
font-size: 1rem;
|
|
font-size: 1rem;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.content {
|
|
.content {
|
|
|
- a {
|
|
|
|
|
- margin-top: 30px;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ .homework-item {
|
|
|
|
|
+ margin-bottom: 30px;
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ label {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ border-bottom: 2px solid #dbdbdb;
|
|
|
|
|
+ }
|
|
|
|
|
+ .homework-percent {
|
|
|
|
|
+ margin-top: 20px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ span {
|
|
|
|
|
+ margin-right: 0.5rem;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ a {
|
|
|
|
|
+ margin-top: 30px;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
-.button {
|
|
|
|
|
- background-color: #6172ec;
|
|
|
|
|
|
|
+.homework-layout {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ .document-homework {
|
|
|
|
|
+ margin-right: 3rem;
|
|
|
|
|
+ .homework-class {
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ border-bottom: 1px solid #dbdbdb;
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|