This commit is contained in:
lyp 2025-09-03 18:01:59 +08:00
parent 2a9a3aadaa
commit a29b8fdfb9
2 changed files with 34 additions and 9 deletions

View File

@ -3156,6 +3156,7 @@ export default function Head() {
<div <div
className='scrollbar-hide'
style={{ style={{
width: '1000px', width: '1000px',
height: '700px', height: '700px',
@ -3166,6 +3167,7 @@ export default function Head() {
// backgroundSize: '100% 400px', // backgroundSize: '100% 400px',
backgroundRepeat: 'no-repeat', backgroundRepeat: 'no-repeat',
position: 'relative', position: 'relative',
}}> }}>
<div style={{ <div style={{
position: 'sticky', position: 'sticky',
@ -3762,6 +3764,7 @@ export default function Head() {
height: '100vh', height: '100vh',
}}> }}>
<div <div
className='scrollbar-hide'
style={{ style={{
width: '1000px', width: '1000px',
height: '700px', height: '700px',

View File

@ -647,6 +647,7 @@
padding: 15px; padding: 15px;
box-sizing: border-box; box-sizing: border-box;
} }
/* .aiUseMatrixSmallBoxItemTop{ /* .aiUseMatrixSmallBoxItemTop{
background-color: pink; background-color: pink;
height: 200px; height: 200px;
@ -655,12 +656,15 @@
/* background-color: skyblue; */ /* background-color: skyblue; */
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
font-size: 18px; font-size: 18px;
max-height: 48px; max-height: 48px;
display: -webkit-box; /* 弹性盒子模型 */ display: -webkit-box;
-webkit-line-clamp: 2; /* 最多显示10行根据字体大小和高度调整 */ /* 弹性盒子模型 */
-webkit-box-orient: vertical; /* 垂直排列 */ -webkit-line-clamp: 2;
/* 最多显示10行根据字体大小和高度调整 */
-webkit-box-orient: vertical;
/* 垂直排列 */
/* font-weight: 700; */ /* font-weight: 700; */
} }
@ -678,17 +682,35 @@
} }
.aiUseMatrixSmallBoxItemContent { .aiUseMatrixSmallBoxItemContent {
font-size: 14px; font-size: 14px;
color: #727A85; color: #727A85;
margin-top: 10px; margin-top: 10px;
height: 160px; /* 固定高度 */ height: 160px;
overflow: hidden; /* 隐藏超出部分 */ /* 固定高度 */
overflow: hidden;
/* 隐藏超出部分 */
/* background-color: skyblue; */ /* background-color: skyblue; */
/* 新增多行文本溢出省略设置 */ /* 新增多行文本溢出省略设置 */
display: -webkit-box; /* 弹性盒子模型 */ display: -webkit-box;
-webkit-line-clamp: 8; /* 最多显示10行根据字体大小和高度调整 */ /* 弹性盒子模型 */
-webkit-box-orient: vertical; /* 垂直排列 */ -webkit-line-clamp: 8;
/* 最多显示10行根据字体大小和高度调整 */
-webkit-box-orient: vertical;
/* 垂直排列 */
}
.scrollbar-hide {
/* 火狐浏览器 */
scrollbar-width: none;
/* IE 和 Edge 旧版本 */
-ms-overflow-style: none;
}
/* WebKit 内核浏览器 (Chrome, Safari, Edge 等) */
.scrollbar-hide::-webkit-scrollbar {
display: none;
} }