diff --git a/src/pages/examination/detail.vue b/src/pages/examination/detail.vue
index 60d29a1..19d2c3b 100644
--- a/src/pages/examination/detail.vue
+++ b/src/pages/examination/detail.vue
@@ -1,23 +1,36 @@
-
- {{ index }}/{{ total }}
-
- 上一题
- 下一题
- 提交
+
+
+
+ {{ index }}/{{ total }}
+
+ 上一题
+ 下一题
+ 提交
+
-
+
({{ item.cate_name }}){{ item.title }}
-
+
-
+
@@ -26,43 +39,43 @@
\ No newline at end of file
+const submit = () => {
+ http.post(`/train/examinations/${info.id}/answer`).then((res) => {})
+}
+
diff --git a/src/pages/examination/index.vue b/src/pages/examination/index.vue
index 001e4b0..d27f1f8 100644
--- a/src/pages/examination/index.vue
+++ b/src/pages/examination/index.vue
@@ -5,11 +5,21 @@
-
- {{ item.name }}
-
- 发布日期: {{ item.examination.published_at }}
- {{ item.mark == null ? item.mark : '未完成' }}
+
+ {{ item.examination.name }}
+
+ 发布日期:
+ {{ timeFormat(item.examination.published_at) }}
+ {{
+ item.mark != null ? item.mark : '未完成'
+ }}
@@ -20,22 +30,17 @@
\ No newline at end of file
+
diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
index 45484d7..18b75d8 100644
--- a/src/pages/mine/index.vue
+++ b/src/pages/mine/index.vue
@@ -97,12 +97,12 @@ const opList = [
{
icon: "account",
title: "培训课件",
- url: ""
+ url: "/pages/train-books/index"
},
{
icon: "twitte",
title: "培训考试",
- url: ""
+ url: "/pages/examination/index"
}
]
}