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) {