27 lines
438 B
Vue
Executable File
27 lines
438 B
Vue
Executable File
<script>
|
|
export default {
|
|
onLaunch: function() {
|
|
console.log('App Launch');
|
|
},
|
|
onShow: function() {
|
|
console.log('App Show');
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide');
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style>
|
|
/* 解决头条小程序组件内引入字体不生效的问题 */
|
|
/* #ifdef MP-TOUTIAO */
|
|
@font-face {
|
|
font-family: uniicons;
|
|
src: url('/static/uni.ttf');
|
|
}
|
|
/* #endif */
|
|
page {
|
|
height: 100%;
|
|
}
|
|
</style>
|