purchase-let/App.vue

45 lines
974 B
Vue
Raw Normal View History

2024-04-25 18:02:30 +08:00
<script>
export default {
onLaunch: function() {
2024-06-06 17:50:25 +08:00
console.log('App Launch');
2024-04-25 18:02:30 +08:00
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
2024-06-06 17:50:25 +08:00
console.log('App Hide');
2024-04-25 18:02:30 +08:00
}
}
</script>
<style lang="scss">
/*每个页面公共css */
2024-06-06 17:50:25 +08:00
@import "@/uni_modules/uview-plus/index.scss";
page {
font-size: 26rpx;
background-color: #f6f6f6;
}
.fiexd-btn-box {
position: fixed;
bottom: 0;
left: 0;
height: 120rpx;
height: calc(constant(safe-area-inset-bottom) + 120rpx);
/* 适用于iOS设备 */
height: calc(env(safe-area-inset-bottom) + 120rpx);
/* 适用于Android设备 */
width: 100%;
box-sizing: border-box;
background-color: #fff;
padding: 20rpx;
padding-bottom: calc(constant(safe-area-inset-bottom) + 20rpx);
/* 适用于iOS设备 */
padding-bottom: calc(env(safe-area-inset-bottom) + 20rpx);
/* 适用于Android设备 */
display: flex;
justify-content: space-between;
align-items: center;
}
</style>