31 lines
515 B
Vue
31 lines
515 B
Vue
|
<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:100vh;
|
||
|
background-color: #25284E;
|
||
|
color:$uni-text-color;
|
||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||
|
}
|
||
|
</style>
|