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.
32 lines
541 B
32 lines
541 B
let View = require('behavior-view'); |
|
|
|
Component({ |
|
externalClasses: ['ex-class'], |
|
behaviors: [ |
|
View |
|
], |
|
properties: { |
|
displayMonthNum: { |
|
type: Number |
|
}, |
|
displayTime: { |
|
type: String |
|
}, |
|
selectedDate: { |
|
type: String |
|
} |
|
}, |
|
data: { |
|
weekDayArr: ['日', '一', '二', '三', '四', '五', '六'], |
|
}, |
|
|
|
attached: function () { |
|
//console.log(this) |
|
// debugger |
|
}, |
|
methods: { |
|
onDayTap: function (e) { |
|
this.triggerEvent('onDayTap', e.currentTarget.dataset) |
|
} |
|
} |
|
}) |