Ver código fonte

提交样式问题处理

丸子 8 meses atrás
pai
commit
34013cadba
1 arquivos alterados com 2 adições e 4 exclusões
  1. 2 4
      src/views/AIGeneralCourse.vue

+ 2 - 4
src/views/AIGeneralCourse.vue

@@ -339,8 +339,7 @@ const goToAIExperience = outlineData => {
   width: rpx(135);
   height: 100%;
   flex-grow: 1;
-background: linear-gradient(to bottom, hsl(230, 100%, 21%), #8a78d0);  position: relative;
-  
+  background: linear-gradient(to bottom, hsl(230, 100%, 21%), #8a78d0);  position: relative;
   overflow-y: auto; /* 添加垂直滚动条 */
   max-height: 100%; /* 设置最大高度 */
   transition: all 0.3s ease;
@@ -635,7 +634,7 @@ background: linear-gradient(to bottom, hsl(230, 100%, 21%), #8a78d0);  position:
   display: flex; // 确保子元素水平排列
   flex-wrap: wrap; // 允许子元素换行;
   cursor: pointer; // 添加鼠标指针样式
-  margin: rpx(10) 0; 
+  // margin: rpx(10) 0; 
   overflow-y: auto;
 }
 // Chrome、Edge等浏览器的滚动条样式
@@ -679,7 +678,6 @@ background: linear-gradient(to bottom, hsl(230, 100%, 21%), #8a78d0);  position:
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
 }
 .additional-text {
-  margin-top: auto;
   margin-bottom: rpx(4);
   font-size: rpx(8);
 }