|
@@ -1,12 +1,11 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <el-alert
|
|
|
- title="作业内容"
|
|
|
+ <!-- <el-alert
|
|
|
type="info"
|
|
|
:closable="false"
|
|
|
:description="content">
|
|
|
- </el-alert>
|
|
|
- <!-- <div class="workTitle">作业内容: <span>{{content}}</span> </div> -->
|
|
|
+ </el-alert> -->
|
|
|
+ <div class="workTitle">作业标题 : <span> {{content}}</span></div>
|
|
|
<el-form :inline="true"
|
|
|
class="workForm"
|
|
|
style="padding: 0 25px">
|
|
@@ -38,7 +37,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
{{scope.row.studentName}}
|
|
|
- <span style="color: #f56c6c">{{scope.row.studentId}}</span>
|
|
|
+ <span style="color: #f56c6c">({{scope.row.studentId}})</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -260,7 +259,8 @@ export default {
|
|
|
if (res.data) {
|
|
|
this.content = res.data.content;
|
|
|
}
|
|
|
- this.content ? this.content : (this.content = "还未布置作业");
|
|
|
+
|
|
|
+ this.content ? this.content : (this.content = "这是布置的作业XXXXXXX");
|
|
|
}
|
|
|
});
|
|
|
this.getList();
|
|
@@ -380,9 +380,14 @@ export default {
|
|
|
}
|
|
|
.workTitle {
|
|
|
padding-left: 25px;
|
|
|
- color: #333;
|
|
|
+ color:#14928A;
|
|
|
font-weight: bold;
|
|
|
-
|
|
|
+ background-color: #f4f4f5;
|
|
|
+ line-height: 40px;
|
|
|
+ span {
|
|
|
+ color: #303133;
|
|
|
+ font-weight: normal;
|
|
|
+ }
|
|
|
}
|
|
|
.workContainer {
|
|
|
margin-bottom:20px ;
|