feat: 单行限制

This commit is contained in:
2026-04-05 17:28:04 +08:00
parent d1f7a6039e
commit b85ca288a0
2 changed files with 4 additions and 2 deletions

View File

@@ -93,9 +93,7 @@ const lookPicture = (item: TaskItem) => {
}
const getTaskList = () => {
showLoadingToast('加载中...');
generatorPhotoTaskList({ pageNum: 1, pageSize: 20 }).then(res => {
closeToast(); // 关闭加载提示
if (res.code === 0) {
const data = res.data || [];
list.splice(0, list.length, ...data.map(item => {

View File

@@ -359,6 +359,10 @@ onMounted(() => {
letter-spacing: 2px;
font-style: italic;
font-family: LogoSC Unbounded Sans, LogoSC Unbounded Sans;
/* ✅ 单行限制核心 */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* 底部操作区 */