Skip to content

Commit 93d14db

Browse files
committed
update: MP-360 增加默认滚动条样式,去掉默认titlenview
1 parent 9372c95 commit 93d14db

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

App.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,14 @@
8181
color: #808080;
8282
}
8383
84+
/* #endif*/
85+
86+
/* #ifdef MP-360 */
87+
::-webkit-scrollbar {width: 4px; height: 4px; background-color: transparent;}
88+
::-webkit-scrollbar-track {background-color: transparent;}
89+
::-webkit-scrollbar-thumb {background-color: #ddd;}
90+
::-webkit-scrollbar-thumb:hover {background-color: #ccc;}
91+
::-webkit-scrollbar-thumb:active {background-color: #bbb;}
92+
::-webkit-scrollbar-corner {background: #ffffff;}
8493
/* #endif*/
8594
</style>

pages.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,10 @@
11521152
]
11531153
}
11541154
],
1155-
"globalStyle": {
1155+
"globalStyle": {
1156+
// #ifdef MP-360
1157+
"navigationStyle": "custom",
1158+
// #endif
11561159
"pageOrientation": "portrait",
11571160
"navigationBarTextStyle": "white",
11581161
"navigationBarTitleText": "Hello uniapp",

0 commit comments

Comments
 (0)