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.
39 lines
451 B
39 lines
451 B
5 years ago
|
// components/course/course.js
|
||
|
Component({
|
||
|
/**
|
||
|
* 组件的属性列表
|
||
|
*/
|
||
|
properties: {
|
||
|
name:{
|
||
|
type: String
|
||
|
},
|
||
|
teacher:{
|
||
|
type:Object
|
||
|
},
|
||
|
visits:{
|
||
|
type: Number
|
||
|
},
|
||
|
members_count:{
|
||
|
type: Number
|
||
|
},
|
||
|
homework_commons_count:{
|
||
|
type:Number
|
||
|
},
|
||
|
can_visited:{
|
||
|
type: Boolean
|
||
|
},
|
||
|
is_public:{
|
||
|
type: Boolean
|
||
|
}
|
||
|
},
|
||
|
|
||
|
data: {
|
||
|
|
||
|
},
|
||
|
|
||
|
|
||
|
methods: {
|
||
|
|
||
|
}
|
||
|
})
|