initial commit: giftlaw ni xue fa wo you li - natural resources session
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<script>
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch')
|
||||
},
|
||||
onShow: function() {
|
||||
uni.onWindowResize && uni.onWindowResize(this.onFoldResize)
|
||||
},
|
||||
onHide: function() {
|
||||
uni.offWindowResize && uni.offWindowResize(this.onFoldResize)
|
||||
},
|
||||
methods: {
|
||||
onFoldResize(res) {
|
||||
uni.$emit('windowResize', res)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
||||
@import "uview-ui/index.scss";
|
||||
</style>
|
||||
Reference in New Issue
Block a user