|
|
@@ -88,7 +88,7 @@ const groupList = ref([
|
|
|
hoverIcon: Human02,
|
|
|
title: '数字人老师'
|
|
|
},
|
|
|
- {
|
|
|
+ {
|
|
|
icon: en,
|
|
|
hoverIcon: en02,
|
|
|
title: '英文数字人老师'
|
|
|
@@ -112,7 +112,7 @@ const groupList = ref([
|
|
|
icon: blockly,
|
|
|
hoverIcon: blockly02,
|
|
|
title: 'blockly游戏'
|
|
|
- },
|
|
|
+ }
|
|
|
])
|
|
|
|
|
|
|
|
|
@@ -256,6 +256,23 @@ defineExpose({
|
|
|
width: rpx(135);
|
|
|
height: 100%;
|
|
|
background: linear-gradient(to bottom, #001169, #8a78d0);
|
|
|
+ overflow-y: auto;
|
|
|
+ // 自定义滚动条样式
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ width: rpx(0); // 滚动条宽度
|
|
|
+ }
|
|
|
+ &::-webkit-scrollbar-track {
|
|
|
+ background-color: rgba(255, 255, 255, 0.1); // 滚动条轨道背景色
|
|
|
+ border-radius: rpx(2); // 滚动条轨道圆角
|
|
|
+ }
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
+ background-color: rgba(255, 255, 255, 0.3); // 滚动条滑块颜色
|
|
|
+ border-radius: rpx(2); // 滚动条滑块圆角
|
|
|
+ transition: background-color 0.3s ease; // 滑块颜色过渡效果
|
|
|
+ }
|
|
|
+ &::-webkit-scrollbar-thumb:hover {
|
|
|
+ background-color: rgba(255, 255, 255, 0.5); // 鼠标悬停时的滑块颜色
|
|
|
+ }
|
|
|
}
|
|
|
.mb-2 {
|
|
|
color: black;
|
|
|
@@ -265,7 +282,7 @@ defineExpose({
|
|
|
background-color: transparent;
|
|
|
border: none;
|
|
|
width: 100%;
|
|
|
- margin-top: rpx(55);
|
|
|
+ margin-top: rpx(25);
|
|
|
margin-left: rpx(10);
|
|
|
}
|
|
|
.el-menu-item {
|