1 Star 0 Fork 8

bcsvr.com / score_1

forked from tony / score 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
App.vue 694 Bytes
一键复制 编辑 原始数据 按行查看 历史
冯兴 提交于 2022-12-09 10:33 . 初始化项目
<script>
import Vue from 'vue';
export default {
onLaunch: function() {
uni.getSystemInfo({
success(e) {
Vue.prototype.statusBarHeight = e.statusBarHeight;
// 屏幕可用高度 去除上下安全距离
Vue.prototype.scrollHeight = e.safeArea.height;
Vue.prototype.bottom = e.safeAreaInsets.bottom;
}
});
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
.box-padding {
padding: 16rpx;
background-color: #fff;
}
@import '@/uni_modules/uview-ui/index.scss';
/*每个页面公共css */
// 引入iconfont
@import "@/static/css/iconfont.css";
</style>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/bcsvr/score_1.git
git@gitee.com:bcsvr/score_1.git
bcsvr
score_1
score_1
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891