知识库样式

main
limingtao 11 months ago
parent cd9e99ecb3
commit 5e02cb516a
  1. 13
      components/zeroMarkdownView/zeroMarkdownView.vue
  2. 8
      pages/knowledge/index.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;

@ -50,7 +50,7 @@
<input class="uni-input" placeholder="请输入内容" :value="inputValue" @confirm="handleSend"
@input="onKeyInput" />
<uni-icons class="uni-icon" type="plus" size="30" @click="handlePlus"></uni-icons>
<uni-icons class="uni-icon" type="plus" size="30" @click="handlePlus" color='#cccccc'></uni-icons>
</view>
<view v-if="isExpanded" class="expanded">
<view @click="chooseImage" class="expandedItem">
@ -279,8 +279,10 @@
}
},
handlePlus() {
this.isExpanded = !this.isExpanded;
handlePlus() {
this.$.toast("此功能暂不开放");
// this.isExpanded = !this.isExpanded;
},
clickContent() {
if (this.isExpanded) {

Loading…
Cancel
Save