1 Star 0 Fork 98

王祁/smart-breed_1

forked from tony/smart-breed 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 581 Bytes
一键复制 编辑 原始数据 按行查看 历史
冯兴 提交于 2022-06-15 11:03 . 完善登录
<script>
import Vue from 'vue';
export default {
onLaunch: function() {
uni.getSystemInfo({
success(e) {
Vue.prototype.statusBarHeight = e.statusBarHeight;
// 屏幕可用高度 去除上下安全距离
Vue.prototype.scrollHeight = e.safeArea.height;
}
});
},
onShow: function() {
// console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
@import '@/uni_modules/uview-ui/index.scss';
/*每个页面公共css */
// 引入iconfont
@import "@/static/css/iconfont.css";
</style>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qi_wang_qi/smart-breed_1.git
git@gitee.com:qi_wang_qi/smart-breed_1.git
qi_wang_qi
smart-breed_1
smart-breed_1
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385