From 08e9a67dd679f311e79a27b04cd0c53a30b4bccf Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 04 六月 2026 18:33:22 +0800
Subject: [PATCH] aaa
---
h5/App.vue | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/h5/App.vue b/h5/App.vue
index aae8e9d..a0de63e 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -15,6 +15,57 @@
<style lang="scss">
/*姣忎釜椤甸潰鍏叡css */
@import '@/uni_modules/uni-scss/index.scss';
+
+ /* #ifdef H5 */
+ $scrollbar-brown: #4A3728;
+ $scrollbar-cream: #E8DCC8;
+
+ html,
+ body,
+ #app,
+ uni-app,
+ uni-page,
+ uni-page-wrapper,
+ .uni-page-wrapper,
+ page {
+ scrollbar-width: thin;
+ scrollbar-color: rgba(74, 55, 40, 0.38) rgba(232, 220, 200, 0.45);
+ }
+
+ * {
+ scrollbar-width: thin;
+ scrollbar-color: rgba(74, 55, 40, 0.38) rgba(232, 220, 200, 0.45);
+ }
+
+ ::-webkit-scrollbar {
+ width: 5px;
+ height: 5px;
+ }
+
+ ::-webkit-scrollbar-track {
+ background: rgba(232, 220, 200, 0.35);
+ border-radius: 999px;
+ }
+
+ ::-webkit-scrollbar-thumb {
+ background: linear-gradient(180deg, rgba(74, 55, 40, 0.42) 0%, rgba(74, 55, 40, 0.28) 100%);
+ border-radius: 999px;
+ border: 1px solid rgba(255, 255, 255, 0.22);
+ min-height: 28px;
+ }
+
+ ::-webkit-scrollbar-thumb:hover {
+ background: linear-gradient(180deg, rgba(74, 55, 40, 0.58) 0%, rgba(74, 55, 40, 0.42) 100%);
+ }
+
+ ::-webkit-scrollbar-thumb:active {
+ background: rgba(74, 55, 40, 0.62);
+ }
+
+ ::-webkit-scrollbar-corner {
+ background: transparent;
+ }
+ /* #endif */
</style>
<!-- ,
--
Gitblit v1.9.3