Commit 75cbf6c7 authored by Damon's avatar Damon

feat: 首页答题链接

parent bc051b9a
...@@ -177,21 +177,21 @@ export default { ...@@ -177,21 +177,21 @@ export default {
imageStyle: 'width:72rpx;height:64rpx', imageStyle: 'width:72rpx;height:64rpx',
}, },
{ {
pathName: 'pages/xxx/xxx', pathName: '/pages/learn/answer?source=5',
title: '错题记录', title: '错题记录',
value: '', value: '',
icon: process.uniEnv.qn_base_url + 'cuotijilu.png', icon: process.uniEnv.qn_base_url + 'cuotijilu.png',
imageStyle: 'width:62rpx;height:64rpx', imageStyle: 'width:62rpx;height:64rpx',
}, },
{ {
pathName: 'pages/xxx/xxx', pathName: '/pages/learn/answer?source=4',
title: '收藏的题', title: '收藏的题',
value: '', value: '',
icon: process.uniEnv.qn_base_url + 'shoucangdeti.png', icon: process.uniEnv.qn_base_url + 'shoucangdeti.png',
imageStyle: 'width:76rpx;height:64rpx', imageStyle: 'width:76rpx;height:64rpx',
}, },
{ {
pathName: 'pages/xxx/xxx', pathName: '/pages/search/index',
title: '试题搜索', title: '试题搜索',
value: '', value: '',
icon: process.uniEnv.qn_base_url + 'sousuoshiti.png', icon: process.uniEnv.qn_base_url + 'sousuoshiti.png',
...@@ -329,7 +329,12 @@ export default { ...@@ -329,7 +329,12 @@ export default {
// 已绑卡 // 已绑卡
if (index == 0) { if (index == 0) {
// 做题 // 做题
// ... this.$u.route({
url: 'pages/learn/answer',
params: {
source: 1
}
})
} else { } else {
// 模拟考试 // 模拟考试
this.$u.route({ this.$u.route({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment