@@ -103,7 +108,8 @@ export default {
components: { PortalHeader, TimeShow },
data() {
return {
- evaluateVisible:false,
+ evaluateVisible: false,
+ mark: -1,
keyword: "",
navTitle: [{
name: "课程",
@@ -149,8 +155,12 @@ export default {
},
methods: {
+ score(mark) {
+ this.mark = mark
+ },
closeDlg() {
-
+ this.mark = -1
+ this.evaluateVisible = false
},
submitNotice() {
@@ -297,18 +307,42 @@ export default {
.dialogContent {
-.dialogTop {
- display: flex;
- justify-content: space-between;
- margin-bottom: 40px;
+ .dialogTop {
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 40px;
- .words {
- font-size: 26px;
- font-weight: 600;
- color: #333333;
- line-height: 37px;
+ .words {
+ font-size: 26px;
+ font-weight: 600;
+ color: #333333;
+ line-height: 37px;
+ }
+ }
+
+ .scoreList {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ .scoreEvery {
+ cursor: pointer;
+ width: 50px;
+ height: 50px;
+ line-height: 50px;
+ background: #F1F2F4;
+ border-radius: 8px;
+ border: 1px solid #D4D4D4;
+ text-align: center;
+ font-size: 20px;
+ color: #999990;
+ }
+
+ .scoreActive {
+ border: 1px solid #388BE1;
+ background: #E4F1FF;
+ color: #388BE1;
+ }
}
}
-}
-
diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue
index 407bd895..bbd73fd1 100644
--- a/src/views/portal/course/Index.vue
+++ b/src/views/portal/course/Index.vue
@@ -21,11 +21,10 @@