diff --git a/client_mp/common/http.api.js b/client_mp/common/http.api.js
index d83da23..a9f581b 100644
--- a/client_mp/common/http.api.js
+++ b/client_mp/common/http.api.js
@@ -53,6 +53,7 @@ const install = (Vue, vm) => {
let examRecord = (id,params={})=>vm.$u.get(`/exam/examrecord/self/`,params);//我的考试记录
let examRecordDetail = (id,params={})=>vm.$u.get(`/exam/examrecord/${id}/`,params);//我的考试记录
let paperDetail = (id,params={})=>vm.$u.get(`/exam/paper/${id}/`,params);//测试
+ let questionList = (params={})=>vm.$u.get(`/exam/question/`,params);//题目
vm.$u.api = {getUserInfo,
getCode,
@@ -81,6 +82,7 @@ const install = (Vue, vm) => {
submitExam,
examRecord,
paperDetail,
+ questionList,
examRecordDetail
};
}
diff --git a/client_mp/pages.json b/client_mp/pages.json
index e4ee84b..f6925b1 100644
--- a/client_mp/pages.json
+++ b/client_mp/pages.json
@@ -145,6 +145,15 @@
"enablePullDownRefresh": false
}
+ }
+ ,{
+ "path" : "pages/exam/question",
+ "style" :
+ {
+ "navigationBarTitleText": "专题练习",
+ "enablePullDownRefresh": false
+ }
+
}
,{
"path" : "pages/exam/testDetail",
diff --git a/client_mp/pages/exam/index.vue b/client_mp/pages/exam/index.vue
index bed06cc..20f0555 100644
--- a/client_mp/pages/exam/index.vue
+++ b/client_mp/pages/exam/index.vue
@@ -19,7 +19,7 @@
cellList: [
{img:'../../static/exam/exam.png',title:'正式考试',id:'exam'},
{img:'../../static/exam/test.png',title:'模拟测试',id:'test'},
- {img:'../../static/exam/question.png',title:'专题练习',id:'qusetion'},
+ {img:'../../static/exam/question.png',title:'专题练习',id:'question'},
{img:'../../static/exam/errorIcon.png',title:'错题记录',id:'record'},
]
}
diff --git a/client_mp/pages/exam/question.vue b/client_mp/pages/exam/question.vue
index 02409e3..1513a2f 100644
--- a/client_mp/pages/exam/question.vue
+++ b/client_mp/pages/exam/question.vue
@@ -1,8 +1,75 @@
+
+
+
+ {{item}}
+
+
+
\ No newline at end of file
+ .cellWrap{
+ display: flex;
+ flex-direction: column;
+ margin: auto;
+ margin-top: 30upx;
+ margin-bottom: 30upx;
+ justify-content: space-evenly;
+
+ }
+.cellItem{
+ text-align: center;
+ margin-top: 50upx;
+ width: 60%;
+ margin-left: 20%;
+}
+
+.cellText{
+ height: 60upx;
+ line-height: 60upx;
+ text-align: center;
+ color: #339900;
+ border: 1px solid #339900;
+ border-radius: 15rpx;
+}
+ .cellItem:nth-of-type(2) .cellText{
+ color: #efb336;
+ border: 1px solid #efb336;
+}
+ .cellItem:nth-of-type(3) .cellText{
+ color: #1296db;
+ border: 1px solid #1296db;
+}
+