89 lines
1.2 KiB
Vue
89 lines
1.2 KiB
Vue
<script>
|
|
import useStorage from '@/utils/useStroage.js';
|
|
export default {
|
|
onLaunch: function() {
|
|
// console.log('App Launch');
|
|
useStorage.set('menuInfo', uni.getMenuButtonBoundingClientRect());
|
|
},
|
|
onShow: function() {
|
|
// console.log('App Show');
|
|
},
|
|
onHide: function() {
|
|
// console.log('App Hide');
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import '@/uni_modules/uview-ui/index.scss';
|
|
/* #ifndef APP-PLUS-NVUE */
|
|
@import './common/css/uni.scss';
|
|
/* #endif */
|
|
/* uni.scss */
|
|
@import './common/css/flex.css';
|
|
|
|
page,
|
|
view,
|
|
scroll-view,
|
|
swiper,
|
|
swiper-item,
|
|
match-media,
|
|
movable-area,
|
|
movable-view,
|
|
cover-view,
|
|
cover-image,
|
|
icon,
|
|
text,
|
|
rich-text,
|
|
progress,
|
|
button,
|
|
checkbox-group,
|
|
editor,
|
|
form,
|
|
input,
|
|
label,
|
|
picker,
|
|
picker-view,
|
|
radio-group,
|
|
slider,
|
|
switch,
|
|
textarea,
|
|
navigator,
|
|
audio,
|
|
camera,
|
|
image,
|
|
video,
|
|
live-player,
|
|
live-pusher,
|
|
map,
|
|
canvas,
|
|
web-view {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input {
|
|
height: auto;
|
|
}
|
|
|
|
image {
|
|
display: block;
|
|
}
|
|
|
|
page {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
text {
|
|
font-size: 28upx;
|
|
color: #333;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'BebasNeue-Regular';
|
|
src: url('./static/font/BebasNeue-Regular.woff');
|
|
}
|
|
|
|
.num {
|
|
font-family: 'BebasNeue-Regular';
|
|
}
|
|
</style> |