初始化
This commit is contained in:
commit
f37f31627e
128 files changed
+19623
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<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 */
|
||||
</style>
|
||||
Reference in new issue
Block a user