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.
|
const app = getApp();
|
|
|
|
Component({
|
|
properties: {
|
|
data:{
|
|
type:Object,
|
|
observer:function(data){
|
|
//name, image_url
|
|
;
|
|
this.setData(data);
|
|
}
|
|
}
|
|
},
|
|
data: {
|
|
eduUrl:global.config.eduUrl
|
|
},
|
|
|
|
methods: {
|
|
onTap(){
|
|
app.navigateTo({url:"{shixun}?identifier="+this.data.identifier})
|
|
}
|
|
}
|
|
})
|