import Magix from 'magix' import View from '../../../../view' Magix.applyStyle('@./index.less') Magix.applyStyle('@./weekly-header.less') export default View.extend({ tmpl: '@weekly-header.html', init (options) { this.options = options }, render () { // const loc = Magix.Router.parse() const { currentWeekly } = this.options this.updater.digest({ currentWeekly }) } })