-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathApp.vue
57 lines (49 loc) · 958 Bytes
/
App.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<script>
export default {
onLaunch() {
console.log('App Launch')
},
onShow() {
console.log('App Show')
},
onHide() {
console.log('App Hide')
}
}
</script>
<style lang="less">
@import '@/uni_modules/tob-ui/index.less';
// 质感主题
// @import '@/theme/texture.less';
// 自定义的位置(popup)
.custom-popup-close-position {
top: 10rpx;
left: 10rpx;
}
// fallback字体
// https://juejin.cn/post/7005056135279427614#heading-9
page {
font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, v, sans-serif;
}
// pc端web滚动条
/* #ifdef H5 */
::-webkit-scrollbar {
width: 0;
}
@media screen and (min-width: 640px) {
::-webkit-scrollbar {
width: 11px;
height: 11px;
background-color: rgb(246, 247, 248);
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: rgb(217, 217, 217);
}
::-webkit-scrollbar-track {
border-radius: 10px;
background-color: rgb(246, 247, 248);
}
}
/* #endif */
</style>