This commit is contained in:
make
2025-05-05 00:54:34 +08:00
parent bce286a80b
commit cc61365c5d
31 changed files with 1260 additions and 700 deletions

View File

@@ -403,7 +403,7 @@ textarea.form-control{ height: auto;}
/* modal */
.stui-modal__dialog{ width: 320px; margin: 50px auto;}
}
@media (max-width: 767px){
.visible-xs { display: block !important;}
.hidden-xs {display: none!important;}
@@ -528,7 +528,8 @@ textarea.form-control{ height: auto;}
white-space: nowrap; /* 防止 li 换行 */
padding: 10px 0; /* 上下内边距,增加美观 */
scroll-behavior: smooth; /* 滚动平滑 */
-webkit-overflow-scrolling: touch; /* 移动端优化滚动 */
-webkit-overflow-scrolling: touch;
/* 移动端优化滚动 */
}
/* 确保 li 水平排列 */
@@ -565,10 +566,32 @@ textarea.form-control{ height: auto;}
}
.view-title {
text-indent: 10px;
/* text-indent: 10px; */
}
.view-description{
text-indent: 10px;
/* text-indent: 10px; */
}
.stui-screen__list-parent {
overflow-x: visible;
width: 100%;
}
.stui-screen__list li {
float: none;
display: inline-block;
margin-right: 10px;
margin-bottom: 0;
}
.hidden-mi {
display: -webkit-box; /* 使用弹性盒子布局 */
-webkit-box-orient: vertical; /* 设置文本方向为垂直 */
-webkit-line-clamp: 2; /* 限制显示 3 行 */
overflow: hidden; /* 隐藏超出的内容 */
text-overflow: ellipsis; /* 超出部分显示省略号 */
line-height: 1.5; /* 行高,调整以控制行间距 */
max-height: calc(1.5em * 2); /* 最大高度 = 行高 × 行数 */
}
@@ -589,5 +612,6 @@ textarea.form-control{ height: auto;}

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB