You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-app/App.vue

39 lines
806 B

<!--
* @Author: ch
* @Date: 2019-04-01 01:47:12
* @LastEditors: ch
3 years ago
* @LastEditTime: 2022-04-28 16:44:46
* @Description: file content
-->
3 years ago
<script>
export default {
onLaunch: function() {
// console.log('App Launch')
3 years ago
},
onShow: function() {
// console.log('App Show')
3 years ago
},
onHide: function() {
// console.log('App Hide')
3 years ago
}
}
</script>
<style lang="scss">
/* 注意要写在第一行同时给style标签加入lang="scss"属性 */
@import "uview-ui/index.scss";
3 years ago
view,text,textarea,input{
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: $font-size-base;
color: $color-grey6;
}
body{
padding-bottom: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
padding-bottom: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
3 years ago
</style>