|
|
@@ -118,7 +118,7 @@ const navigateToAIQuestions = person => {
|
|
|
path: '/ai-questions',
|
|
|
query: {
|
|
|
...person,
|
|
|
- from: 'ai-laboratory', // 添加来源标识
|
|
|
+ from: 'ai-laboratory',
|
|
|
category: grade.value
|
|
|
},
|
|
|
})
|
|
|
@@ -257,7 +257,7 @@ const groupList = ref([
|
|
|
}
|
|
|
// 标题样式
|
|
|
.title-box {
|
|
|
- height: rpx(50);
|
|
|
+ height: rpx(35);
|
|
|
}
|
|
|
.box-icon {
|
|
|
width: 100%;
|
|
|
@@ -283,6 +283,7 @@ const groupList = ref([
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
overflow-y: auto;
|
|
|
+ // justify-content: center;
|
|
|
}
|
|
|
.content-box::-webkit-scrollbar {
|
|
|
width: rpx(2);
|
|
|
@@ -302,13 +303,16 @@ const groupList = ref([
|
|
|
flex: 0 0 calc(30% - rpx(10)); // 每个小盒子占三分之一宽度,减去间距
|
|
|
// width: rpx(180);
|
|
|
height: rpx(110);
|
|
|
- margin-top: rpx(20);
|
|
|
- margin-left: rpx(20);
|
|
|
+ margin-top: rpx(30);
|
|
|
+ margin-left: rpx(25);
|
|
|
border-radius: rpx(6);
|
|
|
border: 1px solid white;
|
|
|
background: rgba($color: #ffffff, $alpha: 0.5);
|
|
|
position: relative;
|
|
|
- cursor: pointer; // 添加鼠标指针样式
|
|
|
+ cursor: pointer; // 鼠标指针样式
|
|
|
+ display: flex; // 此行,启用flex布局
|
|
|
+ flex-direction: column; // 此行,垂直排列子元素
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
.people-box {
|
|
|
position: absolute;
|