1 Star 0 Fork 96

望不到头/education-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
席鹏斐.exe 提交于 2023-03-10 00:07 . 美化登录页与首页
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
if (!this.hasLogin()) {
uni.redirectTo({
url: '/pages/tabBar/center/login'
})
}
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style>
/*每个页面公共css */
/* #ifndef APP-PLUS-NVUE */
/* uni.css - 通用组件、模板样式库,可以当作一套ui库应用 */
@import '@/common/uni.css';
@import "colorui/main.css";
@import "colorui/icon.css";
/* 以下样式用于 hello uni-app 演示所需 */
page {
background-color: #F4F5F6;
height: 100%;
font-size: 28upx;
line-height: 1.8;
}
.uni-header-logo {
padding: 30upx;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 10upx;
}
.uni-header-image {
width: 100px;
height: 100px;
}
.uni-hello-text {
color: #7A7E83;
}
.uni-hello-addfile {
text-align: center;
line-height: 300upx;
background: #FFF;
padding: 50upx;
margin-top: 10px;
font-size: 38upx;
color: #808080;
}
/* #endif*/
</style>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/major-general-hu/education-app.git
git@gitee.com:major-general-hu/education-app.git
major-general-hu
education-app
education-app
master

搜索帮助

Cb406eda 1850385 E526c682 1850385