Files
tra-app/App.vue
T

60 lines
981 B
Vue

<script>
export default {
onLaunch: function() {
// console.log('App Launch')
},
onShow: function() {
// console.log('App Show')
},
onHide: function() {
// console.log('App Hide')
}
}
</script>
<style lang="scss">
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
// @import "@/uni_modules/uview-ui/index.scss";
@font-face {
font-family: "PingFangSC";
src: url('@/static/font/PingFang-SC.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
// 解决uview离线环境下没有图标
@font-face {
font-family: "uicon-iconfont";
src: url('@/static/font/font_2225171_8kdcwk4po24.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
.max_page{
height: 100vh;
}
.w_100 {
width: 100%;
}
.h_100 {
height: 100%;
}
.flex {
display: flex;
}
.img_100 {
width: 100%;
height: 100%;
}
.fl1 {
flex: 1;
}
.font_pf {
font-family: "PingFangSC";
}
</style>