You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
267 B
18 lines
267 B
5 years ago
|
const app = getApp();
|
||
|
Component({
|
||
|
properties: {
|
||
|
data:Object
|
||
|
},
|
||
|
|
||
|
data: {
|
||
|
|
||
|
},
|
||
|
|
||
|
methods: {
|
||
|
onTap(){
|
||
|
// 让用户选择是否答题,故添加封面;
|
||
|
app.navigateTo({url:`{exercise_cover}?exercise_id=${this.data.data.id}`});
|
||
|
}
|
||
|
}
|
||
|
})
|