From 5e02cb516a8e4f9680448bc9d5885c3e4b9a50b4 Mon Sep 17 00:00:00 2001
From: limingtao <@ming_tao_li>
Date: Mon, 5 Aug 2024 13:44:21 +0800
Subject: [PATCH] =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=BA=93=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/zeroMarkdownView/zeroMarkdownView.vue | 13 +++++--------
pages/knowledge/index.vue | 8 +++++---
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/components/zeroMarkdownView/zeroMarkdownView.vue b/components/zeroMarkdownView/zeroMarkdownView.vue
index 5873618..93fc706 100644
--- a/components/zeroMarkdownView/zeroMarkdownView.vue
+++ b/components/zeroMarkdownView/zeroMarkdownView.vue
@@ -186,27 +186,24 @@
// }
/* 设置滚动条的宽度和背景色 */
/deep/ .scrollbar-container::-webkit-scrollbar {
+ display: block!important;
width: 3px!important; /* 滚动条宽度 */
height: 3px!important; /* 对于垂直滚动条,设置高度 */
- background-color: #f9f9f9!important; /* 滚动条背景色 */
+ background-color: #ffffff!important; /* 滚动条背景色 */
}
/* 设置滚动条滑块的样式 */
/deep/ .scrollbar-container::-webkit-scrollbar-thumb {
border-radius: 10px; /* 滑块圆角 */
- background-color: #c1c1c1; /* 滑块颜色 */
+ background-color: #cccccc; /* 滑块颜色 */
}
- /* 设置滚动条滑块hover样式 */
- /deep/ .scrollbar-container::-webkit-scrollbar-thumb:hover {
- background-color: #a8a8a8; /* 滑块hover颜色 */
- }
/* 设置滚动条轨道的样式 */
/deep/ .scrollbar-container::-webkit-scrollbar-track {
border-radius: 10px; /* 轨道圆角 */
- box-shadow: inset 0 0 5px grey; /* 轨道阴影 */
- background-color: #f0f0f0; /* 轨道颜色 */
+ box-shadow: inset 0 0 0px grey; /* 轨道阴影 */
+ background-color: rgba(255,255,255,0); /* 轨道颜色 */
}
/deep/ .md-table {
margin-bottom: 10rpx!important;
diff --git a/pages/knowledge/index.vue b/pages/knowledge/index.vue
index 13ca5a5..b355dcd 100644
--- a/pages/knowledge/index.vue
+++ b/pages/knowledge/index.vue
@@ -50,7 +50,7 @@
-
+
@@ -279,8 +279,10 @@
}
},
- handlePlus() {
- this.isExpanded = !this.isExpanded;
+ handlePlus() {
+ this.$.toast("此功能暂不开放");
+
+ // this.isExpanded = !this.isExpanded;
},
clickContent() {
if (this.isExpanded) {