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.

24 lines
379 B

const app = getApp();
Component({
properties: {
data:{
type:Object,
observer:function(data){
//name, image_url
this.setData({shixun:data});
}
},
origin:String
},
data: {
eduUrl:global.config.eduUrl
},
methods: {
onTap(){
app.navigateTo({url:"{shixun}?identifier="+this.data.shixun.identifier})
}
}
})