<template> | |
<container> | |
<text class="{{className}} highlight">Copy right @ 2016 Weex</text> | |
<company></company> | |
</container> | |
</template> | |
<style> | |
.copyright { | |
text-align: center; | |
padding-top: 20; | |
padding-bottom: 20; | |
} | |
</style> | |
<script> | |
require('./expect/company.we'); | |
module.exports = { | |
data: { | |
className: '' | |
}, | |
created: function (argument) { | |
this.className = 'copyright'; | |
} | |
} | |
module.exports.style = require('./highlight.css') | |
</script> |